nerdish

Cap'n Crunch

[Dlin dlon] Informazione gratuita...

John Draper alias Captain Crunch, probabilmente presenzierà al MOCA.

Secondo voci di corridoio alla richiesta degli organizzatori di presenziare all'evento lui avrebbe risposto: "sì ok, ma ci sono rave in zona?"

Nuovo tema per Ubuntu

http://www.phoronix.com/scan.php?page=article&item=ubuntu_810_alpha1&num=2

Il nuovo tema di Ubuntu che, penso, chiameranno "beige su cacca".

Dio bono, ma ... il piano di lavoro beige. E' la cosa più idiota che abbia mai visto.

Chuck Norris in Ruby

intinig ported Chuck's roundhouse kick power to ruby! Take a look:

http://github.com/intinig/chuck_norris/tree/master/chuck_norris.rb

Laughing out loud

The perfect duration of script.aculo.us effects...

...

... is 0.3. Period.

[OLD] white & nerdy

Well, this video is from ages ago but... I never blogposted about it so here it is Sticking out tongue

Mac OS X 10.6

I've got it!

Mac OS X 10.6.4

Evil is everywhere.


Transmitting file data ..

Committed revision 666.

What does your .bash_history say?

A friend of mine told me that on techie blogs there is a new meme going on: show off the most used commands, starting from shell history:

history | \
 awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | \
 sort -rn| head -15

I've got 20 times the default bash history size (10k lines), so it'll yield interesting results. I also use the history timestamp feature, so a little sed strip timestamps out.

Let's see:

 13:19:50 vjt@voyager:~/code$ history | 
     sed 's#^[ 0-9\[\/\:]*\]\([^ ]*\).*#\1#' |  

Remove a lightwindow trigger link after an AJAX call

Well, this is the result of 2 days of head-banging with lightwindow:

Index: public/javascripts/lightwindow.js, line 444

  _removeLink : function(removed) {
    // remove it from the links array
    //
    this.links = this.links.reject(function(link) {
      if (link == removed.href)
	 return true;
    });
    // remove it from the gallery links array
    //
    if (gallery = this._getGalleryInfo(removed.rel)) {
      klass = gallery[0];
      name = gallery[1];
      if (this.galleries[klass] && this.galleries[klass][name]) {

============================================================================================================================================