Javascript Code Colorizer
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 …
Day 1 of project
Django Book Online Update
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 …
Ramblings on Foss.in 2007
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 …
Newforms Custom Fields and Validation
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 …
Google Safe Browsing and Django Newforms
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 …
I blog in ReSt Part 3
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 …
I blog in ReSt Part 2
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 …
I blog in ReSt Part 1
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 …
Top 5 Firefox Extensions
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).
- Firebug: A must for every webdesigner. For beginners, there is Aardvark
- Webdeveloper: Another must for webdesigners.
- Greasemonkey: A cool addon that can be used …