Refer:
http://www.linkedresources.com/tools/unescaper_v0.2b1.html

Technical notes, and other ideas.
Refer:
http://www.linkedresources.com/tools/unescaper_v0.2b1.html
Solution for JavaScript
function unescapeHTML(html) {
var htmlNode = document.createElement("DIV");
htmlNode.innerHTML = html;
if(htmlNode.innerText !== undefined)
return htmlNode.innerText; // IE
return htmlNode.textContent; // FF
}
Solution for JQuery
function unescapeHTML(html) {
return $("<div />").html(html).text();
}
function escapeHTML(html) {
return $("<div />").text(html).html();
}
JavaScript unescape() Function
var str = "Need tips? Visit W3Schools!";
var str_esc = escape(str);
document.write(str_esc + "<br>")
document.write(unescape(str_esc))
The output of the code above will be:
Need%20tips%3F%20Visit%20W3Schools%21
Need tips? Visit W3Schools!
The unescape() function was deprecated in JavaScript version 1.5. Use decodeURI()
JavaScript decodeURI() Function
var uri = "my test.asp?name=ståle&car=saab";
var enc = encodeURI(uri);
var dec = decodeURI(enc);
var res = enc + "<br>" + dec;
The result of res will be:
my%20test.asp?name=st%C3%A5le&car=saab // Encoded URI
my test.asp?name=ståle&car=saab // Decoded URI
Untrack files
git update-index --assume-unchanged [filename]
Retrack file
git update-index --no-assume-unchanged [filename]
List untracked files
git ls-files -v|grep '^h'
Samples
app.filter('<filter>', ['$http', function(http){
return function(data){
}
}]);
Directive:
app.directive('<directive>', ['$http', function(http){
return {
....
}
}]);
Service:
app.factory('<service>', ['$http', function(http) {
var shinyNewServiceInstance;
return shinyNewServiceInstance;
}]);
Refer: http://christoph.ruegg.name/blog/git-howto-revert-a-commit-already-pushed-to-a-remote-reposit.html
NOTE: This is currently untested, but revert was tested
Case 1: Delete the last commit
Deleting the last commit is the easiest case. Let's say we have a remote mystuff with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the mystuff remote repository to the parent of dd61ab32:
$ git push mystuff +dd61ab32^:master
Where git interprets x^ as the parent of x and + as a forced non-fastforward push. If you have the master branch checked out locally, you can also do it in two simpler steps: First reset the branch to the parent of the current commit, then force-push it to the remote.
$ git reset HEAD^ --hard
$ git push mystuff -f
Case 2: Delete the second last commit
Let's say the bad commit dd61ab32 is not the top commit, but a slightly older one, e.g. the second last one. We want to remove it, but keep all commits that followed it. In other words, we want to rewrite the history and force the result back to mystuff/master. The easiest way to rewrite history is to do an interactive rebase down to the parent of the offending commit:
$ git rebase -i dd61ab32^
This will open an editor and show a list of all commits since the commit we want to get rid of:
pick dd61ab32
pick dsadhj278
...
Simply remove the line with the offending commit, likely that will be the first line (vi: delete current line = dd). Save and close the editor (vi: press :wq and return). Resolve any conflicts if there are any, and your local branch should be fixed. Force it to the remote and you're done:
$ git push mystuff -f
Good Old Revert Instead, Create a feature branch to rollback changes, then in LIFO order
$ git revert --no-commit SHA-1(D)
$ git revert --no-commit SHA-1(C)
$ git revert --no-commit SHA-1(B)
$ git revert --no-commit SHA-1(A)
$ git commit -m "rolling back changes"
https://developers.helloreverb.com/swagger/
Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters, and models are tightly integrated into the server code, allowing APIs to always stay in sync. With Swagger, deploying managing, and using powerful APIs has never been easier.
See attached for source code example [CachingHeadersInterceptor.java].
Here's the magic sauce:
httpServletResponse.setHeader("Cache-control", "no-cache, no-store");
httpServletResponse.setHeader("Pragma", "no-cache");
httpServletResponse.setHeader("Expires", "-1");
Local copy of site notes: Wireless AdHoc Distribution for iOS Applications.pdf
Use the following link for additional research:
http://gknops.github.com/adHocGenerate/
Used as a quick way to display Java programs current directory.
You normally want to run this from the command line and you can convert to various formats:
sudo apt install -y graphviz
dot testme.txt -Tpdf > testme.pdf
dot testme.txt -Tpng > testme.png
Refer: testme.txt