Install Package Control for easy package management.
- Open the console with
Ctrl+`
- Paste in the following:
Install Package Control for easy package management.
Ctrl+`
Sublime Text includes a command line tool, subl
, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
Applications
folderSetup
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
Mysql setup on system | |
sudo apt-get install libmysqlclient-dev | |
gem install mysql2 -v '0.3.18' |
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl |
$(function() { | |
if ($('#subs-wrapper').length) { | |
sub_width = $('#subs-wrapper').parent('div').width() | |
var el = $('#subs-wrapper'); | |
var stickyTop = $('#subs-wrapper').offset().top - 100; | |
var stickyHeight = $('#subs-wrapper').height(); | |
screen_width = $(window).width(); | |
if ( 767 < screen_width){ | |
$(window).scroll(function() { | |
var limit = $('#footer-top').offset().top - stickyHeight - 100; |
Issue: | |
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib | |
Referenced from: /usr/local/bin/tig | |
Reason: image not found | |
[1] 71009 trace trap tig | |
Solution: | |
brew reinstall --HEAD tig |
<div class="browse-media-bg" data-link="/societies/1" >hello</div> |