Archive for the ‘Software’ Category.

Introduction to Event-Driven Programming and the Reactor Design Pattern

I gave this 5mn lightning talk to my team:

Presentation on Scribd

I will post more on the subject in the future:

One of my personal project involves PubSubHubbub and EventMachine and I’m becoming curious|excited about Javascript’s Node.JS.

Networking in Debian 4.0 (Etch) VMWare images

Recently I’ve come across a couple of vmware images of Debian Linux 4.0 (Etch) where the network didn’t work. A call to ifconfig didn’t show ‘eth0′ at all.

I’ve tried to compare the configuration difference between a successully running Debian Linux 5.0 (Lenny) and these Etch image without success.

I found the solution by chance on a vmware image vendor’s web site:

rm /etc/udev/rules.d/z25_persistent-net.rules && reboot

Git

I’ve been kind of working on a git tutorial for a while now.
I’ve recently realized that there are two different work flows ( git+subversion  and github.com) that I use regularly and that trying to describe them both in one tutorial made it quite confusing.

I’m going to remake them in two tutorials instead of one. In the meantime here’s the content of my bash profile with the elements I use to smooth my daily experience of git:

#### start Git #####
alias g='git'
alias gco='git checkout'
alias gma='git checkout master'
alias gst='git status'
alias glo='git log'
alias gca='git commit -a'
alias gsd='git svn dcommit'
alias gcav='git commit -v -a'
alias squash='git merge --squash'
alias gpatch='git format-patch'
alias saw='git branch -D'
alias rollback='git reset --hard git-svn'
alias uncommit='git reset --mixed HEAD'
alias fixlastcommit='git commit --amend'
alias branches='git branch -a'
alias grow='git checkout -b'
alias plant='git svn init'
alias gclone='git clone'
alias hide='git stash'
alias unhide='git stash apply'

export PS1='\w $(git branch &>/dev/null; if [ $? -eq 0 ]; then \
echo "(\[\033[00m\]$(git branch | grep ^*|sed s/\*\ //)) "; fi)\$\[\033[00m\] '

#### end Git #####