Notes

Note à moi-même: Setter le password d'un nouveau user pour svn

Jeudi 4 décembre 2008
Par carlpelletier

sudo /usr/sbin/htpasswd2 /var/svn/conf/all.passwd »

Note à moi même: Récupérer un répertoire supprimer de svn

Mardi 9 septembre 2008
Par carlpelletier

Il m’est arrivé à quelques reprises de supprimer par mégarde un répertoire de mon svn. Evidemment, si on s’appercoit de la chose avant de faire un commit, il suffit de faire un svn revert, mais que fait ton quand le commit est fait? la réponse: on fait un svn copy du répertoire qui a... »

Note à moi même: Ajouter un user à svn

Jeudi 4 septembre 2008
Par carlpelletier

Comme je me rappel jamais comment ajouter un utilisateur à svn en mode apache, je le note içi: sudo /usr/sbin/htpasswd2 /var/svn/conf/all.passwd »

Note à moi même: backgrounDrb

Lundi 28 juillet 2008
Par carlpelletier

BackgrounDRb is a Ruby job server and scheduler. Its main intent is to be used with Ruby on Rails applications for offloading long-running tasks. Since a Rails application blocks while serving a request it is best to move long-running tasks off into a background process that is divorced from http request/response cycle. »

Note à moi même: cheat!

Mardi 15 juillet 2008
Par carlpelletier

The cheat gem contains a cheat sheet for the status codes. You can get the gem and view the status codes as follows: sudo gem install cheat cheat status_codes Pour voir la liste des cheat: http://cheat.errtheblog.com/b »

Comment créer une branche dans svn

Jeudi 3 juillet 2008
Par carlpelletier

Je ne me rappel jamais de la syntax pour créer une branche. L’opération est très simple, mais il faut juste le savoir! $ svn copy http://svn.example.com/repos/calc/trunk \ http://svn.example.com/repos/calc/branches/my-calc-branch \ -m "Creating a private branch of /calc/trunk." »

Note à moi même: Refactor my code

Lundi 30 juin 2008
Par carlpelletier

Est-ce que vous connaissez ce site web? Vraiment intéresant! Permet d’avoir l’avis de plusieurs personnes sur comment refaire une section  de code. Très pratique. http://refactormycode.com »