Archive for August, 2014

rotate a matrix

August 22, 2014 1 comment

Rotate clockwise:

rotated = zip(*original[::-1])

Rotate counterclockwise:

rotated_ccw = zip(*original)[::-1]

I found this trick in this thread.

[django] awesome Django apps, projects and resources

August 12, 2014 Leave a comment

A curated list of awesome Django apps, projects and resources:

Categories: django Tags:

[django] must-watch videos

August 12, 2014 Leave a comment

Must-watch videos about Django (or about Python as applied to Django):

Categories: django Tags: , , ,

[django] Heroku with GoDaddy

August 11, 2014 Leave a comment

You put your Django project on Heroku and you register a custom domain name for it at GoDaddy. How to assign this domain name to your project on Heroku?


Categories: django Tags: , , , ,

[django] force HTTPS on Heroku

August 7, 2014 Leave a comment

django-sslify forces SSL on your Django site. It has an excellent documentation, can be set up in a few minutes.

I tried it on Heroku and it works well.

Categories: django Tags: ,

[django] deploy Django on Heroku

August 7, 2014 Leave a comment

Follow the guide above to deploy your Django project on Heroku.

Categories: django Tags: ,

[webdev] nice CSS buttons

August 4, 2014 Leave a comment

I found some nice CSS3 gradient buttons. Here is a demo with the buttons.


Categories: web development Tags: ,