1. long time

    Wow, I just noticed that my last post was 50 days old… I must have been busy, haven’t I?
    So, what am I doing? The first part time website in Ruby on Rails is going to be published and I was working on that almost every evening and weekend with Antonello.
    I should have written something about Rails and Ruby in here but … there is already a lot of material around the web. Maybe I’ll post something on GIT that is a bit more obscure :) …


  2. Rails and Passenger ( aka mod_rails )

    We tried to setup a rails application in a server subfolder in a way that could have been accessible through an URL like http://servername/rails,  so we followed the configuration manual for mod_rails.We found that, to make rails works in a subfolder, should have used the Apache parameter RailsBaseURI. …


  3. Rails ... the beginning

    Finally I started a little RoR project with my friend Antonello but we did it in the wrong way :D We started from the database design (not exactly the rails way) and we are trying to solve problems that a Rails developer usually doesn’t have like create the scaffold without migration scripts! Here are 3 simple steps to do it: …


  4. ignore .DS_Store forever in GIT

    With a couple of little commands, you’ll be able to ignore the .DS_Store files forever from your git repositories on mac! …


  5. LightTPD nightmare

    if are trying to use mod_evhost in lighttpd in a more advanced way like using deep subdomains or with particulars tld like “co.uk” aka 2tls, you should know that

    $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)$"{
    evhost.path-pattern = "/web/%5/%6/assets"
    }
    
    will NEVER WORK but
    $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)"{
    evhost.path-pattern = "/web/%5/%6/assets/"
    }
    
    WILL WORK. …


  6. .bashrc not executed

    Me and my friend Antonello, are going to start an experimental testing server to improve our skills in Ruby, PHP and start with Python as well. After the installation, Antonello provided me an access created with webmin but, after the login I noticed that bashrc, actually bash, was not executed! Editing /etc/passwd file, I was able to re-enable bash at login instead of sh: your user line should look like

    loginname:x:1001:1001::/home/antonio:/bin/bash
    
    and not
    loginname:x:1001:1001::/home/antonio:/bin/sh
    


  7. F*#king Eclipse (Parental Advisory : Explicit Content)

    This morning I had a lot of problems with my Eclipse Ganymede installation: svn plugin (subversive) refused to work properly… well, actually, it didn’t worked at all!! …


  8. Cleanup the system memory cache on linux

    what is that? you have done digited free in you linux shell and you see that all the memory is fulfilled by the cache? …


  9. svn: Entry has unexpectedly changed special status

    If you have this error after tryin a commit, for sure you have replaced a standard file with a symlink or viceversa, haven’t you? …


  10. proper nfs umount

    Hi …