Skip to content

Instantly share code, notes, and snippets.

sudo npm install -g eslint
sudo npm install -g eslint-plugin-react
sudo npm install -g babel-eslint
curl "https://packagecontrol.io/Package%20Control.sublime-package" -o ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/Package\ Control.sublime-package
echo "{
"parser": "babel-eslint",
"env": {
"browser": true,
@ouabing
ouabing / gist:8348034
Created January 10, 2014 07:06
use tmux in docker
docker run -i -t ... sh -c "exec >/dev/tty 2>/dev/tty </dev/tty && /usr/bin/screen -s /bin/bash"
@ouabing
ouabing / gist:8279763
Created January 6, 2014 08:17
compile lib proto file
./protoc --cpp_out=dllexport_decl=LIBPROTOBUF_EXPORT:. google/protobuf/descriptor.proto