Follow me
-
Recent Posts
calendar
December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Author Archives: Thomas Cokelaer
Python header
This post is about what to put on top of your Python script. You may have seen Python script starting with something like: #!/usr/local/bin/python # coding: latin-1#!/usr/local/bin/python # coding: latin-1 and wonder what it is useful for or do you … Continue reading
R language: object oriented programming
I’m used to object oriented programming in languages such as C++ and Python and I should say that the R syntax is not the most intuitive I’ve seen. Besides, it is quite difficult to find a good documentation about it. … Continue reading
Configuring wireless under RaspberryPi xbmc
Here are the instructions to configure a wireless (belkin). Most of the instructions were found in the reference [1] but I got some issues with the wicd-curses installation, for which there is a solution later in this post. First, follow … Continue reading
raspberryPi: installing xbmc
Here is the procedure I followed to install raspbmc (reference) Let us say that you want to install the raspbmc distribution on a new sd card. Be aware that the content of the sd card may be overwritten.. First insert … Continue reading
Setup a server on your raspberryPi
This is a summary of what I did to setup a server on my raspberry Pi. This is based on previous post on the same topic and this link: http://www.instructables.com/id/Raspberry-Pi-Web-Server/ Before starting, make sure that your raspberry software are updated … Continue reading
Web Services in Biology
There are quite a lot of web services in biology that provides various information about genes, pathways, ontology and so on. I found it quite difficult to look for the relevant services. There is a nice portal though, which is … Continue reading
Solving a Linear Programming problem with Python (Pulp)
Linear Programming is a type of optimisation where an objective function should be maximised given some constraints. Let us consider the following simple problem (from The GNU Linear Programming Kit, Part 1). Let us say that you want to maximize … Continue reading
Raspberry pi: first steps
My first raspberry pi arrived !! I pluged in a USB mouse and keyboard, the SD card I bought at the same time (it has already a linux system on it), a hdmi cable to the first screen I found … Continue reading
How use R to build permutation or combination
In a previous post, I used itertools in Python to create combination and permutation using the standard module itertools. What about using R language to perform the same task. The permutation function allows you to get permutation of N values … Continue reading