The most efficient way to check the last character of a string with JavaScript

By Josh Sherman
3 min read
development
javascript

Recently I was writing some code that needed to detect if a certain character was at the end of the string to determine if some additional logic should be executed. The reason for this was because the additional logic to run was pretty hefty and for pre-mature optimization’s sake, I […]

Save time by not locking your computer

By Josh Sherman
1 min read
security
productivity

Okay, so this is one of those topics that I know may seem pretty fucking dumb, but I’m telling you, it’s completely legit and isn’t nearly as insecure as you are probably thinking. Yes, I’m fully aware that it’s counterintuitive to leave your computer unlocked, especially in more public settings […]

Using alternate SSH ports with rsync

By Josh Sherman
1 min read
cli
ssh
rsync

I live on the command-line. I also use the hell out of rsync to move files around. And because I’m paranoid / security conscious, I run sshd on an alternate port to provide an additional layer of obscurity to things. While providing me with some piece of mind, using an […]

Kicking the wife out of the house

By Jenny Sherman
2 min read
introspection
retrospection
self improvement

You might have read about me on a few occasions. I’m Jen aka thatgirljen, or here I think I’m lovingly referred to as the wife or the Mrs. My over-time job is being the mom, wife and partner. But enough about me. Today I wanted to share something that has […]

Upgrade to Node.js 10.x or 11.x on Ubuntu 18.10

By Josh Sherman
1 min read
development
javascript
nodejs
linux
ubuntu

The latest and greatest, albeit not a long-term support release, from Canonical is here! Ubuntu 18.10, Cosmic Cuttlefish, was released this month and shipped with the current LTS version of Node.js, version 8. Actually, it’s a minor revision behind at the moment with 8.11.x being what’s available. Not that there’s […]