Archive

Archive for January, 2014

Simple HTTP Server with Python

January 20, 2014 Leave a comment

A quick way to share some files locally.

$ cd /home/somedir
$ python -m SimpleHTTPServer

Source:
http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python

Advertisements
Categories: Interesting, python Tags:

Changing system proxy from terminal

January 13, 2014 Leave a comment

Problem:
For some strange reason (definately user related), epiphany-browser does not have a network section in preferences. I needed to remove system wide proxy that was preventing me from browsing as I was now on a different network.

Solution:
Change proxy via command line. I ran the following command on the terminal.

shell> gsettings set org.gnome.system.proxy mode 'none'

Source:
http://www.iasptk.com/ubuntu-debian/15955-how-to-change-system-proxy-settings-from-terminal-in-ubuntu-1204precise

Categories: Interesting