Skip to main content

Posts

Showing posts from 2008

PDF Chinese PHP and Python

The power of python release on its multi-lingual Capability, limitless generation of report. When I was newbie in PHP I've tried to create a pdf using EZPDF, after years of experience, one of my project needs a report with Chinese font, I tried googling PHP PDF CHINESE, but I didn't find and correct output. I remember my python experience generating a report using reportlab in python known to be the powerful pdf generating tools. And it works fine I can generate Chinese PDF without hassle. Wow it was great. For those who need some guide line on how to do it just dron an email to me. Needs Python 2.0 or higher Reportlab

take a snapshot online via your webcam

I'm fully newbie on flash but I manage to mix php and flash, i had a client which prefer a web cam app online, well that was 2007 ago, but when i notice y flash had this feature accessing a client web cam i was thinking if i can do some snapshot on it. well I've done it. to those who needs my app email me or leave you email here. well i might come out with free version but maybe with some banners on just for the just for a credit on my own. and also to those who wants some sample I can update my site upon your request.

javascript Grid list with key up and down

Java Script Code function inkey(event,count){ count = parseFloat(count) -1; var existing = parseFloat(document.getElementById("id").value); var add = parseFloat(document.getElementById("id").value) + 1; var minus = parseFloat(document.getElementById("id").value) - 1; if(event.keyCode == 40){ document.getElementById("id").value = add; if(existing == count){ document.getElementById("id").value = 0; } document.getElementById("botx" + document.getElementById("id").value).click(); } if(event.keyCode == 38){ document.getElementById("id").value = minus; if(existing == 0){ document.getElementById("id").value = count; } document.getElementById("botx" + document.getElementById("id").value).click(); } }

Python Send SMS via Cellphone

I'm Impressed with Python-gammu, after gammu was released i was building a python program passing to the hole via AT Commands trough Com ports of a computer to a mobile phone but it was a messed spending hours every day, although got a success in learning AT Commands it was a headache. What do you need: Mobile Phone(of course) i used SE T230, you ca use SE T series, or Nokia Old Models or the best is the benq S series You need a Python 2.4 or 2.5 runs with Linux or Windows(headache) Python-gammu 1.6 to 2.0, ei dont use 2.1 up for those who use fedora 7 or suse 10.2, it will give you a headache A bluetooth if you require a bluetooth transmission than a cable. Assuming you installed gammu successfully edit /etc/gammurc port = ttys0: model = se T230 connection = at Note port if located at /dev/ to know what device is that got to /dev ls the folder remember all the files, plugin your phone to usb then a file will come out, that would be you port finish This Will be your code in py