Skip to content

Instantly share code, notes, and snippets.

View nischal's full-sized avatar

Nischal Shetty nischal

View GitHub Profile
@nischal
nischal / mongod.conf
Created May 6, 2014 13:44
MongoDB Server Configuration /etc/mongod.conf
# mongo.conf
#where to log
logpath=/log/mongod.log
logappend=true
# fork and run in background
fork = true
@nischal
nischal / git-delete-remote-branch.git
Created March 9, 2011 13:50
delete a remote git branch
git push origin :branch-name
function testDynamicFunction(){
var dynamicFunctionCall = "thisWillBeCalledDynamically";
window[dynamicFunctionCall ](); //javascript function being called dynamically!
}
function thisWillBeCalledDynamically(){
alert("Woh! How did you call me!");
}
private String s = "";