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/git-live | |
# Make sure ~/bin is added to PATH | |
# homebrew install fswatch | |
PREV='' | |
gstat() | |
{ | |
clear | |
# disable line wrapping | |
printf '\033[?7l' |
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
<!doctype html> | |
<html ng-app="Demo" ng-controller="AppController"> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Creating Asynchronous Alerts, Prompts, And Confirms In AngularJS | |
</title> | |
</head> | |
<body> |
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
removed 1 record | |
Add: _bird1.jpg | |
change: _bird1.jpg | |
change: _bird1.jpg | |
Add: Siberian-Tiger-Running-Through-Snow-Tom-Brakefield-Getty-Images-200353826-001.jpg | |
change: Siberian-Tiger-Running-Through-Snow-Tom-Brakefield-Getty-Images-200353826-001.jpg | |
change: Siberian-Tiger-Running-Through-Snow-Tom-Brakefield-Getty-Images-200353826-001.jpg | |
Add: Best_Images.jpg | |
change: Best_Images.jpg | |
change: Best_Images.jpg |
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
public void Save() | |
{ | |
var writer = new StreamWriter(filename); | |
writer.Write(JsonConvert.SerializeObject(this, Formatting.Indented)); | |
writer.Close(); | |
} |
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 pokeUser = function( victem ){ | |
$jq.ajax( { | |
"url": "https://www.facebook.com/ajax/poke.php?__a=1", | |
"type": "POST", | |
"data": { | |
"__d" : 1, | |
"__user" : Env.user, | |
"fb_dtsg" : Env.fb_dtsg, | |
"lsd" : "", | |
"nctr[_mod]" : "pagelet_header_personal", |
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
(function(){ | |
// store facebook's AjaxRequest class in our private variable | |
window.__AjaxRequestProxy__ = window.AjaxRequest; | |
// overwrite facebook's AjaxRequest class | |
window.AjaxRequest = function(b, d, c) { | |
/* | |
Enter code here | |
*/ | |
// steal the cosntructor to mimic functionality |