Hacked RSS 2.0 for Coppermine 1.3.x plugin

Coppermine Logo

I’ve got over my boredom by coding a simple RSS 2.0 plugin for Coppermine 1.3.x.

This plugin simply publish your latest photo(s) via RSS 2.0 feed through the url http://yourgallery.com/rss20.php. It is easy to install and only contains one file! Just upload the rss20.php to the root directory of your Coppermine installation, and off it goes!

I’ve decided to release the plugin to public under the GNU General Public License 2.0. Please mail me any suggestions or feedback!

Download links :

  1. tar.gz package
  2. zip package

Simple Affiliate software script

The past few days i’ve been searching for a simple and free affiliate script to integrate into my personal project.

The reason why i chose free (as in free beer) is because I dont have the budget to spend on expensive affiliate tracking software such as iDevAffiliate, ClixGalore and TradeDoubler.

The quest brought me to PostAffiliate, which is released as GNU/GPL and it was based on PHP-Affiliate v1.2. The PostAffiliate website claim that they fixed vulnerability in PHP-Affiliate, but upon using the software, i felt that PostAffiliate 1.3 has serious flaw in which the user password is stored as a plain-text in the database!

So i’ve taken my time to touch up PostAffiliate 1.3, mainly to fix the plaintext password storing method in PostAffiliate. The password is now hashed in SHA-1 before stored in the database. I’ve also fix some potential security vulnerability point and updated the login page (I plan to clean the code as it’s too messy).

Here’s my half-assed (actually 1 hour) modifications on PostAffiliate : PostAffiliate fix

Stay tune as i’m planning to rewrite most of the postaffiliate part and release the modification under GNU/GPL.

keyword : free affiliate php software script

jar2jad – My first python application

I’m publishing my first python apps from my self-taught python class as promised.

This apps generates JAD file from *.jar file which is widely used in J2ME java mobile application. This apps is simple+compact and can be executed in any platform that supports python.

I was going to publish this earlier, but I’ve been busy for the past few days doing other stuff besides python.

Download links

  1. jar2jad-0.1.tar.gz
  2. jar2jad-0.1.zip

Python is interesting, i might create and publish more apps in python to polish up my skills.

Learning Python as an Additional Language

Python logoToday is the second day of September, and I decided to learn python for the whole month.Why Python? Well, first of all, python is a fairly simple language to learn and it’s a shame if I don’t fully utilize my free time to learn programming in python.

Secondly, python is a flexible language, i.e it can be use for programming web-applications as well as creating standalone applications, and…

Finally, python is a portable language, and I just love the python language concept which combines simplicity and powerful features such as classes, exceptions, dynamic data types and dynamic typing.

The fact that python is executed by interpreter accelerates my learning process as I dont have to wait long to see the results of my progress and experiments ;)

Anyhow, you can expect to see python apps written by me after this!

FourCC Changer (divx) avi under Linux !

Hello everybody…

I’ve created an AviC clone under GNU/Linux ! Lames isn’t it?

For those who don’t know, AviC is a cute little tiny tool for changing FourCC under windows. And have been popular among MPEG4 users throughout the world.


gfourcc screenshot

AviC have been widely use by people who want to view their XviD encoded file in DivX MPEG4 player (the hardware players). Some people use AviC to identify the codec used to encoded their *.avi files.

However, one day i noticed that there’s no equaivalent of AviC tool in the Linux world. I’ve searched the internet for answers, but it got me into DivX Forum, where a user is asking for Linux-equaivalent of AviC.

Not satisfied with the answers that i get, i’ve started a stupid project to make my own AviC clone for Linux, and here it is! My goal for this project is only to make a tool that closely resemble AviC in its appearance as well as its functionality.

As an improvement, I also include some check-up to make sure that the user is selecting the right file before changing it’s FourCC !! I also created gfourcc command-line counterpart “cfourcc”, for the users to choose from. Both gfourcc and cfourcc can be downloaded from their respective project site : http://sarovar.org/projects/gfourcc/

Lastly, for those who read up until here and still dont have a clue about what am I talking about please read the references links below. Bye for now! :)

Refereces :
1. gfourcc project website
2. Fourcc Information
3. Description of how Fourcc works
4. watson387 Linux FourCC problem
5. AviC FourCC Changer
6. MPEG-4 Compression
7. XviD MPEG-4 Codec
8. DivX MPEG-4 Cocec

Moon Phase on your hand phone

A’kum…
Hari ini aku nak discuss pasal application yang aku buat untuk hand phone dgn Palm, application nie boleh display Fasa Bulan dengan tarikh Hijrah. Aku berjaya portkan program Traymoon aku dari system tray Windows application kepada handphone dengan Palm.

Fasa Bulan in Phone Emulator

So sekarang nie korang semua boleh semak fasa bulan dengan tarikh hijrah straight dari henset ataupun PDA korang. :)

Actually aku dah berjaya buat ni sejak 2-3 bulan lepas, tapi memandangkan masa tu aku takder port untuk buat presentation + promosi, so benda ni aku KIV-kan dulu sampai la hari nie.

Handphone application nie actually boleh run dalam mana-mana handphone yang mempunyai Java support. Application nie boleh gak run kat PalmOS (version 3.x keatas) asalkan user palm tu install extension Midp2Palm. Antara hand phone yang di uji dengan menggunakan application nie adalah Nokia 3100, 6230, 6260, 3650, Siemen S55, M46.

Fasa Bulan in Nokia 6230 Emulator

Terdapat bug dlm Symbian OS Nokia Series 6.x (3650) yang menyebabkan application nie kekadang hang. Bagi user yang menggunakan Nokia Symbian OS tersebut, anda digalakkan mendownload applikasi (reduced version) yang tidak memasukkan beberapa ciri-ciri user-friendly (ItemStateListener). Ini merupakan bug implementasi Symbian OS Nokia Series 6.x bukan bug Fasa Bulan.


Fasa Bulan in PalmOS Emulator

Aplikasi Fasa Bulan untuk handphone ini masih lagi dalam peringkat awalan, dan ini merupakan versi pre-release untuk kegunaan umum buat sementara waktu. Segala komen and pendapat anda adalah sangat dihargai untuk memajukan/memantapkan aplikasi ini. Aplikasi ini akan direleasekan mengikut terma dan syarat GNU General Public License versi 2.0 sekiranya ia stabil dan siap sepenuhnya. Bahasa pengaturcaraan Java telah digunakan untuk membangunkan aplikasi ini beserta J2ME toolkit.

Install
Anda juga boleh meng-install aplikasi ini terus ke handphone anda menerusi kemudahan GPRS, anda hanya perlu pointkan browser anda kepada url ini http://duid.com.my/mypapit/FasaBulan.jad.

Download Fasa Bulan Midlet at :
1. Fasa Bulan Alpha | jar
2. Fasa Bulan for buggy phone, Symbian Series 60 | jar
3. Fasa Bulan for Palm OS

Additional Information :
1. Java 2 Micro Edition Website
2. MIDlet for Palm