Fix “Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0).”

I was moving around 200+GB data from one WD external drive to another. Although the drives were connected to USB3 port the process was taking time. And I felt asleep and shutdown the system. Next day I connect hard drive and I see Error mounting: mount exited with exit code 13: $MFTMirr does not match […]

PyGTK Hello World or: How I learned to write my first GUI application on Ubuntu?

There are so many things I like about Ubuntu and I can write in extent about all those. My focus is in this post is Python. Python is easy to learn. So easy that one can write GUI apps in just 2 minutes. The title for the post has also indicated this(and is somewhat similar […]

Python httplib example

This is a very simple example of httplib in Python. I am trying to write a very simple client which can simply ping a URL. import httplib while True: myURL = raw_input(‘\nURL Please: \n> ‘) if myURL == ”: print ‘\URL Please: \n’ break httpconnection = httplib.HTTPConnection(myURL) httpconnection.request(‘GET’, ‘/’) res = httpconnection.getresponse() #I am only […]