Skip to content

Instantly share code, notes, and snippets.

💻
Coding

Alberto Jerez ajerez

💻
Coding
Block or report user

Report or block ajerez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ajerez
ajerez / system-fonts.css
Last active May 13, 2019
Load System Fonts (CSS)
View 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";
}
@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 May 8, 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.