Skip to content

Instantly share code, notes, and snippets.

View kennethlove's full-sized avatar
🦀
Python

Kenneth Love kennethlove

🦀
Python
View GitHub Profile
#!/usr/bin/env python3
hearts = "\u2661\u2665"
colors = list(map(str, range(30, 38)))
prefix = "\x1B["
mid = "m"
def cycle(x):
while 1:
#! /usr/bin/env python
pages = {
"start": {
"text": "It's a dark night outside. Somewhere a wolf howls.",
"prompt": "Where will you take shelter, the haunted house, or the bat cave?",
"next": ("haunted house", "bat cave"),
},
"haunted house": {
"text": "By the light of your flickering torch, you're able to make it to\n" \
# encoding=utf-8
"""
Author: Jökull Sólberg Auðunsson (solberg.is)
"""
from django.core.files.storage import get_storage_class
from django.db.models import ImageField
from uuid import uuid4
@defunkt
defunkt / installing-mustache.vim.md
Created March 6, 2010 10:21
Installing mustache.vim

mustache.vim

In your shell:

cd ~/.vim
git clone git://github.com/juvenn/mustache.vim.git
mv mustache.vim/syntax/* syntax/
mv mustache.vim/indent/* indent/
mv mustache.vim/ftdetect/* ftdetect/

rm -rf mustache.vim