Skip to content

Instantly share code, notes, and snippets.

View NotNite's full-sized avatar
💜
let's build cuteware!

Julian NotNite

💜
let's build cuteware!
View GitHub Profile
@s5bug
s5bug / 01a.md
Last active December 2, 2023 06:17
Advent of Code solved in Hex Casting

Accepts input as a list of UTF-32 codepoints and returns a Number.

High-Level

let isNewline: Number -> Boolean =
  (x: Number) -> x == 10

let isDigit: Number -> Boolean =
  (x: Number) -> (x >= 48) && (x < 58)
@lostkagamine
lostkagamine / gshade_to_reshade_guide.md
Last active April 22, 2024 00:48
GShade -> ReShade migration guide for FFXIV

How To Move To ReShade From GShade

(a guide by sylvie (@lostkagamine). tested, should work fine.)

(Korean version / 한국어 버전 / Chinese version / 中文版)

New: FAQ has been updated for ReShade 5.7.0 features.

If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!

0. Don't uninstall GShade yet!

@S-trace
S-trace / idafix.md
Last active April 24, 2024 02:26 — forked from 2igosha/idafix.md
Fix IDA 7.5/7.6/7.7SP1 crashing on idapython3.dll in Wine

Description

For some reason IDA executes FreeLibrary() to the plugin immediately after getting its PLUGIN structure's address, so later invocations of the plugin lead to calls to nowhere (that was supposed to be python3.dll). Simply patching the location of the FreeLibrary() call fixes the issue. The location is easy to find: go by cross-references to a place where the call to FreeLibrary is followed by a reference to the string "%s: incompatible plugin version..." and NOP it away.

7.5

@legowerewolf
legowerewolf / readme.md
Last active April 7, 2024 02:13
Tailscale on Steam Deck
@BriannaFoxwell
BriannaFoxwell / thelounge-lcd.css
Created June 22, 2020 20:08
My "The Lounge" web based irc client theme
/*
TTY, A The Lounge Theme bodged together by
░█░█░▀█▀░█▀▀░█░█░█░█░█▀█
░█░█░░█░░▀▀█░█░█░█▀█░█░█
░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀
░█▀▄░█▀█░█▀▀░█░█░█▀▀
░█▀▄░█░█░█░░░█▀▄░▀▀█
░▀░▀░▀▀▀░▀▀▀░▀░▀░▀▀▀
Needs "One Dark" theme because based upon that,
"npm install thelounge-theme-onedark"
@basoro
basoro / proxmox-proxy
Created May 25, 2019 20:45
Running Proxmox behind a single IP address
I ran into the battle of running all of my VMs and the host node under a single public IP address. Luckily, the host is just pure Debian, and ships with iptables.
What needs to be done is essentially to run all the VMs on a private internal network. Outbound internet access is done via NAT. Inbound access is via port forwarding.
Network configuration
Here’s how it’s done:
Create a virtual interface that serves as the gateway for your VMs:
@twilight-sparkle-irl
twilight-sparkle-irl / rtpin.js
Last active September 14, 2022 04:17
pin retweets on twitter ----> ----> !! YOU NEED TO BE ON THE OLD LAYOUT, GET GoodTwitter !! <---- <----
$(document).ajaxComplete((e, x, o) => {
if (o.url == "https://api.twitter.com/1.1/statuses/retweet.json") {
tweet_id = JSON.parse(x.responseText)['id_str'];
auth_token = JSON.parse(document.querySelector('#init-data').value)['formAuthenticityToken'];
fetch("https://twitter.com/i/tweet/pin", {
body: `authenticity_token=${auth_token}&id=${tweet_id}`,
method: "POST",
headers: {
Accept: "application/json, text/javascript, */*; q=0.01",
"Cache-Control": "no-cache",
@angrycoffeemonster
angrycoffeemonster / Sublime Text 3 Build 3103 License Key - CRACK
Created April 18, 2016 02:13
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@jamsinclair
jamsinclair / aws-minecraft-setup.sh
Last active May 24, 2022 05:25
A bash script to setup a simple Minecraft Server on an AWS Micro EC2 Instance. Installs server, configures cron to run server on reboot, adds some aliases for easy stop/start of minecraft server.
#!/bin/sh
runMinecraftCommand="java -Xms256M -Xmx768M -jar minecraft_server.jar nogui"
startScript="start.sh"
echo "Great let's get minecraft setup!"
# Sanity check, do we have java installed?
if ! hash java 2>/dev/null; then
echo "You don't have java installed. You're gonna have a tough time."
echo "Are you sure you selected the default Amazon Linux HVM ami?"
@willurd
willurd / web-servers.md
Last active May 7, 2024 04:58
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000