上一页 1 2 3 4 5 6 ··· 13 下一页
  2017年8月17日
摘要: ES6,对象相关操作 阅读全文
posted @ 2017-08-17 15:11 码农时刻 阅读(7396) 评论(0) 推荐(0) 编辑
摘要: 参考https://www.fprintf.net/vimCheatSheet.html 1、退出操作: :q 当文件内容没有更改时退出,如果有内容更改则退出失败 :q! 强制退出不保存 :cq 强制退出不保存 :wq 保存并退出 :wq! 强制保存退出 :wq {file name} 在没有对文件 阅读全文
posted @ 2017-08-17 11:19 码农时刻 阅读(214) 评论(0) 推荐(0) 编辑
  2017年8月16日
摘要: 生成器的定义: 使用关键字function* 来定义一个生成器 生成器内部使用yield关键字来做输入输出的操作 假如yield后面有return的操作,那么return后面的yield都会无效 yield 的操作是先输出,[然后再读一个内容,假如你有输入的话] yield 是双向的不阻断的,ret 阅读全文
posted @ 2017-08-16 14:52 码农时刻 阅读(146) 评论(0) 推荐(0) 编辑
  2017年8月15日
摘要: ES6中定义的变量是代表内存中的一个存储的值: 变量可以是一个值或者一个函数 var x = "a" var x = 1 var x = function(){ console.log("this is a demo"); } 阅读全文
posted @ 2017-08-15 17:12 码农时刻 阅读(166) 评论(0) 推荐(0) 编辑
摘要: ES6是javascript的一个版本 Node.js的语法就是ES6的语法 Node.js is an open source, cross-platform runtime environment for server-side JavaScript. Node.js is required t 阅读全文
posted @ 2017-08-15 17:01 码农时刻 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 代码片段1: var xx = 1 var xx = 2 console.log(xx) output: 2 代码片段2: let xx = 3; let xx = 4; console.log(xx) output:报错,提示重复定义 xx 正确: let xx = 3; xx = 4; cons 阅读全文
posted @ 2017-08-15 16:42 码农时刻 阅读(393) 评论(0) 推荐(0) 编辑
  2017年8月13日
摘要: 参考: 1、http://ios.jobbole.com/81900/ 2、https://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap 3、https://vikashazrati.wordpress 阅读全文
posted @ 2017-08-13 14:33 码农时刻 阅读(1544) 评论(0) 推荐(0) 编辑
  2017年8月10日
摘要: a、安装到指定文件夹 1、安装cocoapods: gem install cocoapods --install-dir <your path> 2、执行命令:sudo gem install -n <your path> cocoapod b、创建自己的公开库放在github上 1、使用pod 阅读全文
posted @ 2017-08-10 21:14 码农时刻 阅读(146) 评论(0) 推荐(0) 编辑
摘要: https://lldb.llvm.org/lldb-gdb.html https://stackoverflow.com/questions/21063995/watch-points-on-memory-address lldb 如何查看一个指针的内容: expr <#Type#> $varNa 阅读全文
posted @ 2017-08-10 11:52 码农时刻 阅读(146) 评论(0) 推荐(0) 编辑
  2017年8月9日
摘要: 参考: https://www.tutorialspoint.com/hibernate/hibernate_caching.htm http://puredanger.github.io/tech.puredanger.com/2009/07/10/hibernate-query-cache/ h 阅读全文
posted @ 2017-08-09 22:13 码农时刻 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页