This little application will save you big time when you run out of hard drive space and begin backing up your movie collection to DVD. Take a look at the video and download the application here. Installation instructions can be found here.
I have been busy integrating Asterisk into NimbleBilling – take a look see and let me know what you think!
It gets very repetitive writing forms for clients – that’s why I decided to take the last hour to write this piece of fine code.
It takes whatever title you give a form object and creates a copy / paste dump for your view, controller and Javascript. It doesn’t handle checkboxes or select boxes – but that is because I find the form is not the time killer; it’s the Javascript and validation. The nice part is that most of the heavy lifting is done for you – plus you do not have to worry about spelling mistakes or silly syntax stuff because it is all duped in the script.
I’d like to pop this up on a subdomain after making it pretty – please comment if you think you will find this little app useful.
PS. During the recording I noticed a small error in the code – no need to comment, it is fixed now. The json_encoded array was returning a value that would not display in the error fields due to a mismatch in the name.
UPDATE : Check Out the Application Here!
I have fully tested the generated code and it works great, here’s a video demonstrating how to use “FormTorch”.
This is a great technique for use with large forms with many values you need to save. It can get in the way if you need individual validation for each value – however it can save a whole ton of time when submitting any number of form fields.
The video isn’t super high quality so I have attached the source here.
I think Growl is a pretty awesome little notification app, I use it for absolutely everything and thought I would cook up a simple way for anyone to relay growl messages to their nodes – even from remote events.
What you need :
- A Local web server (with PHP of course)
- Remote machine must have curl (unless you are good with javascript)
Download the class.growl.php from google code and toss it in your web root. Create a new file called growler.php or growlnotify.php. Within it you can paste the following :
Set your webserver to listen on some obscure port and forward it through your router. You can now use curl to post messages from a remote location to all of the nodes you specified in the associative array above as such :
curl -d “message=some message `date`” http://your-web-server-ip:port/filename.php
This is a simplified explanation how I wrote Growl notifications for Asteristickies.
Have fun.


