Posts

Showing posts from May, 2007

Revive ripple-client-desktop

https://github.com/r0bertz/ripple-client-desktop

The first goal is to make it fully functional with RippleAPI.

Current status is most read only operations are working except order book.

Please follow this twitter thread for the most recent updates:
This weekend I tried to revive ripple-client-desktop. l I have reached a point at which I can run gulp without any warning on the command line. However, the app stuck at loading. Then I figured out that the client uses an ancient ripple-lib API. — r0bertz (@r0bertz) December 17, 2018

自动更新handbook翻译进度表的脚本

首先,说明一下我准备把 http://r0bertz.blogspot.com 加入 gentoo planet。
那样意味着以后r0bertz.blogspot.com上所有的文章都将用英文来写,专注于技术相关的话题。
鉴于我们伟大的防火长城间歇性的屏蔽blogspot,建议使用抓虾、google reader等来订阅这个blog。
zhllg.spaces.msn.com就用来写一些非技术话题,用中文写。
给zhlly说声抱歉,zhllg.livejournal.com我要回来也没有怎么好好利用。不过我还没有归还的打算。问题的关键在于,我不想让别人误解我转投了fedora core的阵营,;)

刚刚写了个脚本来更新handbook翻译进度表
http://gentoo.linuxsir.org/doc/progress.xml#doc_chap4
如果发现英文版有了新版本,就更新表格中英文版的版本和日期,并且把进度改成W,完成期限置空

我的xml技术了解不是很深,这样处理xml,似乎很不专业
就当抛砖引玉了
getdate() {
grep Header $1 | egrep -o '200[0-9]/[0-9]{2}/[0-9]{2}'
}
getver() {
grep Header $1 | egrep -o 'v [0-9]+\.[0-9]+'
}

PREFIX=/home/zhangle/gentoo/xml/htdocs/

for i in `grep -o '/doc/en/handbook/.*\.xml' progress.xml`
do
olddate=$(grep -A 1 $i progress.xml | egrep -o 200[0-9]/[0-9]\{2\}/[0-9]\{2\})
newdate=$(getdate $PREFIX$i)

if [[ $olddate != $newdate ]]; then
j=${i//\//\\\/}

sed -i -e "
/$j/ {
N
N
s#$i.*\n <ti>200[0-9]/[0-9]\{2\}/[0-9]\{2\}#$i\">$(getver $PREFIX$i)</uri></ti>\n <t…

Gentoo开发者

终于我跻身Gentoo开发者的行列了
首先有一件要宣布的事是,我改nick了
r0bertz
来到香港后,我的英文名一直叫Robert,原因是叫罗伯特的球星很多
Z就是Zhang的第一个字母
改的原因是 zhllg 不好发音
我的@gentoo.org的邮箱就是r0bertz
http://www.gentoo.org/proj/en/devrel/roll-call/devmap.xml?dev=r0bertz
http://cia.vc/stats/author/r0bertz
等到6个月后,我就可以成mentor了,也就是导师,就可以直接带更多同胞进gentoo了,;)

Gentoo是什么?
The Gentoo Linuxoperating system ( pronounced/ˈdʒɛntu/) is a Linux distribution named after the Gentoo penguin. It is designed to be modular, portable , easy to maintain, flexible, and optimized for the user's machine. All tools and utilities are built from source code.

Popular posts from this blog

How exactly is XRP going to work as a bridging digital asset?