Watch this :
You need a basic LAMP stack and “mp3info” – should be available in your repo’s.
This is totally open – if anyone wants to help out with development leave a comment or send me a message.
The goal is to stream remote media over the web with an intuitive web interface.
Installation :
apt-get install mp3info
cd /var/www
wget https://downloads.sourceforge.net/project/cimediaplayer/Media.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcimediaplayer%2Ffiles%2F&ts=1282412797&mirror=master
tar -zxvf Media.tar.gz
Add an Apache virtual host.
create a database : mysqladmin -u root -p create media
edit application/config/database.php using your database creds.
That should be about it – I know these instructions are lazy but it is Saturday… Leave comments if you need help.
I have been busy integrating Asterisk into NimbleBilling – take a look see and let me know what you think!
UPDATE : An online demo is available here!
As a sole proprietor and “freelancer” it is never easy wearing all of the hats, especially when I am knee deep in bugs and get a sales or support call. One of the most troubling issues I have is with asking for money. I never have a problem creating the invoice but it is that bloody send button that kills me.
Because of the above – I have decided to finally get organized and put together an automated invoicing application so I don’t have to worry about billing – the computer does for me. Basically you point your browser to a web app and adda few items to a job list – then save. Here’s a screencast that should demo it better than I can type it :
Here’s some of the functionality summed up in a brief list.
- Add / Edit / Delete Clients
- Add / Edit / Delete Invoices
- Add / Edit / Delete Jobs
- Add / Edit / Delete Taxes
- Add / Edit / Delete Services / Products
- Auto Email Invoice
- Download PDF Invoice
It probably does a lot more but I am too excited to complete the PayPal module.
Be sure to check back for updates – a version will be available for you shortly!
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”.
Displaying HTML rows with offset background colours is a great way to present large amounts of data in a table – plus it looks nice.
Here are a few ways I display data in this format :
1. PHP Method (for use with browsers with no JavaScript or CSSv3)
We set a variable (i) to the value of 1. We then add 1 to i until it reaches 10. Within the loop we determine if there is a remainder when dividing i by 2, this lets us know if the number is even or odd. We add an odd class to every odd table row – and and even class to every even table row.
Why choose this method :
Choose this method when you know your users will be using older browsers or are unsure if they have javascript enabled.
2. CSSv3 Method (For use with newer browsers)
How it works :
CSS sets the ‘nth-child’ to use the defined background colour.
Why choose this method :
Simplicity!, however beware of outdated browsers.
3. jQuery (for use with JavaScript enabled browsers)
How it works :
Similarly to the CSSv3 method above – however does not require CSSv3 support in the browser. It adds the class ‘odd’ to every other row in the table.
Why choose this method :
Simple to implement however requires JavaScript – do not forget to load jQuery in your document head!







