Tag Archive for Development

finding the Wen Emeth

I have been trying to make my site viewable on my BlackBerry, aka the MalcsBerry [according to Bruce]. My current theme poses certain obstacles that I disagree with, so I’m on the hunt for a new clean look that will be mobile [device] friendly!

During random times you may spot me testing a theme – oh wait, I’ll be doing it when no one is looking.
*shrug*
Some key themes I found adaptable were:

  • neuro
  • zeemagazine
  • northern web coders
  • wordsmith anvil
  • fastfood.

There were other themes, but they had lots of work to do.

That’s just what I needed to make a note of – my sporadic thoughts driving my body at 5km per minute!

Posted with WordPress for the MalcsBerry.

Headphone and speaker audio – a solution!

Just a quickie,

The solution is not necessarily in ALSA – I used PulseAudio to mute my speakers when i only want my headphones, and I hardly ever use the speakers so it aint no trouble for me being all manual.

Manual rocks, because if I unplug before stopping music/sound/audio/fish-fingers then the speakers wont vibrate the air!!

Applications > Sound & Video > PulseAudio Volume Control > Output Devices : Port = Analogue Headphones

Eat Me

Learning on the job!

I’m busy understanding how Regular Expressions work, simply via trial and error.
Funny thing is that I dont have anyone around me who can teach me this stuff, who is not busy…

So here is what I have learnt (taken directly out of my comments) in the past 30 minutes of getting real angry at spam that the filters dont block :

  • /can you do (this|that)/i -matches, ‘can you do this’ or ‘can you do that’ (case-INsenSitivE)
  • [[:alnum:]]{4,} -matches 4 or more letters or numbers, upper or lower -case
  • \D{3} -matches any three characters
  • something between [ and ] like [a4] will match either same or s4me
  • the ‘in?c’ matches either ‘ic’ or ‘inc’
  • the \b stipulates the word boundary between word (\w) and non-word (\W) characters
  • the [[:punct:]]{1} matches any ONE punctuation character
  • the /D is a non-digit and a \d is a digit, so /D{2}\d{3} matches ab727

Can you tell me what this does??
/^Download Prevxx? S[4a]?f[3e]?[0o]nl[1i]?n[3e]?/i