David Goodwin’s blog
-
Automated twitter compilation up to 21 June 2015
Arbitrary tweets made by TheGingerDog up to 21 June 2015
-
PHP 5.4 + xcache -> PHP 5.6 + Zend OpCache memory usage
In relatively unscientific tests, it seems moving from PHP5.4 with xcache to PHP 5.6 with Zend’s OpCache can lead to approximately 50% memory reduction. (xcache was set to have a 64mb size, Zend OpCache is also using 64mb of memory).
-
Automated twitter compilation up to 14 June 2015
Arbitrary tweets made by TheGingerDog up to 14 June 2015
-
varnish throttling
I came across the varnish throttle module the other day – which seems quite useful – and certainly gives better control over abusive requests than using fail2ban (in that, only specific URLs/request types can be targeted and blocked with the throttle module, while fail2ban tends to trigger the blocking of any traffic from a client…
-
Automated twitter compilation up to 07 June 2015
Arbitrary tweets made by TheGingerDog up to 07 June 2015
-
Automated twitter compilation up to 31 May 2015
Arbitrary tweets made by TheGingerDog up to 31 May 2015
-
Automated twitter compilation up to 24 May 2015
Arbitrary tweets made by TheGingerDog up to 24 May 2015
-
The spam and regular expressions
I think the spammers need some help with their regular expressions….
-
Bash random number generation
Historically I’ve used $RANDOM as a random number source in bash — a bit like : RAND=$(( $RANDOM % 10 )) when I’ve needed a random number out of 0,1,2,3,4,5,6,7,8 and 9 one problem with this is that $RANDOM itself is populated between 0 and 32767 by the shell – so it’s not going to…
-
Automated twitter compilation up to 17 May 2015
Arbitrary tweets made by TheGingerDog up to 17 May 2015
Contact / Links etc