Not much to see here, right now. When I get a little more time I'll put up a nice page.
My setup on EC2/S3/Scalr
Submitted by konsumer on Mon, 07/21/2008 - 3:16pm.I recently setup a drupal application on scalr.net, using Ubuntu. It seemed sort of complicated at first, but once I got to understand how everything works together, I was impressed with how easy it was. I thought I would share the procedure, to make it easier on myself in the future, and on others.
- Setup a EC2 account.
- Setup a scalr.net account.
- Put all your AWS info into Settings tab on scalr
- Applications/Add New - choose www, app, mysql, 'A' records for www
- Roles/View All - Download Private key, save key somewhere sensible
PolyRythm example
Submitted by konsumer on Sat, 04/26/2008 - 2:20pm.I made this for Andrew to demonstrate a simple 2 over 3 polyrhythm
Veoh Downloader
I wrote a python veoh downloader for Linux people (and people who hate veoh player) to use. It uses wxWindows for the GUI, but you can include and use it with your own interface, if you like.
Package & Installation/usage instructions can be found here:
Conditional Field Ideas
I was having some issues with conditional fields here and here.
I thought I would make a little tester to show some ideas I had about fixing the javascript end of things.
A current limitiation of this approach is that it checks this.id in the javascript, so the keys are limited to ID, but eventually I think it'd be cool to support #whatever as well as .whatever in the keys, so that you could match anything, and hide/show multiple things with one declaration!
This would allow weird stuff like hiding all odd rows in a table.('tr:odd')
Cake 1.2 with Auth and ACL, from scratch
Submitted by konsumer on Tue, 02/12/2008 - 5:55am.I came across quite a few great tutorials on how to use Cake's 1.2 ACL and Auth components, but they all seemed to be missing 1 or 2 key things. Something I realized when I got it all figured out, is that it's really not that complicated, it just takes a little getting used to.
The idea of this tutorial is to explain, step by step, how to setup a cake app using these components. My main goal is to create something that is really useful, and reusable in most apps, so if anyone has any corrections or ideas of how to simplify, I'm happy to hear them. I am by no means an expert.
dompdf: Node Support and Attachment Rendering
Submitted by konsumer on Thu, 02/07/2008 - 4:02am.I wanted support for loading nodes as well as views, so I added it, along with an option for "attachment" which allows you to set the attachment (inline or attachment.) This makes it display in the browser window, or as a download.
I could make this more generalized, so there is a central function that does the settings form and rendering, and you can add support for pdf printing whatever you want, but this is all I needed, so I'm posting it, people should let me know if they want support for other stuff.
Bug found in dompdf
Submitted by konsumer on Thu, 02/07/2008 - 3:58am.I found a nasty security vulnerability in dompdf:
http://www.digitaljunkies.ca/dompdf/index.php
http://drupal.org/node/218334
Constant Contact
Submitted by konsumer on Mon, 01/28/2008 - 12:47pm.Created Constant Contact module:
View support with imagecache resizing images
Submitted by konsumer on Mon, 01/28/2008 - 9:57am.I implemented view support and imagecache support for taxonomy image:
