05 2016 档案
摘要:链接:http://suanfazu.com/t/topic/15 入门书单 《数学之美》 PDF586作者吴军大家都很熟悉。以极为通俗的语言讲述了数学在机器学习和自然语言处理等领域的应用。 《Programming Collective Intelligence》(《集体智慧编程》)PDF343作
阅读全文
摘要:用以上代码读取一个包含中文的txt文件时,在正确地读取并打印了六百多行之后,print str(i)+": "+line这一行报错: UnicodeEncodeError: 'gbk' codec can't encode character u'\u200b' in position 99: il
阅读全文
摘要:经过实验发现,命令sed 's/pattern/replacement/' file中,pattern使用的并不是完全的正则表达式,而如果想使用正则表达式,需要使用sed命令的 -r 选项: sed -r 's/RegexPattern/replacement/' file 分析: 第三个命令ech
阅读全文
摘要:引自:http://www.fengdingbo.com/shell-stop-procedure.html
阅读全文
摘要:1.去Oracle官网下载最新的jdk,解压,配置环境变量(直接改 /etc/profile) 参考:http://www.cnblogs.com/aaronhoo/p/5293118.html2.再就是将我们装好的SUN JDK装到系统里,sudo update-alternatives --in
阅读全文
摘要:centos安装chrome:去官网下载chrome安装包(xxx.rpm),带软件安装工具的系统双击该xxx.rpm就能自动安装,或者sudo rpm -i xxx.rpm安装。 centos卸载自带firefox,然后安装最新版本: 1.卸载自带firefoxyum -y remove fire
阅读全文
摘要:为chrome安装flash: 打开终端,输入:sudo apt-get install pepperflashplugin-nonfree 或官网下载安装google-chrome-stable 为firefox安装: 参考:http://jingyan.baidu.com/article/2fb
阅读全文
摘要:http://wapwenku.baidu.com/view/04714847b307e87101f69656.html?ssid=0&from=1086k&uid=0&pu=usm@0,sz@1320_2002,ta@iphone_1_8.4_2_6.4&bd_page_type=1&baidui
阅读全文