This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@schick-1:~# cat /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
# allow-hotplug eth0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
hosts = ['ningyo.dc1.puppetlabs.net','pandora.puppetlabs.lan'] | |
hosts.each do |master| | |
fork do | |
system( "ssh -Tq #{master} sudo -i puppet_deploy.rb -f >/dev/null 2>&1 </dev/null" ) | |
print '' ; sleep 0.5 ; print '' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
hosts = ['ningyo.dc1.puppetlabs.net','pandora.puppetlabs.lan'] | |
hosts.each do |master| | |
fork do | |
system( "ssh -Tq #{master} sudo -i puppet_deploy.rb -f >/dev/null 2>&1 </dev/null" ) | |
print '' ; sleep 0.5 ; print '' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -U colors && colors | |
# If we have SELinux, check it's not fucking running! | |
[ -e "/usr/sbin/selinuxenabled" ] && /usr/sbin/selinuxenabled && RPROMPT="%{$fg_bold[red]%} SELINUX%{$reset_color%}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gc() { | |
git commit $* && git xpush | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" remap leader to , | |
let mapleader = "," | |
" dealing with tabs, as in workspaces, not CTRL-I | |
" Kinda dirty with the CTRL-V magic to get the shift-alt-left/right here. | |
nnoremap <silent>^[[1;10C :tabnext<CR> | |
nnoremap <silent>^[[1;10D :tabprevious<CR> | |
inoremap <silent>^[[1;10C <ESC>:tabnext<CR> | |
inoremap <silent>^[[1;10D <ESC>:tabprevious<CR> | |
vnoremap <silent>^[[1;10C <ESC>:tabnext<CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* About to connect() to puppetlabs.com port 80 (#0) | |
* Trying 96.126.112.51... % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0connected | |
* Connected to puppetlabs.com (96.126.112.51) port 80 (#0) | |
> GET /learn HTTP/1.1 | |
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5 | |
> Host: puppetlabs.com | |
> Accept: */* | |
> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[utu:~]% find /Volumes/Tiny/fings/ -iname \*brisco\* | |
/Volumes/Tiny/fings//Series/Brisco Country Jr | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x01 - Pilot (1 of 2).avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x01 - Pilot (2 of 2).avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x02 - The Orb Scholar.avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x03 - No Man's Land.avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x04 - Brisco In Jalisco.avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x05 - Socrates' Sister.avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x06 - Riverboat.avi | |
/Volumes/Tiny/fings//Series/Brisco Country Jr/Brisco County Jr - 1x07 - Pirates.avi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
require 'pp' | |
term_lines=`tput lines`.to_i | |
# tput doesn't exist. | |
if $? == 127 | |
exec "cat -" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ody@orihime:[dist]% which git-subtree git-subtree () { | |
( cd $(git rev-parse --show-toplevel) && HOME/local/bin/git-subtree $* ) | |
} |