create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
def self.validates_if_change properity_name, options = {} | |
options = options.merge if: "will_save_change_to_#{properity_name.to_s}?".to_sym | |
validates properity_name, options | |
end |
brew install caskroom/cask/brew-cask | |
brew cask install atom | |
apm install linter # Base linter | |
apm install linter-ruby | |
apm install linter-scss-lint | |
apm install linter-coffeelint | |
apm install linter-rubocop | |
apm install linter-haml |
Enhanced NGINX logstash parser: | |
NGINX log format: | |
log_format enhanced '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent $request_length "$http_referer" "$http_user_agent" $request_time $upstream_response_time'; | |
access_log /var/log/nginx/access.log enhanced; | |
error_log /var/log/nginx/error.log; | |
logstash pattern (/opt/logstash/pattern/nginx): |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |