Posted by & filed under Security.

Here’s my extension to the classical pigpen (Freemason’s) cipher. It is backwards compatible with the old version. I simply add numbers into the diagonal parts of the graphic, which adds 10 extra symbols, coincidentally the same as the numbers we use to count with. The thing that makes the Pigpen cipher so cool is that… Read more »

Posted by & filed under Security.

I just saw this kickass post on password security. It is a bit better than my old article, as it provides some better examples more technical examples. Check it out for some great explanations on password encryption.

Posted by & filed under Linux.

Here’s an old script I came up with for delaying the mounting external drives (they were eSATA) to persistent locations on my Debian based server, regardless of the order in which the OS detects the drives. It uses the blkid identifiers of the drives, instead of the /dev drive locations (which can change each boot)…. Read more »

Posted by & filed under Security.

Quick Warning: I started to write this article, then went and consulted with one of my co-workers. He explained to me the bcrypt library. PHP implements bcrypt as the crypt() function. When using the blowfish algorithm in bcrypt, an argument can be passed for the complexity of the hash, where each increment increases the complexity… Read more »

Posted by & filed under Uncategorized.

I’m getting some timeout issues I’ve never had before, after running a massive pacman upgrade on my Arch install. Anyone else seen these issues before? I’m able to make connections, list networks, etc., but when it comes to running dhcpcd it just fails hardcore. $ sudo dhcpcd wlan0 –debug dhcpcd[944]: version 5.5.6 starting dhcpcd[944]: wlan0:… Read more »

Posted by & filed under Linux.

Run this command to recursively delete files based on the provided extension (e.g. log): find . -type f -name “*.log” -exec rm -f {} \; You can remove everything after -exec (inclusive) to print the matched files to the screen (as a test run). You can change the . to be whatever directory you want… Read more »

Posted by & filed under PHP.

I recently had the need to change all of my OGG files to MP3s. Sure, there is a quality loss issue, but I prefer being able to play my music in my car and MP3 player over perfect quality. This script will recursively find all OGG files, and convert them into an MP3 file with… Read more »

Posted by & filed under Node.js.

One of the modules I plan on building for the Node.js computer controlling suite is software for interfacing with GPS. But, it turns out someone already built a module named bancroft! So, if you’ve been following my stuff and are interesting in a GPS project, check that one out. There are some features I would… Read more »

Posted by & filed under Web Server.

A lot of this article will apply to any network based application, but since I’m a web developer, I’m going to put a web spin on things. Also, I couldn’t help but get into compression a little while discussing browser caching. Caching is a vital part of any high traffic web app, especially ones which… Read more »