Skip to content

Instantly share code, notes, and snippets.

View eip's full-sized avatar

Ed Popsuev eip

  • Ukraine
View GitHub Profile
@eip
eip / Default (OSX).sublime-keymap
Last active June 9, 2018 10:07
Sublime Text 3: keyboard shortcut for syntax (scope) specific beautify command
[{
"keys": ["super+shift+h"],
"command": "eip_beautify",
"args": {"command": "cd \"{dir}\" && js-beautify --js --replace \"{file}\""},
"context": [{"key": "selector", "operand": "source.js", "operator": "equal"}]
}, {
"keys": ["super+shift+h"],
"command": "eip_beautify",
"args": {"command": "cd \"{dir}\" && js-beautify --css --replace \"{file}\" && csscomb \"{file}\""},
"context": [{"key": "selector", "operand": "source.css", "operator": "equal"
@eip
eip / md2html.sh
Last active June 15, 2016 13:31
Use GitHub Markdown API with curl
curl --data-binary @README.md --header "Content-Type:text/plain" https://api.github.com/markdown/raw -o index.html