Skip to content

Instantly share code, notes, and snippets.

@artkirienko
Last active July 9, 2016 00:49
Show Gist options
  • Save artkirienko/5a5aa26e13e4978f3d7b62cd9d22d220 to your computer and use it in GitHub Desktop.
Save artkirienko/5a5aa26e13e4978f3d7b62cd9d22d220 to your computer and use it in GitHub Desktop.
Sublime Text 3 Install
Plugins:
ctrl+`
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
ctrl shit p
lenovo:
better coffeescript
gitgutter
markdownediting
packagecontrol
ruby slim
macbook:
ruby slim
rails developer snippets
packagecontrol
markdownediting
gitgutter
coffeecomplete plus
coffee color scheme
cd test
➜ test touch rb.rb +
➜ test touch yml.yml +
➜ test touch rdoc.rdoc
➜ test touch md.md +
➜ test touch ru.ru
➜ test touch coffee.coffee
➜ test touch js.js +
➜ test touch css.scss
➜ test touch html.slim
➜ test touch html.haml +
➜ test touch html.erb +
➜ test touch example.example
Preferences -> Settings -> More -> Syntax Specific -> User
{
"tab_size": 2,
"translate_tabs_to_spaces": true
}
Preferences -> Settings - User
{
"trim_trailing_white_space_on_save": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment