Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
username=$1
useradd $1
usermod -L $1
echo cangetin | passwd --stdin $1
chage -d 0 $1
usermod -U $1
#!/bin/bash
yum -y install screen kernel-devel vim-enhanced mercurial
yum -y groupinstall 'Development Libraries' 'Development Tools'
rpm -Uvh 'http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm'
yum -y update
echo "enable centos base and epel-testing"
#!/usr/bin/ruby
require 'net/http'
require 'net/https'
require 'rubygems'
def fetch(uri_str, limit = 10)
raise ArgumentError, 'HTTP redirect too deep' if limit == 0
req_url = URI.parse(uri_str)
.DS_Store
lib
bin
include
.Python
*.pyc
.coverage
man
pip-log.txt
src
# ls color is different on darwin than linux
myvar=$(uname | tr 'A-Z' 'a-z')
case $myvar in
linux)
alias ls='ls -F --color'
;;
darwin)
alias ls='ls -F -G'
export LSCOLORS="gxfxbxdxcxegedabagacad"
;;
<<<<<<< TREE
#: bin/byobu-config:131 bin/byobu-config:165 bin/byobu-config:182
#: bin/byobu-config:216 bin/byobu-config:355 bin/byobu-config:396
#: bin/byobu-config:469
=======
#: byobu-config:110 byobu-config:144 byobu-config:161 byobu-config:195
#: byobu-config:335 byobu-config:376 byobu-config:449
>>>>>>> MERGE-SOURCE
Format: complete
xhtml xslt: s5
Title: Presentation
Author: Derek Carter
Email: [email protected]
# I like to eat carrots
* they have betacarrotine[SIC]
* and they are orange
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>RBM Gets rubbed off - Goozbach's tech tips</title>
</head>
<body>
<div id="one">
+blog 2009-12-12 test this 12 @foob
+personalprojects 2009-12-13 test this 13
+testing 2009-12-14 test this 14
+again 2009-12-15 test this 15 +testing sdflkajdsflkj sdlkf hello
+dood 2009-12-16 test this 16 +testing foobarbaz testing foob again
+devcycle 2009-12-17 test this 17
# include file for python
[defaults]
PREFIX=changeme
PKG=byobu
SHARE=%(PREFIX)s/share/%(PKG)s
DOC=%(SHARE)s/doc/%(PKG)s