Skip to content

Instantly share code, notes, and snippets.

@catseye
catseye / Nif.md
Last active December 27, 2015 13:49
A generated novel about a petulant child who has just discovered palindromes. It itself is one long palindrome. See README.

Nif

"Mom! Mom! Mom! 'Rats live on no evil star!' Mom! 'Rats live on no evil star!' Dad? Dad. Dad? 'Rats live on no evil star!' Mom, Mom, Mom! 'Rats live on no evil star!' Mom? 'Rats live on no evil star!' Mom, Mom, Mom! 'Rats live on no evil star!' Mom! Mom! 'Rats live on no evil star!' Dad? 'Rats live on no evil star!' Mom? Mom. Mom? 'Rats live on no evil star!' Dad! Dad! 'Rats live on no evil star!' Mom? Mom. Mom? 'Rats live on no evil star!' Mom! Mom! 'Rats live on no evil star!' Mom. 'Rats live on no evil star!' Mom. 'Rats live on no evil star!' Dad! 'Rats live on no evil star!' Mom? 'Rats live on no evil star!' Dad. 'Rats live on no evil star!' Dad? 'Rats live on no evil star!' Mom, Mom, Mom! 'Rats live on no evil star!' Mom? Mom. Mom? 'Rats live on no evil star!' Dad! 'Rats live on no evil star!' Dad. 'Rats live on no evil star!' Mom! Mom! 'Rats live on no evil star!' Mom, Mom, Mom! 'Rats live on no evil star!' Dad! 'Rats live on no evi

@catseye
catseye / The Swallows of Summer.markdown
Created November 3, 2013 19:08
The first four chapters of my second novel for NaNoGenMo. It is a sequel to the first novel. It's three years later, and Alice and Bob live in a much bigger house now, and own more things.

The Swallows of Summer

Chapter 1.

The day was overcast and humid. Alice was in the dining room. Alice saw the golden falcon. Bob was in Bob's bedroom. Alice picked up the golden falcon. Bob went to the upstairs hall. Alice hid the golden falcon in the cabinet. Alice went to the kitchen. Bob went to the front hall. Alice examined the cupboards carefully. Alice went to the front hall. Alice saw Bob. 'Hello, Bob,' said Alice. 'Hello, Alice,' replied Bob. Alice went to the kitchen. Bob went to the kitchen. Bob saw Alice. 'Hello, Alice,' said Bob. 'Hello, Bob,' replied Alice. 'Lovely weather we're having, isn't it?' asked Alice. 'Perhaps, Alice,' replied Bob.

'Oh, I know, I know,' said Alice. Bob nodded. Alice went to the front hall. It was so nice being in the front hall again! Bob examined the cupboards carefully. Bob went to the dining room. Alice went to the living room. Bob went to the kitchen. Alice went to the front hall. Bob went to the d

@catseye
catseye / The Swallows.markdown
Created November 3, 2013 12:28
The first chapter of my first novel for NaNoGenMo. This exciting action continues non-stop throughout the next 14 chapters, but the word count is just shy of 50K (only 49,619 words...)

The Swallows

CHAPTER 1

Alice went to the dining room. Alice saw the golden falcon. Bob went to the dining room. Bob saw the golden falcon. Bob saw Alice. Alice picked up the golden falcon. Alice went to the living room. Bob went to the kitchen. Alice went to the dining room. Bob went to the dining room. Bob saw Alice. Bob saw Alice was carrying something. Alice went to the living room. Bob went to the kitchen. Alice went to the dining room. Bob went to the dining room. Bob saw Alice. Bob saw Alice was carrying something. Alice went to the living room. Bob went to the kitchen.

Alice went to the dining room. Bob went to the dining room. Bob saw Alice. Bob saw Alice was carrying something. Alice went to the kitchen. Bob went to the living room. Alice yawned. Bob went to the dining room. Alice went to the dining room. Alice saw Bob. Bob went to the living room. Alice went to the kitchen. Bob went to the dining room. Alice yawned. Bob went to the kitch

@catseye
catseye / vice-gui-hotkey-alterations.diff
Last active December 25, 2015 11:39
Maintaining a fork of VICE on github is just waaay too much work. I'm just going to keep my patches somewhere instead. For now, that somewhere is a gist. This particular patch changes the quicksave/load menu item hotkeys to something that actually works on Ubuntu.
diff --git a/src/arch/unix/gui/uicommands.c b/src/arch/unix/gui/uicommands.c
index fe89b2b..5e4aea2 100644
--- a/src/arch/unix/gui/uicommands.c
+++ b/src/arch/unix/gui/uicommands.c
@@ -483,10 +483,10 @@ static UI_CALLBACK(sound_record_mp3)
{ "--", UI_MENU_TYPE_SEPARATOR },
{ N_("Quickload snapshot"), UI_MENU_TYPE_NORMAL,
(ui_callback_t)load_quicksnap, NULL, NULL,
- KEYSYM_F10, UI_HOTMOD_META },
+ KEYSYM_BRACKET_LEFT, UI_HOTMOD_META },
@catseye
catseye / livecoding.markdown
Created October 16, 2012 08:49
Thoughts about livecoding and the design of livecoding languages