Skip to content

Instantly share code, notes, and snippets.

@Pathoschild
Pathoschild / stardew-mod-recommendations.md
Last active May 4, 2024 23:59
Stardew Valley mod recommendations

Here are the mods I recommend. These are all compatible with the latest versions of SMAPI and Stardew Valley on Linux/macOS/Windows. See the player's guide to using mods if you're interested.

Quality of life

I think the best mods are those which improve the game while maintaining its balance, lore, and style.

  • AutoGate
    Gates open automatically when you approach and close behind you.

  • Better Sprinklers Plus
    Customise the sprinkler radius, with a proportional change to their cost. If you're willing to mine all the ores you'll need, that makes the basic sprinklers useful early in the game and lets you do more than just watering crops every day.

@hibeekaey
hibeekaey / .gitattributes
Last active May 4, 2024 23:59
Repository for managing GitHub with Terraform
terraform.tfstate filter=git-crypt diff=git-crypt
terraform.tfvars filter=git-crypt diff=git-crypt
@hibeekaey
hibeekaey / github-manager.tftest.hcl
Created May 4, 2024 23:51
Repository for managing GitHub with Terraform
variables {
private_repository = {
name = "github-private-repository-test"
description = "This is a test private repository"
visibility = "private"
archived = false
archive_on_destroy = false
}
public_repository = {
name = "github-public-repository-test"
@hibeekaey
hibeekaey / main.tf
Created May 4, 2024 23:52
Repository for managing GitHub with Terraform
provider "github" {
token = var.token
owner = "hibeekaey"
}
module "repository" {
for_each = var.repositories
source = "github.com/hibeekaey/example-github-manager//modules/repository?ref=v1.0.0"
name = each.value.name
description = each.value.description
@hibeekaey
hibeekaey / Makefile
Created May 4, 2024 23:53
Repository for managing GitHub with Terraform
SCRIPTS_DIR = scripts
# Default target (executed when you run 'make' with no arguments)
all: init-upgrade
# Initialize terraform
init-upgrade:
terraform init -upgrade -reconfigure
# Generate Docs
@hibeekaey
hibeekaey / terraform.tf
Created May 4, 2024 23:54
Repository for managing GitHub with Terraform
terraform {
required_providers {
github = {
source = "integrations/github"
version = "6.2.1"
}
}
@hibeekaey
hibeekaey / terraform.tfvars
Created May 4, 2024 23:54
Repository for managing GitHub with Terraform
token = "ghp_xxxx" # insert your GitHub Personal Access Token here
repositories = {
"aipnd-project" = {
name = "aipnd-project"
description = "AI Programming with Python Nanodegree Project"
visibility = "public"
archived = false
}
}
@hibeekaey
hibeekaey / variables.tf
Last active May 4, 2024 23:58
Repository for managing GitHub with Terraform
variable "token" {
type = string
description = "GitHub personal access token"
}
variable "repositories" {
type = map(object({
name = string
description = string
visibility = string
import wx
class CustomFrame(wx.Frame):
def __init__(self, parent, title):
super(CustomFrame, self).__init__(parent, title=title, size=(600, 400), style=wx.DEFAULT_FRAME_STYLE)
self.SetBackgroundColour(wx.Colour(255, 255, 255)) # Set background color
self.corner_image = wx.Image("corner.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.top_image = wx.Image("top.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.bottom_image = wx.Image("bottom.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.left_image = wx.Image("left.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
//ref: https://codereview.stackexchange.com/q/199771
solver=LAMBDA(grid,
LET(numbers,SEQUENCE(9),
numgrid,SEQUENCE(9,9,0),
pos,XMATCH(0,TOCOL(grid*1))-1,
IF(ISNA(pos),
grid,
LET(i,INT(pos/9),
j,MOD(pos,9),