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 / .zshrc
Created July 12, 2019 14:45
My `.zshrc` to this date
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
#export PATH=~/miniconda3/bin:$PATH
export PATH=$HOME/Developer/projects/dp2/laravel/vacasfelices/vendor/bin:$PATH
export GOPATH="${HOME}/go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
export AWS_REGION=us-east-1
export AWS_PROFILE=lf_dev
export POSTGRESQL_CONNECTION=postgresql://postgres:postgres@localhost/vulnerability_development?sslmode=disable
@jjercx
jjercx / juanjo-light.itermcolors
Created August 17, 2020 14:54
custom light colors for iterm2
<?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>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.0</real>
@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",
@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 / .gitconfig
Last active March 2, 2021 15:34
Git config 2020-08
[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 / .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 / .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 / 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 / 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 / .gitconfig
Last active February 1, 2022 18:08
Git Config
[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