Slaptijack Title

Removing a Single Line from known_hosts With sed

by Scott Hebert
Ever so often, something changes on the network, and you find that your .ssh/known_hosts file has gotten out of date. Usually this happens after an upgrade or device change. You'll get the rather ominous warning that REMOTE HOST IDENTIFICATION HAS CHANGED! If you are confident that someone isn't...

Read More →

Changes to OS X TCP Performance Tuning

by Scott Hebert
While updating the TCP tuning parameters on one of my OS X 10.11 servers, I noticed that my existing OS X TCP Performance Tuning page had gotten out of date. The page was nearly eight years old, so it is no surprise that happened. I updated the page in place since that is the definitive page loca...

Read More →

Using Redis for PHP Session Storage

by Scott Hebert
I have written previously regarding using Redis for Magento session storage. You can get the same benefits of using Redis for session storage (reduced disk I/O, automatic key eviction) for any PHP application by making a quick change to a couple of settings in your php.ini. I assume you already h...

Read More →

Enable gzip in Nginx

by Scott Hebert
If you have ever used any tool to optimize a web page, you know that compressing the return traffic to the client is a big win. In nginx, this is done with the gzip module. The easiest thing to do is add gzip on; to the http stanza in your nginx.conf and be done with it. By default, this will ena...

Read More →

Geeky Goals for 2016

by Scott Hebert
The new year is finally upon us. Traditionally, I have not been one to make New Year's Resolutions. This year, I decided that rather than a list of resolutions, I would create a list of goals. These are things I would like to achieve over the next year. In other words -- resolutions. I like that...

Read More →