Skip to content

Instantly share code, notes, and snippets.

View ajerez's full-sized avatar
💻
Coding

Alberto Jerez ajerez

💻
Coding
View GitHub Profile
@ajerez
ajerez / Preferences.json
Last active March 26, 2019 14:57
Sublime Text 3 Config
{
"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":
@ajerez
ajerez / settings.json
Last active April 25, 2023 06:46
VSCode Preferences
{
"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,
"extensions.autoUpdate": true,
"telemetry.enableTelemetry": false,
@ajerez
ajerez / keybindings.json
Created February 27, 2017 11:39
VSCode Keyboard Shortcuts
[
{
"key": "shift+cmd+7",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus",
"args": { "block": false }
},
{
"key": "shift+cmd+6",
"command": "editor.action.removeCommentLine",
@ajerez
ajerez / server.js
Last active March 26, 2019 14:54
server.js for Heroku deployment of a Vue Project with Node and Express.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 / .editorconfig
Created March 26, 2019 14:55
Default editor config for my projects
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 / system-fonts.css
Last active May 13, 2019 10:58
Load System Fonts (CSS)
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}