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
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
# Screenshot: http://i.imgur.com/s0Blh.png | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM=gnome-256color | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM=xterm-256color | |
fi |
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
'use strict'; | |
var todoAppliction = angular.module("todoApp",[]); | |
todoAppliction.controller("todoController", todoController); | |
todoController.$inject =['$scope']; | |
/** | |
* Processs an input box enter event | |
* Ex: on enter add the task in the list |
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
var utitlity = (function(){ | |
'use strict'; | |
var observerList = []; | |
var observe = function (eventName, eventMethod) { | |
observerList[eventName] = eventMethod; | |
}; | |
var dispatch = function (eventName, eventParams){ | |
eventParams = eventParams || ''; |
OlderNewer