12×9 Sheet Pan Cookie Cake

This is for a 12×9 inch sheet pan cookie cake.

Ingredients

  • 3 cups all-purpose flour
  • 1 TBSP cornstarch
  • 1 1/2 tsp baking soda
  • 1/2 tsp salt
  • 1 cup light brown sugar
  • 1/3 cup granulated sugar
  • 2 1/4 cups unsalted butter
  • 1 cup dark or semi-sweet chocolate chips
  • 2 eggs
  • 1 TBSP vanilla extract

If you have a stand mixer this is much easier, but if all you have is a hand mixer that will work too.

  1. Preheat oven to 350
Continue reading “12×9 Sheet Pan Cookie Cake”

[SOLVED] Unable to Sign-In to Gmail with Thunderbird with OAuth2, Keeps Asking for Email or Phone Over and Over

If you are setting up Thunderbird to use your Gmail account you may find that when Thunderbird opens a new window to a Google web portal into which you are to provide your email address and password that it will keep asking you over and over again for your email and never enable to you to enter the password.

This occurs when Thunderbird’s privacy settings do not allow it to store cookies.

First, ensure that your gmail account has Allow Continue reading “[SOLVED] Unable to Sign-In to Gmail with Thunderbird with OAuth2, Keeps Asking for Email or Phone Over and Over”

How to Find Ingested Foreign Objects in Poop

Admittedly, not the most savory subject. But, for those of us with pets and/or children it is sometimes a necessity to try to find a previously ingested foreign object in feces to make sure that it does not cause medical problems in the person or animal that has accidentally eaten it.

Recently, we thought our dog had eaten a relatively small magnet and figured that we would have to be checking his feces over the next few days to ensure → Continue reading “How to Find Ingested Foreign Objects in Poop”

Edit a Range of Lines Using sed

Let’s say that you have a range of lines in a source file (lines 11 – 17) that you want to comment out with a ‘#’ and a space character before the line.

To do that, you would use sed, specifying a range of lines and then specify a replacement command with a capture group as follows:

sed '11,17{s/\(\w\)/\# \1/}' filename.py
Continue reading “Edit a Range of Lines Using sed”

Notes on Forming, Mixing, Pouring and Curing Concrete

DISCLAIMER:  These are my own notes learned from my own trials and tribulations of building things with concrete.  They are in no way, shape or form to be taken as an expert opinion.  Follow what you read here at your own risk.  This is mostly notes to myself as I work through learning how to build things out of concrete.

Big Lessons Learned

Helpers

Doing this by yourself is painful.  For anything more than a small job you absolutely need → Continue reading “Notes on Forming, Mixing, Pouring and Curing Concrete”

Mocking an HTTPS RESTful endpoint with Netcat

Netcat is generally known as a TCP/IP Swiss Army Knife and is incredibly helpful for both debugging and mocking up network services

Following is an example on how to setup a mock RESTful service that communicates over HTTPS.

On the “server” side, run the following command.  The -l command instructs Netcat to listen.

while true; do { echo -e “HTTP/1.1 200 OK\r\n$(date)\r\n\r\n<h1>hello world from $(hostname) on $(date)</h1>” |  nc -vl –ssl 8080; } done

On the “client” side, run the → Continue reading “Mocking an HTTPS RESTful endpoint with Netcat”

Test Network Speed of Ethernet Ports

If you have just bought a new (to you) nic card or other networking device and want to test that all of the ports can pass traffic at the expected rate, as long as you have nc and the firewall ports open on a “server” with a known good nic and have nc installed on your “client” device that you want to test it is very easy to test.

Of course, if you are testing a switch itself, then it → Continue reading “Test Network Speed of Ethernet Ports”

Creating, Updating Expiration of and Posting PGP Keys

Following are my notes and how-tos on creating, and managing PGP keys.

Here is a link to a website with some very good information and best practices for managing keys.

Most of this article deals with the concept of setting an expiration date on a set of keys to a reasonable time and how you can update that key as time goes by.  You should set a reminder in whatever calendar system you are using to remind you to → Continue reading “Creating, Updating Expiration of and Posting PGP Keys”