Google’s mod_pagespeed for Apache

Posted by & filed under Server Admin, Web Development.

mod_pagespeed speeds up your site and reduces page load time. This open-source Apache HTTP server module automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow. mod_pagespeed Home Installation from Packages Docs Google developer blog posting on mod_pagespeed mod_pagespeed Articles

An Interactive Guide To The Fourier Transform

Posted by & filed under Numbers.

Yikes. Rather than deciphering it symbol-by-symbol, let’s experience the idea (hear the song then read the sheet music, dig?). Let’s start with a plain-English metaphor: What does the Fourier Transform do? Given a smoothie, it finds the recipe. How? Run the smoothie through filters to extract each ingredient. Why? Recipes are easier to analyze, compare,… Read more »

Ubuntu: Unable to install/update packages; Full /boot partition

Posted by & filed under Server Admin.

UPDATE 11/17/15: Another nice command to auto purge old kernels is: sudo apt-get autoremove   Also, removing old kernels is easy with  sudo dpkg -r linux-image-3.2.0-83-generic —————————   Recently I wanted to install a new package on a Ubuntu server. Typically this is as simple as issuing a

But this time around, I got a interesting… Read more »

Repairing a corrupted MySQL database table

Posted by & filed under Server Admin, Web Development.

Ran into a issue where I wanted to do a mysqldump of a database in order to transfer it to a new server.

This failed saying that three of the tables were corrupted. I ran the mysqlcheck utility to see if it could be repaired:

It outputted the following errors among checking the… Read more »

Statsd

Posted by & filed under Programming.

StatsD is a simple NodeJS daemon (and by “simple” I really mean simple — NodeJS makes event-based systems like this ridiculously easy to write) that listens for messages on a UDP port. (See Flickr’s “Counting & Timing” for a previous description and implementation of this idea, and check out the open-sourced code on github to… Read more »

New motor build… motor assembly.

Posted by & filed under 93 Hatch Blog.

Got the right rod bearings!Q\ Pistons in the hole! O-ring installed! Shannon Gordon making it happen. Shiny bits! Nice and clean. Head on, timing belt installed. Express delivery thanks again to Shannon.

The effects of hurricane Sandy from a network point of view

Posted by & filed under Networking.

I took a look at Internet Traffic report while the storm was hitting the upper northeast, and the results weren’t surprising. North American packet loss went up ~5%, while the traffic index went down. Again, not surprising, but cool to see nonetheless.

Enumerating a DNS zone by brute force

Posted by & filed under Linux, Server Admin.

Sometimes a situation pops up where I need to retrieve the contents of a DNS zone but do not have access to the DNS servers. This is typically a situation where a client’s IT person is no longer available and before moving the name servers, we need to recreate the DNS zone on our name… Read more »

New motor build… prepping for bottom end assembly part 1

Posted by & filed under 93 Hatch Blog.

I got my downpipe, dumptube, manifold, and turbo exhaust housing thermal coated. Finished up my wiring harness for the most part. Turbo with the thermal coated exhaust housing. They powder coated my ECU lid for lulz Pulled the wirelocks from my old 81mm pistons in prep for the new ones. Got the motor on the… Read more »

PHP Snippet: Check if page is included by another page or not

Posted by & filed under PHP, Programming.

Sometimes it is useful to know if a page has been included by another page or not, and then take action based on the result. A quick and handy way to accomplish this is to use a tenary operator to do something like:

Which will return true if it is included, and false if… Read more »

Linux: Find files greater than n size

Posted by & filed under Linux, Server Admin.

Recently I had a issue where I needed to clean up some disk utilization on a linux server. In order to find a list of larger files, I used the following find command from the root directory I want to recurse through:

As you can see, the -size switch is setting the minimum size… Read more »