I hereby claim:
- I am clarmso on github.
- I am clarmso (https://keybase.io/clarmso) on keybase.
- I have a public key whose fingerprint is DCB7 E04F 2EAE CA11 FDA1 2B49 84EF E043 7645 1C6D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| from bs4 import BeautifulSoup | |
| import requests | |
| def get_links_from_page(url): | |
| page_html = requests.get(url).content | |
| soup = BeautifulSoup(page_html, 'html.parser') | |
| return [elem['href']for elem in soup.find_all("a")] |
| git checkout main | |
| git fetch origin | |
| git checkout <branch> | |
| git rebase main | |
| git push origin <branch> --force |
| # xcodebuild | |
| ## Git shortcuts | |
| alias gitempty="git commit --allow-empty -m '🈳 Empty commit 🈳'; git push" | |
| git config --global alias.co checkout | |
| ## Useful shortcuts for Focus and Firefox | |
| alias bootstrap="sh ./bootstrap.sh firefox ; sh ./bootstrap.sh focus" | |
| alias rmdd="setopt rm_star_silent ; rm -fr ~/Library/Developer/Xcode/DerivedData/* ; unsetopt rm_star_silent" |
| #!/usr/bin/env bash | |
| set -e | |
| # Get all simulator UDIDs | |
| SIM_UDIDS=$(xcrun simctl list devices | grep -Eo '[A-F0-9-]{36}') | |
| for UDID in $SIM_UDIDS; do | |
| echo "Setting locale for simulator $UDID ..." | |
| # Boot the simulator if not already booted |
| from bs4 import BeautifulSoup | |
| import re | |
| import argparse | |
| import requests | |
| import os | |
| # Default values of the arguments: | |
| # --testPlan: FullFunctionalTestPlan | |
| # --parallel: 2 | |
| # Mandatory: |