Follow me
-
Recent Posts
calendar
September 2016 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 Recent Comments
- Peter D. on How to use subprocess with PIPEs
- Ali Zhang on About matplotlib colormap and how to get RGB values of the map
- cloud on gimp: how to make a transparent background
- Stan Blum on gimp: how to make a transparent background
- 1125 on pytest-cov collects no data on Travis
Archives
Categories
Meta
Media RSS
Monthly Archives: September 2016
gimp: how to make a transparent background
How to make a transparent background/selection on an image using GIMP 1. Open your image. 2. Select the area you want to make transparent. Select the appropriate selection tool from the Tool window or the Tools – Selection Tools menu … Continue reading
lost your linux root password ?
Lost your root password ? Under Fedora, at boot time, press e, select the kernel and add 1 (run level), which will let you enter into a shell session, where you can edit the /etc/passwd file to reset the password. … Continue reading
vim: multiple buffers
In order to work with several view ports of the same file in the same Vim window, type: :sp:sp You may also open another file in the same window. To do so issue the command:: :sp filename :sp filename To … Continue reading
vim: create function to remove white spaces
In the .vimrc file, add the following lines ( here ^M is a special character for the return carriage created using CTRL+V): #remove tabs function removeM() %s/^M// :endfunction function removeWhiteSpace() %s/^ \+ $// %s/^ $// %s/ \+$// %s/ $// … Continue reading