Skip to content

Instantly share code, notes, and snippets.

View bonovoxly's full-sized avatar
👽

Bill Cawthra bonovoxly

👽
View GitHub Profile
Verifying my Blockstack ID is secured with the address 12XG3RRiLujvfF6EfUSjM9kimyvabo2S6R https://explorer.blockstack.org/address/12XG3RRiLujvfF6EfUSjM9kimyvabo2S6R

Keybase proof

I hereby claim:

  • I am bonovoxly on github.
  • I am bcawthra (https://keybase.io/bcawthra) on keybase.
  • I have a public key ASD6fXVt2l2OWGi7ti3_O8pCTlQrM-u4pGsi_J0Wfeqfbwo

To claim this, I am signing this object:

## git-filter-repo
- Stage a working area. These are somewhat throwaway directories and local git repos.
- clone both source and target repos.
```
mkdir my-working-dir
cd my-working-dir
git clone [email protected]:bonovoxly/source.git
git clone [email protected]:bonovoxly/target.git
```
@bonovoxly
bonovoxly / boto3-decimal.py
Created May 10, 2024 14:13
boto3 decimal thing
# https://github.com/boto/boto3/issues/369
# fixes decimal issues
def replace_decimals(obj):
if isinstance(obj, list):
for i in range(len(obj)):
obj[i] = replace_decimals(obj[i])
return obj
elif isinstance(obj, dict):
for k in obj.keys():
obj[k] = replace_decimals(obj[k])