Password generator

Even as a judicious password manager user, I'm really good at losing them -- immediately, and to great consequence! Some password generating tools keep a log of some of the recent passwords they've created, and I find this quite useful. So I made a little command line tool that makes me passwords and keeps an encrypted log of past invocations. Here it is.

Sri Lanka, 2018


(Click on the individual enlarged photos to see in higher resolution.  Posthaven's default viewer is a bit grainy.)
Colombo, Nuwara Eliya, and Kandy, Sri Lanka

Chocolate Fudge Recipe


Transcribed from my grandma's recipe card.

Ingredients

  • 4 cups sugar
  • 1/4 pound butter
  • 1 large can pet milk (condensed milk)
  • Two packages of chocolate chips
  • One jar of marshmallow fluff

Instructions

Bring sugar, butter, and milk to a boil, and boil for 7 or 8 minutes. Stir constantly. Remove from stove and add 2 packages of chocolate chips and 1 pt of marshmallow cream, pinch of salt, mixing together. Pour in baking dish to cool.

Personal notes on setting up Debian 9 on a Dell XPS 13


I've been running Debian 9 on my laptop for the past few days and it works great! This was my first time booting Linux onto a laptop and it was not too bad. I definitely made some first-time mistakes, but after getting set up the machine has been stable and smooth.

Here are some personal notes on my experience and things I wish I knew before starting.

Useful resources

First-time mistakes

  • Choose LTS: Following a guide, I wound up with a test version of Debian. I shrugged at this fact at the time, but the biggest issue with it is that the primary package management sources /etc/apt/sources.list ends up being not the same as what everyone else has, and is a pain to debug and hard to find resources on. You want your package manager to work; it's one of the nicest parts of having a linux machine.
  •  Have a plan for editing BIOS settings. You should know exactly what you're going to change, and why you're going to change it. I probably had 3 or 4 false starts from fiddling too much with them and it can add a lot of time onto the setup.
  • When booting from USB, don't pull out the USB.
  • dd is a dangerous command, but you're going to have to use it to set up your USB. Fortunately I was careful here and didn't wipe my girlfriend's hard drive (hi Nidya!). On a Mac, use the diskutil utilitity for everything and tread lightly.

Weird stuff

  • Do the non-graphical install (there's probably something to this but it's the only one I could make work).
  • USB drives are slightly difficult to run down! CVS carries them at the counter.
  • For some reason, the BIOS menu never found the right-hand-side USB but could boot from the left-hand-side. If having trouble here try to round-robin the inputs.

Getting off Twitter

I'm taking a break from Twitter, a place I love (!), but am finding too easy to obsess over. I have like five legitimate followers so this shouldn't be a big deal, but it feels like one.  Maybe I'll come back later.

If you want to reach out to me online, you can send me a note on Keybase!


Pico de Gallo Recipe

My girlfriend and I make this easy recipe for pico de gallo and it is really good. From Richard Sandoval's New Latin Flavors

Ingredients

  • 12 ounces large tomatoes, seeded and cut into 1/2 inch dice
  • 2 tablespoons finley chopped red onion
  • 1 tablespoon finely chopped fresh cilantro
  • 1 tablespoon fresh lime juice
  • 1 serrano chile, seeded and finely chopped
  • 1 teaspoon soy sauce
  • Kosher salt

Instructions

Combine all of the ingredients in a medium bowl. Cover them with plastic wrap and refrigerate to chill and blend the flavors, at least 1 and up to 8 hours.


kb, a command line tool for storing passwords

I made a little command line tool for saving passwords: https://github.com/kingishb/kb. It uses keybase to handle all the encryption.

Why?

There's random cases where I have to type in passwords into a terminal (vpns, git repos with ssh disabled, etc.).  This is simple and just stores the ciphertext in a keybase folder, and reads it out of there. I at first looked at a few more polished tools like pass, but I really don't like using GPG unless I need to. It's not hard to add password sharing from here, if there's ever a need. 

Feel free to try it out, make a PR, etc! Maybe someone else will find it useful.

Grandma King's Banana Bread Recipe

My grandma used to keep a box of note cards of her recipes, written in neat cursive and parceled together with a rubber band.  I used to eat this banana bread for breakfast when visiting. After baking, stick a toothpick or knife in the bread to check if it's done. When there's a bit of wet batter in the middle but it's dry at the ends, it turns out tasty and moist. If you have a sweet tooth, add chocolate chips.

Ingredients:

  • 1/2 cup shortening
  • 1 cup sugar
  • 2 eggs beaten
  • 3 bananas, mashed
  • 1 tsp soda dissolved in 1 tbsp. milk
  • 2cups flour
  • 1/2 tsp. salt

Instructions:

Cream shortening and sugar. Add eggs and bananas, then soda dissolved in milk. Sift dry ingredients together and add to cream mixture. Refrigerate batter for an hour, then bake at 350 degrees for 50 to 60 mins.