This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode "1680x1050 60.00Hz 32bit (GTF)" | |
# PCLK: 147.14 MHz, H: 65.22 kHz, V: 60.00 Hz | |
geometry 1680 1050 1680 1050 32 | |
timings 6796 288 104 33 1 184 3 | |
hsync low | |
vsync high | |
endmode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python command line client for gist.github.com | |
Based on Chris Wanstrath's ruby gist client: | |
http://github.com/defunkt/gist/tree/master | |
Install: | |
wget http://github.com/mattikus/pygist/raw/master/pygist.py -O ~/bin/pygist | |
Usage: | |
cat file.txt | pygist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ver=0.3.1 | |
# | |
# Aurvote, a tool to vote for favorite packages on AUR for inclusion in [community] | |
# <wain@archlinux.fr> | |
# | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/bin/qtile", line 53, in <module> | |
main() | |
File "/usr/bin/qtile", line 47, in main | |
q = manager.Qtile(c) | |
File "/usr/lib/python2.5/site-packages/libqtile/manager.py", line 435, in __init__ | |
self.event | |
File "/usr/lib/python2.5/site-packages/libqtile/manager.py", line 100, in _configure | |
i._configure(qtile, self, event) | |
File "/usr/lib/python2.5/site-packages/libqtile/bar.py", line 137, in _configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in *; do | |
if [ -d $i ]; then | |
mp3gain -a $i/*.mp3 | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST! | |
bioe007 is a fatty fat moron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkemp@alcfwl131 ~/tmp/macvim/src$ ./Vim --version |grep python | |
-osfiletype +path_extra -perl +postscript +printer +profile +python +quickfix | |
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -I. -Iproto -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -g -O -I/Users/mkemp/include/python2.6 | |
mkemp@alcfwl131 ~/tmp/macvim/src$ otool -L Vim |grep -i python | |
/System/Library/Frameworks/Python.framework/Versions/2.5/Python (compatibility version 2.5.0, current version 2.5.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
import json | |
except ImportError: | |
import simplejson as json | |
import logging | |
from xmlrpclib import Server | |
from pylons import request, response, session, tmpl_context as c | |
from pylons.controllers.util import abort, redirect_to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include <stdio.h> | |
bool isDiv(long answer) | |
{ | |
for (int x=20; x>1; x--) { | |
if (answer % x) { | |
return false; | |
} | |
} |