KeePass with Putty sessions in ssh

This blog is about launching SSH sessions through putty but from within KeePass, mostly using Windows although other Operating Systems may also work. Putty essentially organises and launches SSH sessions between computers; KeePass is a Password Safe storage system. By manipulating the form of the URLs in KeePass we can simply right click an Entry and select open URL to launch a putty session.

KeePass and Putty

Continue reading “KeePass with Putty sessions in ssh”

Controlling JavaScript with LazyLoad – a ShareThis example

Forgive me for the break in communication. Let’s get right back into it.

In the last few months I’ve been looking into website load times and implementing a few on my own. My hoster doesn’t run the most efficient servers and so my webpages really weren’t appearing as first as they might. One interesting area I looked into was javascript – in particular how the position and method of including can impact the rendering of a webpage and the speed it appears.

Some of the worst things you can do is include javascript files near the top of your HTML page. Unless you are careful, any javascript you include in the <head> or <body> sections will stop a browser from reading and rendering your page. This is because the browser does not know whether or not that javascript will output code and therefore require some rendering of its own.

Continue reading “Controlling JavaScript with LazyLoad – a ShareThis example”

StereoImage

In July of last year I purchased the LG Optimus 3D, a mobile phone which comes with dual cameras to take spectroscopic images. I’ve been very happy with the camera and consequently have quite a collection of 3D images. However, there are no easy ways to display the 3D photos online – this is why I created “StereoImage”.

StereoImage is a way to display stereoscopic images on a HTML5 canvas. It works on jps and pns files which are fundementally two jpegs / pngs joined together side by side. Using StereoImage a user can quickly switch between different ways of displaying the images.

See it here:

Your browser does not support the canvas element.


The different ways to show include:

  • Horizontal, one on top of the other,
  • Vertical, side by side,
  • Show just the left,
  • Show just the right,
  • Flick between both images (at variable rate)
  • Stereoscopic – reduce size with circle eye alignment.
  • Anaglyph – red and green/blue view (for use with glasses)

The code is open source, so feel free to use it. You can find more details on my website here: http://www.akademy.co.uk/software/stereoimage/ . Download or checkout the code via BitBucket here: https://bitbucket.org/akademy/stereoimage

 

The Samsung Running App

The samsung running app (called “Samsung Hope Relay”) is a nice idea. Samsung will donate a pound to charity for every mile you walk, run o4 cycle (and probably anything else under a 20mph…), but it records distance so no point using it in the gym! It is a little buggy though:

image

But hasnt stopped them giving £200’000 so far. Get it quick before the Olympics and raise a bit of money (and probably loose a few pounds!)

Laser eye day

Just a few hours till my Laser eye surgery… and yes I’m a little nervous. It’s been booked for about a month, but I’ve been so busy I’ve not really given it much thought – but as it’s a approached I’ve been thinking about little else.

I’ve gone through all the material they’ve given, and it explains the whole procedure, interjected with: “This horrific thing could happen” (Eeek!) “but it’s quite rare”… It isn’t really a pleasant read, but a couple of days later you start to understand what will happen on the day and become a little more calmer about it (or possibly just forget all the bad stuff) – if you are having the procedure, don’t leave it to the last minute to read it!
Continue reading “Laser eye day”

Keep Calm and Carry on Coding

I’ve had a change of name, well the blog has. It is based on the poster which displays the text “Keep calm and Carry On”, this was originally created back in 1939 by the British Government and was intended to raise the morale of the British public in the event of invasion (see wikipedia) in the World War II. The new title is “Keep Calm and Carry On Coding”, it grew from a conversation about these posters one geek filled lunch time. Here’s a little hacked version of the poster based on one from wikimedia (here):

Keep Calm and Carry On Coding Poster
Continue reading “Keep Calm and Carry on Coding”

Yes to AV

Today’s the day we find out of Britain is the sensible country it believes it to be, or one controlled by unbelievable scare stories. Yes, it’s a referendum, this one about the “Alternative Vote” voting (AV) over the “First past the Post” voting (FPTP).

I’ll be voting yes for AV today because whatever way you look at it, it is Better than the current system. It’s not about which party wants AV or which person doesn’t want FPTP it’s about making the voting system in this country fairer, avoiding wasted votes and voting for the people you want. Continue reading “Yes to AV”