PHPNews

Fixing the SSH tunnel with Sequel Pro on MacOS Sierra

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Monday January 2, 2017 - Permalink

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: …

Continue reading »


Mad Skills Motocross 2 Tips

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Saturday November 26, 2016 - Permalink

I’ve always been a big fan of any Motocross game and Mad Skills Motocross 2 is a fun game. It’s a straight line style motorcycle game that feels a lot like a 2016 version of Excitebike. The greatest Nintendo game of all time. Here is a quick demo of the game in action: The game is free with in-app purchases as well as ads. They say if you buy anything that removes the ads but I haven’t …

Continue reading »


The geometry of a perfect parallel park

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Friday November 25, 2016 - Permalink

I came across this little parallel parking video on Twitter and thought it was a great example for showing future students how to park: The geometry of a perfect parallel park. pic.twitter.com/rUUouEydsh — Simon Pampena (@mathemaniac) November 25, 2016 When trying to find the actual formula I came across this article on NPR which outlines the formula with examples. I’m …

Continue reading »


WordPress announces the Twenty Seventeen theme

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Monday September 12, 2016 - Permalink

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 …

Continue reading »


Use the Tab key for dialogs on a Mac

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Saturday July 23, 2016 - Permalink

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!

Continue reading »


Passing by Value vs. by Reference

Written by Eric L. Barnes - Published on Eric L. Barnes' Weblog
Aggregated on Friday June 3, 2016 - Permalink

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.

Continue reading »