- PASO 1 - Usuario deploy y deshabilitar root login
- PASO 2 - Configurar TimeZone
- PASO 3 - Agregar swap space (Opcional)
- PASO 4 - Instalación de Rbenv, Ruby y Rails
- PASO 5 - Instalación de Passenger y Nginx
- PASO 6 - Configura git y clona tu proyecto
- [PASO 7 - Instala postgres y crea un usuario](https://gist.github.com/jfcampos1
This file contains 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
{ | |
"workbench.colorTheme": "Oceanic Plus", | |
"workbench.iconTheme": "file-icons", | |
"security.workspace.trust.untrustedFiles": "open", | |
"editor.fontFamily": "'Operator Mono Lig', Consolas, 'Courier New', monospace", //"Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "100", | |
"editor.fontSize": 14, | |
"editor.tabSize": 2, | |
"explorer.confirmDelete": false, |
This file contains 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
function previewImage(input, previewSelector) { | |
if (input.files && input.files[0]) { | |
var reader = new FileReader(); | |
reader.onload = function(e) { | |
$(previewSelector).attr('src', e.target.result); | |
} | |
reader.readAsDataURL(input.files[0]); | |
} |
This file contains 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
cd /path/to/your/repo | |
curl https://gist.githubusercontent.com/smezae/743378e474a87c450b061045ee250a50/raw/71ee093163ea8f7c73f1a7217f6416ac7092d3ba/pre-push.sh > .git/hooks/pre-push | |
chmod u+x .git/hooks/pre-push |
This file contains 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
[ | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+shift+m"], "command": "toggle_menu"}, | |
{ "keys": ["ctrl+shift+s"], "command": "auto_save" }, | |
// Multiple carets | |
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["ctrl+keypad_divide"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+shift+keypad_divide"], "command": "toggle_comment", "args": { "block": true } }, | |
//{ "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": true} } |
This file contains 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
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Hard) NDC.sublime-color-scheme", | |
"font_face": "Courier New", | |
"font_options": | |
[ | |
"bold" | |
], | |
"font_size": 14, |
This file contains 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
<!-- CSS --> | |
<style> | |
/* enable absolute positioning */ | |
.inner-addon { | |
position: relative; | |
} | |
/* style glyph */ | |
.inner-addon .glyphicon { | |
position: absolute; |
NewerOlder