Author: Adi

Handy GIT commands for an agile workflow

GIT is one of those tools that everyone uses but I find everyone uses it in different ways. Many prefer to use the Terminal for everything, some use their IDEs and others got for whole GUIs like Git kracken. Personally after trying all sorts of ways I’ve settled on just going full terminal which I […]

Update all the packages in your packages.json file

The Node Package Manager has made it really easy for developers to make large scale apps using open source software, although it’s easy to let a project get out of hand if you require a lot. It can also be a security risk if you don’t keep them up to date. Thankfully there is a […]

Nodejs and MySQL json feed

If you’ve got experience of using Javascript I can’t recommend trying your hand at node.js more. It’s really versatile and easy to pick up, with it’s modern architecture it performs really well on processing a lot of information through things like feeds and can integrate well with a website built with a LAMP setup. For […]

Running node.js along side a website using Apache

Node.js doesn’t need apache to run but if you’re running a node.js script on the same server along side the rest of your website we can set this up with some basic apache config. Node.js will probably be running on it’s own port so make note of what that is. Take a look at your […]

Install Node.js on Ubuntu

Node.js is an amazing piece of technology for helping you develop scale-able mobile friendly websites and apps. It’s growing in popularity massively due to it’s logical and modern approach to web programming. Where as before you would need to learn something like Javascript for front end development and PHP for back end, Node lets you […]

WordPress HTML sitemap without a plugin

Being a WordPress user of many years I’ve found not much can go wrong with the open source CMS but when you have too many plug-ins it can be hard to keep them up to date. Where possible I always try to build a site which wont rely on them the main reasons for this […]

Wordress – Add a search form to individual category pages

This will be really helpful on WordPress websites which have thousands of pages. Even if they are categorised it can be hard to find a post. This code will add a search box to the top of the archive / category pages. The search box will then only display results for that specific category. There […]

Awesome Cloud web hosting with SSD HD for $5 a month

Being a web developer for the last fifteen years it’s hard to think I got along for so long without Digital Ocean web hosting. I’ve been using them for about two years and have been the only host in all my time of making websites I haven’t had a problem with. I’m guessing the support […]

Auto update multiple installs of WordPress with cron/ssh via bash script

With WordPress being updated more frequently than ever with new security fixes and features it’s important to keep you site up to date with the lates version of WordPress. Running one update is easy and quick enough but if you have a dozen or more WordPress sites on one server you can update them all […]

Ubuntu auto restart cron for Apache and Mysql after crash

Websites never sleep but you may want to, this script lets you do that without having to worry about Apache or Mysql crashing randomly. Obviously if you have reoccurring issues its best to check through the log files and fix any issues but this will help reduce down time on vital software crashes to less […]

Apache MaxClients

Working with Ubuntu or any other Linux distribution you really do learn something new every day. Yesterday one of my servers looked like Apache had Crashed. Symptoms: Loading a web page wont return a 404 or 500 error just a blank page Restarting Apache will help for a minute or two It’s a reoccurring issue […]

PHP Spam Blocker

If you have a problem with Bot user’s and spam in WordPress the best solution is setting up Akismet. It’s an easy to use plug-in that just needs an API key. For Bespoke websites there isn’t a one click plug-in but there is a super easy to use Bot database called BotScout with an API […]