Skip to content

Instantly share code, notes, and snippets.

Aaron Kaufman aaronky

Block or report user

Report or block aaronky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:675117
tar cfj - <files>044898fe1e85e5 | ssh user@host "cat - >/mnt/foo/bar.tbz2"
View vlan
sh int vlan 508 | inc address
View gentoo-chroot.sh
hd_drive=/dev/hda
emerge --sync
ls -FGg /etc/make.profile
nano -w /etc/locale.gen
ls /usr/share/zoneinfo
cp /usr/share/zoneinfo/US/Central /etc/localtime
emerge gentoo-sources
ls -l /usr/src/linux
cd /usr/src/linux
View gentoo.sh
hd_drive=/dev/hda
ntp_server=ntp.tmc.edu
stage3="http://mirror.mcs.anl.gov/pub/gentoo/releases/x86/current/stages/stage3-x86-2008.0.tar.bz2"
portage="http://mirror.mcs.anl.gov/pub/gentoo/snapshots/portage-latest.tar.bz2"
timezone=/usr/share/zoneinfo/US/Central
use_flags="gtk gnome -qt3 -qt4 -kde dvd alsa cdr dbus -arts X hal"
makeconf_extra="INPUT_DEVICES=\"keyboard mouse\"\nVIDEO_CARDS=\"fglrx\"\nMAKEOPTS=\"-j2\"\n"
fdisk $hd_drive
mke2fs ${hd_drive}1
@aaronky
aaronky / gist:676015
Created Nov 14, 2010
tmux auto lock 5 min
View gist:676015
set lock-after-time 300
View gist:704504
dd if=/dev/zero of=/dev/ad5 bs=1k count=1 && bsdlabel -Bw ad5 auto && newfs /dev/ad5 && mkdir /var/data2 && mount /dev/ad5 /var/data2 && /usr/local/cassandra/current/bin/cassandra -p /var/run/cass.pid
View gist:708149
sudo pfctl -t bruteforce -T show
60.29.110.232
60.29.218.42
67.23.19.95
109.169.12.4
190.37.105.175
200.21.232.166
202.96.199.150
203.113.15.229
210.124.36.205
View gist:722447
Per-Hour Traffic Summary
------------------------
time received delivered deferred bounced rejected
--------------------------------------------------------------------
0000-0100 63 63 1874 0 7
0100-0200 70 67 1887 0 7
0200-0300 62 69 1830 0 16
0300-0400 82 90 1898 0 13
0400-0500 38 42 1850 0 18
0500-0600 57 54 1855 0 6
View gist:724325
kern.maxfiles=204800
kern.maxfilesperproc=200000
kern.maxvnodes=200000
kern.ipc.somaxconn=1024
net.inet.tcp.syncookies=0
net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535
net.inet.tcp.msl=5000
net.inet.tcp.drop_synfin=1
net.inet.tcp.recvbuf_auto=0
View gist:742328
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: /usr/bin/google-chrome
URxvt.matcher.button: 1
Xft.dpi: 96
Xft.antialias: false
Xft.hinting: full
Xft.hintstyle: hintslight
Xft.rgba: rgb
c64*font: xft:Adore64:autohint=false:antialias=false:size=7
You can’t perform that action at this time.