Profile
Achievement
arunpjohny's Recent Snippets
- All /
« Prev 1 Next »
git branch will give us all the branches in the current repository and the current branch will be denoted by a * mark.
0
853
posted 14 years ago by arunpjohny
This will display the commit difference between the origin/master branch and the current working branch
0
768
posted 14 years ago by arunpjohny
This can be tested using the following piece of code
var a = [1, 2, 3, 4, 5];
alert(a.size());
0
735
posted 15 years ago by arunpjohny
This function is add 'each' function to the javascript Array object.
1
623
posted 15 years ago by arunpjohny
The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.
0
791
posted 16 years ago by arunpjohny
I got this code from http://blog.vishalon.net/Post/57.aspx
The actual two methods required are
function doGetCaretPosition (ctrl) {
var CaretPos = 0;
// IE Support
if (document.selection) {
ctrl.focus ();
var Sel = document.select...
3
4355
posted 16 years ago by arunpjohny