I hereby claim:
- I am enmyj on github.
- I am imyjer (https://keybase.io/imyjer) on keybase.
- I have a public key whose fingerprint is B222 9E7A 897C B793 E9D3 821C 4424 463B B661 7438
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| """ | |
| This script attempts to solve the Riddler express problem from | |
| 20171215: https://fivethirtyeight.com/features/please-help-me-i-have-a-number-problem/ | |
| This script is super brute force and not really useful, although it does work | |
| Potential improvement would be to target numbers that are likely to have | |
| longer words like "seven", "three" or a teen number |
| #%% import libs | |
| import pandas as pd | |
| import numpy as np | |
| #%% make fake dataframes with datetimeindex | |
| # df1 is has minute intervals | |
| # df2 has hour intervals | |
| df1 = pd.DataFrame(np.random.randn(525600,4), | |
| index=pd.date_range('1/1/2011', | |
| periods=525600, freq='Min'), |
I hiked the JMT with sister and parter in July of 2019. These are my assorted notes:
7/18 (9 miles): start in tuolomne meadows, camp below donahue pass
7/19 (10): donahue pass, island pass, camp below island pass
7/20 (12): camp near trinity lakes
7/21 (11): reds resupply, camp near deer creek
7/22 (13): camp near fish creek
| #!/usr/bin/bash | |
| set -eou pipefail | |
| cd "$(mktemp -dt)" | |
| cat <<-EOF | tee systemd_hibernate.te | |
| module systemd_hibernate 1.0; | |
| require { | |
| type systemd_sleep_t; |
This guide configures suspend-then-hibernate on CachyOS with btrfs, GRUB, and zram. The system will suspend to RAM when you close the lid, then automatically hibernate to disk after 2 hours.
System specs: 32GB RAM, btrfs filesystem, GRUB bootloader, existing zram