Skip to content

Instantly share code, notes, and snippets.

View jonnynightingale's full-sized avatar

Jonny Nightingale jonnynightingale

View GitHub Profile
@jonnynightingale
jonnynightingale / ocean_sunset.lua
Created May 11, 2020 10:03
Pico8 tweetcart for Ocean Sunset
c=circfill
n=99u=63v=32k=0s=sin
l=line
r=rnd
function _draw()k+=1cls(9)c(u,0,71,13)c(u,27,7,9)for x=0,127 do
m=s(x/u)f=n+m+12*s(k/333)o=95+1.4*m+12*s((k+12)/333)l(x,v,x,f,7)l(x,v,x,o,1)end
for y=v,80 do
if r(u)>y-9 then
w=16+(y-v)/3z=u-w/2l(z+r(n)*w/n,y,z+r(n)*w/n,y,9)end
end
@jonnynightingale
jonnynightingale / utilities.md
Last active May 28, 2021 09:45
A collection of handy software utilities.

Utilities

Name Description
AutoHotkey The ultimate automation scripting language for Windows.
Compiler Explorer An interactive online compiler which shows the assembly output of compiled C++, Rust, Go (and many more) code.
Dependency Walker Scans any Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.
Desmos Graphing Calculator An online tool for graphing mathematical functions.
diagrams.net Tool for creating diagrams.
Everything Locate files and folders by name instantly.
@jonnynightingale
jonnynightingale / fastdir.cpp
Created March 30, 2022 14:18
A C++ Windows utility for recursively printing out the contents of a directory. Output should be identical to that of "dir /s /a /b".
#include <Windows.h>
#include <condition_variable>
#include <cstdlib>
#include <forward_list>
#include <iostream>
#include <mutex>
#include <thread>
#include <vector>