- Download the zip
- Open the zip
- Double click Mustache.tmbundle
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
# twitter.com/michael_jones wrote me | |
# Put in ~/.profile, or similar | |
# Use like "authme someuser@someserver" | |
function authme { | |
ssh $1 'cat >>~/.ssh/authorized_keys' <~/.ssh/id_rsa.pub | |
} |
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
// In case we forget to take out console statements. IE becomes very unhappy when we forget. Let's not make IE unhappy | |
if(typeof(console) === 'undefined') { | |
var console = {} | |
console.log = console.error = console.info = console.debug = console.warn = console.trace = console.dir = console.dirxml = console.group = console.groupEnd = console.time = console.timeEnd = console.assert = console.profile = function() {}; | |
} |
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
# In reply to my own question | |
# (http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/#comment-69995567) | |
# about using git-flow with existing git repos I experimented with a dummy | |
# git repo and it appears rather straight-forward | |
kold@Macintosh-27 $ git init test_git_flow | |
Initialized empty Git repository in /private/tmp/test_git_flow/.git/ | |
(/tmp) | |
kold@Macintosh-27 $ cd test_git_flow/ |
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
PROJECT MOVED TO https://github.com/Ovea/cors | |
/** | |
* https://gist.github.com/1114981 | |
* | |
* By default, support transferring session cookie with XDomainRequest for IE. The cookie value is by default 'jsessionid' | |
* | |
* You can change the session cookie value like this, before including this script: | |
* | |
* window.SESSION_COOKIE_NAME = 'PHP_SESSION'; |
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
# Screen Options ## | |
shell bash # Tell screen your default shell | |
startup_message off # Turn off start message | |
defscrollback = 5000 | |
shelltitle '$ |bash' # Dynamic window titled for running program | |
msgwait 1 # Set messages timeout to one second | |
nethack on # Turn on nethack error messages | |
backtick 0 0 0 whoami # Set "%0`" to equal the output of "whoami" | |
escape ^Oo |
To use TextMate to edit your commit messages, put the following in your ~/.bashrc
or ~/.bash_profile
(or other dot goodness):
export GIT_EDITOR="mate -w"
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
s = document.createElement('script'); | |
s.src = 'http://code.jquery.com/jquery-latest.min.js'; | |
document.body.appendChild(s) |
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
<?php | |
switch($_SERVER['HTTP_HOST']) | |
{ | |
case 'something.dev': | |
case 'something-else.dev': | |
// Development settings | |
break; | |
case 'something.com': |
OlderNewer