Skip to content

Instantly share code, notes, and snippets.

View rgunst's full-sized avatar

Ronald de Gunst rgunst

  • Rainforest Alliance
  • Leiden
View GitHub Profile

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@rgunst
rgunst / deploy.rb
Last active August 29, 2015 14:20 — forked from christinedraper/deploy.rb
path = node['myapp']['path']
install_options = []
install_options << "--registry=#{node['myapp']['npm_registry']}" if (node['myapp']['npm_registry'])
# option is to prevent failure as pkgs are unauthenticated
package 'git' do
action :install
options "--allow-unauthenticated"
end