Brain Goo

Carpe Crap ‘em

Brain Goo header image 4

Entries Tagged as 'Software'

PERL How To Print A List Without A Loop

February 6th, 2009 · No Comments

PERL has a built-in function called join() that will concatenate a list with a given string. The official perldoc states:
join EXPR,LIST
Joins the separate strings of LIST into a single string with fields separated by the value of EXPR, and returns that new string. Example:
$rec = join(‘:’, $login,$passwd,$uid,$gid,$gcos,$home,$shell);
From the code example, you can make CSV [...]

[Read more →]

Tags: How Tos · Programming · Software · perl

Word Press problem Unknown: Releasing SysV semaphore

July 14th, 2008 · 1 Comment

If you have WordPress installed you may run in to an error that constantly prints something like this:
Warning: Unknown: Releasing SysV semaphore id 58 key 0×152b in request cleanup in Unknown on line 0

This is not an error from WordPress, but from the WP Super Cache Plugin you forgot you installed. The error [...]

[Read more →]

Tags: Apache · How Tos · Software · blogging · offsiteHowTo · wordpress

RBLs with Exim4 (debian friendly)

January 11th, 2008 · No Comments

Denying connections based on RBLs is a snap with Exim4. Most confusion is related to ACLs and where the definition sits.
The fastest way to deny based on RBL is to add it to whatever ACL you specify in acl_smtp_rcpt
However, you MUST put the declaration AFTER any relay allow definitions. ACLs are based on [...]

[Read more →]

Tags: Email Servers · Exim · How Tos · Mail Post · RBL · SMTP · Software · spam