Desinerd : Dipankar's Blog

Listing all your blogposts

Published: in Technical, , , , , , , by . Leave a Comment on Listing all your blogposts.

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) […]

RHEL5 : Yum to munin

Published: in Technical, , , , , , , , by . 3 Comments on RHEL5 : Yum to munin.

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 […]

Jailed in FreeBSD

Published: in Technical, , , , , , , by . 2 Comments on Jailed in FreeBSD.

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 […]

Twitter background generator version 0.1

Published: in Technical, , , , , , , , , , by . Leave a Comment on Twitter background generator version 0.1.

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 […]

Nginx upload module – efficient uploads

Published: in Technical, , , , by . Leave a Comment on Nginx upload module – efficient uploads.

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. […]

Post on twitter/kwippy using .NET

Published: in Technical, , , , , , , by . 4 Comments on Post on twitter/kwippy using .NET.

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”); […]

Kwippy feed for wordpress

Published: in Technical, , , , , , , , , by . Leave a Comment on Kwippy feed for wordpress.

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.

Twitter feed wall – great for projectors

Published: in Technical, , , , , , , , , by . 3 Comments on Twitter feed wall – great for projectors.

Inspired by http://twistori.com/. I wrote a generic tool which will allow people to setup a simple wall where people can post and it will automatically refresh. I built this tool specifically because it was needed at proto.in. I am very sure it will be useful to a lot of people out there. Uses JQuery and […]

First wordpress plugin : Kwippy poster 1.0

Published: in Technical, , , , , , , by . 4 Comments on First wordpress plugin : Kwippy poster 1.0.

Just created my first wordpress plugin, from concept to implementation in 3 hours :D. This plugin basically posts an update on kwippy when you publish a new blog post. This can be a good tutorial for someone trying to build their own plugins actually. Enjoy. Updated: Official WordPress plugin page : http://snipper.in/86

The Screen Savers! – NES PC

Published: in Technical, , , , , , , , by . Leave a Comment on The Screen Savers! – NES PC.

Very cool … though i seem to be nearly 4 years late.