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-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 / 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

@Joaquin6
Joaquin6 / memorySizeOfObject.js
Created November 9, 2018 16:03
calculate memory size of javascript object, it is not a accurate value!
function memorySizeOf(obj) {
var bytes = 0;
function sizeOf(obj) {
if(obj !== null && obj !== undefined) {
switch(typeof obj) {
case 'number':
bytes += 8;
break;
case 'string':