# pip install --upgrade cairocffi
2016年3月10日 星期四
2016年3月6日 星期日
WProgram.h: No such file or directory
1.
change "WProgram.h" to "Arduino.h"
2.
References :
WProgram.h: No such file or directory
ARDUINO 1.0 - error: WConstants.h: No such file or directory
change "WProgram.h" to "Arduino.h"
2.
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
References :
WProgram.h: No such file or directory
ARDUINO 1.0 - error: WConstants.h: No such file or directory
2016年2月23日 星期二
mplayer play speed
$ mplayer file.mpg -speed 0.1
--speed=<0 .01-100="">
0.5 = 0.5x
1 = original
10 = 10x
References :
0>
SSH no matching host key type found. Their offer: ssh-dss
$ ssh -p 1234 -oHostKeyAlgorithms=+ssh-dss -oPubKeyAcceptedKeyTypes=+dsa root@192.168.1.1
References :
OpenSSH7 Unable to negotiate with 192.168.1.1: no matching host key type found. Their offer: ssh-dss - MikroTik RouterOS
2016年2月22日 星期一
Debian Hotplugged Network Interface
# vi /etc/network/interfacesallow-hotplug usb0
auto usb0
iface usb0 inet dhcp
2016年2月11日 星期四
Weewx Raw/LOOP Data Plugin (raw.py)
- Copy the
extra/plugins/weewx/raw.pyfile into$WEEWX_HOME/bin/user/ - vi weewx.conf
[Databases]
[[raw_mysql]]
database_name = weewx
host = localhost
user = weewx
password = weewx
driver = weedb.mysql
[Engine]
[[Services]]
archive_services = weewx.engine.StdArchive, user.raw.RawService
[Raw]
raw_database = raw_mysql
data_limit = 24 - ./bin/weewxd weewx.conf
References :
Re: Re: How does weewx process Davis LOOP packets?Upgraded raw plugin for MesoWx v0.4.0
2016年1月14日 星期四
訂閱:
文章 (Atom)