Archive for code

You are browsing all posts tagged: code.

speeding things up with wp-super cache

speeding things up with wp-super cache

This site has been getting sluggish – too many database calls in all the widgets etc – so I thought I would try and speed things up. Throughout this process, I’ve been using the very helpful ‘is my blog working‘ tester to check delivery / processing times. It’s interesting to check this site against others […]

keypad: upgrading to a matrix keypad

keypad: upgrading to a matrix keypad

one of the important upgrades from the proto-type is to change the old keypad, the knocked-up version described in this post, to a proper ‘matrix keypad’ (ie with numbered buttons) as seen on the right …

capeMirror ASCOM driver

Introduction In this post I’ve included the most significant files from the capeMirror ASCOM driver. The full set can be downloaded here. The image on the right shows them within Visual Basic 2008 Express. The easiest way to approach them is like this: 1. Set-up the global variables. 2. View the main driver. Module CM_Globals […]

formatting code for blog

formatting code for blog

one of the issues that vexed me for a while was how to format code extracts in this blog. I wanted a system that could be used for a variety of different languages (c++, visual basic, css, php etc) and could be expanded […]

a recent posts widget

a recent posts widget

In order to try and get a few more photos into the content, I wanted to have widget (which sits down the right hand side of the screen) which would display recent posts from either 1 particular category, all categories […]