Archive for the 'geek' Category

Creating a SSH Tunnel in Java

Sunday, April 9th, 2017

tl;dr

How to create a SSH tunnel in a Java app from a localhost port through a jump box to a specific port on a server. Allowing a connection to the remote server port as if it was a localhost port.

Examples found online provided only one ‘hop’, not the double ‘hop’ needed. The code below supports 2 hops, but in theory could be used to support any number of hops.

(more…)

Laser Cut USB Key Case

Sunday, February 14th, 2016

The Why

I have a collection of USB keys each different version of OS X and Ubuntu so that I can do a complete reinstall from scratch. The collection was rattling around in my desk drawer, which was annoying.

What I really wanted was to put them in a case, ideally one that matched the other dvd and cd cases.

(more…)

Kinect, OpenNI, NiTE and Nuimotion Setup for Ubuntu

Monday, February 24th, 2014

IMG_2025

This is a follow up to my setup notes for OS X, here are my notes to setup Kinect, OpenNI, NiTE and Nuimotion on Ubuntu Desktop LTS 12.04 Precise.

(more…)

Kinect, OpenNI, NiTE and Nuimotion Setup for OSX

Saturday, February 22nd, 2014

IMG_2025

Messing around with a Kinect, OpenNI, NiTE led me to a node.js app called Nuimotion.

In an effort to document successful install of all the required packages I created these instructions.

(more…)

The Best Computer is The One That’s With You

Tuesday, October 27th, 2009

Photographer Chase Jarvis published a book called The Best Camera Is The One That’s With You. All the pictures in the book were taken on his iPhone. The premise is that the ‘best’ camera is the one you always have.

With apologies to Mr. Jarvis, I would like to suggest that The Best Computer is The One That’s With You. For me that is my new Macbook Air.

I bought it as a refurb from Apple’s website, it is small and light enough that I can carry it around and don’t really notice it. The multi touch trackpad is so much better then my old Powerbook’s single touch trackpad.

In addition, using my tethered iPhone to get Internet access lets me be online anywhere. No more scamming WiFi signals.

There are some short comings; only one USB port and no built in Ethernet jack. But those are minor gripes.

Of course it is the best computer for me because I am always able to get online and do a quick bit of work and ‘good enough’ that I am actually productive.