NYC Moto Show and Festivus 2014

pdftk cont’d…

I recently had cause to export many hundreds of email messages to .pdf. I’ll save you the details as to why but subsequently I needed to know the cost (in time and paper usage) of printing out all of the PDF files; how many pages would it be? How could I know? I previously posted about pdftk so I assumed it would provide me the answer. A bit of Googling led me to commandlinefu and the following solution.

find . -name "*.pdf" -exec pdftk {} dump_data output \; | grep NumberOfPages | awk '{s+=$2} END {print s}'

It worked like a charm.

The answer was “515” pages. Too many I think.

Avalanche U16 AAA win College Cup

First tourny win in a while for Bradley.

DSC_0558
DSC_0193

Knockers

I took these pictures of random door knockers on our trip to Italy this summer. If you like knockers there is a great “Knockers” group on Flickr.

knockers

Very Cool

Firewall Upgrade

I’ve been running pfSense on a Soekris Net5501 for some time. It’s capable and stable but I have been running it from a compact flash card with limited space which eventually kept me from upgrading to the latest versions and running the graphing back-end; so I’ve upgraded it to run on an SSD. There is a noticeable speed increase in the management front-end and now I have room for all the logging and graphing I would ever need.

After downloading the current pfSense ISO for a full install I booted the Thinkpad from the CD with the SSD attached via an USB > SATA adapter. After the CD booted I chose the “Install” > “Expert” option. Then in my case I picked the “embedded” option for the kernel since the Soekris is headless and needs the serial/no-vga kernel. I did no custom partitioning sine I intended to use the SSD exclusively for pfSense. After the install completed, I put the SSD in the Soekris, attached the serial cable to the Thinkpad and booted it up. At first boot the kernel will fail to find the root partition on the SSD which is not unusual since it was installed by a different machine. At the prompt I needed to manually enter the proper drive/slice and then the boot continued normally. Once fully running I had to ssh into the Soekris and edit the fstab with the proper drive/slice info for the “/” and “swap” partitions. At that point the install was finished and all that was left to do was restore the settings configuration from a backup and put it in service.

Kryptos

Everything about Kryptos is interesting. If you have any interest at all in cryptography it’s worth knowing about Kryptos.

OBKR
UOXOGHULBSOLIFBBWFLRVQQPRNGKSSO
TWTQSJQSSEKZZWATJKLUDIAWINFBNYP
VTT
MZFPKWGDKZXTJCDIGKUHUAUEKCAR

The only official known plaintext in the above last section of Kryptos is that NYPVTT=BERLIN.

Lots of good information on Kryptos here.

#Linux Reminiscing

I came across this today among other the books on shelf. It’s the first Linux distribution I ever used. I bought it at Comp USA sometime back in 1998. If I remember correctly I could not get X working properly but I was able to get it online, use pine to do some email and set up an ftp server on it.

Red Hat 5.2

2014-09-05 17.51.41-1

Recent rides…

Sysadmin Day

So today is Sysadmin Day.


I can relate:

michael@silverado:~$ uptime
12:44:30 up 597 days, 15:23