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
- 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
Daily Archives: September 12, 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