- Corsair Vengeance 16GB DDR3 RAM - http://www.amazon.com/gp/product/B006EWUO22/ref=oh_details_o02_s00_i00
- Intel i7 3770k - http://www.amazon.com/gp/product/B007SZ0EOW/ref=oh_details_o02_s00_i01
- substitute for 3770 (no k) if you want virtualization features
- Asus P8Z77-V Deluxe - http://www.amazon.com/gp/product/B007G51VEQ/ref=oh_details_o02_s00_i02
- Dell UltraSharp U2412M 24" LED LCD Monitor - http://www.amazon.com/gp/product/B005JN9310/ref=oh_details_o02_s01_i00
- Thermalright HR-02 Macho CPU Heatsink - http://www.amazon.com/gp/product/B005ERSN7G/ref=oh_details_o02_s02_i00
- Corsair Obsidian Series 550D Mid-Tower case - http://www.amazon.com/gp/product/B006L6ZSWC/ref=oh_details_o02_s03_i00
- Asus 12x bluray drive - http://www.amazon.com/gp/product/B004ZMG55I/ref=oh_details_o02_s04_i00
- Arctic Cooling MX-4 Thermal Compound - http://www.amazon.com/gp/product/B0045JCFLY/ref=oh_details_o06_s00_i00
- Corsair HX750 PSU - http://www.amazon.com/gp/product/B0029F21LK/ref=oh_details_o00_s03_i05
This file contains 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
function smart_pwd { | |
local pwdmaxlen=25 | |
local trunc_symbol=".." | |
local dir=${PWD##*/} | |
local tmp="" | |
pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen )) | |
NEW_PWD=${PWD/#$HOME/\~} | |
local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen )) | |
if [ ${pwdoffset} -gt "0" ] |
This file contains 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
domain = "*.example.com" | |
subjectAltDomains = [ domain, "example.com" ] | |
require 'openssl' | |
puts "Generating public and private keys..." | |
key = OpenSSL::PKey::RSA.new(2048) | |
subject = "/C=US/ST=California/L=Los Angeles/O=Example Inc./CN=#{domain}" | |
cert = OpenSSL::X509::Certificate.new |
This file contains 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
x |
This file contains 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
# Base Settings | |
## C-z as prefix | |
# set-option -g prefix C-z | |
# unbind-key C-b | |
# bind-key C-z send-prefix | |
## Set a really long buffer | |
set -g history-limit 8096 |
This file contains 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
http://dealspl.us/souplantation-coupons/424752p |
$ brew install python --framework
$ mkdir ~/Library/Frameworks/
$ cd ~/Library/Frameworks/
$ ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework .
$ brew install -vd ./vim.rb
This file contains 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
" comment an entire visual block at once | |
" highlight the area however you want (V, CTRL+V) then | |
" ,c will comment the block | |
" ,u will uncomment the block | |
let b:comment_leader = '# ' | |
au FileType haskell,vhdl,ada let b:comment_leader = '-- ' | |
au FileType vim let b:comment_leader = '" ' | |
au FileType c,cpp,java,php,js let b:comment_leader = '// ' | |
au FileType sh,make,perl,ruby,python let b:comment_leader = '# ' | |
au FileType tex let b:comment_leader = '% ' |
This file contains 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
require 'sinatra' | |
get '/' do | |
headers['Cached-Control'] = 'public, max-age=60' | |
Time.now.to_s | |
end | |
run Sinatra::Application |
This file contains 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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[alias] | |
st = status | |
ci = commit | |
co = checkout |
NewerOlder