The Golden Spot

I hope this helps someone who is learning about Linux and web application programming with Python, Django, and Javascript.

Wednesday, October 21, 2009

After I create a new frame by typing

M-x 5 2

in Emacs, my cursor color is black. But the color of my original frame is LimeGreen or lime green.

I found this site:
http://www.dansanderson.com/blog/mt/mt-search.fcgi?tag=NewbieEmacsTip&blog_id=1&IncludeBlogs=1

and added this line:

(add-to-list 'default-frame-alist '(cursor-color . "lime green")

to my ~/.emacs file

Monday, October 19, 2009

My first django snippet regarding 'very archive'. I am sure I spent too much time reinventing an archive view but I could not figure out how to display all posts in the template, the way I wanted, using generic views!!

The template logic:
http://www.djangosnippets.org/snippets/1765/

The view code:
http://www.djangosnippets.org/snippets/1766/

Labels: ,