Skip to content

Instantly share code, notes, and snippets.

View iwannabaa's full-sized avatar

Carlos Jovel iwannabaa

View GitHub Profile
PROMPT='
$fg[cyan]%m: $fg[yellow]$(get_pwd)$(put_spacing)$(git_prompt_info) $(battery_charge)
$reset_color→ '
function get_pwd() {
echo "${PWD/$HOME/~}"
}
function put_spacing() {
local git=$(git_prompt_info)
@iwannabaa
iwannabaa / thegrint_scorecard_sample
Last active December 26, 2015 11:19
Sample code from TheGrint scorecard.
var App = {
init: function() {
this.cacheElements();
this.bindEvents();
this.fixDate();
this.getTees();
this.getUserEvents();
},
cacheElements: function() {
this.$document = $(document);