Archive for September, 2009

SCRUM – Project Management by any other name?


2009
09.30

YouTube was jumpy, so I post it here…

This looks very familiar, just terminology at the end of the day…but you knew that already.

Thoughts and comments welcome…

Get the Flash Player to see this content.

A note on WordPress security…


2009
09.28

There’s a note on why to keep patching – How To Keep WordPress Secure over at the WordPress dev blog – definately worth a read.

Good sense.

What not to take while driving…


2009
09.28

Source Rory => unknown (otherwise I’d cite it…) What not to take while driving — was man am besten beim Autofahren nicht einnehmen sollte :)

What not to take while driving

RDP redirection via Putty (Linux Server) for Windows Remote Desktop


2009
09.25

Tunnel and SSH SelectionsTunneling via Putty is quite well documented. In Putty (the link points to the lastest version), create a new session.

In the SSH section, make sure compression is enabled (for SSH v2 – you shouldn’t be using anything earlier, anyway).

In the SSH=>Tunnel section , set the Source port to 127.0.0.2:3389, and the target to SERVER:3389 (where SERVER corresponds to your upstream Windows Terminal Server).

Tunnel Information settingsOnce the connection has been created, and you’ve logged into the Putty session, connect to 127.0.0.2 on the local machine and you should be prompted by the remote machine.

This is all as a result of the “localhost” restriction in RDP sessions – however, there is a patch.

Simple as π :)

Trac and remote SVN servers


2009
09.17

Do the SVN server Trac relates to have to reside on the same as the Trac installation?

At present, alas it seems so. (If you’re new to Trac and need a one-stop-shop of commands, look here.)

http://trac.edgewall.org/ticket/2828 points to and abstracts http://trac.edgewall.org/ticket/493

Seems like Trac and remote SVN is not happening yet, though SVN replication is an option… There is also an obscure comment some two years ago about a remote plugin, which was at alpha, but the project seems to have since disappeared/moved…

Sigh…

OpenVPN on Vista (32-bit and 64-bit)


2009
09.15

Once and for all (as I keep forgetting):

  • modify the actual ovpn file by adding the following:

    route-method exe
    route-delay 2
  • Use openvpn-2.1_rc19
  • Make sure you install as Administrator

And that’s it – you’re done! :)

.NET on the iPhone


2009
09.15

Did you know? You can now code using the .NET framework on the iPhone – no more specific need for the “Apple C” thanks to Novell’s MonoTouch.

Google Lab’s FastFlip – Hyperlinked Slideshow?


2009
09.15

Google Labs launched FastFlip – a good example is the “Centre for Investigative Reporting” site.

So you can flip between pages that are rendered and pre-loaded as graphics (PNGs, avg 40kB, 634px by 884px) without incurring the (X)HTML load-times, and all the underlying elements. See the page you like, and then click on the one you choose to have it actually load. The basis is a pre-render that is then flipped through like a slideshow with hyperlinks. Problem is dynamic and ad-generating links on the source documents that will lose their value – you won’t click twice on a link of interest if you know that, on second thoughts, this may be ads rather than content. In addition to which, you incur 404‘s following pages form the preview. Some work… You can’t click on the link you want to follow — you click and it takes you to the page, and then you have to click again… Isn’t that removing a level of “hype” from the “hyperlink”? :)

(more…)

Twitter Weekly Updates for 2009-09-13


2009
09.13

Wipe all mp3s and avis from the filesystem


2009
09.08

So you want to run a script that removes all mp3 and avi files off the filesystem. One way (in bash) as below. Comment, suggestions and feedback are welcome :) Using $EUID to check for root user, and $IFS to check for line breaks as the file names has spaces in them. IFS is saved to a temp variable, reset and then re-instated afterwards. C is the counter. Got two litte for loops in bash with backtick execution.

(more...)

New ClamAV / clamscan / freshclam on old Ubuntu (Feisty or the like)


2009
09.07

A typical situation – you get to audit a server setup which hasn’t seen a apt-get update / apt-get upgrade or even apt-get dist-upgrade since Netbooks were a pipedream.

“Please don’t change anything, we only want a virus scanner, but the update cache is busted,” they say. That you see a whole bunch of 404‘s in the apt (or aptitude) feedback is normal — there is no active repo for this flavour anymore! Long-gone!

So – what to do? As you would, you compile from source. Ha — one gotcha — zlib‘s probably not installed (compression library, as you know).

So – quick move to virus scanning happiness (on the latest version):

(more…)

phpDocumentor on Windows — but please, you knew that already


2009
09.02

So the below description will give you a step-by-step to run phpDocumentor (which replaces phpDoc):

Get it at www.phpdoc.org or install it via PEAR (much easier – 2MB download or so).

For Windows machines:

  • go-pear.bat (if you haven’t already — find it if you don’t know where it is) and pear install --alldeps phpdocumentor
  • Do a search for PEAR_ENV.reg on your machine.
  • Execute it.
  • Make sure you’ve got the Environment Variables set to point to include the PHP bin directory (
    set PATH=%PATH%;c:\path\to\php ) OR

    1. From the desktop, right-click My Computer and click properties.
    2. In the System Properties window, click on the Advanced tab.
    3. In the Advanced section, click the Environment Variables button.
    4. Finally, in the Environment Variables window, highlight the path variable in the Systems Variable section and click edit. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
    5. In Vista:
      • Open the the Control Panel, select the System and Maintenance link, and select the System link. Or, press the Windows key and the Pause / Break key at the same time.
      • Select the Advanced System settings link.
  • You can now call php and pear commands from the command line (you many need to restart for the changes to come into effect).
  • Verify by typing phpdoc -h
  • phpdoc -d "c:\projectDir" -o HTML:default:default -t "c:\projectDir\docs"
  • for PDF files, replace the output parameter (-o): -o PDF:default:default
  • Formatting in smarty (like PHP website etc): -o HTML:smarty:default
  • -t = target directory of generated documents
    -d = source directory of files to check
    -o output format as above.
    (more…)