Skip to content

Instantly share code, notes, and snippets.

View relrod's full-sized avatar

Rick Elrod relrod

View GitHub Profile
; Color scheme stuffz
(require 'color-theme)
(color-theme-initialize)
(load-file "~/.emacs.d/twilight-emacs/color-theme-twilight.el")
(color-theme-twilight)
; Hide welcome screen.
(setq inhibit-splash-screen t)
; Gist!
CONDOM(1) EUNUCH Programmer's Manual CONDOM(1)
NAME
condom - Protection against viruses and prevention of child
processes
SYNOPSIS
condom [options] [processid]
>>> print_r(myvar.info())
CVSweb page = www/firefox
Distfile Survey page = www/firefox
FreshPorts page = www/firefox
URL = http://www.mozilla.com/firefox
categories = www ipv6
description = Web browser based on the browser portion of Mozilla
maintainer = [email protected]
package name = firefox-3.6,1
>>>
# global dhcpd parameters
deny unknown-clients; #disallow unknown connections
ddns-update-style none; #disallow dynamic DNS updates
allow bootp; #allow bootp requests, thus the dhcp
#server will act as a bootp server
# which network interface the server will listen on
subnet 10.10.10.0 netmask 255.255.255.0 { #the zeros indicate which range
option routers 10.10.10.1;
#!/usr/bin/env python
from string import strip
fh = open("file")
numbers = []
letters = {}
for line in fh.readlines():
line = strip(line)
if line.isdigit():
numbers.append(int(line))
#!/usr/bin/env python
from string import strip
fh = open("file")
(numbers, letters) = ([], {})
for line in fh.readlines():
line = strip(line)
if line.isdigit():
numbers.append(int(line))
else: # Letter
#!/usr/bin/env python
from string import strip
(numbers, letters, fh) = ([], {}, open("file"))
for line in fh.readlines():
line = strip(line)
if line.isdigit():
numbers.append(int(line))
else: # Letter
if line in letters.keys():
Selecting previously deselected package libc-dev-bin.
(Reading database ... 70602 files and directories currently installed.)
Unpacking libc-dev-bin (from .../libc-dev-bin_2.10.2-5_i386.deb) ...
Replacing files in old package libc6-dev ...
Preparing to replace libc6-dev 2.7-18lenny2 (using .../libc6-dev_2.10.2-5_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace locales 2.7-18lenny2 (using .../locales_2.10.2-5_all.deb) ...
Unpacking replacement locales ...
Selecting previously deselected package libc-bin.
#!/bin/sh -f
# Configure wmii
# Configuration Variables
MODKEY=Mod4
UP=k
DOWN=j
LEFT=h
RIGHT=l