Skip to content

Instantly share code, notes, and snippets.

View jjercx's full-sized avatar

Juan José Ramírez Calderón jjercx

View GitHub Profile
@jjercx
jjercx / vscode_extensions.txt
Created March 2, 2021 15:38
VSCode Extension 2021-03-01
# code --list-extensions | xargs -L 1 echo code --install-extension
code --install-extension andrejunges.Handlebars
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension Gruntfuggly.todo-tree
code --install-extension IronGeek.vscode-env
code --install-extension janisdd.vscode-edit-csv
code --install-extension mikestead.dotenv
code --install-extension misogi.ruby-rubocop
@jjercx
jjercx / .zshrc
Last active February 1, 2022 18:26
ZSH Config
# alias
alias ip-wifi="ipconfig getifaddr en0"
alias ip-ethernet="ipconfig getifaddr en5"
alias network="networksetup -listallhardwareports"
alias mac="ifconfig en1 | awk '/ether/{print $2}'"
# nvm
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
@jjercx
jjercx / .gitconfig
Last active February 1, 2022 18:08
Git Config
[user]
name = Juan José Ramírez
email = [email protected]
[alias]
c = checkout
a = add
s = "!f() { git symbolic-ref --short HEAD && git status -s; }; f"
lg = log --oneline --decorate --all --graph
b = rev-parse --abbrev-ref HEAD
@jjercx
jjercx / settings.json
Created March 2, 2021 15:24
VSCode User Settings 2021-03-01
{
"workbench.colorTheme": "Ayu Light Bordered",
"workbench.iconTheme": "material-icon-theme",
"editor.minimap.enabled": false,
"editor.showFoldingControls": "always",
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "boundary",
"files.eol": "\n",
"files.trimFinalNewlines": true,
@jjercx
jjercx / keybase.md
Last active March 2, 2021 15:33
Keybase Proof

Keybase proof

I hereby claim:

  • I am jjercx on github.
  • I am jjercx (https://keybase.io/jjercx) on keybase.
  • I have a public key ASDtLS67E1xelXwTSl5nhEWW8c1esATO--fmwTwhcwTg8Qo

To claim this, I am signing this object:

@jjercx
jjercx / .zshrc
Last active March 2, 2021 15:30
ZSH Config 2021-01-14
# alias
alias ip="ipconfig getifaddr en0"
alias mac="ifconfig en1 | awk '/ether/{print $2}'"
# nvm
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Android for React Native
export ANDROID_HOME=$HOME/Library/Android/sdk
@jjercx
jjercx / .zshrc
Last active March 2, 2021 15:34
ZSH Config 2020-08
# alias
alias ip="ipconfig getifaddr en0"
alias mac="ifconfig en1 | awk '/ether/{print $2}'"
# nvm
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Android for React Native
export ANDROID_HOME=$HOME/Library/Android/sdk
@jjercx
jjercx / .gitconfig
Last active March 2, 2021 15:34
Git config 2020-08
[user]
name = Juan José Ramírez
email = [email protected]
[alias]
c = checkout
a = add
s = "!f() { git symbolic-ref --short HEAD && git status -s; }; f"
lg = log --oneline --decorate --all --graph
b = rev-parse --abbrev-ref HEAD
cb = checkout -b
@jjercx
jjercx / user.launchkeep.middleclick.plist
Last active January 12, 2021 14:10
restart middleclick when its closed. Inside `~/Library/LaunchAgents/`. Then, run on terminal `launchctl load -w ~/Library/LaunchAgents/user.launchkeep.middleclick.plist` to start the launch agent.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>user.launchkeep.middleclick</string>
<key>KeepAlive</key>
<true/>
<key>Program</key>
<string>/Applications/MiddleClick.app/Contents/MacOS/MiddleClick</string>
@jjercx
jjercx / settings.json
Created August 17, 2020 15:23
vscode settings to this date
{
// "workbench.colorTheme": "Ayu Dark Bordered",
"workbench.iconTheme": "material-icon-theme",
"editor.minimap.enabled": false,
"editor.showFoldingControls": "always",
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "boundary",
"breadcrumbs.enabled": true,
"files.eol": "\n",