tag:blogger.com,1999:blog-37616962009-02-24T00:14:00.380+13:00Confessions of a Guru....This blog aims to deliver bite sized chunks of nothingness. If you find something of use then please take it with you and let it help you. If not, then come back later ... or don't, it's up to you.Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.comBlogger182125tag:blogger.com,1999:blog-3761696.post-27667252560590157982008-09-27T14:07:00.002+12:002008-09-27T14:22:09.640+12:00Gettin' hackedI had an email this morning only five days after my billing cycle started saying that I was close to using my 15GB of data. Normally we spend about 5-10GB, but 15GB in five days is exceptional.I started digging and after ruling out intentional upload/download from inside my network (using wireshark on my LAN segment) I then started looking at the wireless side of things. I have a server on my Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com4tag:blogger.com,1999:blog-3761696.post-58395557524878994102008-09-03T21:33:00.004+12:002008-09-05T21:17:03.695+12:00Screen recording with LinuxHello to my future self - I've anticipated that I will be back in the future to read this post because I'm sure I would have forgotten how to do this stuff. Firstly, a disclaimer - I am by no means an expert in this field, I just banged it 'till it worked. If you are having trouble doing similar things then I encourage you to post comments where they can be seen and responded to by all.SecondlyGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-9763345323905430392008-08-28T21:32:00.003+12:002008-09-27T20:14:10.623+12:00HTTP Monitor Script for BashIf you run a web application, or want to know when a web server goes up or down. There's a range of products you can use to do this, such as Nagios (URL monitoring is only one aspect of server monitoring that Nagios can perform). There are times however when configuring a full blown monitoring system like Nagios is way over the scope of what you want to do right now.Here's a script I use to Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-45512824553041534812008-07-22T21:11:00.004+12:002008-07-22T21:19:55.853+12:00Orcon bumps their prices upWinking away in my inbox today was an email from Orcon - this is generally a good sign as they like to announce new plans, good deals etc. This announcement in particular was not welcome:Putting our prices up is something we try really hard to avoid. But sometimes it's beyond our control.So unfortunately we've been forced to pass on an increase for the monthly rental of your Orcon homeline. ThisGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-5260945418067016422008-06-20T09:59:00.003+12:002008-06-20T12:48:37.804+12:00Things that I hate about PHPOk so I've been back in the swing of development for a while now and I've reminded myself about the things that I hate about PHP. Overall I like it a lot but these are the things I hate.magic_quotesSo the deal here is that when enabled, any posted information will have any quotes magically escaped, so if you were to post the text "Fish 'n' Chips" then your script would receive the text "Fish \'nGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com10tag:blogger.com,1999:blog-3761696.post-57177514388513765022008-06-11T15:16:00.008+12:002008-06-11T23:39:07.673+12:00Simple Content Manager LaunchesIf you care you may know that I've been working with Turboweb for a couple of months now. I've been mostly working on a system for creating websites. The gist is that if someone wants a website to complement their business or group or whatever but they don't know how to get started then we provide EVERYTHING that they need (hosting, email addresses, domain names, ecommerce, image gallery, news,Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-26910047573423496772008-06-08T22:15:00.003+12:002008-06-08T22:41:52.868+12:00Tweeting in LinuxQuickly tweet from your Linux environment with this script - all you need is the ability to launch a shell script, e.g. from a terminal, shortcut on your desktop or Gnome panelRequires: curl, zenity.Change the TWITTER_USERNAME and TWITTER_PASSWORD accordingly. Remember to make the script executable and since it contains your twitter username and password you most probably want u+rwx, go-rwx (or Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-68561183541352948212008-05-19T21:42:00.004+12:002008-05-19T22:20:46.003+12:00Getting help anonymouslyI've often wondered how to go about getting technical assistance for work related issues without revealing sensitive information to your competitors, or even worse, making yourself look like you don't know what you're talking about to your current and potential customers. The number of times I've seen ridiculously simple questions asked by people whose business it is to know is astounding, and Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-55164413956678886572008-05-10T12:17:00.008+12:002008-05-12T10:27:01.541+12:00A New CareerIn the last six weeks I've changed jobs. My previous job was with SmartMedia Solutions as the Development Manager - a role that I effectively inherited due to staff churn and a bit of restructuring. While interesting and certainly a challenge, I couldn't see myself enjoying it long term because it didn't scratch my itch to develop software. Directing development is interesting but not hands onGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com3tag:blogger.com,1999:blog-3761696.post-87186247071820714432008-04-03T08:34:00.003+13:002008-04-03T08:38:37.198+13:00Beryl - hidden secretsI surprised myself last night by accidentally holding down the super key (also know as the *ahem* Windows key) and scrolling my mouse. It took me ages to work out how I'd zoomed in on the screen, just like I've seen happen on recent flavours of MacOS.I figured it was a Ubuntu Hardy feature, as I had just upgraded to that but it looks like it's something that's been in Beryl for some time now (Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-49202994450094940712008-03-25T11:08:00.002+13:002008-03-25T11:10:37.403+13:00Quotable QuoteI found this quote in the margin of Code Complete 2, attributed to Pablo Picasso.When art critics get together they talk about Form and Meaning. When artists get together they talk about where you can buy cheap turpentine.:)Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-39848173023805521562008-03-18T22:29:00.001+13:002008-03-18T22:29:18.792+13:00Scooter Stig Scooter Stig Originally uploaded by gurubobnz. "Makes Commuting Fun" - and cheap! Works out to about 6c per km.Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-69048955552730841972008-03-18T21:09:00.002+13:002008-03-18T22:17:06.807+13:00Out with the old, in with the .... ?I sent my motherboard away to get the chip fan replaced under warranty. Some time later it turned out that it had been replaced, and returned, but to the wrong address, then it finally arrived, but didn't work because they hadn't tested it, so I sent it away, and it got lost again for a bit. I had a call from the tech today after chasing for an update and it turns out that my whole machine is Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-77291151476496485552008-03-10T22:28:00.004+13:002008-03-10T22:30:44.283+13:00LOL, Visible BikeThanks to the magic of plastic trikes, ginger cats and digital photography, we created this masterpiece over the weekend :)VISIBLE BIKEGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-68821152731644738432008-03-06T20:56:00.002+13:002008-03-06T21:25:44.207+13:00Scootin'So I got a scooter the other day. It's fun, real fun! Oh, and practical, and cost saving, yes, that's right :) Not to mention it's fun :)I realised that in town I didn't know what the parking rules were for scooters so I popped into the DCC customer service centre to find out.It turns out that:Dunedin City Council provides Motorcycle parking spaces at various locations within the city. HoweverGuruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-46588888120265064592008-02-18T17:40:00.001+13:002008-02-18T17:40:30.900+13:00Link DumpFor later, when I have time to investigate...http://jquery.com/demo/thickbox/http://docs.jquery.com/Main_Pagehttp://extjs.com/Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-76362964982667483442008-02-11T23:32:00.000+13:002008-02-11T23:37:19.626+13:00Blogger to Drupal, some meatOk, so here's some meat. I'm not there yet because this script doesn't import comments, nor have I shared my blog tagger with you (need to find/document that) but this might help those impatient among you.Click to view import_post_to_drupal.phpGood luck.Oh, by the way (and this had me stumped for a bit) you need to paste this into Drupal as PHP content. You can't do that until you go into Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com3tag:blogger.com,1999:blog-3761696.post-79938919741986127532008-02-05T23:42:00.001+13:002008-02-05T23:53:57.303+13:00Planning the migrationWell, so far with the planned Drupal migration, so good. I'll outline the approach I'm taking:1. Tag my current blog.Because Blogger doesn't (seem to) have an export function, I've gone for the age old method of content scraping. If you view the source for this page you will see chunks of HTML comment that look like this: <!-- BDMT:BlogItemTitle --> (etc). These have been automatically Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0tag:blogger.com,1999:blog-3761696.post-56019616158398013792008-01-23T20:57:00.001+13:002008-01-23T21:00:14.306+13:00Installing Drupal"RTFM!", they scream. For most people this is the last resort. Therefore, it is almost expected nowadays that a web application will install with as little hassle as possible. If you're capable, I suggest beefing up the fresh install process for your favourite open source web application and feeding it back to the project. It will result in more uptake from your project, as the barrier to Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-8594180475449716572008-01-21T21:11:00.000+13:002008-01-21T21:19:28.982+13:00Migrating from Blogger to DrupalOk, so Blogger is easy. Think, type, post, you're done. This makes it great for the masses, but if you want to blog on an intranet, or don't like the idea of relying on an external service, or even want a little more than Blogger's feature set then you'll have to go elsewhere.There are a heap of blogging tools, and a heap of tutorials that will tell you how to make your own blogging tool (a Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-36080168593272761802008-01-14T08:56:00.000+13:002008-01-14T12:18:02.599+13:00Software Developers WantedMy workplace is advertising for a couple of software developers. I'm blogging it here because it's free!Do you want to work for a successful Dunedin based software development company? We specialise in dynamic content creation for the web and print. We are looking for the right person to joun our enthusiastic team in our new purpose build office in the city.When you're working at SmartMedia, Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-10503321001142680322007-12-10T22:10:00.000+13:002007-12-10T23:36:52.309+13:00Tracing BitmapsI'm not an artist - I just don't have the knack of being able to start from nothing and pour out goodness. I am, however, good at using artists tools such as The GIMP and Inkscape. I can use these tools to turn out some gems (and a mild amount of crap).One of my favourite tools in Inkscape is the 'Trace Bitmap...' tool (under the Path menu). This tool takes a bitmap for input, and traces it Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com6tag:blogger.com,1999:blog-3761696.post-15203068584057071382007-12-03T23:46:00.000+13:002007-12-03T23:53:35.653+13:00The ReferencizerYou may have seen posts on newsgroups, in email etc where the poster references links in-line with numbers in square brackets, and then at the end of the post provides a list of URL's referenced above. This serves to keep the links out of the main body of the message the content of the message, making it easier to read. I got bored one night and thus "The Referencizer" was born. All you have to Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com1tag:blogger.com,1999:blog-3761696.post-44577235012513305202007-11-18T20:46:00.000+13:002007-11-18T21:15:10.836+13:00Quick Installs - a game, and a tool...A game ...I've been a fan of Transport Tycoon for a very long time. I was elated when I discovered that an open source alternative to the original game was being developed. It fixes some of the usability things with the game. It does however require you to source the original data files from the original game (openttd don't distribute them because that's piracy...). These data files can be Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com2tag:blogger.com,1999:blog-3761696.post-14806513165563714802007-10-08T21:14:00.000+13:002007-10-08T21:30:23.904+13:00USB monitors - yawn, hey wait a second!I just came across this video on the BBC website that talks about USB monitors. "So what", I thought, "that's not newsworthy", and then I realised it was.You see, normally to run multiple monitors on your PC you need either a dual-head graphics card or a graphics card per screen. With the USB monitor, all you do is plug it into your computer, and the monitor hooks up as a second display.The Guruhttp://www.blogger.com/profile/06185912245040946331gurubob@gmail.com0