sun

Guys - want women to adore you?

April 26th, 2009 by mick

This is fascinating. I’ve been struggling for years trying to get noticed by girls. There’s a long version and a short version; of which I’ll give you the short.

If you act nice and pleasant to women (e.g. fall in love with them), they will hate you.

If you act totally indifferent to women, they will do likewise.

If you want women to notice, respect and even go out with you, then you will have to treat them mean. Not cruel, but definitely as subordinates. They will adore you and will chase you seeking affection (for a change).

I know this sounds weird, but it’s true. Try it yourself.

Debian 5.0 (lenny) and LDAP auth

March 31st, 2009 by mick

Posted here to save somebody some trouble. If you are using Active Directory or LDAP authentication using the libnss_ldap PAM module and upgrade to lenny, you may have some trouble with LDAP accounts being able to login.

In /etc/libnss-ldap.conf add the following line:

bind_policy soft

Also if you are using an ldaps:// URL you will either need to specify the port manually or set “ssl on”.


uri ldaps://my.ldap.server:636

or


uri ldaps://my.ldap.server
ssl on

Fortunate 1.3.8

March 27th, 2009 by mick

Fortunate update 1.3.8.

Added ability to call functions directly from page templates, with different arguments than the default. This allows to you have more than one quote on a page and provide complete control over theming and options for each invocation.

You may call the fortunate_fetch() function directly from your page templates to provide more than one quote on a page and with complete control of options and theming.

Example:

       
<?php echo '<div class="myownfortunate">'
. fortunate_fetch(array('lang' => 'fr', 'numlines' => 2))
. '</div>' ; ?>

This will produce a French quote of two lines (max) and allow you to theme
it using CSS as a different class than the standard quotation theme (class=”fortunate”).

The options array is entirely optional, and will use standard defaults for any setting not supplied.

It may consist of any of the following:

System settings:
‘root’         => string - location of WPINC directory
‘home’         => string - Referral URL [your website URL]
‘read_timeout’ => integer - number of seconds
‘conn_timeout’ => float - number of seconds

Quotation settings:
‘lang’ => ‘en’,'es’,'it’,'fr’,'de’,'ru’ - default is ‘en’
‘type’ => ” (Normal - default), ‘o’ (Offensive), ‘a’ (Any)
‘length’ => integer - maximum length of quotation - default unlimited (0)
‘numlines’ => integer - maximum number of lines - default unlimited (0)
‘pattern’ => string - return quotations containing this word - default ”
‘equal’ => integer - consider all data sources equally 0 or 1, default 0

Fortunate 1.3.5

February 9th, 2009 by mick

Minor update to fortunate, which adds category randomisation.

More languages

January 18th, 2009 by mick

Fortunate 1.2b (available here) now supports English, Spanish, French, German, and Russian.

fortunate-es

January 13th, 2009 by mick

I’ve started work on the Spanish language port of fortunate. The basic infrastructure is in place though I don’t expect to provide a release until some time in February; as I am still on holidays and not spending a lot of time at the keyboard.

Other languages will follow soon after.

Quiet Tyme

January 9th, 2009 by mick

Relos are visiting from overseas so I am taking a brief respite from online activity. Will return.

Nobody - I mean NOBODY

January 1st, 2009 by mick

Nobody does New Years fireworks better than Sydney. Check out the most recent annual ritual of the exploding coathanger -

The heat is on

December 31st, 2008 by mick

beach-31.12.2008

Temperature is in the mid thirties and I don’t have to return to work this year. Couldn’t think of a better way to end 2008 than to go to the beach.

It’s official

December 28th, 2008 by mick

Yesterday I tracked through the steps one needs to take in order to publish a WordPress plugin. Still awaiting confirmation of creation of a subversion repository in order to make full use of the wordpress.org plugin hosting service.

Not terribly fond of svn, but it’s just another tool. A pointer led me to register at wp-plugins.net which works poorly if at all. It appears that the RSS feed and add script are the only things that are functional there. I did discover that there is a registered plugin called ‘fortune’ already, aka ‘fortune widget’ . So as not to cause naming confusion, I’ve renamed my own work to ‘Fortunate’. Another annoyance of wp-plugins.net is that when an error occurs (such as a duplicate name), everything on the page is reset to blank and it takes quite a while to insert all the details required of plugins.

But it seems that wordpress.org has taken over so that’s where my future efforts will be expended. I’ve added Fortunate to the official 2.7 compatibility list so it should begin to see a bit of activity.

Cats are smarter than dogs. You can't make eight cats pull a sled through
the snow.

osaka-accountants.net abe6.com map-map-map.com whataboutdarby.com os-gv.com g881.com maitreyakennels.com sallysmidnighthour.com tmpremodel.com tony-and-tina-houston.com