Skip to content

Instantly share code, notes, and snippets.

@sonic74
sonic74 / PuTTY.pal
Created March 2, 2019 00:05 — forked from klange/image-to-ansi.py
Convert images to ANSI escape sequences
# Palette
# Mode: RGB
0 0 0 0
1 187 0 0
2 0 187 0
3 187 187 0
4 0 0 187
5 187 0 187
6 0 187 187
7 187 187 187
@ArcaneNibble
ArcaneNibble / asmbits2.asm
Created April 18, 2018 22:33
Calling Linux syscalls from WINE with bonus "Heaven's Gate"
global call_64_from_64
global call_32_from_64
global call_32_from_32
section .text
call_64_from_64:
push rsi
push rdi
mov rax, 1
@lynn
lynn / random-rhymes.py
Last active January 7, 2018 21:09
Turn English text into nonsense that sounds like the input
from collections import defaultdict
import fileinput
import random
import re
common = """the of and to a in for is on that by this with
i you it not or be are from at as your all have an was we
will can us i'm it you're i've my of""".split()
pronounce = {}