Blog

ex Lightedge, Ends On… (but you knew that already)

Just as a quick follow-up to the previous post about ex-Lightedge vs Ends On earlier this week, guess who I received an unsolicited email from today! Yup, you guessed it – seems like old mailing lists are being reused to drum up support for the new business… either those bought – or inherited? And if none of the two, that’s spam… but you knew that already. Makes you ...

Ubuntu 8.04 Dual-screen

From the bug-report there’s a simple solution to dual-screening on Hardy… Users upgrading from Dapper Drake to Hardy Heron who have used Xinerama to support dual monitors now have to use a different method (xrandr I think). This isn’t mentioned in the release notes and the graphical tool for configuring dual monitors is under “Screen Resolution” in the System -> P ...

ex-Lightedge vs Ends-On (but you knew that already)…

Interestingly, the top search result that pops up on the “Do No Evil” Search is ends-on.co.za (not the stories relating to the Valentine’s Day demise of Lightedge Technology). Go figure. The old lightedge.co.za domain is pointing to the same server as ends-on (at SA Domain) and doing a re-direct. Hm. lightedge.co.za – paid on 2 June 2008 (still registered to Lightedge / Bo ...

Ursprung des Namens Welzel

Welzel (Görlitz [17] Liegnitz [9] Grünberg [5] Glatz [9] Reinerz [10] Neurode [15] Neisse Beuthen [13]). Deutsche Form für Welczek, das ist Velislav (Grafschaft!). Welczel Beler 1364 = Walczil Beler 1370 Breslau (Reichert, H., Die deut. Familiennamen nach Breslauer Quellen. Breslau 1908, S. 16); Welczel Beck 1354 Glatz; Welczel Kauffler 14./15. Jahrh. (Burdach, Vom Mittelalter zur Reformation. Bd ...

Worldwide DNS patch roll-out (and the slow, lagging one)…

So the DNS patch rolled out on 8 July. But you knew that already. Vendor after vendor started popping out the woodwork, and Ubuntu mirrors slowly started updating worldwide to rollout updates to bind9, the glibc stub resolver etc… The original CERT announcement didn’t had many ‘no response’s from a wide variety of providers (having been alerted only a few days earlier)R ...

Routing – but you knew that already

From the RTFM In this example, your client machine is connected to a firewalled LAN through ethernet device eth0. Its IP address is 12.34.56.78; its network is 12.34.56.0/24; its router is 12.34.56.1. Your network administrator may have told you to use 12.34.56.1 as default router, but you shouldn’t. You should only use it as a route to the client side of the firewall. Let’s suppose t ...

Search and replace string in multiple files (and skip if necessary)

There are two easy ways here (well, more, but I’m only going for two): Perl quick and simple and easy syntax easy as “pie” (get it?) ?View Code PERLperl -p -i -e 's/PASSWORD/NEWPASSWORD/g' *.php wrap it in a script for safekeeping for the future 🙂 sed it was made for strings got to check back for the syntax, but oh so powerful ?View Code BASHfind . -name .phtml -prune -o -exec s ...

Stripping out illegal characters

I keep forgetting it… ?View Code PHP1 $safe_foldername = preg_replace('/[^a-zA-Z0-9]/','',$unsafe_foldername); This, of course, supercedes the previous file name stripper – should be called instead of the replace… ...