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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
events { |
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
# unicorn_rails -c config/unicorn.rb -D | |
app_name = "dojo" | |
app_root = "/Users/frank/Projects/rails/#{app_name}" | |
working_directory app_root | |
pid "/tmp/unicorn.#{app_name}.pid" | |
stderr_path "#{app_root}/log/unicorn.log" | |
stdout_path "#{app_root}/log/unicorn.log" |
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 'rails/all' | |
require 'sass-rails' | |
#... | |
module App | |
class Application < Rails::Application | |
config.sass.load_paths ||= [] | |
config.sass.load_paths << "#{Rails.root}/app/assets/stylesheets" | |
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>haml</string> | |
<string>sass</string> | |
</array> | |
<key>foldingStartMarker</key> |
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
doctype 5 | |
= ie_conditional_classes do | |
head | |
meta charset="utf-8" | |
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" | |
title Cool App | |
meta name="viewport" content="width=device-width" | |
= stylesheet_link_tag "application", media: "all" | |
= javascript_include_tag "modernizr" |
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
gem "slim" | |
gem "useragent" |
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
Show hidden characters
{ | |
"auto_complete": false, | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Solarized/Solarized (dark).tmTheme", | |
"draw_white_space": "selection", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": true, | |
"find_selected_text": true, | |
"fold_buttons": true, | |
"folder_exclude_patterns": |
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
#!/usr/bin/env bash | |
# Usage: curl -L https://raw.github.com/gist/3277326/ubuntu_bootstrap.sh | bash | |
RUBY=1.9.3-p327 | |
echo "Updating Packages"; echo | |
apt-get -y update && apt-get -y upgrade | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev libgdbm-dev libxml2 libxml2-dev libxslt-dev git-core |
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
# Usage: bash ergo-proxy.sh <on off> | |
# Hitting ctrl-c while tunneled will exit the tunnel and turn the proxies off | |
STATE=$1 | |
# Get a list of network services: networksetup -listallnetworkservices | |
NETWORKSERVICE=Wi-Fi | |
# Local port | |
PORT=3128 |
OlderNewer