So here is a quick snapshot at how to get all your wordpress blogposts using python [or wordpresslib to be specific] — #!/usr/bin/env python import wordpresslib import tinyurl wordpress = raw_input(‘Wordpress URL:’) user = raw_input(‘Username:’) password = raw_input(‘Password:’) # prepare client object wp = wordpresslib.WordPressClient(wordpress, user, password) # select blog id wp.selectBlog(0) posts = wp.getRecentPosts(100) […]
So here are some dead easy ways of getting munin and munin-node installed on your RHEL5 server. First add RPM Forge repository rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm Then just fire yum install munin munin-node Now, you have your munin running. Lets turn our attention to monit. First add this new repo to you rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm Then […]
Well, working on freeBSD right now some immediate learnings for most linux users Ports is as good as apt-get [and i would say much better, when i started installing stuff] You will need to start with installing vim and bash to make your life a lot easier So the target was to install python and […]
It has been something that has been going on in my head for a significant amount of time and I believe that it is the right time for politicians and famous individuals to take their online reputation management as seriously as the offline one. Here, i will outline a very basic strategy that i believe […]
Working on a very basic twitter background generator, right now focusing on how to get the sidebar width right. It is very much under use at my twitter handle @dipankarsarkar (http://twitter.com/dipankarsarkar). The core idea is to be abe to communicate more information about what i do as a person using the background image. Some features […]
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. […]
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 […]
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 […]
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”); […]
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.