2018年1月-4月的工作终结和回顾,记录下来自己所做的,所改变的,正在发生的。。。
关于断和续
前言
空了半年的博客
上个月过完了自己的28岁生日,终于用上了“年近30”
开始随着时间的累积,值得记录的事物越来越多
越发的觉得记录的重要性
学着写点什么
坚持把记录变成一种生活方式
断
从什么时候开始断说起
2017年2月初,最后一篇博客
工作上开始全力投入到项目从php 到Angular 2 的migration
团队的人员分配问题,前端开发只有我和一个印度小哥(有过angular.js经验)
投入绝大部分时间,精力
学习了全新的框架和语言 (Angular2, TypeScript)
遇到过许多难题和挑战,也都一一解决
工作中没空写博客
下班后也没心思去写博客
导致断了记录的习惯
续
近期项目也稳定了快2个月了
印度小哥上周刚走,由于跟Macys的合同最多只有18个月,必须离开公司
前端又恢复到了2个半开发者,其中半个,韩国阿加西,前后端同时作业
summer 是公司的slow season
活不多,闲暇的时候开始想写博客
每次写博客的时候都在纠结,到底打中文还是打英文呢
我的中英文都是半斤八两,错误连篇
反正也没人看,就自己看的舒服,怎么舒服怎么写,中英文都有 yeah!~~
为了有动力更新, 换个新的主题先
Hexo, NexT
走起
Continuous Integration
Component vs Directive in Angular 2
Overview (source: angular.io)
Let’s look at the documentations from Angular.io, there are total three kinds of directives in Angular 2:
- Component - directives with a template
- Structural directives - change the DOM layout by adding and removing DOM elements, such as
*ngIf
,*ngFor
- Attribute directives - change the appearance or behavior of an element
Component actually is one kind of directives in Angular 2, it is a directive with template. This post is going to focus on Component and Attribute Directives. Let me dive into each kind of directives, and find out what are their characteristics.
SublimeLinter path configure
After install sublimeLinter package
installed plugin such as sublimeLinter-php, sublimeLinter-jshint
in Mac OSX, need to configuration user setting file:
|
|
Game of Life Revisit
Foreword
Back to college time, I had assignment about using C++
to write a game base on ‘Game of Life’, although I did pass that course any way, I had completed forgot how I did it. This question popped up while I did the practices on Leetcode, I didn’t come up the good solution to pass all the test. I tried to get helps from discussion section, there is a top answer which provided by @yavinci. I think his solution is brilliant with great explanation.