Synergy is a great way to allow you to extend your keyboard and mouse across multiple computers - you can even share your clipboard between these computers! QuickSynergy provides the UI to allow you to quickly use Synergy. But I found it a little cumbersome to understand at first ... so here's the tip that helped me get it up and running quickly!
This script is a simple way of reading an XML file (or XML web address) and parsing it with PHP into an object. In this way you can then easily read the data within the XML and use it in a web application.
Sometimes you may need to run a PHP file from the command line - this may be the case if you're running your PHP file as a cron job.
Recently a client came to me with a Domain Renewal invoice for their domain name. Before proceeding, I was keen to find out a little more about their on-line presence. Unfortunately, the client wasn't aware of where their email was hosted, their website, etc ... Fortunately, Linux has a nifty tool that can allow you to find these details - dig.
Part of owning a computer is also the process of disposing of that computer. However, before disposing of a computer, it is important to ensure that your hard drive has been wiped of all your data - simply deleting/re-formating a hard drive will simply hide your data, but will not delete it. So before looking to dispose of your old computer, take these extra steps to help you ensure that all your data is truly gone.
If you're using a Linux computer, Bash Scripts can be a powerful tool to help you complete useful tasks. A great script I have used is one that converts MP4 video files into MP3 audio files "on-the-fly". For me, this is a great way of converting online videos into audio files that I can listen to at any time.
With much of the styling of a web page now handles with CSS, the CSS files of a website can become quite complex. In order to maintain manageable CSS code, I often try to separate my CSS files depending on sections/elements of my website. However, at "run-time" on a production server, having multiple CSS files (with comments and indentation) can cause the site to perform (marginally) slower than an optimised site. Hence I wrote a PHP Class that can combine and minimise CSS files used on a web-page "on-the-fly".
Yesterday I wrote about how you can Create a TinyURL service with PHP and MySQL. However, for many of you, this may be overkill given the prevalence of a number of TinyURL services (including the actual TinyURL service) that offer a complete and easy to use solution.
Tiny URL is a great tool to allow you to shorten longer links. However, it can also be a great opportunity to track the click-throughs generated by that link to evaluate the level of interest in a link. There are a number of services that can do this for you. However, today, we'll look at how you can create your own Tiny URL service.
I recently wrote about Spell Checking your websites with Firefox. However another useful developer tool is the Link Checker - ensure that the links on your website work before loading the site with this easy to use Firefox Add-On.
I design & develop software that runs on the Internet. As a qualified analyst, accountant and real estate agent, I can deploy systems that improve performance.
Follow me: @andrewsirianni
Copyright ©2012 Andrew Sirianni, All Rights Reserved LinkedIn Profile