Skip to content

Instantly share code, notes, and snippets.

View zudsniper's full-sized avatar
🎲
snake eyes every time

zod zudsniper

🎲
snake eyes every time
View GitHub Profile
@zudsniper
zudsniper / debian_cheatsheet.md
Last active October 6, 2022 07:35
I made this little succinct guide because I kept forgetting how to do things

DEBIAN GAMING

image
this is because i have dementia.

networking

  • get public IP address (from cloudflare)
$ dig +short txt ch whoami.cloudflare @1.0.0.1
  • get local IP address
@zudsniper
zudsniper / GITHELP.md
Last active May 28, 2023 15:02
barebones tutorial regarding using git & gh CLIs and GitHub remote repository targets.

git icon

GitHub Quickstart Guide

This is a short and bare bones installation guide and introduction to setting up git as well as gh. It focuses on a NodeJS project example, but any language can be substituted fairly easily. Hopefully you can find it slightly helpful.

@zudsniper
zudsniper / cockroaches.md
Last active October 30, 2022 18:57
information regarding the paxful scammers who got $96 from me (I was refunded, but that changes nothing about the offense)

UPDATE (resolved)

I was refunded by my bank, and the paxful team were kind enough to also refund the escrow amount of the trade which I foolishly went outside of to make a transaction. DON'T EVER DO THIS.

but this time I got very lucky, and it ended up ok.


oh, and I got the little fuckhead's real name, as verified against his ID for the site. can't be sure it wasn't all stolen information, but it looks like it could be accurate.

@zudsniper
zudsniper / snippet_showcase.md
Created October 19, 2022 09:29
spooky.tf markdown snippet entry template

title

description explaining the uses of this snippet -- optional

Show rendered markdown...

✂️ COPY & PASTE

@zudsniper
zudsniper / thiscfglast.sp
Created October 21, 2022 07:34
Stupid little SourceMod plugin to execute a specific cfg file ONLY ONCE at a VERY SPECIFIC time.
#include <sourcemod>
#pragma semicolon 1
#pragma newdecls required
public Plugin myinfo = {
name = "ThisCFGLast",
author = "zudsniper@github",
description = "thiscfglast.cfg in the /tf/cfg/ is called LAST, after all other configs have been called.",
version = "0.0.1",
@zudsniper
zudsniper / permarename.sp
Created October 21, 2022 07:36
Another bad, unfinished SourceMod plugin to permanently rename a player (ie re-rename them when they join again)
# this all originated from this AlliedModders thread
# https://forums.alliedmods.net/showthread.php?t=183146
#include <sourcemod>
#pragma semicolon 1
#pragma newdecls required
public Plugin myinfo = {
name = "permaRename",
@zudsniper
zudsniper / scramble.md
Last active October 23, 2022 20:11
conceptual explanation of how 2v2 scramble would work in mge 2v2

MGE 2v2 SHUFFLE

proposal for how a 2v2 scramble might work

bballs bballin

purpose

the only goal of the scramble is to ensure that the two players on each team are no longer teammates.


@zudsniper
zudsniper / .ansi_colors.sh
Last active April 16, 2023 07:25
[DEPRECATED] check @zudsniper/bashbits repository! -- my debian / ubuntu .bashrc with ANSI colors & helper functions.
#!/bin/bash
# .ansi_colors.sh
# --------------
# @zudsniper
# some ansi colors as bash variables
# ----------------------------- #
## ANSI COLOR ENVIRONMENT VARS
export A_RESTORE='\033[0m'
@zudsniper
zudsniper / README.md
Last active November 14, 2022 17:01
pretty badly made custom install

spooky.tf - Debian 11 Stackscript

Summary

for internal use only of spooky.tf team. Do not reuse without permission. Or do. But I'll be mad.

  • passwordless
  • no root login
  • create 1 privileged user via startup
  • configure firewall (ufw) to allow: 80, 443

Includes

@zudsniper
zudsniper / README.md
Created November 22, 2022 11:45
I accidentally started writing example code and it just... went off the rails. This isn't for anything but it took 5 hours so here I guess

trashdemo.ts

ABSOLUTELY NOT worth reading


I should've stopped writing this 4.5 hours into writing it. I learned some but... at what cost? (sleep)