Skip to content

Instantly share code, notes, and snippets.

@Draknek
Draknek / calculate.sh
Last active December 10, 2024 00:38
Calculate iOS sales per-app
#!/bin/bash
if [[ $# -eq 0 ]]
then
echo Usage: download financial_report.csv, then run $0 year month
exit
fi
# Before running this you need a token.
# A token lasts six months, but I regenerate it every time, so I can just forget about it.
@Draknek
Draknek / readme.txt
Created October 12, 2024 15:09
Construction site prototype
https://puzzlescriptnext.polyomino.com/editor.html
@Draknek
Draknek / readme.txt
Last active October 2, 2024 22:17
Slime Stretch
https://puzzlescriptnext.polyomino.com/editor.html
@Draknek
Draknek / readme.txt
Last active September 23, 2024 12:17
Treasure Dive
https://puzzlescriptnext.polyomino.com/editor.html
@Draknek
Draknek / readme.txt
Last active July 9, 2024 11:35
Bombs and Boxes and Bombs in Boxes (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / zip-app.py
Last active March 27, 2024 15:21
Normally if you zip a .app directory on Windows and unzip it on Mac OS X, it won't run. This tool creates a zip file that should have the correct executable flags set to work correctly.
#!/usr/bin/env python3
import os
import sys
import time
import zipfile
startingdir = os.getcwd()
if (len(sys.argv) == 1):
print("Usage: " + os.path.basename(sys.argv[0]) + " path/to/application.app [path/to/output.zip]")
@Draknek
Draknek / readme.txt
Created September 22, 2023 19:37
Spooky Express (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Created June 24, 2023 23:49
Mouse Wants Cheese (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Draknek
Draknek / readme.txt
Last active December 27, 2022 01:27
Sokobond Express demake (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html