A bit about me:

James Gravatar

Howdy! I'm James, a website developer who loves all things web. When I'm not in web developer mode I enjoy writing on my blog and gaming. When I'm not doing that I'm probably on Netflix going on the latest TV series binge.

Read more about me

Compiling IPv6 modules from source for DD-WRT

2
IPv6 modules in SSH console

DD-WRT provides a lot of builds for different flash chip sizes. Sometimes though, you might need a module or two that isn’t included in the compiled firmware. Fortunately because of the way DD-WRT is developed (open source) you are able to grab the DD-WRT kernel sources from SVN and do a bit of DIY kernel module compiling. Though its not as simple as it sounds, but hopefully this general guide you get you on your way in compiling kernel modules. For this specific guide I am demonstrating how to compile IPv6 modules.
Read more →

Upgrading to custombuild 2.0 on DirectAdmin

0
DirectAdmin Web Interface Admin Level

DirectAdmin is a control panel designed to make managing a web server easier. With control panels like DirectAdmin, installing and updating packages isn’t as simple as running apt-get install or yum install, most come with their own build system where packages are compiled with specific settings. DirectAdmin, is no different. It uses its own system called custombuild. At the time of writing this the latest stable version of custombuild is 1.2, though custombuild 2.0 is nearing stable release (currently RC5), but on a production server after running custombuild 1.2 for a while you’d be a little nervous as to how the jump from Apache 2.2 to 2.4 will be, or how your PHP apps are going to handle the jump from 5.3/5.4 to 5.5? Well luckily for you and myself I have a test server lined up to be able to perform the update (or migration I guess). Find out how I got on.

Read more →

Locale fix for Dell Backup & Recovery and AlienRespawn

0
6082.alienrespawn-wtf

One problem that I noticed since upgrading to Windows 8 was the new versions of Dell Backup & Recovery and AlienRespawn have a strange issue where by the text in the application simply consists of tokens like IDS_DS_000 all over the place rather than the correct English text being displayed. What could cause this issue? Was my recovery partition buggered? Did the software somehow get corrupted in the Windows 8 upgrade? Its actually none of those, find out what the problem was and the solution by reading more.

Read more →

Making your WordPress Dashboard and Logins go through SSL

0

SSL should be something everyone should be aware of on the internet. Even if you don’t know what it stands for (Secure Socket Layer by the way), everyone should at least recognise the basic icons like the green padlock or general padlock icon. You’ll often find it on online banking/e-commerce websites, your browser will be letting you know the website is genuine and your OK to punch your lovely personal details into it. Well WordPress has a dashboard and login system, which can go over SSL. Here’s a quick way of making that happen.

This guide assumes you have a valid SSL certificate already setup

In your wp-config.php file find the comment line:

/* That's all, stop editing! Happy blogging. */

Immediately before that line add the following:

/**
 * SSL for Login and Admin
 */

define('FORCE_SSL_ADMIN', true);

This will then force SSL on the dashboard and logins! You’ll find general port 80 requests to /wp-admin and /wp-login.php will get redirected automatically. Much more secure than your password going across in plain text. Because you know the NSA and PRISM probably have your connection to your ISP tapped… Woops probably said too much.

Quick Tip: Removing all your WordPress post thumbnails quickly

1

WordPress is a very database centric Content Management System, and like most systems the SQL database can be the best way to achieve a quick solution to an otherwise long and boring repetitive task. Here’s one of those tasks. I needed remove all the old thumbnails, due to bad sizing and thumbnail improvements. However I have over 100 posts, so I’ll be damned if I’m going to manually go through the WP dashboard and do it. Here’s a quick and easy way to kill all the thumbnails quickly via SQL

DELETE FROM wp_postmeta WHERE meta_key = '_thumbnail_id'

This will remove all thumbnail references on all posts and has_post_thumbnail() will return false.

If you needed to run this on a specific set of rows, you’d need to use an AND clause at the end of the above SQL

Note: Always run SQL commands like this on a testing server/localhost installation and have backups ready!

  1. Jump to:
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11