
>>>>>>
Within few weeks, moBaca will be like the right side
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
my MOTU quick fix
This article is about the ubuntu packaging (MOTU) and the quick fix. Because some people didn't get exactly what the want after following the video tutorial
Here are base tutorials about ubuntu packaging:
<<---environment setup-->>
after this first step everything still runnung well......
<<--packaging-->>
my problems after follow this second video are:
- unmached gpg key which cant get the secret key(or something that related with key even if we checked installed key by running gpg --list-key, the required key is already there)
this prolem solved by leave the comment field blank while generating gpg key - cant complete the requirements event all of the requirements already installed
here is my error message:
The following packages have unmet dependencies:
pbuilder-satisfydepends-dummy: Depends: debhelper (>= 7) but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:
Remove the following packages:
pbuilder-satisfydepends-dummy
Score is -9850
The following packages will be automatically REMOVED:
pbuilder-satisfydepends-dummy
The following packages will be REMOVED:
pbuilder-satisfydepends-dummy
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
(Reading database ... 12190 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
this can be fixed byby running this command before perform package building:
sudo pbuilder create --distribution < ubuntu_version> --othermirror "deb http://archive.ubuntu.com
/ubuntumain restricted universe multiverse"
since i use intrepid, i change < ubuntu_version> with intrepid. This command download more package dependency, since perhaps the file which written on .pbuilderrc on my base directory are not loaded
in advance, you can get another video from ubuntu developer including paching tutorial here
happy linuxing........
good luck......