This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # clean-my-mac.zsh | |
| # | |
| # Usage: | |
| # 1️⃣ Save this file as ~/.zsh/clean-my-mac.zsh | |
| # 2️⃣ Edit WORK_DIR following you local setup | |
| # 3️⃣ Add the following line to your ~/.zshrc: | |
| # [ -f ~/.zsh/clean-my-mac.zsh ] && source ~/.zsh/clean-my-mac.zsh | |
| # 4️⃣ Reload your shell: | |
| # source ~/.zshrc | |
| # 5️⃣ Run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Warning: Error: Argument appears to not be a ReactComponent. Keys: | |
| This error is located at: | |
| at SectionList (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server&app=fr.gensdeconfiance.app.internalDebug:67641:36) | |
| at InvertedSectionList (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server&app=fr.gensdeconfiance.app.internalDebug:1209269:24) | |
| at AnimatedComponent(Component) (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server&app=fr.gensdeconfiance.app.internalDebug:123449:38) | |
| at Component (http://localhost:8081/index.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == "[gone]" {sub("refs/heads/", "", $1); print $1}'); do git branch -D $branch; done |