Skip to content

Instantly share code, notes, and snippets.

Avatar

Dirk Krause dirkk0

View GitHub Profile
View matrix_terminal_python.py
""""Create "The Matrix" of binary numbers scrolling vertically in your terminal.
original code adapted from juancarlospaco:
- http://ubuntuforums.org/showpost.php?p=10306676
Inspired by the movie: The Matrix
- Corey Goldberg (2013)
Requires:
@dirkk0
dirkk0 / pgessays.py
Created Nov 18, 2012 — forked from olasitarska/pgessays.py
Builds epub book out of Paul Graham's essays.
View pgessays.py
# -*- coding: utf-8 -*-
"""
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html
Author: Ola Sitarska <ola@sitarska.com>
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""
import re, ez_epub, urllib2, genshi
@dirkk0
dirkk0 / install-web2py-pythonanywhere.sh
Created Sep 6, 2012 — forked from goldenboy/install-web2py-pythonanywhere.sh
Bash script to install web2py on pythonanywhere.com (web2py.pythonanywhere.com)
View install-web2py-pythonanywhere.sh
cd ~
wget -O web2py_src.zip http://web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
echo "
PATH = '/home/"`whoami`"/web2py'
import os
import sys
sys.stdout = sys.stderr
os.chdir(PATH)
if not './' in sys.path[:1]: sys.path.insert(0,'./')
@dirkk0
dirkk0 / ios-scroll.js
Created Dec 15, 2011 — forked from davegurnell/ios-scroll.js
iOS HTML5 Scrollpane
View ios-scroll.js
/* iOS scrollpane jQuery plugin, v1.0
* ==================================
*
* (c) 2011 Dave Gurnell
* http://boxandarrow.com
*
* Distributed under the Creative Commons Attribution 3.0 Unported licence:
* http://creativecommons.org/licenses/by/3.0/
*/
You can’t perform that action at this time.