Skip to content

Instantly share code, notes, and snippets.

View stgogm's full-sized avatar
Always at work

Santiago "Momo" Marín stgogm

Always at work
View GitHub Profile
@stgogm
stgogm / vs-code-config.json
Last active August 21, 2018 17:14
VS Code settings
{
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.suggestOnTriggerCharacters": false,
"editor.minimap.renderCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.wordBasedSuggestions": false,
"editor.fontFamily": "'Ubuntu Mono'",
"editor.renderIndentGuides": true,
"editor.lineHeight": 25.88854382,
"editor.minimap.maxColumn": 120,
@stgogm
stgogm / vs-code-keybindings.json
Last active August 9, 2018 14:31
VS Code keyboard shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+numpad_divide",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+7",
"command": "-editor.action.commentLine",
@stgogm
stgogm / subdomain-regexp.js
Created May 8, 2017 14:50
Replace subdomain regexp
window.location.origin.replace(/^(https?:\/\/)?(.+\.)?([^\.]+\.[^\/]+)\/?.*$/i, '$1new-subdomain.$3');
mongoexport --db <DB> --collection <COLLECTION> --fields <FIELDS> --type=csv --out <OUT> --host <HOST:PORT> --authenticationDatabase admin --ssl --username <USERNAME> --password <PASSWORD>
@stgogm
stgogm / logid.cfg
Last active July 8, 2024 14:25
Logid config
devices: ({
name: "Wireless Mouse MX Master 3";
dpi: 1200;
hiresscroll: {
hires: true;
invert: false;
target: false;
};
smartshift: {
on: true;