Skip to content

Instantly share code, notes, and snippets.

View Joaquin6's full-sized avatar
🏠
Working from home

Joaquin Briceno Joaquin6

🏠
Working from home
  • Overland Park, KS
View GitHub Profile
@Joaquin6
Joaquin6 / vscode-user-keybindings.json
Created July 25, 2019 12:58
VSCode keybindings to keep in sync
[
{
"key": "ctrl+shift+x",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.focusNext"
},
{
@Joaquin6
Joaquin6 / vscode-user-settings.json
Last active July 26, 2019 09:07
Visual Studio Code Settings Sync Gist
{
"docker-compose.showExplorer": true,
"docker-explorer.containerLogsOptions": "--tail 50 -f",
"docker-explorer.showDockerContainers": true,
"docker-explorer.showDockerImages": true,
"docker-explorer.showAzureRegistries": false,
"docker-explorer.showDockerHubTreeView": false,
"docker-explorer.showSuggestedDockerImages": false,
"markdownlint.run": "onSave",
"npm.registry": "https://registry.npmjs.org",
@Joaquin6
Joaquin6 / install.sh
Last active June 18, 2019 22:15
Scripts to automate boring repetitive tasks These are mainly targeted at Ubuntu machines. Maybe you can find other kinds of scripts here and there. Feel free to fork, make pull requests, open issues to discuss or ask/suggest anything about the code here.
#!/bin/sh
# POSIX
GIT_USERNAME="Joaquin Briceno"
GIT_EMAIL="[email protected]"
JAVA_VERSION="11"
NODE_VERSION="12"
die() {
@Joaquin6
Joaquin6 / VSCode-extensions
Created June 17, 2019 13:59 — forked from deepu105/VSCode-extensions
VSCode plugins I use
code --install-extension QassimFarid.ejs-language-support
code --install-extension SirTori.indenticator
code --install-extension TimonVS.ReactSnippetsStandard
code --install-extension TwentyChung.jsx
code --install-extension abusaidm.html-snippets
code --install-extension asvetliakov.move-imports
code --install-extension aws-scripting-guy.cform
code --install-extension bierner.markdown-preview-github-styles
code --install-extension ccitiriga.TSMethodCreator
code --install-extension christian-kohler.npm-intellisense
@Joaquin6
Joaquin6 / .zshrc
Last active June 17, 2019 13:47 — forked from deepu105/.zshrc
export TERM="xterm-256color"
# workaround as per https://superuser.com/questions/1222867/zsh-completion-functions-broken
FPATH=/home/joaquin/.oh-my-zsh/plugins/git:/home/joaquin/.oh-my-zsh/functions:/home/joaquin/.oh-my-zsh/completions:/usr/share/zsh/site-functions:/usr/share/zsh/5.7.1/functions
export FPATH
# set shell
export SHELL=/usr/bin/zsh
@Joaquin6
Joaquin6 / gitlab-to-bitbucket.py
Created June 7, 2019 05:03 — forked from danhper/gitlab-to-bitbucket.py
Script to migrate repositories from GitLab to Bitbucket
import os
import re
import subprocess
import requests
GITLAB_ENDPOINT = os.environ["GITLAB_ENDPOINT"]
GITLAB_TOKEN = os.environ["GITLAB_TOKEN"]
@Joaquin6
Joaquin6 / vscode-extensions.sh
Created May 28, 2019 07:52
This is the bash script I use to install a set of extensions to both the stable and insiders channels of VS Code. It should work on Linux, OS X and Windows (using git bash or something similar)
EXTENSIONS=(
"cssho.vscode-svgviewer" \
"dbaeumer.vscode-eslint" \
"EditorConfig.EditorConfig" \
"ryzngard.vscode-header-source" \
"spywhere.guides" \
"Tyriar.sort-lines" \
"Tyriar.lorem-ipsum" \
"waderyan.gitblame"
)
@Joaquin6
Joaquin6 / equisolve-dev.html
Created May 23, 2019 04:56
Equisolve Tech Assessment
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css">
<!-- DataTables CSS -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.css">
@Joaquin6
Joaquin6 / check-versions.js
Created May 16, 2019 20:19
This script can run on a preinstall hook to validate engine versions.
#!/usr/bin/env node
const { execSync } = require('child_process');
const { clean, satisfies } = require('semver');
const { green, red, yellow } = require('chalk');
const { engines } = require('../package.json');
const exec = cmd => execSync(cmd).toString().trim();
const getEngineRequirement = name => ({
@Joaquin6
Joaquin6 / vim-cheat-sheet.md
Created March 15, 2019 07:26
Vim Cheat Sheet

Vim Cheat Sheet

My collection of vim tips to make the best editor even better. This is by no means complete or a tutorial on how to use vim, but a set of commands I don't want to forget and need to write them down before they burn into memory.

See the resources section below for a more complete introduction and a set of in-depth tutorials.

Navigation

:nn " Jump to line nn