07 2017 档案

摘要:哇第一次接触这个算法。厉害! http://www.cnblogs.com/yan-boy/archive/2012/11/29/2795294.html 阅读全文
posted @ 2017-07-21 23:45 Ariel_HKUST 阅读(94) 评论(0) 推荐(0)
摘要:1. 文字固定显示几行,超出部分由点点点代替: 2. canvas 画虚线 阅读全文
posted @ 2017-07-19 15:21 Ariel_HKUST 阅读(453) 评论(0) 推荐(0)
摘要:牛客网: 1. 单行输入: 2. 两行输入,单行输出: 3. 多行输入, 单行输出: 4. 多行输入, 多行输出: 阅读全文
posted @ 2017-07-18 23:20 Ariel_HKUST 阅读(795) 评论(0) 推荐(0)
摘要:1.如何选取技术栈 主要是显示模块,View是重点,数据可重复性高,用react比较合适。 后端要追踪点击次数,所以用java的rest api but failed, cannot render react component, 2. Choose Bootstrap as UI framewor 阅读全文
posted @ 2017-07-13 16:51 Ariel_HKUST 阅读(124) 评论(0) 推荐(0)
摘要:with session storage: 1.ajax请求可以放在 $(document).ready(function (){...}); 里。 2. 不同页面之间可以get到session storage。 阅读全文
posted @ 2017-07-12 17:55 Ariel_HKUST 阅读(133) 评论(0) 推荐(0)
摘要:1。 npm init。 创建package.json 文件 2。npm install 安装packagejson中的依赖module 3。npm ls -g --depth=1 2>/dev/null/ | grep generator list global node modules, wit 阅读全文
posted @ 2017-07-11 14:25 Ariel_HKUST 阅读(161) 评论(0) 推荐(0)
摘要:在研究react和webpack的时候,经常看到在js文件中出现require,还有import,这两个都是为了JS模块化编程使用。CSS的是@import 1.ES6 模块的设计思想,是尽量的静态化,使得编译时就能确定模块的依赖关系,以及输入和输出的变量。 Require是CommonJS的语法, 阅读全文
posted @ 2017-07-07 11:12 Ariel_HKUST 阅读(52565) 评论(0) 推荐(1)
摘要:1.Concepts: webpack is a module bundler for modern JS applications. Since there are lots of complex JS code and dependencies of files. 2. Entry:webpac 阅读全文
posted @ 2017-07-06 16:20 Ariel_HKUST 阅读(364) 评论(0) 推荐(0)