2019年12月20日

摘要: "计算的本质" by Tom Stuart, 2014 "Hands on Machine Learning with Scikit Learn, Keras, and TensorFlow" 2nd edition, by Aurélien Géron, 2019 "深度学习的数学" by 涌井良 阅读全文
posted @ 2019-12-20 10:54 leechau 阅读(102) 评论(0) 推荐(0) 编辑

2014年4月2日

摘要: Generate ssh keys on source host with ssh-keygen;Disable known_hosts prompt(optional): add "StrictHostKeyChecking no" into ~/.ssh/config;Run fabric script to distribute pubkey, you have to input passw... 阅读全文
posted @ 2014-04-02 15:53 leechau 阅读(323) 评论(0) 推荐(0) 编辑

2014年3月28日

摘要: The user provide the method to get result(command on remote host), the check standard(a callback function), and information about target host(ip and username), and a timeout of execution time optional... 阅读全文
posted @ 2014-03-28 18:58 leechau 阅读(284) 评论(0) 推荐(0) 编辑

2014年3月27日

摘要: subprocess.callThis is the recommended way to run shell commands in Python compared with old-fashioned os module.This is a realtime method, which means you can get the shell output on the fly, compared with following "subprocess.check_output" method, which collect all output in its return 阅读全文
posted @ 2014-03-27 09:55 leechau 阅读(3368) 评论(0) 推荐(1) 编辑

2014年3月26日

摘要: When you install Fabric with apt-get install fabric, you get a fabric with version 1.3.x, which is too old. So we need install it manually: apt-get install -y python-devapt-get install -y python-pippip install fabricThat's it. If you want to speed up the installation process, download Fabric-1.8 阅读全文
posted @ 2014-03-26 19:00 leechau 阅读(255) 评论(0) 推荐(0) 编辑
摘要: The host 10.21.3.69 has no H3C client, so it can't access the internet. With Tinyproxy, we can setuup a proxy server on 10.21.3.31 to enable 69 access the internet.Server SetupInstallation: apt-get in... 阅读全文
posted @ 2014-03-26 15:24 leechau 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 一般情况下用:set ff=unix就可以解决问题,如果无效,用下面的方法手工完成::%s/[ctrl+v] [ctrl+m]//gctrl+v表示按住Ctrl键再按下v键。 阅读全文
posted @ 2014-03-26 15:24 leechau 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Follow the instructions at 2.6. Generic installation, upgrade and downgrade method: via tarball of Phusion Passenger users guide, Apache versionBuild web server on a precise64 Ubuntu virtual machine w... 阅读全文
posted @ 2014-03-26 15:24 leechau 阅读(195) 评论(0) 推荐(0) 编辑
摘要: :%s/\s+$ 阅读全文
posted @ 2014-03-26 15:24 leechau 阅读(147) 评论(0) 推荐(0) 编辑
摘要: sudo update-alternatives --config java will produce: Selection Path Priority Status0 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1071 auto mode*1 /usr/lib/jvm/java-6-openjdk-i386/jre/... 阅读全文
posted @ 2014-03-26 15:23 leechau 阅读(135) 评论(0) 推荐(0) 编辑

导航