January 22nd, 2012 § § permalink
Well, had to setup some stuff on dreamhost. Turns out that they are fairly bad on django hosting. Here is a working passenger_wsgi.py that is possibly much better than the default. Please not that you must have paste [http://pythonpaste.org/] installed for this to work correctly.
This has python2.7 locally installed in your account, with all the libraries locally. Dreamhost is quite painful, as the documentation is incomplete clearly!
import sys, os
if sys.version < “2.7″: os.execl(“/path/to/python”, “/path/to/ python”, *sys.argv)
sys.stdout = sys.stderr
sys.path.insert(0,”/path/to/Django-1.3.1″)
sys.path.insert(0,”/path/to/project”)
sys.path.append(“/path/to/project root directory”)
os.environ["DJANGO_SETTINGS_MODULE"] = “project.settings”
from paste.exceptions.errormiddleware import ErrorMiddleware
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
def testapplication(environ, start_response):
status = ’200 OK’
output = ‘Hello World! Running Python version ‘ + sys.version + ‘\n\n’
response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
application = ErrorMiddleware(application, debug=True)
July 3rd, 2008 § § permalink
http://blog.kwippy.com/2008/07/03/technology-behind-kwippy-and-scaling/
A post about how kwippy works and scaling strategies involved. Feel free to ramble and comment.
February 9th, 2008 § § permalink
Wierd title for a blog post
, but its truly the start of the second phase in my rather short career. This week I have decided to move on from slideshare.net , to some other stuff. Lately I have started realizing how badly i needed to give time to my own ideas (and there are lots of them), with such short product life spans on the internet and the boom taking place interms of web valuations how can I possibly miss out on trying……
The internet is an awesome place to learn and create new things, to this end i must give a lot of credit to the last 8 months at slideshare.net where the team has done some pretty interesting stuff. The systems team rocks, even if its pushed beyond its capacity ….. A big thanks is in order to my team mates (in random order)
- Lalit …. JS guru
- Saurabh …. Systems guru
- Kapil …. best tech lead for sure
- Mayank …. c00l dev. and stock player
- Kaa …. creative creative n more
- Yats …. the zen master
- Golak …. “bhalo” dev.
- Abhishek(*) …. one of the most motivated guys ever
- Praveen(*) …. guilt free dev. guru
- Gaurav …. n00b domain sitter
- Mohit …. thinking and analytical dev.
- bhups …. abhi mile hai, aur kya likhoon
(*) these guys left slideshare coupla months back
Had a lot of fun, should not have missed out on the trips
…. I am missing in nearly all the group photographs ….. time to photoshop some of the kodak moments he he. A big thanks to Amit Ranjan and the management team for giving me an opportunity to work with one of the best teams ever …. May the slideshare alexa rank keep on rising
Note:
Frequency of blogging will resume , as i just figured the problem of my upload speed was because of the MTU size (it needed to be 1492 on the WiFi router not 1500) ….. 3 cheers to that (AIRTEL BROADBAND)
September 13th, 2007 § § permalink
Today , after a seriously long deployment at slideshare we have released URL and email upload. These add to the exisiting means of pushing content into slideshare. Let me list the ways of pushing content into slideshare.net ..
- Normal uploads
- Single – works on all machines
- Bulk (multiple uploads at one go) – fails on firefox on linux.
- URL uploads
- Bulk – basically copy a bunch of urls, which will be uploaded to slideshare
- Using plugins – We at slideshare have made two plugins (one for firefox another for IE) which will allow the user to upload into slideshare any online presentation they like with a single click.
- Email upload – just mail a presentation and it will get uploaded to slideshare.net
So there are 3 broad ways of pushing content, the most useful among the recently introduced email upload. It will save the conference organizers a lot of headache when they give out one common email address where all the presenters can upload their presentations. This is also useful for people on the move, fire a presentation from their handhelds to slideshare.
More when it is officially posted on http://blog.slideshare.net
July 17th, 2007 § § permalink
PMWiki is this really cool wiki platform, which is used all over the internet for all kinds of collaborative purposes. Today, we at slideshare have put out a “recipe” which allows you to easily embed a presentation in PMWiki
The download link for the recipe is here
You can just unzip and put the contents of this file into the cookbook/ directory of PMWiki. Then you can use the following tag to embed a slideshow
(:slideshare {presentation id}:)
Where the {presentation id} is the part of the slideshow URL after http://www.slideshare.net
For example:
http://www.slideshare.net/nmenap/machu-picchu-77777
will have the following embed code
(:slideshare nmenap/machu-picchu-77777:)
So it is that simple ehh…. So go ahead embed as many slideshows as you want ….
After
640-802, you can only go on to
350-030. Only then you will qualify for
350-018 or
310-200.