[three]Bean

"chaplin-ize" - Fact: every Cinema studies department website is better with Charlie Chaplin

Nov 21, 2011 | categories: lulz, javascript View Comments

This past week, work sent me to Seattle for Supercomputing 2011.

While there, I crashed with my sister, Doctor J, drank wine, did some dancing, and had a blast! On Friday night after the wine had set in, I tried explaining what it is I do. It's really just magic, but has to be described with words like python, and development. I showed off raptorizemw and soon enough, we were getting ready to chaplin-ize her department's new website!

Check it out at http://depts.washington.edu/mirg. The effect only triggers once in every three page loads (on average) so if it doesn't show, reload it a couple times.

View Comments

Konami Code!

Sep 30, 2011 | categories: lulz, javascript View Comments

I found an old tutorial I made for a friend on how to make a konami-code for your website! Here, I posted the source in a github repo. You can also see a live version up at http://threebean.org/konami.

Now... I've got to get around to writing that raptorize WSGI middleware layer that __amol__ requested; every site is better with raptors.

View Comments

jquery-ui portlets with saved position and state via cookies

Apr 25, 2011 | categories: python, toscawidgets, javascript View Comments

Back in June of 2010, I was wondering how to save the order/arrangement of jquery-ui portlets and their open/closed state to a cookie. After much searching and finding nothing, I came up with my own solution and posted it at the end of a long thread on the jquery-ui mailing list. (Since then, I found that it's been linked to from a stackoverflow answer!)

You can see a live demo of my solution here.

If you're a python web programmer, you should know that my tw2.jqplugins.portlets package uses this solution by default, encapsulating all the work for you. Here are links to everything you need to get started using that project:

View Comments