Skip to content

Instantly share code, notes, and snippets.

View Staninna's full-sized avatar
🦀
Getting rusty

Stan Staninna

🦀
Getting rusty
  • Netherlands
View GitHub Profile
@Staninna
Staninna / idea.md
Last active March 28, 2024 23:48
Twitch chat
@Staninna
Staninna / index.html
Last active December 12, 2023 12:18
Narrowblast bidirectional communication draft
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World with Slides and Interaction</title>
</head>
<body>
@Staninna
Staninna / cracker-v1.js
Last active November 22, 2023 21:16
https://oldmartijntje.nl Clicker-game save cracker
// This version works on this version of the site <https://github.com/oldmartijntje/playtime/tree/c67261f1f53570cf737f0711bcae66c112e17155>
class Encryptor {
stringToAsciiList(str) {
const asciiList = [];
for (let i = 0; i < str.length; i++) {
const asciiValue = str.charCodeAt(i);
asciiList.push(asciiValue);
}
return asciiList;
@Staninna
Staninna / _get_xrandr_command
Last active July 5, 2022 23:05
`autoxrandr` is the main script `_get_xrandr_command` is a helper script
#!/usr/bin/python3
# Modified from https://gitlab.com/arandr/arandr and put all necessary things in 1 file
# Still recommended to use arandr to set the configurations to save/load
from math import pi
import os
import subprocess
from functools import reduce
import warnings