Javascript Code Colorizer

Sat 05 January 2008 by Thejaswi Puthraya

Javascript Code Colorizer

Recently, I came across Pygments based Javacript code colorizer called Pygments Code Colorizer here. Very easy to use and supports lots of languages.

Just add the

<script src="http://www.pygments.com/js/init.js"></script>

and a pre tag that contains the code to be highlighted …

read more

Day 1 of project

Mon 24 December 2007 by Thejaswi Puthraya

Day 1 of Project

Every final year student has to undertake a project and today was my first day. My project is to "Interface Flash ADCs and DACs with the ARM9 Processor". The project guide gave us the ARM9 target board user manual and asked us to read the instructions …

read more

Django Book Online Update

Mon 17 December 2007 by Thejaswi Puthraya

Django Book Online Released

A hearty congratulations to Adrian Holovaty, Jacob Kaplan-Moss and the and the Django Community for the release of the Django Book online.

The book is an excellent read but there a few missing pieces. The in-built (and least documented) comments framework is missing from the Django …

read more

Ramblings on Foss.in 2007

Sat 08 December 2007 by Thejaswi Puthraya

My ramblings on Foss.in 2007

I was quite excited to be attending my first free software conference. The excitement doubled when I heard a lot about Foss.in from previous attendees. Though the hype this time was low, I expected it to hold a lot for newbies like me …

read more

Newforms Custom Fields and Validation

Sun 18 November 2007 by Thejaswi Puthraya

Newforms Custom Fields and Validation

Very often on the Django Users list people ask queries on how to add custom validation to newform fields.

To answer this question in two lines:

  • Subclass the field to which you want to add custom validation.
  • Override the clean method to add your custom …
read more

Google Safe Browsing and Django Newforms

Mon 12 November 2007 by Thejaswi Puthraya

Google Safe Browsing and Django Newforms

What is Google Safe Browsing

It is an API that enables applications to check URLs against Google's constantly updated blacklists of suspected phishing and malware pages. For more check out http://code.google.com/apis/safebrowsing/

Why use Google Safe Browsing?

Nowadays everyone is …

read more

I blog in ReSt Part 3

Sun 11 November 2007 by Thejaswi Puthraya

I blog in ReSt Part 3

This is the final part in the "I blog in ReSt" series. This part discusses about how to get the templates going for the blog.

  • Create a folder called templates in the project directory and add the absolute path to the directory in the …
read more

I blog in ReSt Part 2

Sat 10 November 2007 by Thejaswi Puthraya

I blog in ReSt Part 2

Once done with setting up the project, we need to code our views and templates to complete the blog. This part deals with coding the views for the blog. The different views that we require are

  • For displaying the landing page
  • For displaying the …
read more

I blog in ReSt Part 1

Fri 09 November 2007 by Thejaswi Puthraya

I blog in ReStructured Text Part-1

Nowadays everyone blogs. Blogs have become the medium for people to express almost everything. So I started blogging in January on Blogger. Initially I was satisfied with it but started feeling cramped for features. Wordpress and PyBlosxom looked like good alternatives but it was …

read more

Top 5 Firefox Extensions

Sat 29 September 2007 by Thejaswi Puthraya

Top 5 Firefox Extensions

I am a part-time webdesigner and developer and here are the top 5 Firefox extensions in my list (ordered according to rank).

  1. Firebug: A must for every webdesigner. For beginners, there is Aardvark
  2. Webdeveloper: Another must for webdesigners.
  3. Greasemonkey: A cool addon that can be used …
read more