Content Archive

2020   2019   2018   2017   2016   2015   2014   2013   2012   2011   2010   2009   2008   2007   
Jan   Feb   Mar   Apr   May   Jun   Jul   Aug   Sep   Oct   Nov   Dec   

January 2010 Archive (32 posts)

Filtering on: CodeUnit | Accessories | Hardware | Programming | Projects | Software & Sites | Tech News | Tips, Tricks and Tutorials (clear)

PHP: Exit a While or For Loop with Break | How do you exit or break out of a running loop before it has finished completing in PHP? Well luckily PHP makes it pretty easy by providing us with the break control structure, a function that forces the ending of the execution of the current for, ... (Programming)
jQuery Mouseover Tooltips the Easy Way! | Jeff Robbins of Lullabot brings to us a rather nifty jQuery plugin in the form of BeautyTips, a tooltips plugin which uses the canvas drawing element from the HTML 5 spec to draw tooltips/talk bubbles/help balloons that can be associated with any specific HTML element ... (CodeUnit)
Shorten Your URLs the Way! | URL shorteners are all the rage at the moment, made particularly popular by the advent of micro-blogging platforms like Twitter and even FaceBook updates for that matter. The concept is pretty simple. Take a long URL, pass it on to the shortening service and receive ... (CodeUnit)
WordPress Random Posts Widget | Random posts are always fun to throw up onto your blog, as they help encourage readers stick around for that little bit longer and explore the otherwise deep, dark, hidden recesses of your previous mutterings and as such become an invaluable tool if you're trying ... (CodeUnit)
Multi-search Using 3 Search Engines at Once! | Search engines have become an indispensable part of modern life and the Internet, and as such almost all of us have long since determined our own particular favourite amongst the multitude of available workhorses. However, search engines are not all the same and quite often return ... (CodeUnit)
Highlight a Table Row using jQuery | Using jQuery to highlight a table row on mouse over is pretty simple to achieve, and today I'll quickly demonstrate how you can achieve this neat effect using the addClass and removeClass jQuery functionalities. First, you need to define your CSS style to be applied to ... (CodeUnit)
SMS Server Tools 3: Send a Blank SMS using a PHP Script | SMS Server Tools 3 is a great little SMS Gateway software which you can pair up nicely with some PHP scripts in order to send and receive SMSes. Today's little trick shows you how to send a blank (i.e. no text body) SMS using a PHP ... (CodeUnit)
How to send a Vodacom Please Call Me | This is actually more of a reminder to me than anything else, because no matter how many times I try, I simply can't remember how to send one of these damn things from my phone when it matters (not that I ever do of course ... (Tips, Tricks and Tutorials)
Check a PHP File for Syntax Errors from the Command Line | I sometimes find myself having to create PHP scripts from scratch using Nano on a command line only interface on a Ubuntu Linux server. Obviously this kind of sucks if you are used to using a proper error-checking and code hinting full IDE like Aptana ... (CodeUnit)
jQuery: Add and Remove Element Classes on the Fly | Quite often you achieve altering a specific HTML element's look and feel by assigning it to a particular class, that class already possessing some customised CSS style rules in the document's main stylesheet. There are of course times when you actually want to achieve this visual ... (CodeUnit)
!important CSS: How to force one Style above Another | In CSS, how do you force a particular style declaration to take precedence over all others that have come before or after it? Remember the very nature of Cascading Style Sheets is to cascade. Hierarchy is important and if a style is read by the browser ... (CodeUnit)
jQuery: Tween from One Color to Another | From jQuery 1.2 onwards, the ability to tween (animate) from one color to another, in other words fade one color into a different color is as simple as inserting one line of code. (In order to use this effect though, you will need to include the ... (CodeUnit)
New Features in jQuery 1.4! | Four years have passed since the initial public release of the stellar jQuery library and in celebration the guys over at jQuery have just released jQuery 1.4, the first major core release for 2010. They're making a pretty big song and dance about the whole ... (CodeUnit)
A jQuery Horizontal Scrolling News Ticker | Gian Carlo Mingati has made life particularly easy for you if you are in search for a simple to implement, yet powerful and customizable side-scrolling (in other words horizontal) news ticker widget. His liScroll jQuery plugin takes any old unordered (ul) list with a unique ID ... (CodeUnit)
How to Store Decimal Currency Values in MySQL | Now while storing integers and numerals in MySQL is pretty rock solid and easy to do, storing decimal values like currency, in other words money, isn't quite as intuitive when you have a phpMyAdmin structure tab open in front of you. When it comes to storing ... (CodeUnit)
PHP: Simple Try Catch Example | With object orientated languages came the concept of the try-catch block to better manage exceptions and application crashes, and from PHP 5 onwards, the popular web server-side scripting language too adopted this ideology. By placing code which stands a possible chance of failing within a try ... (CodeUnit)
How to Turn on Caret Browsing | Instead of just using the mouse to select text and move around within a webpage, you can in fact use the standard navigation (arrow and page-) keys on your keyboard to do this, making in particular specific text selection far more targeted and easier to ... (CodeUnit)
Online Lorem Ipsum Generator | The Lorem Ipsum dummy text is an invaluable tool to designers as it has a more or less normal distribution of letters and thus creates a far more "readable" design than just using copy pastes of "Content Here" all over the place. This dummy text has ... (CodeUnit)
Ubuntu: Restart the SMS Server Tools 3 (SMS3) Service | SMS Server Tools 3 or SMS3 is a great piece of SMS Gateway open source software that allows you to send and receive short SMS messages through any number of GSM modem types or mobile phones. It installs itself as a service on an Ubuntu Linux ... (CodeUnit)
Ubuntu: List Running Services from a Terminal | I've had to do more work on one of our Ubuntu servers again recently, and without Ubuntu's incredible GUI to fall back on, I'm seriously shocked at just how much Linux knowledge I've lost since moving away from the platform so many years ago already. Anyway, ... (CodeUnit)
Cross Platform Regular Expression (RegEx) Tool: RegExr | Regular expressions are plain and simple an enormous headache - but man when you get them to work for you then they are the most powerful guns known to any string-manipulating madman out there. By now of course there are plenty of great tools to run ... (CodeUnit)
Ubuntu: How to Reboot or Shutdown from the Command Line | If you're using Ubuntu or perhaps another flavour of Linux, there come a time when you need to either reboot (restart) or shutdown a machine via a terminal (command line) or shell command. Of course, it does come as no surprise that in order to carry ... (CodeUnit)
Investigate when a Windows Server Lost Power | Our server room went down the other day and I was called upon to investigate at what time more or less did the room actually lose power. Now the easiest way to figure this one out is to investigate on the Windows 2003 Server machine, making ... (CodeUnit)
Preview MP3 Music Files in Ubuntu | Ubuntu has for a while now (and this is still to be found in the latest Karmic Koala release) included an extremely nifty and helpful little built in preview tool that is aimed squarely at music files like the classic MP3 format for example. And to ... (CodeUnit)
Internet Explorer: Restore File Download Dialog | If you're still using Windows XP (hey, not everyone can afford to just upgrade willy nilly), today's little tutorial is specifically for you. If in the past you've accidentally unchecked that little box reading "Always ask before opening this type of file" when trying to save ... (CodeUnit)
Where do I find that old Word 2003 Command in Word 2007? | Microsoft's word editing platform Word 2003 was around for many years and is to this day still being used in many an office around the world. However, Microsoft did of course replace it back in 2007 with the updated Word 2007 which formed part of ... (CodeUnit)
Webcomics on WordPress: ComicPress! | By now, we are all familiar with WordPress, the blogging platform that literally revolutionized the web and placed the role of content creator into the hands of millions of everyday, casual users. Funnily enough though, WordPress also lends itself as the ideal way of publishing ... (CodeUnit)
Wordpress 2.9.1 Officially Released | I see the guys at WordPress sneaked 2.9.1 live this morning, with this quickfire release attending to a number of annoying glitches and bugs brought in by the big 2.9 release that just happened a few weeks earlier. As per usual, you can download it from ... (CodeUnit)
Ubuntu: Batch Resize Your Images using GIMP | Digital Cameras these days take fantastically detailed and large photos, brilliant for printing and editing but not always that great if you want to simply pop them up on the web for everyone on FaceBook to gaggle over. So obviously a spot of resizing is ... (CodeUnit)
Ubuntu Keyboard/Mouse Shortcut: Folder Icon Zoom | Probably not an Earth-shattering Ubuntu keyboard/mouse combo shortcut for today's CodeUnit post, but it is quite a useful one to know and it is pretty widely adopted as a kind of a standard, particularly seeing as Windows also allows for the same kind of zooming ... (CodeUnit)
Using jQuery with other Javascript Libraries: jQuery.noConflict | You'll often find yourself using frameworks that may be running a number of different javascript libraries such as MooTools, jQuery and ProtoType (depending on the various involved developers' plugin preferences of course), which leaves you with the interesting quandry of what to do with the ... (CodeUnit)
Fix WordPress 2.9: Install 2.9.1 Release Candidate 1! | At least the guys at WordPress haven't been sitting back and doing nothing about the horrible host of bugs they introduced with their latest WordPress 2.9 upgrade and have scurried to knock together a 2.9.1 Release Candidate 1 package that addresses many of the issues ... (CodeUnit)
Filter archive by a category:
Jan (32)   Feb (28)   Mar (31)   Apr (26)   May (13)   Jun (18)   Jul (20)   Aug (18)   Sep (4)   Oct (9)   Nov (15)   Dec (12)   
2020 (0)   2019 (3)   2018 (3)   2017 (10)   2016 (18)   2015 (43)   2014 (53)   2013 (78)   2012 (80)   2011 (175)   2010 (226)   2009 (139)   2008 (40)   2007 (25)