« Previous Entries

Bacula Cancel Job Script

This script when execute will grab all scheduled job and running job and cancelling all of them through Bacula interface. It’s useful for people who need to cancel job before the start of working days.

I initially wrote this for my company use.Now I’m sharing the love with everyone else.Releasing under GPL 2.

cancel_job.sh.tar

Bugs in TPEGML entities

I’m currently write a simple web based TPEGML editor.I used information available at http://www.bbc.co.uk/travelnews/xml/

In order to accommodate future entities changes,I regex code to parse entities into a array. While parsing English RTM entity, I notice the result was weird. I thought there was something wrong with my code. After hours of debugging, I found out that it was 3 non ASCII characters in rtm45_33 and rtm35_7 message.

Quick Fahrenheit to Celsius Estimation Formula

I HATE having to convert Fahrenheit to Celsius.Especially when reading recipes.Even if you remember the formula,you still have to pull out a calculator(unless your a walking calculator).

I spend some time trying to find a best way( it must have lowest margin of error and ease to calculate ) to estimate Fahrenheit to Celsius as simple as possible.

My Quick Formula For Fahrenheit to Celsius Estimation
[ (F/2) - 16 ]+10%
where F is a variable in °F

Example:
102°F : 102/2=51-16=35+10%=38.5
102 degrees Fahrenheit = 38.8888889 degrees Celsius

76°F : 76/2=38-16=22+10%=24.2
76 degrees Fahrenheit = 24.4444444 degrees Celsius

32°F : 32/2=16-16=0*1.1=0

4°F : 4/2=2-16=-14+10%=-15.4
4 degrees Fahrenheit = -15.5555556 degrees Celsius

0°F : 0/2=0-16=-16+10%=-17.6
0 degrees Fahrenheit = -17.7777778 degrees Celsius

CodeIgniter Tag for Geany

I compile a codeigniter tag file for Geany.I’m no expert in codeigniter,so if i make any mistake/suggestion/changes,please let me know.

Releasing under GPL 2,so feel free to do any modification on it.Please inform me if you did,I’ll like to have a better version

codeigniter.php.tags


Jamendo’s Radio Podcast

I love to listen to jamendo but the disadvantage is I need to be connected to listen.

In order to make things easier for me,since I’m very lazy.I wrote a script that convert m3u list from jamendo into podcast.

http://feeds.feedburner.com/JamendoRadioLounge
http://feeds.feedburner.com/JamendoRadioJazz

also in the spirits of open source,I’ll release the php code soon.Hope to see more podcast for jamendo especially Jamendo Top 100 Tracks.

« Previous Entries