Archive for October, 2008

28Oct

SAS Macro and Dataline/Cards Statements in Data Step

I recently tried code like this in a SAS macro: data sections;         infile datalines dlm=”,”;         input graph_table_number $15. text_line @1 @;         datalines;         “11.1           ,Section 11.1″,         “11.2           ,Section 11.2″,         “11.3           ,Section 11.3″         ; run; While it works in its own right, including it as part of a macro yielded this type [...]

26Oct

Harnessing the power of ImageMagick

Using the command line to process images might sound senseless but the tools offered by ImageMagick certainly prove that it has its place. I have always been wary of using bulk processing for my digital photo files (some digitised from film prints with a scanner) but I do agree that some of it is needed to free up [...]

24Oct

Alt-Click problems in Ubuntu-hosted VirtualBox Windows guests

The Alt-Click keyboard.mouse combination is a very common way of working with various flavours of Adobe Photoshop. So it was with some frustration that I couldn’t use it while working in Photoshop Elements (still on version 5, by the way; the temptation of newer versions has not struck) on a Windows XP guest in VirtualBox [...]

22Oct

Another way to control line breaks in (X)HTML

While you can use <br /> tags, there is another way to achieve similar results: the &nbsp; or non-breaking space entity. Put one of them between two words and you stop them getting separated by a line break; I have been using this in the latest design tweaks that I made to my online photo gallery. [...]

20Oct

Copying only updated and new files

With Linux/UNIX, the command line remains ever useful and allows you to do all manner of things, including file copying that only adds new files to a destination. Here’s a command that accomplishes this in Linux: cp -urv [source] [destination] The u switch does the update while r ensures recursion (by default, cp only copies [...]

10Oct

Getting VirtualBox 2.02 working on Ubuntu 8.04

Having run VirtualBox OSE (1.5.6) for a while now, I succumbed to the idea of grabbing the latest version from the VirtualBox website and putting it on my main Linux box. The idea of having 64-bit support proved irresistible and I did get OpenSolaris to start, even if its being a VMware VM meant that [...]

Private