config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
##----GIT------ | |
alias gs='git status' | |
alias gb='git branch' | |
alias gt='git tag' | |
alias grm='git rm' | |
alias gps='git push' | |
alias gco='git checkout' | |
alias gm='git merge' | |
alias gp='git pull' | |
alias gst='git stash' |
/** | |
* Ao clicar perde o checked, se estiver checked | |
*/ | |
$('.radio').on('click', function(e){ | |
var $this = $(this); | |
if ($this.data('checked')) { | |
$this.prop('checked', false); | |
$this.data('checked', false); | |
$this.removeAttr('checked'); | |
$this.trigger('change'); |
# Sincronizar o branch com o servidor | |
git fetch | |
# Resetar e ficar com o último commit do servidor no branch | |
git reset --hard origin/master |
{ | |
"ERB Block": { | |
"prefix": "erb", | |
"body": [ | |
"<%$1 %>" | |
], | |
"description": "Block Erb Tag" | |
}, | |
"End Block": { |
erb | |
EditorConfig for VS Code | |
HTML CSS Class Completion | |
HTML Snippets | |
One Dark Theme | |
haml-syntax | |
ruby-on-rails-snippets | |
TWIG Pack | |
Path Intellisense | |
Git History (git log) |
// Place your settings in this file to overwrite the default settings | |
{ | |
// The number of spaces a tab is equal to. | |
"editor.tabSize": 2, | |
// Controls if the editor will insert spaces for tabs. | |
// If set to auto, the value will be guessed based on the opened file. | |
"editor.insertSpaces": false, | |
// Controls whether the editor should render whitespace characters |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" }, | |
{ "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" }, | |
{ "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" }, | |
{ "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" }, | |
{ "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" }, | |
{ "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" }, | |
{ "key": "cmd+7", "command": "workbench.action.openEditorAtIndex7" }, | |
{ "key": "cmd+8", "command": "workbench.action.openEditorAtIndex8" }, |
{ | |
"ERB Block": { | |
"prefix": "erb", | |
"body": [ | |
"<%$1 %>" | |
], | |
"description": "Block Erb Tag" | |
}, | |
"End Block": { |
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes