Skip to content

Instantly share code, notes, and snippets.

View Firenza's full-sized avatar

Chad Oftedahl Firenza

  • Sleep Number
  • Minnesota
View GitHub Profile

Planes

Luggage

To avoid having to put a bag underneath your seat for flights where overhead bin space is at a premium

  1. Put on a light jacket with a lot pockets and put all the things you will want to use at your seat in those pockets. This will keep you warm and allow the following
  2. When boarding the plan put your personal item and carry on in the overhead bins as soon as you see space. As long as you put them somewhere before your seat you'll be fine when it comes to get off the plane. Enjoy not having your personal item clutter up your seat area!

Electrical

The electrical outlets on planes can be a big pain in the ass because they always seem to have loose connections with your plugs, especially the two prong ones (at least for US plugs). To remedy this just get a three prong adapter like this. The ground plug will help it say inserted into th

@Firenza
Firenza / fiddler_with_python.md
Last active January 20, 2024 02:49
Get fiddler working with python requests module

Get fiddlers base64 encoded root certificate

  1. Install fiddler winget install -e --id Telerik.Fiddler
  2. Open fiddler and go to Tools -> Options -> HTTPS
  3. Enable Decrypt HTTPS traffic
  4. Click the Actions button and select Export root certificate to desktop
  5. Right click the FiddlerRoot.cer file on the desktop and click Open with -> Crypto Shell Extensions
  6. In the Certificate window that opens up go to Details -> Copy to File
  7. Click Next then select Base-64 encoded X.509 (.CER) then specify the file name (E.G. FiddlerRootBase64.cer)
  8. Click Next to create the new file
@Firenza
Firenza / MacSetup.md
Last active June 2, 2022 18:52
Mac Setup
  • Switch control and command in System -> Keyboard -> Modifier Keys
  • Install homebrew
  • Setup GitHub access in git
  • Install Moom for window snapping

Add the alias alias path="echo $PATH | tr ':' '\n'" to ~/.zshrc

sudo apt-get update && sudo apt-get upgrade
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker Pi
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 -v install docker-compose