Mountain Lion (10.8) has three main difference compared to Lion (10.7):
- XCode 4.4 does not install Command Line Tools by default
- X11 isn't available anymore
- The installed version of OpenSSL has some bugs
| //Wait for relevant code bits to load before starting any tests | |
| define(['core.js'], function( core ) { | |
| module("Core Tests"); | |
| test("Test core methods", function(){ | |
| expect(2); | |
| equals( 1, 1, "A trivial test"); | |
| ok( true, "Another trivial test"); | |
| }); |
| [ | |
| { "keys": ["super+x"], "command": "clipboard_history_cut" }, | |
| { "keys": ["super+c"], "command": "clipboard_history_copy" }, | |
| { "keys": ["super+v"], "command": "clipboard_history_paste" }, | |
| { "keys": ["super+shift+v"], "command": "clipboard_history_previous_and_paste" }, | |
| { "keys": ["super+pagedown"], "command": "clipboard_history_next" }, | |
| { "keys": ["super+pageup"], "command": "clipboard_history_previous" }, | |
| { "keys": ["super+alt+ctrl+v"], "command": "clipboard_history_choose_and_paste" } |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
| <!--[if lt IE 7 ]> | |
| <script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> | |
| <script>CFInstall.check();</script> | |
| <![endif]--> |
| from django.db.models.fields import Field | |
| import types | |
| def patch_model(model_to_patch, class_to_patch_with): | |
| """ | |
| Adapted from http://www.ravelsoft.com/blog/2010/patchmodel-hacky-solution-extending-authuser-class | |
| Monkey patch a django model with additional or replacement fields and methods. | |
| All fields and methods that didn't exist previously are added. |
| // http://compass-style.org/reference/compass/helpers/sprites/ | |
| @mixin get-sprite($map, $sprite, $repeat: no-repeat, $height: true, $width: true) { | |
| //http://compass-style.org/reference/compass/helpers/sprites/#sprite-file | |
| $sprite-image: sprite-file($map, $sprite); | |
| // http://compass-style.org/reference/compass/helpers/sprites/#sprite-url | |
| $sprite-map: sprite-url($map); | |
| // http://compass-style.org/reference/compass/helpers/sprites/#sprite-position |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| #!/bin/bash | |
| # install rvm | |
| aptitude install -y curl libz-dev | |
| curl -L https://get.rvm.io | bash -s stable --ruby | |
| source /usr/local/rvm/scripts/rvm | |
| gem install fpm | |
| # git clone | |
| aptitude install -y git |
| cd /usr/local | |
| sudo chown -R `whoami`:admin ./ | |
| git reset --hard | |
| git clean -fd | |
| cd ~ | |
| find /usr/local/Library/Formula -type l -delete | |
| brew doctor | |
| brew update | |
| brew prune | |
| brew cleanup |