Last updated: 12/31/2013
- Edit
/etc/default/locale
as sudo. - Append
LC_ALL="en_US.UTF-8"
at the end of the file, save and quit. sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
#!/bin/bash | |
# Setup: | |
# Add this file to your $PATH | |
# Usage: | |
# git assign | |
changed_files=$(git diff --name-only HEAD master) |
var _log = console.log; | |
window.console.log = function(log){ | |
_log.call(console, log.reverse ? log.reverse() : typeof log === 'string' ? log.split('').reverse().join('') : typeof log === 'number' ? log.toString().split('').reverse().join('') : typeof log === 'boolean' ? !log : log); | |
}; |
Last updated: 12/31/2013
/etc/default/locale
as sudo.LC_ALL="en_US.UTF-8"
at the end of the file, save and quit.sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
/* Polyfill indexOf. */ | |
var indexOf; | |
if (typeof Array.prototype.indexOf === 'function') { | |
indexOf = function (haystack, needle) { | |
return haystack.indexOf(needle); | |
}; | |
} else { | |
indexOf = function (haystack, needle) { | |
var i = 0, length = haystack.length, idx = -1, found = false; |
if [[ $BUILD_STATUS == "success" ]] | |
then | |
export STATUS="success" | |
else | |
export STATUS="failure" | |
fi | |
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \ | |
-H "Content-Type: application/json" \ | |
-X POST \ |
App.AccountEditRoute = Ember.Route.extend({ | |
setupController: function(controller) { | |
controller.set('content', this.get('currentUser')); | |
} | |
}); |