摘要: 非runserver 要配置 STATIC_URL 到 STATIC_ROOT 映射from django.conf.urls.static import staticfrom django.conf import settingsurlpatterns = [ url(r'^admin/', admin.site.urls),] + static(settings.STATIC_URL... 阅读全文
posted @ 2017-11-23 17:53 anjunact 阅读(78) 评论(0) 推荐(0) 编辑
摘要: openssl req -newkey rsa:2048 -nodes -keyout spring5packt.key -x509 -days 3650 -out spring5packt.crtkeytool -import -alias spring5server -file spring5packt.crt -keystore spring5packt.keystore 阅读全文
posted @ 2017-11-18 10:42 anjunact 阅读(109) 评论(0) 推荐(0) 编辑
摘要: pyhton3.6.2 pip install keras TypeError: parse() got an unexpected keyword argument 'transport_encoding' conda install -c anaconda html5lib 阅读全文
posted @ 2017-10-25 17:29 anjunact 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #机器学习监督学习supervised learning:有数据和标签非监督学习unsupervised learning:只有数据,没有标签半监督学习强化学习reinforcement learning:从经验中总结提升遗传算法 genetic algorithm 适者生存,不适者淘汰一 neur 阅读全文
posted @ 2017-10-23 09:24 anjunact 阅读(228) 评论(0) 推荐(0) 编辑
摘要: master:192.168.11.2 s1:192.168.11.3 s2 :192.168.11.4 共三个节点 第一步配置(三台一样) http://hadoop.apache.org/docs/r2.7.4/hadoop-project-dist/hadoop-common/ClusterSetup.html1> etc/hadoop/core-site.xm... 阅读全文
posted @ 2017-10-13 22:26 anjunact 阅读(186) 评论(0) 推荐(0) 编辑
摘要: (thunder:\/\/[A-Za-z0-9\+\/=]*) 阅读全文
posted @ 2017-10-07 16:24 anjunact 阅读(108) 评论(0) 推荐(0) 编辑
摘要: yum install yum-utils createrepo yum-plugin-prioritiesyum install httpd编辑/etc/yum/pluginconf.d/priorities.conf[main]enabled=1gpgcheck=0 阅读全文
posted @ 2017-09-28 16:33 anjunact 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1. wget -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum install http://rpms.remirepo.net/enterprise/remi-release 阅读全文
posted @ 2017-09-26 16:40 anjunact 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 键(key)name 上的 := 方法会返回一个 Setting http://www.scala-sbt.org/1.x/docs/Plugins-Best-Practices.html http://www.scala-sbt.org/1.x/docs/Best-Practices.html S 阅读全文
posted @ 2017-09-23 17:08 anjunact 阅读(337) 评论(0) 推荐(0) 编辑
摘要: mvn archetype:generate -DgroupId=cc.anjun.spring -DartifactId=spring-mongo -DarchetypeArtifactId=maven-archetype-webapp 阅读全文
posted @ 2017-09-12 08:18 anjunact 阅读(266) 评论(0) 推荐(0) 编辑