So, you’re on Ubuntu, and you’re needing to download and apply updates. The problem is; you’re on a shared connection, or you’re still wanting to continue browsing at a decent speed. Nobody likes a bandwidth hog, right? Well, thankfully, there is a way to limit bandwidth usage, even though there isn’t an easy-to-use option. The example [...]
Tired of typing in your password everytime you SSH into your Linux box? Learn how to quickly and easily generate an SSH key, and share it between your server and yourself, thereby removing the necessity to enter a password in every time.
A new feature in CakePHP 2 is the ability to selectively enable and disable plugins in your APP/Config/bootstrap.php file. Plugins are no longer enabled by default in CakePHP 2 – you have to specifically enable them. However, with this functionality comes the ability to load up plugin bootstrap and routing configuration files. However, something to [...]
When setting up a network or SSHFS mountpoint in your fstab for normal user use, you may have come across an issue where issuing a umount command (after mounting the share, of course) produces an error: mount disagrees with the fstab. Well, I have a solution below that helps to resolve this. If you’re not 100% sure [...]
Debugging and viewing trace outputs from Adobe Flash can be tricky. I look at it installing the Adobe Flash debugger in this post, and provide some ways of monitoring the output generated by this debugger.
I’m pedantic when it comes to displaying nested items in a dropdown. I like to ensure that sub-items are suitably indented. My preference is to do this using spaces only. However, the problem in HTML is that multiple spaces are considered as one. Which blows this out of the water. Why not just use a [...]
I would much rather host with a hosting company in South Africa. Recently, I did some research with a view to move away from my current US-based hosting provider (A Small Orange) in favour of a South African-based provider. The comparisons only made me realise how little I pay for what I get, and what great value for money I’m getting!
Generating static pages in CakePHP, without having "/pages/pagename" in your URL has always been a tediously manual affair. However, there is a way to automagically generate the routes for these pages. I'll show you how in this post.
When writing bash scripts to run on Linux, it's often useful to perform operations relative to the executing script's current directory. But how do you get the absolute path to this directory? I have a useful little script that will get the current working path for you.
I just stumbled across a super useful blog post on the internals for PHP’s memory management; and explains the management process quite well. It’s an old article (from 2008), and I’m not too sure how much the memory management has changed, but it still provides some good principles. Think twice before passing that variable by [...]
Newer » « Older