Serving static content with uwsgi
You can serve your static files through uwsgi by adding this line to the uwsgi settings: However, I discovered that it did not set mime types correctly. Apparently, uwsgi checks Continue Reading →
You can serve your static files through uwsgi by adding this line to the uwsgi settings: However, I discovered that it did not set mime types correctly. Apparently, uwsgi checks Continue Reading →
I was following the instructions on http://hugo.coding-badger.net/2010/09/29/proxying-transmission-web-interface-with-nginx/ to set up my transmission web gui to be forwarded by nginx. The first example worked fine, but the second one gave me a “Could Continue Reading →
My preferred programming language is Python. Many times, I have been faced with choices between different libraries to use with it. For example: wxPython vs PyQt vs Pygtk. Django vs Continue Reading →
I have a small python program for adding magnet urls to transmission on my server when i click them. Here is how i made chrome call my python app: Open Continue Reading →
A simple example on using threads in Python:
Finally got around to setting up a personal website and importing random bits of info, old posts from blogger.com etc 🙂
Rsnapshot is a nice tool for backing up select parts of your filesystem. This article is good to get started: http://www.debian-administration.org/articles/217
Installed a cod4 server on my 64-bit Ubuntu Precise server. Trying to start the cod server failed, but installing these packages fixed it:
Learned about a neat way to disable automatic directory browsing in a default install of apache on debian. Just issue this command: