Chana Masala (full version)
Servings: 3–4 Prep: 10 min (plus overnight soak) · Cook: 30–45 min
Ingredients
• 1 cup dried chickpeas, soaked 6–8 hours (or 2 cans, drained)
• 1 tbsp oil
• 1 tsp cumin seeds
Chana Masala (full version)
Servings: 3–4 Prep: 10 min (plus overnight soak) · Cook: 30–45 min
Ingredients
• 1 cup dried chickpeas, soaked 6–8 hours (or 2 cans, drained)
• 1 tbsp oil
• 1 tsp cumin seeds
I'm well aware of how old the version of Bash is that ships with MacOS and Apple's public deprecation plans. That said, I don't like having to fiddle with this in VS Code and every other tool that tries to be clever. This will kill the message everywhere for processes of this user. Don't bother screwing around with $HOME .bashrc .profiile .bash_profile BS. Or do, but realize the local config specific to the user won't suffice for VS Code et al. You can also use Brew to do this, which will use the most recent version of Bash, but I have a love-hate relationship with Brew and prefer to use this approach instead. Caveat Emptor: This works for me, but use at your own risk.
| #!/usr/bin/env bash | |
| # | |
| # Download tar file for "tree" here: https://oldmanprogrammer.net/source.php?dir=projects/tree | |
| # Maintained here: https://github.com/Old-Man-Programmer/tree | |
| # (No, really. It's 10+ years old, and updated as recently as Nov 25, 2024) | |
| # | |
| # I think this requires XCode pre-installed for gcc etc. | |
| curl -LO https://github.com/Old-Man-Programmer/tree/archive/refs/heads/master.zip | |
| unzip ./master.zip |
sudo vi /etc/pam.d/sudo
Add to the end BEGINNING of the file:
auth sufficient pam_tid.so
(This isn't specific to Wireshark)
sudo vi /etc/pam.d/sudo
Add to the end BEGINNING of the file:
auth sufficient pam_tid.so
Test with a trivial sudo command, and you should get a TouchID prompt:
| # Use list view in all Finder windows by default | |
| # Four-letter codes for the other view modes: `icnv`, `clmv`, `glyv` | |
| defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" | |
| # Remove other views, which Finder remembered because of the .DS_Store files: | |
| find ~ -name ".DS_Store" -delete 2>/dev/null | |
| defaults write com.apple.desktopservices DSDontWriteNetworkStores true |
| System Settings > | |
| Trackpad > | |
| Tracking speed: slightly slower (optional) | |
| Click: Medium | |
| Force Click and haptic feedback: off | |
| Look up & data detectors: off | |
| Tap to click: off | |
| *THEN* | |
| Secondary click: change "Click or Tap with Two Fingers" |
| // YOU HAVE LOTS OF...OPTIONS WITH RUST'S BASE64 ECOSYSTEM. base64::decode() was deprecated Jan 2023 | |
| // | |
| // use base64; // let key = base64::decode(base64_key); // <=== classic method, but will throw Deprecation warnings | |
| // use base64::prelude::*; // let key = BASE64_STANDARD.decode(base64_key)?; | |
| // use data_encoding::BASE64; // let key = BASE64.decode( b"SGVsbA...gh=" ) // b prefix is required | |
| // use base64::{Engine as _, alphabet, engine::{self, general_purpose}}; // let key = general_purpose::STANDARD.decode(...); | |
| // use base64::{Engine as _, engine::{general_purpose}}; // let key = general_purpose::STANDARD.decode(...); | |
| // use base64::{Engine as _, engine::general_purpose}; // let key = general_purpose::STANDARD.decode(...); | |
| // use base64::{Engine as _, engine::{general_purpose::STANDARD as base64}}; // let key = base64.decode(...); // DANGER!! | |
| // use base64::{Engine as _, engine::{general_purpose as BASE64}}; // let key = BASE64::STANDARD.decode(...); |
| # Reproducible CentOS 9 Streams install steps for mongod v. 7.0.0 | |
| # Cent 8 doesn't support g++-11.3 | |
| # | |
| # NOT MEANT AS A TRUE SCRIPT -- SOME INTERACTION IS REQUIRED FROM PROMPTS | |
| # | |
| # THIS IN NO WAY IS OFFICIAL, OR REPRESENTS MongoDB Inc. USE AT YOUR OWN RISK | |
| # | |
| # Get ami # for official CentOS 9 Stream from https://www.centos.org/download/aws-images/ |