Author: ai7pz


  • Check Out from Subversion Server (Photo credit: xmodulo) SVN is a great version control sytem. I use it to have all my files synchronized among the many computers I use. SVN arborescence conflicts typically occur when you delete a folder without using the appropriate SVN commands (e.g., “rm -Rf myfolder” instead” of “svn delete myfolder”).…

  • example of Python language (Photo credit: Wikipedia) When working with strings in a Python program, if you face errors such as: TypeError(“descriptor ‘lower’ requires a ‘unicode’ object but received a ‘str'”,) What you are looking for is the instruction below: unicode(mystr, ‘utf-8’) It transcodes your string to the target encoding format. I hope this post…

  • Django logo (Photo credit: Wikipedia) Django is a great web development framework. It provides a lot of features to setup a professional website in minutes. However, sometimes the errors messages that it provides are complex to understand. I am describing below how to solve an error that occurs if you want the user to upload…

  • Debian OpenLogo (Photo credit: Wikipedia) On my Debian squeeze, I had trouble making my WiFi card work on my HP DV5 laptop. Indeed, I could not activate the WiFi card under debian, even if I logged into windows and put it on/off. To debug the problem under Debian, I tried: sudo ifconfig wlan0 up But…

  • Head of celery, sold as a vegetable. Usually only the stalks are eaten. (Photo credit: Wikipedia) I am implementing a web app with Django. In my App, a user submits tasks, and receives an email when they are done.  The tasks can take a few minutes to complete, and an end-user can submit several tasks…

  • database (Photo credit: Sean MacEntee) I am new to south, and I made some mistakes with it. Fortunately, my database does not contain important data and I can recreate it from scratch. So let’s do it. mysql -u root -p> show databases;> use my_db> show tables; Then i drop my web app‘s tables (and not…

  • Django logo (Photo credit: Wikipedia) Have a look to the first two parts of this serie of Django tutorials, to see how to install virtualenv and django, and how to configure django with a mysql database. First a bit of vocabulary. We have seen that Django creates a package that contains the configuration of our…

  • Debian OpenLogo (Photo credit: Wikipedia) Logo used from the start of the Chrome project until March 2011 (Photo credit: Wikipedia) You can install Google chrome on Debian in only three steps: (1) go to https://www.google.com/intl/en/chrome/browser/ and download the appropriate .deb package (2)  Install it sudo dpkg -i ~/google-chrome-stable_current_amd64.deb (3)Solve dependency issues sudo apt-get -f install…