Tag Archive for shell

Epic win over Ubuntu 10.10 and stupid Intel video

Ubuntu Upgrade

I spent the last 30 minutes using w3m in tty2 and tty1 with lekker commands!
Translation: I spent the last 30 minutes using a text-only browser and typing commands in a terminal – the gui didnt load!

So for future reference, here is what I did:

  • add-apt-repository ppa: glasen/intel-driver && apt-get update && apt-get upgrade
  • gdm

And then I decided to blog it!
And had to use $mysql -u censored -p  and rediscover what i had changed the admin and test usernames to, plus reset the passwords using the MD5 function… OK, totally off topic, but I typed it anyway!

I wonder if the audio bug is fixed, or if I’ll have to hack the config again..
Tomorrow is another day!!

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

um, yes

tonight was really cool – didnt realise what who or why, but hey! jaime needs to see the light of day soon…..

random
ps. found an OLD version of my website on http://web.archive.org