Gallery-esque Generator

I’ve had my server up and running for over 10 years now and in time it has accumulated a ton of crap.  Tons of images and what-not, especially in my ‘html’ directories.  On top of that I often copy images that I don’t want in my gallery but do want to be viewable by myself or others.  I found myself hand writing a simple script to convert the images to thumbnails and create a simple html page to display.  So I finally took all those steps and created a BASH script to handle it all.

The script is extremely easy to use and requires only that you have ImageMagick installed on your system.  In theory this script should also work on Mac OS X and if you have a bash interpreter for Windows, it should work on that platform as well.

I have detailed instructions in the man page included in the script simply by calling it with ‘–man’.  I am sure there could be improvements made to the script so I am always happy to hear back on these things.  Check out a sample result generated from the script.

This is a very basic script and in turn takes up little to no system resources.  It creates a ‘thumbs’ directory to store the thumbnails and the html file.  There’s no databases or anything of that sort.  Of course, it’s also limited to a static web page with nothing fancy.

The script can be fetched here:

tn script
md5sum: b808ec7b12b24bf09fec34787eea49ba
sha256: 1cf98aad1a37c558ea7166a05ca107ef258d704235e01090b775eb665a8b4c06

Posted in Uncategorized | Leave a comment

TelnetBBS Server v0.5

A while back I was fiddling around with getting my old BBS to run in a “modern” environment.  I use quotes around modern simply because the solution was running Renegade on a 9 year old operating system that shared quite a bit with an even older OS.

I can say now I finally have what I feel is an optimal solution.  I have my BBS running in multi-node under Linux without X11.  Enter TelnetBBS Server v0.5.  This is a Perl-based server that manages incoming connections and manages the BBS running through DOSBox.  Now, DOSBox without a doubt requires X, to get around this, since I run headless, I have been using nomachine’s nxserver.

My original set up had very high overhead on top of maintaining a second system.  This new set up minimalizes overhead by getting rid of that virtualization layer and replacing it with DOSBox.  Since there was nothing out there I could find that could manage something of this nature I decided to write it from scratch.  See the end of this post for a link to download.

TelnetBBS Server will host you telnet connections, allocate a node, and start-up DOSBox.  Through an included DOSBox configuration, the autoexec will fire up the appropriate node.  TelnetBBS Server is extremely configurable allowing mutliple BBS’ with multiple nodes each to be hosted from a single machine.  I’ve, in fact, have started getting my original BBS running through it which will be up and running shortly and have a new BBS, that I am still configuring.  My new BBS, Resurrection BBS can be found by telneting to ‘demandred.dyndns.org:3023′.  Right now the BBS is still being put together.

Currently this setup is running under Ubuntu 10.04.1 LTS, with DOSBox 0.74 on an Athlon 64 3200+ system without issue.  I have both my BBS’ running with 4 nodes each and 1 local node each.  The system has 1GB of RAM and has no issue handling this along with all it’s other tasks.  This should work on any platform able to support DOSBox, including OS X, FreeBSD and Windows.

Included in the tarball and zip files below is documentation to configure everything.  However, I left out very detailed documentation.  I feel I did comment my code sufficiently so UTSL or you can resort to leaving messages on here.

telnetbbs-0.5.tar.gz

Posted in Programming, Technology | Tagged , , , | 1 Comment

Hand Lotion… wait, what?

So today I saw my barcode scanner got updated.  I was waiting for some stuff on my computer to finish up so I figured I would scan something in.  The nearest thing I found was this container of Duane Reade hand lotion.

image

I believe this is a Lubriderm knock-off, available at all the Duane Reade locations here in Manhattan.  So I scan in the barcode.

I first did a basic search and it couldn’t locate it.

So then I did a different search that brought me to the UPC Database where it was revealed to me that my jug of hand lotion was indeed a dildo.

image

Sorry for the poor picture quality, easiest way at work is to take a picture of the site on the screen.  You can see the link for yourself here.  I am really curious what it says on the cashiers’ screens when the item is scanned.

Posted in Funnies | Leave a comment

Happy 3rd Birthday Connor!

Today is Connor’s 3rd Birthday!  We had a nice little birthday party for the little guy at home today with family and friends.  Everything went very well.  I can’t believe he’s 3 years old.  I also can’t believe just how much our lives continually change as I was looking back on some old pictures.  Here’s a little 3 year time line, birth, 1yr, 2yr and 3yrs old followed up by a little video of Connor practicing blowing out his birthday candles.

Connor at birth - 11/28/07

Connor at 1 years old -- 11/28/08

Connor at Two Years Old -- 11/28/09

Connor at Three Years Old -- 11/28/10

ZD YouTube FLV Player

A full gallery of Connor’s Birthday pictures can be found here.

Posted in Family, Friends | Leave a comment

I Am The Stig

Some say he left comments on the wall of every female on Facebook, and created FireFox Personas at the same time.  All we know is, he’s called The Stig.

I Am The Stig

For those of you who use Firefox I wanted to share this neat TopGear persona I came across.  I love the portrayal of Jeremy, James and Hammond as SouthPark characters.

In other news, the US version of TopGear airs on the History Channel on November 21st.  I hope it stands up to the UK version.  Also, for those interested, the UK series is on Netflix instant watch.  For those that don’t have NetFlix, this service is absolutely incredible and even after a very strict re-budgeting we managed to work it in.

How can I forget, here’s the link to the FireFox TopGear Persona.

Posted in Uncategorized | Leave a comment

Its Been A While

Its been a good 6 months since I have last posted.  Laurie has been maintaining her on blog and other stuff on her
Facebbok page and, well, Connor can’t quite blog yet.  So I was thinking of taking this over with more “nick” stuff, but still keep family stuff on here.  I am going to make a good attempt as there has been quite a few things I have wanted to blog.  So we’ll see where things take us.

Posted in Uncategorized | Leave a comment

The Creepy Stuff You See

When walking your dog…

image

I came across this chair sized for an infant girl while walking Carleigh around midnight…  Creepy.

Posted in Uncategorized | Tagged , , , | Leave a comment

Brendan and Holly (finally) Married

This past weekend was a great weekend.  My really good friends Brendan and Holly finally sealed the deal on Friday October 8th.  We had a fantastic time at the wedding.  I have lots of pictures posted here.  It was also great seeing all our friends again and awesome that Chris and Carol were able to make it down to NJ for the wedding!

image

Check out the pictures of Connor trying to get in the middle of everything the night after the wedding.  Brendan, I hope your cats have recovered from his wraith.

image

Can’t wait to see everyone together again.  I hope it wasn’t the last time.  :)

Posted in Friends | Tagged | Leave a comment

DST & Spring

It’s been quite some time since my last post.  Things are alive and well though, just very busy.  Connor has been going with Laurie to a gym and sport class at the YMCA along with an art class that he has been enjoying and I have been taking him to Father-Tot swimming on Saturday mornings.  Now with DST starting earlier it feels like spring is coming sooner.  Time to clean out the garage, clean out the shed, take the snow tires off the car…

Here’s Connor playing outside last week, he loves those golf clubs.

Connor and his Golf Clubs

I also (finally) brewed my vanilla bourbon stout, just in time for, err.. spring.

I also have everything fixed up on the old VW GTI and it’s ready to sell.  I just need to take some spiffy pictures of it to put on Craiglist and it’s ready to go.

Now I just need to get the patio cleaned up, the furniture back out and the BBQ ready for another season!

Posted in cars, Family, Homebrew | Tagged , , , , , , , , , , | Leave a comment

Happy New Year!

Happy New Year 2010! Hope everyone has a great year and had a safe New Years!

Posted in Uncategorized | Leave a comment