Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan José Ramírez Calderón jjercx

View GitHub Profile
@jjercx
jjercx / vscode_extensions.txt
Created Mar 2, 2021
VSCode Extension 2021-03-01
View vscode_extensions.txt
# 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 Mar 2, 2021
ZSH Config 2021-03-01
View .zshrc
# 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
Created Mar 2, 2021
Git Config 2021-03-01
View .gitconfig
[user]
name = Juan José Ramírez
email = jjramirez@pucp.pe
[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 / settings.json
Created Mar 2, 2021
VSCode User Settings 2021-03-01
View settings.json
{
"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 Mar 2, 2021
Keybase Proof
View keybase.md

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 Mar 2, 2021
ZSH Config 2021-01-14
View .zshrc
# 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 Mar 2, 2021
ZSH Config 2020-08
View .zshrc
# 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 Mar 2, 2021
Git config 2020-08
View .gitconfig
[user]
name = Juan José Ramírez
email = jjramirez@pucp.pe
[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 Jan 12, 2021
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.
View user.launchkeep.middleclick.plist
<?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 Aug 17, 2020
vscode settings to this date
View settings.json
{
// "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",