Category Archives: Mac OS X

csplit command

Let’s say you have a single file (a mysql dump) containing the output of multiple database backups… and you want to split them out into individual files. Input fil: # MySQL dump 7.1 # # Host: localhost Database: Purchase_Tracking # … Continue reading

Posted in Mac OS X | Leave a comment

Using rarcrack on Ubuntu

Rarcrack is an open source rar file password cracker.  Use it when you’ve forgotten the password you put on a rar or zip file.  The current version (0.2) doesn’t work flawlessly on Ubuntu, so follow these steps. 1. Download the … Continue reading

Posted in Mac OS X | Leave a comment

BASH script to remove numeric prefix from files downloaded from scribd

Scribd is a great service, offering PDF downloads of a variety of content.  Unfortunately there is an ugly 8 digit (random?) number prefixed on each file downloaded. 47432750-Book-Name-Whatever.pdf 47501680-Another-Book-Name.pdf 47502885-Yet-Another-Book-Name.pdf It’s not descriptive, and it makes alphabetic sorting of the … Continue reading

Posted in Mac OS X | Leave a comment

Combine multiple PDFs into a single file on Linux

One of the great features of the iPhone is the ability to load PDF files into the iBooks application… why lug paper around when you can have a huge amount of reading material right on your phone? One of the … Continue reading

Posted in Mac OS X | Leave a comment

Installing Java Runtime Engine on Turnkey LAMP Appliance

Turnkey Linux offers a LAMP (Linux Apache MySQL PHP) appliance – an ISO or VM to install or create a pre-configured Linux based web server.  The install is very streamlined offering minimal bloat, as well as many other advantages: pre-installed … Continue reading

Posted in Mac OS X | Leave a comment