Archive for October, 2015

How to integrate git-bash into ConEmu

Checked this with official git-bash 2.6.2 and ConEmuPack.151015.

Add a new tasks as follows (click on the pictures if you can’t read them):

conemu_gitbash_opensetttings

conemu_gitbash_parameters

Replace c:\app\git with the directory you installed git-bash into.

thanks to http://blog.tyrsius.com/setting-up-conemu-with-git-bash-on-windows/

Tags: , , ,

Saturday, October 24th, 2015 Uncategorized No Comments

Using (deep)copy in cython

If you want to be able to properly use copy or deepcopy in cython (without getting a segfault), you have to implement the pickle protocol for the class you want to (deep)copy.

via: http://stackoverflow.com/questions/7666873/cython-and-deepcopy-woes-with-referenced-methods-functions-any-alternative-id

Tuesday, October 20th, 2015 Uncategorized No Comments

Cropping an inserted object in Microsoft Word 2007

If you insert a picture, you can easily google how to crop it in Word 2007, but if you insert an object, like a Powerpoint slide into Word, it’s not so easy to google. I hope this post will change that.

The answer is simple, but not necessarily easy to find. Right click on the inserted object, click Format and then go to the Picture tab. In the top of this tab you will see the Crop from panel. Here you can fill in your crop values.

Thursday, October 15th, 2015 Word No Comments

Unlink of file failed for git gui or git gc on Windows

This happens usually when you have an IDE (like Eclipse, PyCharm) or a text editor with git integration (Emacs, Atom, Sublime) holding on to the files you want to unlink.

To solve it, close the IDE/editor and redo your git gc or git gui compression command.

via http://stackoverflow.com/questions/25138946/git-gc-git-gui-unlink-of-file-internal-pack-file-name-failed

Monday, October 5th, 2015 Uncategorized No Comments