Home Account

Blog index

remove all dirs with selected name

12-Sep-2013 15:41:10 dennis

Tags: php scripts-and-functions

How to remove dirs with a special name using PHP and the unix shell.


Ubuntu upgrade. 535 5.7.8 Error: authentication failed: authentication failure

18-Jun-2013 16:44:15 dennis

Tags: postfix

535 5.7.8 Error: authentication failed: authentication failure. Postifx, saslauthd, ubuntu upgrade 10.04 LTS to 12.04 LTS.


Ubuntu shutdown timer script

03-Apr-2013 15:22:30 dennis

Tags: scripts-and-functions cron hello-world

Show how to create a automated shutdown launcher on Ubuntu with gnome, php and a crontab entry.


git auto commit script

25-Mar-2013 12:53:50 dennis

Tags: php scripts-and-functions git

Simple script to perform the steps involved in adding, committing and pushing to a remote git repo. It rewrites the https URL to ssh URL in the process.


simple github api php

29-Dec-2012 16:44:42 dennis

Tags: php oauth

a verfy simple github API for PHP with example.


create large text file with php

13-Dec-2012 11:40:46 dennis

Tags: php

Howto create a very large text file with PHP


anonymous and inline functions with php

20-Nov-2012 18:25:36 dennis

Tags: php

Using inline and anonymous functions with PHP. Some tests and thoughts about function scope.


recursive chmod files with php

26-Oct-2012 13:38:40 dennis

Tags: scripts-and-functions

Shows how to chmod files recursively with PHP


the best way to write

30-Aug-2012 14:33:10 dennis

Tags: Quotes

The best way of writing something. If you get stuck, this Ernest Hemingway quote may help you if you write something - like a novels or a computer programs.


simple css compiler written in php

28-Jul-2012 20:56:04 dennis

Tags: php css

Blog entry showing how to make a very simple CSS compiler with PHP and CSS, without much effort.


auth plain smtp

07-Jun-2012 14:18:57 dennis

Tags: php smtp

This short piece of PHP code generates valid AUTH PLAIN for smtp servers, at least Postfix. Can be used when testing smtp with telnet.


unique id with multiple tables using sphinx

28-May-2012 03:27:04 dennis

Tags: mysql sphinx

How to create unique ids with multiple tables using Sphinx


NO-IP client written in PHP

17-May-2012 13:34:45 dennis

Tags: scripts-and-functions no-ip

Small and simple PHP client for the no-ip.com API for hosting domains on a dynamic IP.


apc crashes when no file is uploaded

09-Apr-2012 19:55:15 dennis

Tags: php apc ubuntu

Fixing APC upload bug when no file is given in upload field. Complies to PHP 5.3.5-1ubuntu7.7 on Ubuntu 11.04


build php solr extension on ubuntu linux BLA

14-Feb-2012 17:07:19 dennis

Tags: apache2 solr php

I had a few problems building the php5-solr extension with the regular pecl command on my Ubuntu 10.04 box, so this will show you how it is done. I guess it will work with other versions of ubuntu as well.


subdomains with dnsmasq on localhost

10-Feb-2012 17:09:08 dennis

Tags: dnsmasq linux

How to use multiple sub domains on localhost for web development with dnsmasq.


The lyf so short, the craft so long to lerne

01-Feb-2012 16:56:29 dennis

Tags: Quotes

"The lyf so short, the craft so long to lerne." - Chaucer


rename files recursively php

31-Jan-2012 17:14:57 dennis

Tags: php scripts-and-functions

A couple of function to use in order to rename a directory recursively. Needed it at my work and could not find anything that worked the way I excepted.


simple event dispatcher php

29-Dec-2011 17:48:10 dennis

Tags: php scripts-and-functions

Most simple example of an event dispatcher I can think of. Written in PHP


parse ini file cached with APC

29-Dec-2011 14:45:37 dennis

Tags: php scripts-and-functions apc

This is short howto which describes how to cache php ini files with APC by default. Ini files are not cached by APC by default.