Fixing the SSH tunnel with Sequel Pro on MacOS Sierra

Sequel Pro is one of the most popular database tools for the Mac. With the release of MacOS Sierra, I had a few issues connecting to my saved databases that used the SSH tunnel method of connecting. The error I kept getting was:

debug1: Offering RSA public key: /Users/username/.ssh/id_rsa.pub
debug1: Server accepts key: pkalg ssh-rsa blen 535
debug1: read_passphrase: can't open /dev/tty: Device not configured
debug1: permanently_drop_suid: 501

The fix involved two steps. The first is to be sure your id_rsa file has the proper permissions.

chmod 600 id_rsa

Then, in your Sequel Pro connection change the key file from id_rsa.pub to the none pub version, id_rsa.

The geometry of a perfect parallel park

I came across this little parallel parking video on Twitter and thought it was a great example for showing future students how to park:

When trying to find the actual formula I came across this article on NPR which outlines the formula with examples.

gr-parallel-formula-300

I’m logging this so in 10 years I’ll be able to use this example for my kids. I really like the lines in the video as a visual representation for what to look for.

WordPress announces the Twenty Seventeen theme

From Make.WordPress:

Twenty Seventeen will focus on providing a seamless initial theme setup so anyone can set up a website for themselves or their business with minimal hassle.

I’ve been a fan of both twenty-fifteen and twenty-sixteen and I like the direction of adding video headers, but I’d really to see them create a super minimal theme one year without a focus on big bold images.┬áThe hunt for┬ápost images is┬ásuch a huge time sink.

Use the Tab key for dialogs on a Mac

One thing that I’ve always found annoying on the Mac is that┬áby default it’s not possible to “tab” between the different buttons in a dialog window.

This is possible but it requires finding this bizarre setting in the keyboard settings. To get this go to System Preferences -> Keyboard -> Shortcuts, then click the All Controls radio button.

Happy Tabbing!

Passing by Value vs. by Reference

I’ve seen this image shared by many of my friends on social media and it’s such a great way of explaining passing by value vs by reference.

Penjee is the source and goes into more depth in their tutorial.

First impressions of the iPad Pro

I did it. I bought a new iPad Pro, pencil, and keyboard and it arrived today. This is my first impressions after using it for a few hours.

I know you are probably thinking, you’ve only owned it for a few hours how can you possibly review something in that short amount of time? You would be right but my theory is if I wait to write about it later then I will not be able to remember my first impressions. So it’s best to write about it now before I sleep.

Continue reading “First impressions of the iPad Pro”

Just three minutes

For ordinary moments of life three minutes feels like it goes by in an instant.┬áThis changes when it’s a physical activity and three minutes becomes a lifetime.

For yesterday’s workout, I was designated as the lead and had to come up with a routine that would be both challenging and fun, and last 45 minutes. I had the genius idea to do three-minute intervals with thirty-second breaks in between.

Continue reading “Just three minutes”

Ulysses for iPhone is here

The Soulmen group today announced the official release of Ulysses for iPhone. Ulysses is a writing app for all your Apple devices and is my favorite one.

I took part in the beta of the iPhone release and I must say I’ve not really had any problems. Even from the early releases.

If you are looking for a professional writing app check out Ulysses Mobile