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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
^ // beginning text on current line | |
$ // end of current line | |
// move up and down on the beginning of each line | |
- // no shift | |
+ // with shift | |
w // start of word | |
W // shift to next blank space |
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
// multi first char insert | |
C-v // select lines | |
shift-i // enter char | |
esc | |
o // insert new line below and enter insert mode | |
O // insert new line above and enter insert mode | |
r // replace current char with next char typed |
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
!$ # dir from last command -- cd !$ after mkdir /your/mom | |
# recursive search for text, -H display file names text found in | |
grep -H -r "redeem reward" /home/tom |
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
ul#nav>li.item$*4>a{Item $} // expands to cool shit |
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
alt+Sh+S // See current snippets for file type |