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
Category Archives: Computer Science
ipython autocompletion does not work
With IPython version 7.12.0 and python 3.7.3, Ipython crashes when I wanted to autocomplete a file or a module import. This fixed my problem: pip install pyreadline An the jedi package was set to 0.18.0 but this seems to cause … Continue reading
how to set the logging in DEBUG mode when using the python requests package
By default when using the excellent requests package, there is not much on the screen to figure out was goes wrong with a specific URL requests. In general, you do not need it but from time to time it is … Continue reading
git : How to remove a big file wrongly committed
I added a large file to a git repository (102Mb), commited and push and got an error due to size limit limitations on github remote: error: GH001: Large files detected. You may want to try Git Large File Storage – … Continue reading
git and github : skip password typing with https
if you clone a github repository using the https:// method (instead of ssh), you will have to type your username and passwor all the time. In order to avoid having to type you password all the time, you can use … 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
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
git and github : skip password typing with ssh
Assuming you have already provided your ssh key in your github settings, you can avoid typing your username and password when when pushing content into your github account, by cloning the SSH repository instead of the default HTTP one. ssh://git@github.com/username/repo.gitssh://git@github.com/username/repo.git … Continue reading
svn: can’t upgrade
I’ve recently update my distribution and copied back an old SVN repo into the new distributio. This led to issues with respect to different SVN version. The old one used SVN 1.6 and the new one is 1.7 In general, … Continue reading