Readonly Content cannot be changed

March 2, 2015 Leave a comment

Problem:
Apparently, unbeknownst to me, my libreoffice document has Microsoft Forms. All attempts to delete it gave a warning about “Readonly content can not be changed…”

Solution:
Found the solution gone here http://mednis.info/wp/?p=168

Python: Tips, Tricks and Idioms – Part 2

February 20, 2015 Leave a comment
Categories: Interesting, python

Turning off beep/ bell on vi

February 12, 2015 Leave a comment

Problem:
I was using vi and it kept on beeping at all my mistakes :-p

Solution:
Added the following line to my .vimrc

set visualbell

Source:

http://linuxconfig.org/turn-off-beep-bell-on-linux-terminal

Categories: vim Tags:

Free python tips

February 5, 2015 Leave a comment
Categories: python

vim modelines

February 4, 2015 Leave a comment

Problem:

I noted that my collegues did not like having line numbering on when editing their files. So instead of setting it globally in the .vimrc file I opted for modelines as this feature was not disabled.

Solution:

Placing this at the start of end of a file

# vim: nu ts=4 sw=4 expandtab

Unfortunately, I could not change the colorscheme using the same method :-(

Source:

http://vim.wikia.com/wiki/Modeline_magic

Categories: vim

Python: Tips, Tricks and Idioms – Part 1

January 30, 2015 Leave a comment
Categories: Interesting, python

Text manipulation with paste command

January 21, 2015 Leave a comment

Rodnee:

Awesome post from Zipzap

Originally posted on Unix/Linux and Ubuntu tips-and-tricks:

Have a look at the power of the “paste” comand – it just solves a bunch of situations with ease, and its litle known… transpose pair a lines into 2 columns, etc…

Have a look to these examples to get an idea of “paste” power…

http://www.theunixschool.com/2012/07/10-examples-of-paste-command-usage-in.html

View original

Categories: bash, Interesting Tags:
Follow

Get every new post delivered to your Inbox.

Join 41 other followers