http://www.linux.com/article.pl?sid=06/05/25/1439237 要分享键盘鼠标的机器是server,执行synergys 没有键盘鼠标的是client,执行synergyc serverip 我的配置文件 $ cat /etc/synergy.conf # sample synergy configuration file # # comments begin with the # character and continue to the end of # line. comments may appear anywhere the syntax permits. section: screens # three hosts named: moe, larry, and curly loongson: adriano: end section: links loongson: down = adriano adriano: up = loongson end section: options switchDelay = 500 end
Update: as of Jan 15, 2019, trading is working. 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
chardet package is in gentoo-china-overlay layman -a gentoo-china I have already filed a chardet's bug, requesting it to be added to portage However, no response yet #! /usr/bin/python import sys,chardet,shutil,os,tempfile def convert(fname): fp = open(fname) text = fp.read() encoding = chardet.detect(text)['encoding'] rate = chardet.detect(text)['confidence'] if rate > 0.9 and not encoding == 'utf-8': tmp,tmpname=tempfile.mkstemp() os.write(tmp, unicode(text,encoding).encode('utf-8')) shutil.move(tmpname...
Comments