I found the Site Administrator Documentation for Mailman. In it I found the /usr/lib/mailman/bin/mmsitepass command which can reset the site password.
Category Archives: Programming
Hash-based Message Authentication Code
Raz suggests adding a HMAC to our password hashing scheme.
30 books everyone in software business should read (and why)
A friend of mine send me a link to 30 books everyone in software business should read (and why). I’ve read a few of the books on the list, but I’ll have another look when I have some more free time.
MemberNet PHP tests now have submenu
I’ve been working on my PHP tests system on my MemberNet site.
As you can see if you check out one of the tests, for example the phpinfo test, there is now a submenu that has links for the HTML source, the PHP source, the W3C HTML validator and the W3C CSS validator.
HTML <select> multiple Attribute
Was experimenting with the HTML <select> multiple Attribute today.
PHP str_pad
Found myself using the PHP function str_pad today to format a hex string as a six digit HTML/CSS colour code.
e.g.:
$code = str_pad( dechex( $rgb ), 6, '0', STR_PAD_LEFT );
The str_pad function is implemented in JavaScript at jsphp.co.
HTML/CSS hexadecimal colour codes
Found a few handy web pages that help pick HTML/CSS colours. Hex Hub and Hexadecimal Color Codes.
Making a HTML element’s width equal to its contents
Today I learned how to make a HTML element’s width equal to its contents.
Basically you use CSS and set the element’s “display” property to “inline-block”.
PHP ini file allow_url_include configuration option
Today I enabled the allow_url_include configuration option in PHP on Apache on ProgClub MemberNet. This allows me to include a source file directly from svn, e.g.:
require_once( 'https://www.progclub.org/svn/pcrepo/slib/trunk/src/uri.php' );
Themeing my MemberNet web-page
Finally got around to making my MemberNet web-page look nice and pretty. Also integrated the look and feel with all of my PHP tests.