View sys161.conf
# Sample sys161.conf file | |
# | |
# This file tells System/161 what devices to use. | |
# | |
# There are 32 LAMEbus slots on the System/161 motherboard. There may | |
# be only one bus controller card, and it must go in slot 31. Other | |
# than that, you can put in whatever devices you want. | |
# | |
# The syntax is simple: one slot per line; the slot number goes first, | |
# then the expansion card name, then any arguments. Some of the devices |
View ASST1
# Kernel config file for assignment 1. | |
include conf/conf.kern # get definitions of available options | |
debug # Compile with debug info. | |
# | |
# Device drivers for hardware. | |
# | |
device lamebus0 # System/161 main bus |
View edit.sh
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "usage: $0 N" | |
exit 1 | |
fi | |
N=$1 | |
files=$(find /home/passifist/linux-2.4.29 | grep "\.[ch]") |
View tumblrtagcloud.js
// Taken from: http://theclearingband.com/tumblr/tagcloud2.js | |
var postcount = 0; | |
var postmax = 400; | |
var posttotal = 0; | |
var tmap = new Object(); | |
var tvals = new Object(); | |
var vstr = ""; | |
var tdiv = document.getElementById("tagcloud"); | |
tdiv.innerHTML = "Loading cloud..."; |
View count.py
import argparse | |
import json | |
import os | |
import subprocess | |
class Chdir: | |
""" | |
Initializer/destructor pattern for cd taken from here: | |
http://stackoverflow.com/questions/431684/how-do-i-cd-in-python | |
""" |
View .gitignore
build/* | |
build | |
defs.mk | |
kern/compile/* | |
*.swp | |
.depend | |
# ignore eclipse metadata files | |
.cproject | |
.project |