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

Posted in Computer Science | Tagged , | Leave a comment

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

Posted in Computer Science, Linux, Python | Tagged | Leave a comment

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

Posted in Computer Science | Tagged , | 43 Comments

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

Posted in Computer Science | Tagged | Leave a comment

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

Posted in Computer Science | Tagged | Leave a comment

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

Posted in Computer Science, Linux, Uncategorized | Tagged | Leave a comment

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

Posted in Computer Science | Tagged | 5 Comments

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

Posted in Computer Science | Tagged , | Leave a comment

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

Posted in Computer Science | Tagged | Leave a comment

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

Posted in Computer Science, Linux | Tagged | 1 Comment