Nginx upload module – efficient uploads

August 20th, 2009 § 0 comments § permalink

I was just having a look at some forums and saw some people talking about how to handle large parallel uploads. I have been having a look at this plugin which comes with NGINX and played around with it. Extremely useful if you use nginx in your stack and are getting killed by massive uploads.

Have fun!!

http://www.grid.net.ru/nginx/upload.en.html

Green olympiad 2009

May 24th, 2009 § 1 comment § permalink

GREEN Olympiad is an international environment quiz programme which targets school students from classes 8th to 10th. The idea is to inculcate a sense of responsibility for mother Earth among the future citizens of India.

Students need to enroll through their respective schools. The state, country and global winners are awarded exclusive prizes. Each and every participant also gets a certificate of participation from Ministry of Environment and Forests.

GREEN Olympiad also culminates into a 13 episode programme called the TERRAQUIZ which is televised every year. Top 32 schools across the globe participate in this multi episode quizzing

Attached are the registration form and the project leaflet.

project-leaflet

registration-form-2009_english

Student’s death triggers violence in Kharagpur IIT

March 23rd, 2009 § 0 comments § permalink

The death of a student sparked off violence in the IIT Kharagpur campus on Sunday as angry students damaged the residence of institute Director Damodar Acharya, demanding suspension of the superintendent of the institute-run hospital for alleged negligence.

http://www.hindu.com/thehindu/holnus/000200903222024.htm

Sad to see all this happening at the most elite institutions of our nation. Hope we get our act right soon.

Post on twitter/kwippy using .NET

March 3rd, 2009 § 4 comments § permalink

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.IO;

using System.Net;

using System.Web;

namespace ConsoleApplication1

{

class Program

{

static void Main(string[] args)

{

System.Net.ServicePointManager.Expect100Continue = false;

Uri address = new Uri(http://twitter.com/statuses/update.json);

// Create the web request

HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest;

request.Method = “POST”;

request.ContentType = “application/x-www-form-urlencoded”;

request.Credentials = new NetworkCredential(“username”, “password”);

StringBuilder data = new StringBuilder();

data.Append(“status=from%20.net”);

// Create a byte array of the data we want to send

byte[] byteData = UTF8Encoding.UTF8.GetBytes(data.ToString());

// Set the content length in the request headers

request.ContentLength = byteData.Length;

using (Stream postStream = request.GetRequestStream())

{

postStream.Write(byteData, 0, byteData.Length);

}

using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)

{

// Get the response stream

StreamReader reader = new StreamReader(response.GetResponseStream());

// Console application output

Console.WriteLine(reader.ReadToEnd());

}

}

}

}

Code to post on twitter and kwippy using this simple C# program :) . Njoi.

Kwippy feed for wordpress

January 27th, 2009 § 0 comments § permalink

If you notice i now have a RSS feed for kwippy on the sidebar. That is done by using RSS widget functionality within the wordpress theme section. The image below outline the complete setup which i use for my blog.

Its really simple to set this up :) .Enjoy.