Skip to content

Instantly share code, notes, and snippets.

View cyrus01337's full-sized avatar

Cyrus cyrus01337

View GitHub Profile
@cyrus01337
cyrus01337 / Draft Tier List.md
Created March 2, 2025 13:31
Notes for the next interation of the tier list for Stickman TD

#games

  • Move Demon King to A tier
    • Was proven to be worse than Sun Breathing and only applicability is in Endless and wide maps
  • Move Nail to bottom of A tier
    • Being able to shotgun is insane, Native Stick and everybody in B tier can't catch up to that DPS, but those in A tier can
  • Rethink the position of Cowboy due to AoE stun
  • Rethink the position of Squid Guard
    • Squid Guard allows Stab units only to deal 2x damage towards any marked enemy
  • Rethink the position of Steampunk
@cyrus01337
cyrus01337 / Stickman TD.md
Created January 7, 2025 08:11
Feedback ideas to be fleshed out before send to the feedback channel

#games

  • 2x Tree offers a 596% (rounded up to 600%) damage buff
  • The base crit multiplier is 1.5 - crits do +50% extra damage or 150% of the unit's attack without adding extra crit damage

Ideas

  • Skin crates/Purchaseable skins that cost gems - receiving a skin allows for a passive buff regardless of being equipped, the more skins the higher the increase
    • 1x skin offers +5% all stat buff - this is additive, so 5x skins would offer +25% all stats
    • If going down the route of skin crates, make skins tradeable (more chances for mid-game trading) and sellable for small gem reimbursement
    • If going down the purchaseable route, an idea is to make each skin have different effects that would benefit the tower
  • This REALLY requires community feedback and asking them what they think could be better for X tower, luckily skins can be incrementally added in batches of N
@cyrus01337
cyrus01337 / Treating Headaches.md
Created December 3, 2024 06:10
Guide to treating headaches because headaches are the bane of my existence.

#self-care

Headaches are the bane of my existence.

As someone with ADHD, my brain is always ticking and processing something regardless of my choice. It may happen in the background i.e. subconsciously, or in tandem with other thought process, to top it all off it also varies from person to person and while I appear to have mild ADHD, it's more severe the more I provide perspective on how my mind works.

As someone that is effectively a thought processing machine and a programmer, solving problems on a basis with a headache is counter-intuitive, a huge pain to have around, can render me incapacitated at important times, and provide other side-effects that vary from person to person.

However, I am not writing to solely complain (yes I admit that I partially am lol) but to also document what I do to resolve my headaches, you may read only the bold text to skim read or in full to understand roughly why they help:

  1. Drink tea - the small hit of caffeine is what helps the most due to it acting as a b
@cyrus01337
cyrus01337 / hoyo-play.yaml
Created October 26, 2024 15:11
HoYo Play bottle configuration
Arch: win64
CompatData: ''
Creation_Date: '2024-10-24 16:29:53.906867'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-2.4.1
Environment: Gaming
Environment_Variables:
MANGOHUD: '1'
External_Programs:
@cyrus01337
cyrus01337 / Server Initialisation Checklist.md
Last active October 4, 2024 15:40
Server Initialisation Checklist.md

#tags

  • Update system
  • Make new user with sudo access
    • Note: If you have an SSH key, remember to copy it over - ssh-copy-id
  • Harden SSH
    • Note: Most if not all of these changes must be applied to the server's SSH configuration file, i.e. /etc/ssh/sshd_config and can be applied by restarting the SSH service - sudo systemctl restart <ssh|sshd>
    • (Optional, Recommended) Ensure you are using a new SSH key for this server
    • Disable root login
  • Note: This can be tested by logging in as root - ssh root@
@cyrus01337
cyrus01337 / install-devpod-cli.sh
Last active August 27, 2024 10:36
Install Devpod CLI for Fedora 39/40
#!/usr/bin/env bash
# Install dependencies
sudo dnf install -y fontconfig fribidi fuse fuse-libs gdk-pixbuf2-devel gtk3-devel harfbuzz libXdmcp-devel \
libappindicator-devel libbsd-devel libglvnd-egl libglvnd-glx libglvnd-opengl libthai libwmf-devel \
rust-glib-sys-devel rust-openssl-sys-devel
# ...then install the devpod cli (ripped from their docs)
#
# See https://devpod.sh/docs/getting-started/install
curl -L -o devpod "https://github.com/loft-sh/devpod/releases/latest/download/devpod-linux-amd64" && \
@cyrus01337
cyrus01337 / lsp.lua
Created July 9, 2024 17:05
Full configuratin for debugging why my configuration borks lazydev.nvim (or the other way around? Shurg)
local EMPTY = ""
local NORMAL_MODE = "n"
local INSERT_MODE = "i"
local function setup_language_server(serverName)
local lsp_configuration = require("lspconfig")
local stylua = require("stylua-nvim")
local server_found = lsp_configuration[serverName]
if not server_found then
@cyrus01337
cyrus01337 / deprecated-alternatives.md
Last active May 31, 2024 13:26
A curated list of deprecated methods and their alternatives, including coverage from devforum posts
@cyrus01337
cyrus01337 / FindPartsInRay.lua
Created July 12, 2023 10:08
Function to raycast and get back multiple instances the raycast skewers
type Parts = {BasePart}
local function findTopmostModelAncestor(instance: Instance): Instance?
local modelAncestorFound = instance:FindFirstAncestorOfClass("Model")
while modelAncestorFound do
local newModelAncestorFound = instance:FindFirstAncestorOfClass("Model")
if modelAncestorFound and newModelAncestorFound == nil then
@cyrus01337
cyrus01337 / Server.lua
Created July 7, 2023 12:50
PlayerAdded and PlayerRemoving connections without suspecting memory leaks.
local Players = game:GetService("Players")
local characterAddedConnections: { [Player]: RBXScriptConnection } = {}
local function onPlayerAdded(player: Player)
characterAddedConnections[player] = player.CharacterAdded:Connect(function(playerChar)
local Humanoid = playerChar:WaitForChild("Humanoid")
print(playerChar.Parent, Humanoid.Parent.Parent)
Humanoid.WalkSpeed = 0