- Clone the source code for the Python client library
- Inside that directory, clone the Pocketsmith API into
python-pocketsmith-api/pocketsmith-api-spec
. - Use the [Swagger editor][3] to convert openapi.json to openapi.yaml. [(Reference)][3ref]
- Go back to the client library and run ./generate-pocketsmith-library.sh. The library will be written to
./pocketsmith
. - Place the new library in $PYTHONPATH. On macOS, you can use
/usr/local/lib/python<ver>/site-packages/pocketsmith
.
This file contains 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
# | |
# My custom sieve script for putting emails into their own subfolder | |
# Ref: https://www.reddit.com/r/fastmail/comments/qahdf3/my_custom_sieve_script_for_putting_emails_into/ | |
# | |
if exists "X-Delivered-to" { | |
# An email addressed to | |
# "website@user.domain.com" will be put in the folder "Website" | |
# "my-website@user.domain.com" will be put in the folder "My Website" | |
if header :regex "X-Delivered-to" "([A-z0-9]+)-?([A-z0-9]+)?@user.domain.com" { |
This file contains 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
## Fish | |
apt install fish kitty | |
chsh -s /usr/bin/fish | |
## Window manager | |
add-apt-repository ppa:regolith-linux/release | |
apt install regolith-desktop i3xrocks-net-traffic i3xrocks-cpu-usage i3xrocks-time regolith-look-gruvbox regolith-look-solarized-dark |
I hereby claim:
- I am nelson on github.
- I am ntam (https://keybase.io/ntam) on keybase.
- I have a public key whose fingerprint is 1646 8F05 77C0 C1BB FD6B 9DC7 89FA 0E46 691C 69C5
To claim this, I am signing this object: