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   

June 2010 Archive (18 posts)

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

JavaScript: Extremely Short and Simple is Numeric check | Here is a particularly simple and short validation check to ensure that a value received is in fact a numeric (i.e. valid number) value. To achieve this, we are going to be making use of Javascript's built in parseInt function to check for valid numeric strings, ... (CodeUnit)
Dull Colors when Printing on my Canon IP4500 in Ubuntu | Plug and play is a lifesaver in the world of Personal Computing, really it is, but in the same breath it can be quite frustrating when the default settings set aren't necessarily the optimal settings for your machine! Take my Canon IP4500 printer for example. ... (CodeUnit)
jQuery and AJAX: How To Send All Selected Values from a Multiple Select Box | Multi-select boxes are wonderful creatures in that they provide a particularly easy to implement user interface element that provides a great deal of functionality to the end user. Today's quick code tip looks at how one would send all user's selections made in a multiple ... (CodeUnit)
Ubuntu Lucid Lynx: Terminal Quick Launch by Right-clicking! | If you want an even quicker way of launching a terminal command line window outside of navigating to the Applications menu, selecting Accessories and then clicking on Terminal, then the excellent little Nautilus extension named nautilus-open-terminal is most definitely for you! To install, simply run: sudo aptitude ... (CodeUnit)
Ubuntu Lucid Lynx: Simple Resize of Images by Right-Clicking on It! | Seeing as we are all using Ubuntu/Gnome's powerful Nautilus file manager, a particularly quick and easy way to resize or rotate images by simply right-clicking on them comes courtesy of the extremely handy little Nautilus-image-converter extension. Installing this extension and then restarting nautilus (or simply logging ... (CodeUnit)
SQL: Finding Duplicate Rows based on Multiple Columns | Locating duplicate rows based on multiple column values with SQL turns out to be a fairly simple exercise. If we take the usual method for locating duplicate rows based on a single column's value, we see that locating a duplicate is nothing more than grouping on ... (CodeUnit)
Ubuntu Lucid Lynx: Simple Way to Mount a Samba Drive in Your Home Directory | Samba is a fantastic free software re-implementation of the SMB/CIFS networking protocol that allows for shared file and print services across a variety of Windows and Unix (and even Mac OS) platforms. Today's quick tip highlights a simple way of mounting a remote samba directory as ... (CodeUnit)
MySQL: Prevent Two PHP Scripts from Overwriting One Another's Table Updates | From day one, the problem with database-driven applications is of course that the potential for two separate scripts to overwrite data being used by one another when run simultaneously is pretty huge. One of the main ways of dealing with this is to use "locks", basically ... (CodeUnit)
SQL: Add a Unique Compound Key to an Existing MySQL Table | A simple question for today: how does one go about preventing duplicate rows based on the value held by more than one column being inserted into an existing MySQL table? Well the solution lies in the use of a unique compound key which is basically a ... (CodeUnit)
Simple way to Play MP4 videos on Your XBOX 360 | So you are already the master of streaming videos over to your XBOX 360 console using nothing more than Ubuntu Lucid Lynx, uShare and a UPnP, but here's a simple little trick for playing MP4 video files on your XBOX - without the hassle of ... (CodeUnit)
Ubuntu: Executing a PHP Script file from the Command Line | If you work as a web developer with PHP and all of a sudden you need a script to do something specific for you on a system (say as a cron job or such), there's no real need to switch to another scripting language like ... (CodeUnit)
PHP and Google Charts: Using a POST request when a GET String is too Long | Google Charts is an extremely stable and reliable web-based charting engine that is perfect for dropping into any project where you quickly want to produce some high quality graphs for your end user. The default way to generate a Google Chart is to simple create a ... (CodeUnit)
Ubuntu: How to View the Current Date and Time via Command Line | If you are working on an Ubuntu server installation that comes in the command line only variation, you might at any point in time want to see just what exactly the server's time is currently set to. Needless to say, getting the current date and ... (CodeUnit)
The Difference Between Include and Require in PHP | Just a quickie today, but a fairly important one at that. What is the difference between using include or require when pulling in data or functions from outside files into your main script in PHP? Well the answer lies in how the two different methods handle ... (CodeUnit)
FancyBox: Dynamically Change iframe URL before Lightbox Load | The excellent and rather flexible jQuery plugin FancyBox has become my defacto jQuery lightbox implementation and as such it has found its way into most of my project work. One of the cool little tricks I stumbled across was the ability to dynamically alter the URL ... (CodeUnit)
Javascript Debug Window Script | I found this little snippet of code floating around the Internet and despite its age, it still proves to be quite a handy little guy to have around when you are looking to quickly pop in a debug window in order to test some values ... (CodeUnit)
PHP: Print out all Variables passed to a Function | Working on old scripts can be quite annoying, particularly when you encounter an undocumented function and are trying to figure out firstly which inputs that function accepts, and secondly what it actually then does with it! Of course, the easiest way of determining this is to ... (CodeUnit) - The Daily Twitter Newspaper | is a fun little service. The premise for it is pretty simple. Register your Twitter account with them and they will then analyze all links it can find in any of your recent posts and those of the people you are following as well. Those ... (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)