Skip to content

Instantly share code, notes, and snippets.

Alberto Jerez ajerez

View GitHub Profile
@ajerez
ajerez / .editorconfig
Created Mar 26, 2019
Default editor config for my projects
View .editorconfig
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@ajerez
ajerez / server.js
Last active Mar 26, 2019
server.js for Heroku deployment of a Vue Project with Node and Express.js
View server.js
let history = require("connect-history-api-fallback");
let express = require("express");
let path = require("path");
let serveStatic = require("serve-static");
let compression = require("compression");
let app = express();
app.use(compression());
app.use(history());
app.use(serveStatic(__dirname + "/dist"));
@ajerez
ajerez / keybindings.json
Created Feb 27, 2017
VSCode Keyboard Shortcuts
View keybindings.json
[
{
"key": "shift+cmd+7",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus",
"args": { "block": false }
},
{
"key": "shift+cmd+6",
"command": "editor.action.removeCommentLine",
@ajerez
ajerez / settings.json
Last active Mar 25, 2019
VSCode Preferences
View settings.json
{
"editor.hover.enabled": false,
"workbench.fontAliasing": "default",
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": false,
"editor.tabSize": 2,
"files.autoSave": "off",
"javascript.implicitProjectConfig.checkJs": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.showTabs": true,
@ajerez
ajerez / Preferences.json
Last active Mar 26, 2019
Sublime Text 3 Config
View Preferences.json
{
"always_show_minimap_viewport": true,
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/Material Spacegray (SL).tmTheme",
"draw_minimap_border": false,
"enable_tab_scrolling": false,
"enable_telemetry": false,
"ensure_newline_at_eof_on_save": false,
"file_exclude_patterns":
You can’t perform that action at this time.