Archive for the ‘Geekery’ Category

PHP 5 eAccelerator

Tuesday, September 18th, 2007
No Gravatar

This is a mini howto on installing eAccelerator.

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

Summary: Makes your PHP faster.

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


PowerDNS needs a new interface

Tuesday, September 18th, 2007
No Gravatar

PowerAdmin has been around since 21st October 2002, approximately 19:41 in the evening. Although it is a fantastic web based interface to PowerDNS with MySQL backend it hasn’t been updated since 2002. There has been a few updates now and again by 3rd parties, but nothing very positive.

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


SpamAssassin: How to protect against current spam attacks

Tuesday, August 21st, 2007
No Gravatar

Christopher J. Buckley has posted a good article on protecting against current spam attacks. Go on, take a look.

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Anonymous apache & PHP

Thursday, August 9th, 2007
No Gravatar

Like to be conspicuous? Like me.

Then use theĀ  ServerTokens and expose_php options. On a production web server I generally set these two options, pretty much stops and zero day hack attempts and other such nonsense

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Cheat Sheet - Seconds to real time

Saturday, August 4th, 2007
No Gravatar

Caching stuff? Expiring stuff? Crap at math(s)? Too lazy to boot up a calculator?
Here’s a cheat sheet of seconds to a more readable time!

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


My best Wordpress plugins

Monday, July 30th, 2007
No Gravatar

Here are a few of my Wordpress plugins that I can’t do without. It is by no means conclusive, just my personal preference.

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


bash - Argument List Too Long

Sunday, July 29th, 2007
No Gravatar

I’ve got several scripts that have been failing recently due to the high number of files in a directory.

Say for example, my site wide spamassassin Bayes learning script that runs nightly, it has started failing sometimes when a lot of spam has been caught by users.

I’d see

bash: /bin/rm: Argument list too long

A fix would look like this

for i in /your/directory
do
rm -rvf $i
done

find would probably also do the same job.

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Protoculous - Prototype and script.aculo.us

Friday, July 20th, 2007
No Gravatar

An unknown Frenchman did a great job at combining and compressing Prototype & script.aculo.us into one ultra-small single Javascript file.

At the time of writing he is on version 1.0.2 which includes Prototype 1.5.1 and Scriptaculous 1.7.1 beta 3
The Protoculous file size is 54.6KB

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Web 2.0 Summarised.

Thursday, July 19th, 2007
No Gravatar

fos.png

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Ubuntu sources.list Generatror

Friday, July 13th, 2007
No Gravatar

I had a problem with some slow Ubuntu sources today, instead of changing the whole sources.list manually, I stumbled over Ubuntu Nederland’s Source-O-Matic.

Slam in the country you want and it generates you a nice new file. Saves at least 30 seconds!

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo