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
conda and bioconda channel
Anaconda ( https://www.continuum.io/downloads ) provides a Python distribution with more than 400 of the most popular Python packages for science, math, engineering, and data analysis. Anaconda installs an executable called conda that will be your entry point. Anaconda solves two … Continue reading
pypi upload failed (401)
On a new computer after a fresh installation, I tried to upload a new version of an existing package on the pypi repository. Of course, I have already a username/password and uploaded packages in the past. However, in the source … Continue reading
Installing Fedora 23 in dual-boot and post-installation
I’ve just installed Fedora 23 from scratch in dualboot (with an existing windows partition). The installation is better and better and you do not need to create the partition under windows. Just downloaded the iso file from fedora website and … Continue reading
python: certificate verified failed
I was just trying to download a file on github (raw) using wget package (or curl) under Python2.7.11 and Windows 7. I got a certificate error as follows: IOError: [Errno socket error] [ SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)IOError: [Errno … Continue reading
Installing a perl module under linux
Sometimes you need to use perl… and quickly you need to install a missing dependencies. you can do it manually but it can be cumbersome. Here is another way using cpanminus tools: curl -L http://cpanmin.us | perl – –sudo App::cpanminuscurl … Continue reading
Starting with docker and creating an image with ipython
On my fedora box, I followed the instructions from the official web page: https://docs.docker.com/installation/fedora/ sudo yum -y install docker sudo systemctl start docker sudo systemctl enable docker sudo docker run -i -t fedora /bin/bashsudo yum -y install docker sudo systemctl … Continue reading
git error: cannot do a partial commit during a merge.
After a pull command, I ended up with a conflict in a file, which I fixed by manually editing the file (search for the
How to update a forked repository (github)
I followed those steps and it worked like a charm using github interface assuming there was no changes between the fork and main repository Open your fork on GitHub. Click on Pull Requests. Click on New Pull Request. By default, … Continue reading
Moving from SVN to git: $Id:$ equivalent
In SVN (and CVS), you could include special strings such as $Id:$$Id:$ and after a commit, the revision number would appear after “Id:”, which was a convenient way to retrieve the revision for instance in a print statement. Apparently, with … Continue reading
migrating a SVN sub-directory to GIThub
Follow-up on a previous about migrating an entire SVN repository to github keeping the history: For a sub-directory within a SVN, you should use git svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directorygit svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directory without the –stdlayout … Continue reading