- Install OS X 10.6
- Run System Updates
- Google Chrome Dev [download]
- Google Chrome Beta [download]
- The Unarchiver [download]
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 'rubygems' | |
require 'sinatra' | |
require 'sinatra/test/unit' | |
require 'application' | |
require 'base64' | |
class ApplicationTest < Test::Unit::TestCase | |
def test_without_authentication | |
get '/protected' |
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
if has('win32') || has ('win64') | |
let $VIMHOME = $HOME."/Dropbox/dotfiles/.vim" | |
if !empty($CONEMUBUILD) | |
set term=xterm | |
set t_Co=256 | |
let &t_AB="\e[48;5;%dm" | |
let &t_AF="\e[38;5;%dm" | |
endif |
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
backend app1 { | |
.host = "1.1.1.1"; | |
.port = "80"; | |
} | |
backend app2 { | |
.host = "2.2.2.2"; | |
.port = "80"; | |
} |
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
<% if @params[:ssl] %> | |
<VirtualHost <%= node[:ipaddress] %>:443> | |
ServerName <% if node[:magento][:server][:secure_domain] %><%= node[:magento][:server][:secure_domain] %><% else %><%= @params[:server_name] %><% end %> | |
SSLEngine on | |
SSLCertificateKeyFile ssl/<%= @params[:server_name] %>.pem | |
SSLCertificateFile ssl/<%= @params[:server_name] %>.pem | |
SSLProtocol all | |
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL | |
<% else %> |
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
# Magento Connect 2 cache directories and files | |
downloader/pearlib/cache/ | |
downloader/*.cfg | |
# Magento runtime media files | |
media/catalog/product/cache/ | |
media/tmp/ | |
media/js/ | |
media/css/ | |
media/.thumbs/ |
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
" Vim color file | |
" Converted from Textmate theme Twilight using Coloration v0.2.5 (http://github.com/sickill/coloration) | |
set background=dark | |
highlight clear | |
if exists("syntax_on") | |
syntax reset | |
endif |
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
# The MySQL database server configuration file. | |
# | |
# DESC: InnoDB mainly, heavy queries, fewer connections, 4GB RAM | |
# | |
# Remember to edit /etc/mysql/debian.cnf when changing the socket location. | |
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
# This was formally known as [safe_mysqld]. Both versions are currently parsed. |
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
class KeyGenerator | |
require "digest/sha1" | |
def self.generate(length = 12) | |
Digest::SHA1.hexdigest(Time.now.to_s + rand(567891234).to_s)[1..length] | |
end | |
end |
OlderNewer