Finally, after few months. MoBaca 1.0 released. The feature are the same from previous stable version, with little fix for scrolled text area. In this release I used LWUIT for user interface to make the UI better. happy reading...
my mobile text reader (moBaca) released
Dear readers, a lot of interesting books are available free on Project Gutenberg. We can choose thousands of titles there. Must be more fun way to read it on out cheap Java enabled mobile phone after download the files, we could read it anytime and anywhere just with our mobile phone even it's not ipad, palm or Symbian. Actually when we open the text file, our phone will open the file automatically with default web browser, but:
- It load whole file content into one page
- Every time you open the file, you always get the first top page, event you want to continue reading from certain position
- Load text into pages and you could navigate the pages with previous and next button
- Auto bookmark, every time you stop reading a file (open another file or exit from application) the last page you have read will automatically bookmarked. So next time you open the file again, you will get the last page you have read
Feel free to use moBaca to read your text file.
And if you like it, please help me to spread to the world
I would be glad for feedback and development help...
my barcode on jasper report
Here were my conditions when I want to add barcode generator ability on my report:
- I used to get my jrxml file (japer report file) that generated by iReport. Than I didn't ever notice the details code.
- So many package for barcode generator, and followed by confusing about the dependencies
- I want to integrate it with jasper plugin for grailsI want the barcode image generated on the fly, without need to save to image file
- create maven project in my netbeans, to manage dependency problems easily
- add barcode4j library to projectcreate simple script to generate image for testing. So I know if all dependency to generate barcode are completed
- apply barcode generator to jasper report using jasper scriptlet
- than integrate it with grails by put the jrxml file on web-app/reports, scriptlet code on src/java and put all dependency library on lib
my grails and searhable on list view
Hi, i just post my old code about grails and searchable plugins on http://freeezcode.wordpress.com/2008/12/27/grails-searchable/
here is the shoot:

my whm and tomcat story
Managing WHM based server is easy for everyone. I thought no Linux knowledge needed. Managing name server, mail, redirect etc are already web base. Updating web server is easy. Apache, MySQL/postgresql, PHP and the modules are available with latest version, just choose what does we want, and during that configuration we guided by easyApache. If using the shell we can run this command /scripts/easyapache
Once, I need to check my ajexa server wether it's still on or already down. If the server down I need to restart it. And I found all server related services commands are on /scripts directory including command that I need 'restartsrv_tomcat'.
So then I create this python script which called ajexaSrvHandler.py on /etc/cron.daily which contain these code:
#!/usr/bin/python
import httplib
import subprocess
conn = httplib.HTTPConnection('www.mywebsite.com', 8080)
conn.request('GET', '/ajexasrv/')
response = conn.getresponse()
if response.status != 200:
subprocess.call('/scripts/restartsrv_tomcat')
print "ajexasrv had failed and just already restarted"
conn.close()
And that script sent me email that contain printed value after restart the tomcat server, since I already put my email address on 'System mail Preference'. Very helpful thought, with minimum effort.
Labels: linux, tomcat, tomcat whm

