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
rvm install 1.9.2 -C --enable-shared,--with-readline-dir=/usr/local/Cellar/readline/6.2.1,--build=x86_64-apple-darwin10,--without-tk |
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
export RUBYOPT='-rpsych' |
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
rails new APP_NAME -m https://github.com/RailsApps/rails3-application-templates/raw/master/rails3-mongoid-devise-template.rb -T -O |
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
Please report this bug: | |
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue | |
/usr/local/Library/Homebrew/formula.rb:393:in `canonical_name' | |
/usr/local/Library/Homebrew/formula.rb:425:in `factory' | |
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7 | |
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7:in `map' | |
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7 | |
/usr/local/bin/brew:46:in `require' | |
/usr/local/bin/brew:46:in `require?' | |
/usr/local/bin/brew:79 |
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
recurly_errors: | |
approved: "Approved" | |
approved_fraud_review: "Approved" | |
declined: "The transaction was declined. Please use a different card or contact your bank." | |
insufficient_funds: "The transaction was declined due to insufficient funds in your account. Please use a different card or contact your bank." | |
temporary_hold: "Your card has a temporary hold. Please use a different card or contact your bank." | |
too_many_attempts: "The transaction was declined. You have exceeded a reasonable number of attempts. Please wait a while before retrying your card, or try a different card." | |
call_issuer: "Your transaction was declined. Please contact your bank for further details or try another card." | |
call_issuer_update_cardholder_data: "Please contact support: the payment system experienced an unspecified error with your card issuer." | |
paypal_primary_declined: "Your primary funding source was declined. Please try again or update your billing information with PayPal." |
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
<script> | |
// requests the language from static page | |
function receiveMessage(event) { | |
var formStrings = event.data; | |
function mapFormStrings() { | |
function changeStrings() { | |
$('#interaction_name').siblings('.form_label').text(formStrings.your_name); |
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
// from | |
// http://stackoverflow.com/questions/1206937/javascript-domready | |
var domLoaded = function (callback) { | |
/* Internet Explorer */ | |
/*@cc_on | |
@if (@_win32 || @_win64) | |
document.write('<script id="ieScriptLoad" defer src="//:"><\/script>'); | |
document.getElementById('ieScriptLoad').onreadystatechange = function() { | |
if (this.readyState == 'complete') { |
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
#!/bin/bash | |
# | |
# -------------------------------------------------------------------------------------- | |
# http://blog.gantrithor.com/post/12535461464/carefree-coffeescript-auto-compiler-part-3 | |
# -------------------------------------------------------------------------------------- | |
DIR_ROOT="$(cd "$(dirname "$0")" && pwd)" | |
function compile_tree() { | |
find "$1" -name "*.coffee" -type f | while read PATH_COFFEE; do |
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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express'); | |
var app = module.exports = express.createServer(); | |
io = require('socket.io').listen(app), |
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 list | cut -d" " -f1 | xargs gem uninstall -aIx |