After reading a handful of blog posts I finally got this working in 10.6...
-
Add this to ~/.bash_profile:
export CLICOLOR=1
-
Install SIMBL.
# Custom tmux configuration: ~/.tmux.conf | |
# Cobbled together from google and trial & error by Eric Marden (xentek.net) | |
# set the command prefix to match gnuscreen (i.e. CTRL+a) | |
set -g prefix C-a | |
bind-key C-a last-window | |
# utf8 | |
set-window-option -g utf8 on |
After reading a handful of blog posts I finally got this working in 10.6...
Add this to ~/.bash_profile:
export CLICOLOR=1
Install SIMBL.
# If updates have been made, the Sunspot::Rails plugin will issue a commit at the end of a request | |
# using an after_filter. It checks two config variables first, which you can use to disable | |
# the automatic commits if you want a different commit policy. | |
Sunspot::Rails.configuration.auto_commit_after_request = false | |
Sunspot::Rails.configuration.auto_commit_after_delete_request = false |
// includes bindings for fetching/fetched | |
PaginatedCollection = Backbone.Collection.extend({ | |
initialize: function() { | |
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
this.page = 1; | |
}, | |
fetch: function(options) { | |
options || (options = {}); | |
this.trigger("fetching"); |
<?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>name</key> | |
<string>XENTEK</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
// includes bindings for fetching/fetched | |
var PaginatedCollection = Backbone.Collection.extend({ | |
initialize: function() { | |
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
typeof(options) != 'undefined' || (options = {}); | |
this.page = 1; | |
typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
}, | |
fetch: function(options) { |
def set_no_cache | |
headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate" | |
headers["Pragma"] = "no-cache" | |
headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT" | |
end |
#!/usr/bin/env rake | |
# Add your own tasks in files placed in lib/tasks ending in .rake, | |
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
# If certain tasks are called, don't load Rails! | |
if %w(spork:start spork:restart spork:stop).include?(Rake.application.top_level_tasks.first) | |
# Load the rake tasks | |
Dir.glob("#{File.expand_path("../lib/tasks", __FILE__)}/*.rake").each { |r| import r } | |
else | |
require File.expand_path('../config/application', __FILE__) |
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: |
#!/usr/bin/env bash | |
echo "@@@ @@@ @@@@@@@@ @@@ @@@ @@@@@@@ @@@@@@@@ @@@ @@@ " | |
echo "@@@ @@@ @@@@@@@@ @@@@ @@@ @@@@@@@ @@@@@@@@ @@@ @@@ " | |
echo "@@! !@@ @@! @@!@!@@@ @@! @@! @@! !@@ " | |
echo "!@! @!! !@! !@!!@!@! !@! !@! !@! @!! " | |
echo " !@@!@! @!!!:! @!@ !!@! @!! @!!!:! @!@@!@! " | |
echo " @!!! !!!!!: !@! !!! !!! !!!!!: !!@!!! " | |
echo " !: :!! !!: !!: !!! !!: !!: !!: :!! " | |
echo ":!: !:! :!: :!: !:! :!: :!: :!: !:! " |