Simple Injector with ASP.NET MVC 5 Identity 2.0

One reason I love .NET Core is the out-of-box dependency injection it provides. Unfortunately I’m not allowed to use .NET Core due to some backward compatibility requirements. Simple Injector comes to the rescue, but there was a catch when it comes to dynamically injecting DbContext.

Read more

记录学习使用 Node 搭建 API 服务器的路程

很早就在拜读湾区日报,觉得分享的内容与点评都很赞,而且这个分享模式非常简单高效。但对于我来说,唯一缺点是原文不是全文输出,需要跳转到外部继续阅读,打破了在一个 app 里阅读所有内容的习惯。 现在我的另一半也被我安利上了用 RSS 刷新闻,决定借此机会打造一个类似的服务,用于分享新闻。

Read more

S.O.L.I.D Principles

S.O.L.I.D Principles is also known as the first five object-oriented design(OOD) principles, to improve software maintainability and extensibility. Introduced by Uncle Bob (Robert C. Martin), those principles are indispensible for my daily DevOps life.

Read more

利用 Huginn 和知乎日报 API 制作全文 RSS

Huginn 是北欧神话里,主神奥丁的一只乌鸦,每天乌鸦都会为奥丁获取全世界的新闻。 这也是基于 ruby 的 Huginn 所希望替用户做到的,在这个碎片化的时代替用户爬取和筛选任何互联网上信息。 利用 Huginn 和知乎日报 API 输出全文 RSS 以减少碎片化阅读。

Read more

First "full-time" day @ DSB

Today marks the first day as a full-time staff of Data Science, Medical School, Swansea University, after a 3-month internship. I really appreciate the internship in which I learned numerous new things like continues integration and testing and practised my skills.

Read more