Skip to content

Instantly share code, notes, and snippets.

View cpressey's full-sized avatar
🚚
Moved to codeberg.org/cpressey

Chris Pressey cpressey

🚚
Moved to codeberg.org/cpressey
View GitHub Profile
@cpressey
cpressey / defeat.jl
Created November 22, 2018 12:04
The Defeat at Procyon V (for NaNoGenMo 2018)
#
# "The Defeat at Procyon V"
# Chris Pressey, Cat's Eye Technologies
# for NaNoGenMo 2018
#
#
# General Utility
#
@cpressey
cpressey / latcarf.js.md
Last active December 10, 2023 13:55
Creating a recursive fractal bottom-up
@cpressey
cpressey / Text Adventures of Note.md
Last active December 10, 2023 13:54
Text Adventures of Note (draft)
@cpressey
cpressey / Overview of a Story Compiler.md
Last active August 3, 2023 06:18
Overview of a "Story Compiler"
@cpressey
cpressey / glitchtool.py
Created April 28, 2015 19:19
Really quick-and-dirty Python script to create glitched (intentionally corrupted) JPEGs
#!/usr/bin/env python
# the contents of this file are in the public domain
import os
import random
import sys
def main(args):
filename = args[0]
@cpressey
cpressey / tube-quine.py
Last active August 29, 2015 14:18
A Python quine written in haste while travelling on the London Underground (and susbequent devolution, which did not occur while on public transport)
# prelude
a = """# prelude"""
b = """# remainder
print a
print 'a = ""' + '"' + a + '""' + '"'
print 'b = ""' + '"' + b + '""' + '"'
print b
"""
# remainder
print a
@cpressey
cpressey / Expensive Shoes.txt
Last active August 29, 2015 14:18
Expensive Shoes
BUT HENCE ----- you'll need
++++ you'll say -----
---- SO HENCE they'll have
+++++ --- +
--- i'll have +
AND THEN +++ ++++
----- ++ ----
- BUT NOW AND NOW
++ - --
++ ---- SO NOW
@cpressey
cpressey / Fizzy Drinks.txt
Created April 8, 2015 11:56
Fizzy Drinks
i had;
was a on the of the in the;
upon the
of his,
in his i could he had!
with a,
began to!
and i i was and the the squire
he was.
by the said the
@cpressey
cpressey / Hull reappointed breads overspecializing untruth .txt
Created April 7, 2015 20:50
Hull reappointed breads overspecializing untruth
unwilling wormhole's empowers righteous whim's
shyer Young birthdays Heidi's flibbertigibbets
credentials chorussed travel piloting now's
Hull reappointed breads overspecializing untruth
clearance's Cardenas warmhearted campiest uprisings
mahogany equip Paramaribo's pines represented
censorship swag's prostitute disambiguation porpoising
debarment capillaries starlit bowl's tender's
villeins pilaw weeds teamsters separatist's
@cpressey
cpressey / ambinate.py.md
Last active October 22, 2023 13:45
parameterized recursive {de,a}scent {parse,generato}r