Announcing Pytagram

August 21st, 2008

Today I just ended one of my side projects: pyta­gram. Basi­cally it gen­er­ates an SVG file (that can suc­ces­sively be saved as eps/pdf/whatever and even­tu­ally man­u­ally manip­u­lated) start­ing from a tree-​like plain text file. This can be useful for gen­er­at­ing cheat sheets or quick ref­er­ences to classes or func­tions that belongs to some project.

I did this for gen­er­at­ing a django quick ref­er­ence (here it is) since it has a lot of func­tions and I know what’s their pur­pose, but I can never remem­ber the names (and now two A4 papers are right in front of me).

If you’re inter­ested in this, check out the google code project page and grab your copy from the SVN repository.

There are tons of things that can be changed/optimized (i.e.: add some optional short expla­na­tion of the func­tion, add more exam­ples, easier way to change colors, …) but now the code is work­ing quite well so that can be already useful to the people out there.

Alternate text colors with CSS

August 7th, 2008

When I was redesign­ing this site, I was exper­i­ment­ing many dif­fer­ent options for the header. Among the whole set of solu­tions I tried, I was very happy with the one I’m going to illus­trate even though I chosen another one (that is the one you can see now) because it inte­grates better with the the whole layout.

(Con­tinue reading…)

0 Comments, tagged with Web

Microblogging

  1. January 28th

    1. Finally something to eat! http://t.co/FH3x3oGR [krat]

      1:10am via Twitter

  2. January 27th

    1. Finally some cleanup on my inbox. Feels cleaner now. [krat]

      5:13pm via Twitter

  3. January 26th

    1. panzerotti & peroni [krat]

      7:49pm via Twitter

  4. January 25th

    1. I lost count of how many times I wanted to expand the tweet stream and clicked "favorite" instead [krat]

      11:15am via Twitter

  5. January 23rd

    1. It's hateful when you have to chase people who owe you some money [krat]

      5:45pm via Twitter

    Powered by Lifestream.

Search