Google Maps Mania: It's Google Maps, But Not As We Know It
Woo
HOW-LOW-WORLD
Monday, February 6, 2012
Thursday, July 22, 2010
convert Docbook to PDF
I got great support from XMLmind,quick and XMLmind are more easy than Oxygen.Also it means I did not read FAQ well,so RYFM!,shame...
Here is solution
This add 2010.7.24
How to config none Alphabetical font,like CJK chars. I used to XMLmind and Oxygen,but both could not done it at default. When converting,XMLmind depend on XEP software,Oxygen probably independent. There is no font configuration on XMLmind,then I asked XEP online chat support and not fix it yet. At Oxygen when occur error,it try to send report and I agree it. They answer very quick. It would help,but very hard configure.The Oxygen config for using and to show Japanese font.
please change path and some vars,when not fit for you.GUI:Never show Japanese font,just show white blocks.
There is config at Options → Preferences → Fonts, Editorconverted PDF:Never show Japanese font,just show #.
1.Make font metrics xml file from ttf(TrueTypeFont).
For Windows: ttfConvert.batThis bat should run in Oxygen folder that application installed.
*I want to use OTF font,but no way to know metrics now also want to know how.
**ipamp.ttf,This is Japanese char font from Information-technology Promotion Agency, Japan.
very clear font and nice license.Here is font:ipa
2.Make fopConfiguration.xml.
3.Set FOP configuration file in Oxygen
Go to menu Options → Preferences → XML → XSLT / FO / XQuery → FO ProcessorsClick the browse button near Configuration file for the built-in FOP text field and locate the fopConfiguration.xml file.
Click on the OK button to accept the changes.
4.Add new font to FO output for DocBook Stylesheets
Click on the Parameters button in the transformation scenario edit dialog and enter the following parameters indicating the font for the body text and for the titles.Name Value
body.font.family ipamp
title.font.family ipamp
Wednesday, July 14, 2010
cgit - on Debian Apache2
cgit - a very fast web frontend for git repositories
installation to Apache2 on debian lenny
- Setup git server by gitosys. ref.-link1(lang_JP),link2(lang_EN)
- add permission by chomod 755 to git repo for cgit exec .git.(Maybe chmod 755 -R /home/git/repositories/)
- build & install cgit.(I had error curl for getting git and extract tar.bz2 at make get-git.)
- config file:/etc/cgitrc
virtual-root=/cgi-bin/
# Enable caching of up to 1000 output entriess
cache-size=1000
# Show extra links for each repository on the index page
enable-index-links=1
# Show number of affected files per commit on the log pages
enable-log-filecount=1
# Show number of added/removed lines per commit on the log pages
enable-log-linecount=1
# Enable statistics per week, month and quarter
max-stats=quarter
# Set the title and heading of the repository index page
root-title=tknv git repositories
# Set a subheading for the repository index page
root-desc=tracking the tknv development
# Include some more info about foobar.com on the index page
root-readme=/var/www/htdocs/about.html
# Allow download of tar.gz, tar.bz2 and zip-files
snapshots=tar.gz tar.bz2 zip
##
## List of common mimetypes
##
mimetype.gif=image/gif
mimetype.html=text/html
mimetype.jpg=image/jpeg
mimetype.jpeg=image/jpeg
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml
##
## List of repositories.
## PS: Any repositories listed when section is unset will not be
## displayed under a section heading
## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
## and included like this:
## include=/etc/cgitrepos
##
repo.url=SuperEngine
repo.path=/home/git/repositories/SuperEngine.git
repo.desc=the SUperEngine repository
repo.owner=foo@bar.com
repo.url=OSGi-module
repo.path=/home/git/repositories/OSGi-module.git
repo.desc=the OSGi-module repository
repo.owner=foo@bar.com
ServerName halryporya.co.foo
DocumentRoot /var/www/htdocs/cgit/
ScriptAlias /cgi-bin/ "/var/www/htdocs/cgit/cgit.cgi/"
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
Alias /cgit.png /var/www/htdocs/cgit/cgit.png
Alias /cgit.css /var/www/htdocs/cgit/cgit.css
Alias / /var/www/htdocs/cgit/cgit.cgi/
http://halryporya.co.foo/cgi-bin/
by browser
watching CGIT site...
Thursday, April 22, 2010
/dev/vmmon error
When I start VMwarePlayer 2, error occur could not find /dev/vmmon.
In google, many people say "use vmware-config.pl", But mostly they do it as same as casting spell.
Also my VMware has not that perl file.
Maybe depend on user that boot VMwarePlayer and load module list.(need more debug myself)
Anyway,load vmmon.ko then ok.
In google, many people say "use vmware-config.pl", But mostly they do it as same as casting spell.
Also my VMware has not that perl file.
Maybe depend on user that boot VMwarePlayer and load module list.(need more debug myself)
Anyway,load vmmon.ko then ok.
1.check where is my vmmon.ko
# vmplayer
then it show vmmon.ko path.
2.load it
# sudo insmod _that_path_vmmon.ko
3.run VMwarePlayer
Friday, April 9, 2010
Error when reading rootfs
Embedded linux on SD card, Hiding problems in many case as doubt.
1st,that kernel panic is evidence u-boot,grub,any boot system are maybe ok.
2nd,try mkfs against rootfs partition and write rootfs all again.
3rd,change SD card writer that using write rootfs.
In my experience mostly SD card writer are problem.
Error occur while dd command, Usually SD card problem. I used many SD card even famous brand.
But how do you believe it?
It is much case in dd command error that using without R mark SD card.
By the way how weak SD card...
- sometime kernel could not boot
- sometime read SD card
- sometime dd command could not done
Kernel panic - not syncing: No init found, Try passing init= option to kernel".
SD card Buffer I/O error.
read error or write error
1st,that kernel panic is evidence u-boot,grub,any boot system are maybe ok.
2nd,try mkfs against rootfs partition and write rootfs all again.
3rd,change SD card writer that using write rootfs.
In my experience mostly SD card writer are problem.
Error occur while dd command, Usually SD card problem. I used many SD card even famous brand.
But how do you believe it?
There is much much illegal copy brand.
It is little help to choice with R mark or not when you purchase SD card.It is much case in dd command error that using without R mark SD card.
By the way how weak SD card...
Saturday, February 20, 2010
いや、両方に片足突っ込んじまった、、、
ハードのデバッグって大変で、まず、
石などが、中途半端にぶっ壊れてるかもしれない、
回路が間違っているのかもしれない、
ノイズによって、亡霊が乗ってるかも、
疑いがかかるところをソフトと同じで一つ一つ潰すしかないのであるが、ソフトの様にあとからデバッガーなどで追えるように出来無いのである。でTP(テストポイント)を回路の設計に入れとくんです、debugger仕込む感じですね。しかしながら、入出力(内部の挙動は分からない)しか分からない、ただ、あるとないでは大違い。
このチップが動かんようだ、なので起動しない。と言うときに、すっ飛ばしていいならジャンパーで無視、で、そん時にTPがなくて超細いところだったりすると、やるところはわかっているが人間ではできなさそう。だったりします。
TPがあると、ソフトで言うモックのような事もできます、ここに電気くべたら、このモジュールは起動するはず、とか見たり。TPつかって怪しいもんをジャンパーしたりとか、スタブ見たいなもんだな、まだ、不具合あるからこのモジュールはジャンプ、コードだったら、未実装なんでテスト中は期待している値をそのまま返すようにするとか。
だっけど、器具もいろいろいるし、ハンダも必要だし、大変この上ない。
ハード好きな人が、ソフトはちゃんと書けば動くけど、ハードは作っても動かん時があるから楽しいってさ。
疑いがかかるところをソフトと同じで一つ一つ潰すしかないのであるが、ソフトの様にあとからデバッガーなどで追えるように出来無いのである。でTP(テストポイント)を回路の設計に入れとくんです、debugger仕込む感じですね。しかしながら、入出力(内部の挙動は分からない)しか分からない、ただ、あるとないでは大違い。
このチップが動かんようだ、なので起動しない。と言うときに、すっ飛ばしていいならジャンパーで無視、で、そん時にTPがなくて超細いところだったりすると、やるところはわかっているが人間ではできなさそう。だったりします。
TPがあると、ソフトで言うモックのような事もできます、ここに電気くべたら、このモジュールは起動するはず、とか見たり。TPつかって怪しいもんをジャンパーしたりとか、スタブ見たいなもんだな、まだ、不具合あるからこのモジュールはジャンプ、コードだったら、未実装なんでテスト中は期待している値をそのまま返すようにするとか。
だっけど、器具もいろいろいるし、ハンダも必要だし、大変この上ない。
ハード好きな人が、ソフトはちゃんと書けば動くけど、ハードは作っても動かん時があるから楽しいってさ。
Wednesday, February 17, 2010
Gumstix Overo Fire!!!
But it is not only for overo issue. I never think ANTENNA is so much important in very close range.
When I try check wifi chip RT2870, It is still not work completely.
Anyway Fire:88W8686 needs ANTENNA even 30cm radius from AP.
And headache cross compile RT2870.
Change Makefile like that,Hope it will help for another too.
I used bitbake, So better use that tool chain for cross compile. Because bitbake already gitted kernel headers and build tool chain.
For example, little change RT2870's Makefile.
in ~/tmp/work dir there is source for build and ~/tmp/cross dir there is Tool chain.
But end of line should be "arm-angstrom-linux-gnueabi-", compiler will attach on that end.
'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'
that version doesn't work in arm... still I am testing.
When I try check wifi chip RT2870, It is still not work completely.
Anyway Fire:88W8686 needs ANTENNA even 30cm radius from AP.
And headache cross compile RT2870.
Change Makefile like that,Hope it will help for another too.
I used bitbake, So better use that tool chain for cross compile. Because bitbake already gitted kernel headers and build tool chain.
For example, little change RT2870's Makefile.
in ~/tmp/work dir there is source for build and ~/tmp/cross dir there is Tool chain.
But end of line should be "arm-angstrom-linux-gnueabi-", compiler will attach on that end.
ifeq ($(PLATFORM),PC)
# Linux 2.6
LINUX_SRC = ~/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.31-r51/image/lib/modules/2.6.31-omap1/build
LINUX_SRC_MODULE = ~/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.31-r51/image/lib/modules/2.6.31-omap1/kernel/drivers/net/wireless/
CROSS_COMPILE = /home/tknv/overo-oe/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-
endif
'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'
that version doesn't work in arm... still I am testing.
Subscribe to:
Posts (Atom)