Enter VISUAL MODE
first
aw
word
ab
block with ()
aB
block with {}
ib
inner block with ()
iB
inner block with {}
const a = { | |
b() {} | |
}; |
node_modules |
'use strict'; | |
const Car = function() {}; | |
Car.prototype.move = function() { | |
console.log('moving'); | |
}; | |
class Fusca extends Car { | |
move() { |
package main | |
import ( | |
"fmt" | |
"github.com/codegangsta/negroni" | |
"github.com/gorilla/mux" | |
"log" | |
"net/http" | |
) |
tail -fn0 logfile | \ | |
while read line ; do | |
echo "$line" | grep "pattern" | |
if [ $? = 0 ] | |
then | |
... do something ... | |
fi | |
done |
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
#to add network restriction | |
sudo tc qdisc add dev lo root netem delay 100ms | |
#to remove it network restriction | |
sudo tc qdisc del dev lo root netem delay 100ms |
git config --global merge.tool diffmerge | |
git config --global mergetool.diffmerge.cmd "diffmerge --merge | |
--result=\$MERGED \$LOCAL \$BASE \$REMOTE" | |
git config --global mergetool.diffmerge.trustExitCode true |