JIRA - ictime plugin worklog

Posted on 27 February 2015 – 2 minute read

JIRA is my preference in issue trackers, it’s well designed, flexible, well priced and integrates nicely into my other Atlassian products such as Confluence and Stash and also 3rd party products, for example Jenkins Continuous Integration server.

Another bonus is the external plugins that can be installed either for free or for a varying sum normally dependent on number of users. One of the plugins I had been using was ictime as it enabled me to see a bigger picture of what hours I’d spent working on a project.

vsftpd - 530: Login incorrect

Posted on 09 December 2014 – 2 minute read

I needed to configure an FTP server on my Debian backup box due to some remote windows backup configurations. I initially edited the config files by hand with Vim, but installed a Webmin module to test too. I enabled the virtual users option, but then decided that this wasn’t actually required as I only needed a single login for the purpose. The problem now, no user was able to login, virtual or otherwise, all I kept getting was the dreaded 530 Login incorrect message.

PEAR shaped!

Posted on 29 May 2014 – 1 minute read

Pecl extensions, some great, some OK… I was looking to install Pecl_Http on my CentOS box, except this kept throwing errors.

Undoing Photoshop

Posted on 29 May 2014 – 1 minute read

I’ve used Photoshop to some degree or other for many years now, since version 5 and the one thing that always bugged me, was hitting Ctrl+Z only undoing the last operation and would toggle that undo as an undo / redo function.

I was working on a sketch earlier and for some reason, while Ctrl+Zing, I hit also Alt; what happened? It started to undo not just the last action, but the one before last too, and the one before that and so on!.. so whilst this might be common knowledge for professional Photoshoppers, for myself (and possibly others), this was a most pleasant surprise and makes working with a graphics tablet especially, a lot simpler!

HTTP Basic Authentication unless accessing from specified IP address

Posted on 10 April 2014 – 1 minute read

I have a portal site providing quick links to public, private and development projects. I wanted to access this without hindrance from my internal network and one other specified IP address, but also wanted to be able to access this site from anywhere else on the internet, but to keep the access private. A .htaccess file and Basic HTTP Authentication can be combined to specify an IP address to allow access straight through, and to require login credentials for all other access.

Custom SPL Iterators

Posted on 20 March 2014 – 2 minute read

While working on a mobile website for Safelite® AutoGlass, I needed to filter out some objects held within an array. This could have simply been hacked with a basic foreach() loop and some if() / else() statements, but this wouldn’t have resulted in the most reusable code, so I decided to look at the SPL and its many Iterators.

I opted for the RegexIterator and FilterIterator as bases to extend. This allowed me to easily filter objects based on one or more of their properties.