上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页
摘要: 1 4对象创建方式 属性为对象的特征,方法(method)为对象的行为。 1. 对象字面量 2. new Object()创建对象 3. 工厂函数创建对象 4. 自定义构造函数 5. new关键字执行时的工作 1. 在内存中创建一个对象。 2. 让this指向这个新的对象。 3. 执行构造函数:给这 阅读全文
posted @ 2018-06-10 10:26 Rocin 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1. 疑问 flask web狗书的 git reset hard 16b flask profile profile dir="./profile",生成了后缀为 .prof的文件,我怎么查看这些文件呢? 我发起了一个issue:https://github.com/miguelgrinberg/ 阅读全文
posted @ 2018-06-07 14:52 Rocin 阅读(1590) 评论(0) 推荐(0) 编辑
摘要: 疑问 在JS的变量和声明式函数的提升看到了“预编译/预处理/预解释”中“预编译”这个字眼,产生了一个疑问:JS是熟知的解释性语言,但JS能被编译吗? 参考 1. https://developer.mozilla.org/en US/docs/Web/JavaScript : JavaScript 阅读全文
posted @ 2018-06-07 00:26 Rocin 阅读(1302) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.jianshu.com/p/3b5f0cb59344 https://jingyan.baidu.com/article/4f34706e18745be386b56d46.html https://www.2cto.com/kf/201401/273825.html h 阅读全文
posted @ 2018-06-06 21:29 Rocin 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 第一集Intro to Economics: Crash Course Econ 1 传送门:https://www.youtube.com/watch?v=3ez10ADR_gM&list=PL8dPuuaLjXtPNZwz5_o_5uirJ8gQXnhEO 1. Economics is the 阅读全文
posted @ 2018-06-06 11:11 Rocin 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 参考,搬运 1. http://python web guide.readthedocs.io/zh/latest/idiom/idiom.html 2. 待定 1. Python支持链式比较 4. 格式化字符时多使用format函数 5. 使用列表或者字典comprehension(推导式) 6. 阅读全文
posted @ 2018-06-05 15:48 Rocin 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 概念 EAFP:easier to ask forgiveness than permission LBYL:look before you leap 代码 有点和缺点 EAFP优点是逻辑清晰,Python社区推荐使用。 LBYL拥有很多逻辑控制代码,使得结构混乱。 在高并发情况下,if条件如果是个 阅读全文
posted @ 2018-06-05 15:15 Rocin 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 参考 https://segmentfault.com/a/1190000006185954 1. Git的所有操作实际上是在操作这三个区域的状态(或内容) 2. 区别 checkout是会修改HEAD的指向,变更Index区域里的内容,修改Working Directory里的内容。 这看上去很像 阅读全文
posted @ 2018-06-04 23:28 Rocin 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 网址 http://docs.python guide.org/en/latest/ Reuqests库的作者写的经验 1. 项目需要一个好的结构 https://www.kennethreitz.org/essays/repository structure and python https:// 阅读全文
posted @ 2018-06-04 12:05 Rocin 阅读(492) 评论(0) 推荐(0) 编辑
摘要: token概念参考 1. https://ninghao.net/blog/2834 2. https://stackoverflow.com/questions/1592534/what is token based authentication 3. http://www.woshipm.com 阅读全文
posted @ 2018-06-02 13:56 Rocin 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页