Archive for October, 2013

Getting Django running on CentOS 6

Trying to follow this guide: www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn epel6 rpms only seem to install 8.4 at this time, not 9.3 (strangely, since 8.4 isn’t supported anymore, so… I have many questions) Official 9.3 installation go! wiki.postgresql.org/wiki/YUM_Installation But WTF1: It was installed to /usr/pqsql-9.3, which wasn’t in the search path, so all the createdb and etc commands didn’t […]

No Comments

Django + Nginx resources

For SE Hack Day: michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ looks the best (along with michal.karzynski.pl/blog/2013/07/14/using-redis-as-django-session-store-and-cache-backend/) wiki.nginx.org/DjangoFastCGI and https://code.djangoproject.com/wiki/DjangoAndNginx are Django + FastCGI adambard.com/blog/start-to-finish-serving-mysql-backed-django-w/ blog.richard.do/index.php/2013/04/setting-up-nginx-django-uwsgi-a-tutorial-that-actually-works/ serverfault.com/questions/370525/nginxdjango-serving-static-files/370573#370573 stackoverflow.com/questions/17511466/deploying-django-on-nginx www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn because postgres

No Comments

CSS animations/transitions

Posted a bunch of stuff I came across to the WaterlUX group page, figure I might as well document them here too: ricostacruz.com/jquery.transit/ (Lovely lovely annotated source at ricostacruz.com/jquery.transit/source/) daneden.me/animate/ – Memories of Overused Powerpoint animations spring to mind… But I can see using the attention getters & fadeIn/Outs on a webpage. Also, ninjaui.com/ for […]

, ,

No Comments

‘Solving’ SQL injection in Java

So during the summer I worked on a large enterprisey Java program. (Singleton pattern ahoy!) One of the annoying things (besides massive code duplication) was it used database queries that naively appended user input (particularly search queries) onto selects. And from my web background, I knew that SQL injection makes wiping the table trivial. Or […]

,

No Comments

I broke… Java?

Something from my summer job. I found it horribly amusing. === And then I fixed it.

,

No Comments