Skip to content

Instantly share code, notes, and snippets.

View skapxd's full-sized avatar

Manuel Meneses skapxd

View GitHub Profile
{"name":"default","settings":"{\"settings\":\"{\\r\\n \\\"[css]\\\": {\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[dart]\\\": {\\r\\n \\\"editor.formatOnSave\\\": true,\\r\\n \\\"editor.formatOnType\\\": true,\\r\\n \\\"editor.rulers\\\": [\\r\\n 80\\r\\n ],\\r\\n \\\"editor.selectionHighlight\\\": false,\\r\\n \\\"editor.suggest.snippetsPreventQuickSuggestions\\\": false,\\r\\n \\\"editor.suggestSelection\\\": \\\"first\\\",\\r\\n \\\"editor.tabCompletion\\\": \\\"onlySnippets\\\",\\r\\n \\\"editor.tabSize\\\": 2,\\r\\n \\\"editor.wordBasedSuggestions\\\": \\\"off\\\"\\r\\n },\\r\\n \\\"[html]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.html-language-features\\\"\\r\\n },\\r\\n \\\"[javascript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[javascriptreact]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-fe
{"name":"default-progile","settings":"{\"settings\":\"{\\r\\n \\\"yaml.schemas\\\": {\\r\\n \\\"file:///c%3A/Users/manue/.vscode/extensions/atlassian.atlascode-2.10.12/resources/schemas/pipelines-schema.json\\\": \\\"bitbucket-pipelines.yml\\\"\\r\\n },\\r\\n \\\"redhat.telemetry.enabled\\\": false,\\r\\n \\\"editor.inlineSuggest.enabled\\\": true,\\r\\n \\\"[typescript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[typescriptreact]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[javascript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.typescript-language-features\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"files.associations\\\": {\\r\\n \\\"*.js\\\": \\\"javascript\\\",\\r\\n \\\"*.css\\\": \\\"css\\\"\\r\\n },\\r\\n \\\"[javascriptreact]\\\": {\\r\\n \\\"editor.tab
{"name":"vscode-settings","settings":"{\"settings\":\"{\\r\\n \\\"python.pythonPath\\\": \\\"C:\\\\\\\\Users\\\\\\\\manue\\\\\\\\anaconda3\\\\\\\\envs\\\\\\\\remove-bg\\\\\\\\python.exe\\\",\\r\\n \\\"python.terminal.activateEnvironment\\\": true,\\r\\n \\\"yaml.schemas\\\": {\\r\\n \\\"file:///c%3A/Users/manue/.vscode/extensions/atlassian.atlascode-2.10.12/resources/schemas/pipelines-schema.json\\\": \\\"bitbucket-pipelines.yml\\\"\\r\\n },\\r\\n \\\"redhat.telemetry.enabled\\\": false,\\r\\n \\\"editor.inlineSuggest.enabled\\\": true,\\r\\n \\\"[typescript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"dbaeumer.vscode-eslint\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[typescriptreact]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"dbaeumer.vscode-eslint\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"[javascript]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"dbaeumer.vscode-eslint\\\",\\r\\n \\\"editor.tabSize\\\": 2\\r\\n },\\r\\n \\\"files.
@skapxd
skapxd / init-ts-proyect.sh
Last active April 18, 2023 13:18
Scaffold a typescript project quickly
#!/bin/bash
yarn init -y
yarn add dotenv express joi lodash morgan
yarn add -D nodemon ts-node types-installer typescript add-npm-scripts
yarn add-npm-scripts start "nodemon"
yarn add-npm-scripts build "tsc"
yarn types-installer
cat > nodemon.json <<EOL
{
@skapxd
skapxd / git-alias.md
Created October 9, 2021 14:26 — forked from Klerith/git-alias.md
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+up",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "f12",
"command": "editor.action.openLink",
{"lastUpload":"2021-10-25T18:38:58.328Z","extensionVersion":"v3.4.3"}