Skip to content

Instantly share code, notes, and snippets.

View bartman's full-sized avatar
🤓
🏋️‍♂️🥩☕💻ⓒ🦀

Bart Trojanowski bartman

🤓
🏋️‍♂️🥩☕💻ⓒ🦀
View GitHub Profile
@bartman
bartman / 256.py -d
Created February 25, 2010 16:26
256.py
#!/usr/bin/python
import sys
BASIC_SIZE = 16
CUBE_SIZE = 6
GRAY_SIZE = 24
NUMBERS = 0
def rgb(corner, axis, x, y, z):
#!/usr/bin/make -f
# find all git repos and run gc in them
# options:
# DEPTH=<number> pass to find
# DIR=<path> where to look
# NICE=<lvl> nice level (-20..19)
# IONICE=<lvl> ionice level (0..7)
#
# Why a makefile? so you can pass it a -j
in /etc/network/interfaces ...
#auto wlan0
allow-hotplug wlan0
mapping wlan0
script /etc/network/which-wlan0
# the which-wlan0
map essid=air.jukie.net key=on wifi-air
map essid=xjukie.net \
ap=00:14:BF:AF:98:30 \
# ./dhcpdump -i eth2
TIME: 2009-12-03 15:17:54.533
IP: 10.10.10.171 (0:1e:68:57:46:88) > 10.10.10.254 (0:d:b9:2:5b:ea)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 1
XID: d6d4ad65
SECS: 0