This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ERB Block": { | |
"prefix": "erb", | |
"body": [ | |
"<%$1 %>" | |
], | |
"description": "Block Erb Tag" | |
}, | |
"End Block": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode 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" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ERB Block": { | |
"prefix": "erb", | |
"body": [ | |
"<%$1 %>" | |
], | |
"description": "Block Erb Tag" | |
}, | |
"End Block": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sincronizar o branch com o servidor | |
git fetch | |
# Resetar e ficar com o último commit do servidor no branch | |
git reset --hard origin/master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##----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' |
NewerOlder