I hereby claim:
- I am felipeplets on github.
- I am felipeplets (https://keybase.io/felipeplets) on keybase.
- I have a public key whose fingerprint is 0AD8 408B D99E DEC4 E16E 104B 466E 5B11 EC75 F1CC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
Run the following commands on your terminal: | |
/Applications/Unity/Unity.app/Contents/MacOS/Unity | |
/Applications/Unity/MonoDevelop.app/Contents/MacOS/monodevelop |
The Plist file above is located at ~/Library/Preferences/com.googlecode.iterm2.plist but the file is binary and not XML.
To edit and replace the XML I recommend using Visual Studio Code with the extension Binary Plist
.
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dnicolson.binary-plist
The steps bellow are not needed if the settings file is replaced.
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d |
# To Setup: | |
# 1) Save the .git-completion.bash file found here: | |
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
# 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect: | |
# Git branch bash completion | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
# Add git completion to aliases |
// Assuming I just want to console.log the error message | |
await promiseWillFail().catch((err) => console.log(err.message)); |
https://blog.shanbhag.me/My-terminal-iTerm2-Oh-my-Zsh-with-PowerLevel10k/#Oh-My-Zsh | |
# zsh + oh-my-zsh | |
brew install zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash | |
nvm install 14 | |
brew install fzf |
USER=githubuser; PREFIX=secret-; REPOS=('proj1' 'proj2' 'proj3') && for REPO in ${REPOS}; do gh repo clone ${USER}/${PREFIX}${REPO} && cd ${PREFIX}${REPO} && npm ci && cd ..; done |
# Install JQ | |
brew install jq | |
# Format JSON file | |
jq . input.json > output.json |