2017年10月23日

react tsx

摘要: 创建项目目录 创建tsconfig.json 创建文件目录 lib目录下创建index.html config目录下创建文件webpack.config.js src目录下创建index.tsx 安装依赖包 package.json script添加执行命令 create react app typ 阅读全文

posted @ 2017-10-23 17:21 前路亦是故乡 阅读(14768) 评论(0) 推荐(0) 编辑

2017年9月28日

python人脸识别开源库face_recognition

摘要: 中文翻译讲解博客地址: http://blog.csdn.net/hongbin_xu/article/details/76284134 原文github地址: https://github.com/ageitgey/face_recognition#face-recognition 现存下,慢慢看 阅读全文

posted @ 2017-09-28 15:06 前路亦是故乡 阅读(320) 评论(0) 推荐(0) 编辑

2017年9月21日

vim

摘要: 配置 set nocompatible "去掉有关vi一致性模式,避免以前版本的bug和局限 set nu! "显示行号 set guifont=Luxi/ Mono/ 9 " 设置字体,字体名称和字号 filetype on "检测文件的类型 set history=1000 "记录历史的行数 s 阅读全文

posted @ 2017-09-21 18:06 前路亦是故乡 阅读(116) 评论(0) 推荐(0) 编辑

2017年9月19日

github

摘要: github个人站 先贴官方文档 https://pages.github.com/ 创建项目username.github.io 创建index.html随便写点东西,加一个readme文件(不加显示404) ping username.github.io 可以拿到ip地址,可以用来绑定到自己的域 阅读全文

posted @ 2017-09-19 15:30 前路亦是故乡 阅读(106) 评论(0) 推荐(0) 编辑

2017年9月17日

sublime

摘要: license: 3143 : 阅读全文

posted @ 2017-09-17 20:18 前路亦是故乡 阅读(111) 评论(0) 推荐(0) 编辑

2017年9月14日

视频流hls rtsp rtmp

摘要: rtsp测试地址: rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov rtmp测试地址 rtmp://live.hkstv.hk.lxdns.com/live/hks http live stream测试地址 香港卫视:http://live 阅读全文

posted @ 2017-09-14 16:58 前路亦是故乡 阅读(1024) 评论(0) 推荐(0) 编辑

npm

摘要: npm search报错,install等功能正常 可能使用了淘宝的registry.地址,改回默认地址有效 npm config set registry https://registry.npmjs.org/ 阅读全文

posted @ 2017-09-14 14:57 前路亦是故乡 阅读(73) 评论(0) 推荐(0) 编辑

2017年9月12日

小程序

摘要: tips: 网络请求只支持https,http访问可以在开发环境使用,开发工具右上角详情-项目设置勾选(不校验安全域名、TLS 版本以及 HTTPS 证书) 不提供数据双向绑定,如有需要可以使用bindinput来声明一个处理函数完成setData操作 暂时没发现好的页面间传数据方法,url中拼接不 阅读全文

posted @ 2017-09-12 18:25 前路亦是故乡 阅读(153) 评论(0) 推荐(0) 编辑

2017年9月5日

babel

摘要: 创建.babelrc文件//初始应该是这样的格式 { "presets": [], "plugins": []} //以es2015为例,需要其他的自行添加npm install --save-dev babel-preset-es2015将需要转码的规则添加到配置中{ "presets": ["e 阅读全文

posted @ 2017-09-05 19:20 前路亦是故乡 阅读(103) 评论(0) 推荐(0) 编辑

2017年8月15日

react native开发日记

摘要: 导航组件 React-natvigation 官方地址:https://reactnavigation.org/docs/intro/ 相关文章地址:http://blog.csdn.net/u013718120/article/details/72357698 expo: http://expo. 阅读全文

posted @ 2017-08-15 15:59 前路亦是故乡 阅读(306) 评论(0) 推荐(0) 编辑

导航