Web Design Articles - web design tips and advice

Our Printer has a Twitter Account

toyota-priusDallas has turned over a new leaf this year, with a very vocal commitment to the environment.

He proclaimed loudly on twitter:

@DallasClark reducing the amount I print (one page at a time) 1:14 PM Jan 11th

Now, we were skeptical about his commitment given his keenness for printing specification documents the size of phone books.

We decided to keep him honest and give our printer a Twitter account http://twitter.com/thekndprinter. Every time he prints, it sends out a tweet. Genius!

Here’s how it’s done.

NOTE: If you are not a programmer, you may prefer to douse yourself in petrol and take up smoking than read this next bit. [Read more →]

Support Website Launched

We have decided to create a clean, simple to use support website to help all our clients (or anyone with Internet access) to access support articles on questions and issues we face on a day to day basis.

Check out http://support.knd.com.au and bookmark it if you wish.

If you still have issues or queries after visiting the support website, don’t hesitate to comment on the article or simply give us a call on (07) 3832 4077.  Suggestions for articles are also welcomed.

Replacing Apache with NGINX and HTSCANNER

WHY?

We run a lot of wordpress sites, and the one thing that seems impossible to manage is the bloat we get from plugin usage and incorrectly sized images uploaded by site administrators.  Often a site can get to the point where it takes 30 seconds plus to load. Needless to say, we then get complaints about the slowness of the site.

[Read more →]

Installing Zabbix Agent (1.6.4) on Free BSD 7.1

Quick Introduction

This article is a HOWTO  to ease the pain of setting up a Zabbix Agent on Free BSD (7.1) Server.  Zabbix is a monitoring platform that has a server, proxy  and agent architecture. I really don’t want to get into an explanation of what Zabbix is or whether you should use it. Hopefully you should have already discovered its usefulness and just need to do a little installation. That said, you can read about it on their website http://www.zabbix.com.

This HOWTO covers the installation of the Zabbix Agent from source. Please note: I am keeping it fairly general so I am not discussing all the options that you can shove in the Zabbix Agent Config File. Zabbix do that pretty well themselves in their quick starts and configuration guides

[Read more →]

Getting Permalinks Working in Wordpress on IIS

This is a frequent question for most IIS users on how to get permalinks to work in Wordpress, it’s fairly simple really once you know how of course. So the problems are, you’re using IIS so using mod_rewrite won’t work, you’re on a shared server so installing a mod_rewrite alternative for IIS is not available either. You can have URLs with a index.php in them (for example http://www.yourdomain.com/index.php/2009/03/17/getting-permalinks-working-in-wordpress-on-iis) but they’re pretty ugly looking and doesn’t fit into the URL standards (in other words, it’s just nasty).
[Read more →]

JavaScript: Why does parseInt(“09″) show the value of 0?

That’s because “09″ is an invalid number, in octal.

The parseInt() funciton acutally has 2 arguments that most people are not aware of, first is the string to parse and then a radix (which is optional). The radix value allows you to convert a binary (base 2), hexadecimal (base 16) or other base string to a decimal integer.
[Read more →]

Very Simple Regular Expressions (Starting with Numbers)

If you want to validate strings, text, or whatever it may be, validating with Regular Expression is an easy way to determine that the data is valid. Whether it’s an application or a web-site, you can validate users’ input to ensure it has met all requirements before continuing, or validate your own data.

[Read more →]

Installing IPMITOOLS on Debian or Centos 5

Introduction

Had a dodgy disk playing up in one of our production servers, thought that the quickest way to check it out would be to use the  servers’ Intelligent Platform Management Interface (IPMI) interface.  I am running Debian Etch server on a DELL 1850 with a Baseboard Management Controller (BMC) card.

[Read more →]

KND vs Google Analytics

The Problem

A strange query came in the other day from one of our clients. They wanted to know why our custom statistics package was reporting more click throughs to their site than Google Analytics was. The margin of error I may add was in the order of 30:1.

[Read more →]

Apache Redirect vs Rewrite

How to Redirect

Nicki mentioned redirects this morning and that started me thinking (light strains of banjo). There are many ways to change the destination of a URL to another URL depending on language and access to the web server. Let’s look at the implications of some of these methods. [Read more →]

Installing MySQL (OurDelta Build) Replication

Using Replication as Backup

This is just a quick run down on getting replication going as a mild form of backup. It WILL NEVER ever replace a good backup strategy, but it at least ensures that most of your SQL data is in two places.

[Read more →]

MySQL and SQL_MODE Strict and Package Blindness

The many configurations of MySQL Servers can be tricky. A real problem can arise when a development database server is not identical to the production one. Obviously, one can’t cater for every possible deployment environment; especially when you use other ISPs servers.

[Read more →]

Passive/Active FTP and LVS

Introduction

FTP is pretty much taken for granted, and is the often overlooked de-facto method for back-end updates and scripted data transference. In fact, I personally only ever use SFTP and if I need to automate such things I use rsync tunneled through SSH. So, it comes as no surprise that a lot of programmers (read that as developers) use what’s easiest and most prevalent, hence a lot of client applications using the far simpler FTP protocol.

[Read more →]

Stretching the LVM on a VMware Debian Virtual Appliance – live!

Introduction

A common scenario occurs when you have more data to store than the original analysis indicated. How do you expand your storage or shift to a more capable machine without disruption to the site? I always use Logical Volume Manager (LVM), where possible. You never know when you might need to increase the size of your disk.
[Read more →]

Version d7 of MySQL by OurDelta Released

If you are like us and like a good stable build of Debian (Etch 4.0), you may have had trouble locating a recent build of MySQL as a DEB package. Arjen and the kids over at OurDelta have rolled a magic build of MySQL (Release 5.0.67.d7).
[Read more →]