Technology

How to run Python scripts in your shared hosting server

Direct to the how-to 🙂

  1. First make sure your hosting supports Python. Now a days almost all shared hosting providers support Python.
  2. Find your python installation location, this is required for “shebang” line added at the top of your python script. Usually this is /usr/bin/python or /usr/local/bin/python
  3. Make sure to include two print statements which will print the content-type and an empty line.
  4. Now put the script in cgi-bin directory inside your root public folder, usually public_html
  5. Change the permission of the script to 0755
  6. Try to browse now 🙂

How to setup latex environment in Windows

Must read notice: Geekish Post….Only for geeks 😀

Do you need to write your first thesis paper or do you want your publication published in a famous journal?

So LaTeX is for you. LaTeX is a document preparation system for high-quality typesetting based on Donald E. Knuth’s TeX typesetting language or certain extensions. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.

Well, definitely *NIX systems have built-in latex support, but in windows you need to set it up for yourself. As few monthes ago I have started writting my first thesis paper using latex and for some reason I have used windows system, I need to setup latex environment in windows. Definitely a annoying, time consuming task, So I have decided to share it 🙂

I am going to describe it step by step, please follow these steps as described, its important. I am assuming you have Windows XP or later versions and you have administrative privilege.

How to overcome download time limit

Some file storage sites give you a download link which use to expire after a definite time , like 1 hour or 24 hour. MiHD.net is one like them. They allow you to download files hosted on their server without any limitations, but the download link will be functional for 6 hours or other certain time. Not only these file hosting servers, often many sites from where you can download movie or songs, impose this kind of time limitation to balancing load.

But surely you can overcome this limitation.

1 of 2
12