git branch | grep -v 'master$' | xargs git branch -D
REMOTE_NAME="origin"
command -v parallel || brew install parallel
git branch -r | grep $REMOTE_NAME/ | grep -v 'master$' | grep -v HEAD | cut -d/ -f2- | parallel git push $REMOTE_NAME --delete
git branch | grep -v 'master$' | xargs git branch -D
REMOTE_NAME="origin"
command -v parallel || brew install parallel
git branch -r | grep $REMOTE_NAME/ | grep -v 'master$' | grep -v HEAD | cut -d/ -f2- | parallel git push $REMOTE_NAME --delete
brew install tinyproxy
Comment out Allow 127.0.0.1
in /usr/local/etc/tinyproxy.conf
.
Start tinyproxy with tinyproxy -d
.
Follow the log file with
tail -f /usr/local/var/log/tinyproxy/tinyproxy.log
On the iOS device, in Wi-Fi settings, set HTTP Proxy to Manual and set
A running example of the code from:
This gist creates a working example from blog post, and a alternate example using simple worker pool.
TLDR: if you want simple and controlled concurrency use a worker pool.
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |