Quick and Dirty Network File sharing with Python

Ever find yourself in need to share file over the network quickly, but find yourself lacking time to setup a proper NFS or samba share? Here’s a way to do this with the good old Python CLI.

  • First, go to the directory that you want to share, for example ~/Desktop
  • Then run this command "python -m SimpleHTTPServer"
  • You may access the folder from a remote computer using any webrowser using the url – http://192.168.1.20:8000, change the ip address accordingly
Simple HTTP Server
file sharing with python

You may find this technique offers limited options to share files, but its a real time saver!

Google Malware Warning Fucked up?

I don’t know when this thing happened exactly, but I noticed it around 10:57 pm MYT (GMT+8) when I was searching information for Yaesu VX8R handheld radio.

It seems somehow the Google Malware Warning fucked up and labels all the search result as “may harm your computer”. Funny thing is, Google labels its own website as potentially spreading malware.

Google Calendar site is spreading malware?
Google Terfakap

This incident has showed me how reliant to Google i’ve become, which made me wonder what would happen if suddenly somebody might take advantage of our dependency to Google, and do nasty things to us and to our data? By the way, Google already know what you do, who you are, and where you live.

Update: This event has been slashdotted, MAKE Magazine blog also covered the story.

Update 2: Google somehow have fixed the issue at 11:22 pm MYT (GMT +8). Let’s see what they would say about this strange phenomenon.

Update 3: Thanks to Manley, it seems Google has not fixed the issue, but rather disabled the Malware warning on its search result.

Final Update : Google issued a statement in their official blog as well as StopBadware.org

Enabled WP-SuperCache for my blog

I’ve decided to install and enable WP-SuperCache plugin for my blog. This does not mean that I’ve been receiving thousands of site hit everyday, but as a precaution because I’ve noticed spikes of traffic on the server log that might effect the overall performance of the web server.

Since most pro-blogger suggested WP-Supercache, I might as well take their advice and install it. Hopefully this would improve the server load during the spike (which I suspect contributed by ill-behave webbots/crawler) as well as loading time for my blog.

I’ll keep my fingers crossed

How to change Google Chrome user-agent

Changing user-agent in Mozilla Firefox and Internet Explorer may be an easy task for most of the people as it only requires you to change certain settings in the browser option or in the registry.

However changing Google Chrome’s user agent might not be as straight forward as it has no obvious way to alter it through the browser’s interface.

Fortunately, Digital Inspiration website has written a guide on how to change Google Chrome user-agent string, you can refer directly to their article – How to Change User Agent String in Google Chrome Browser