摘要: A small but powerful App, only focus on one thing, make you easy to print out your checklist. It is open source and "available on the App Store" . "... 阅读全文
posted @ 2015-11-15 15:26 四眼蒙面侠 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 昨天看到Jacob Leverich写了一篇文章Swift is a lot like Scala介绍Swift 和 Scala 的语法对比,从这篇文章的确可以看到Swift 的语法和 Scala 高度的相似。由于本人在搞iOS开发之前增加搞过多年的.NET 开发,于是技痒,昨晚抽了点时间写了篇Sw... 阅读全文
posted @ 2014-07-03 11:37 四眼蒙面侠 阅读(822) 评论(0) 推荐(0) 编辑
摘要: Feature:1. 支持StartupNews的所有功能2. 由于StartupNews暂时没有提供搜索API,所以把搜索功能禁用。3. 使用ShareSDK代替newsyc原有的分享,更适合国人使用。支持分享到微信,QQ,豆瓣等。github地址:https://github.com/terryso/newsyc 阅读全文
posted @ 2013-03-01 11:51 四眼蒙面侠 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 首先,按我自己的理解,简单说一下TDD 和 BDD 有何区别?首先是思路上的区别, 传统的 TDD 关注的是接口是否被正确地实现了, 所以通常每个接口有一个对应的单元测试类。而BDD是通过故事模板和场景,描述产品在用户操作时的具体功能表现,有点类似传统的Use Case。写BDD的测试时更像测试人员平常写的测试用例。由于BDD一般是使用自然语言来表达,所以就算不是开发人员也看得懂。以下就是一个BDD的例子:Behat是PHP下的一个BDD框架,可以配合PHPUnit来使用。更详细的介绍可以去behat的官方网站查看,http://behat.org/在对Web应用做自动化测试时,碰到界面测试时 阅读全文
posted @ 2012-04-08 00:48 四眼蒙面侠 阅读(2336) 评论(0) 推荐(1) 编辑
摘要: 首先简单介绍以下PC遥控器是个神马东西。你只需在被控电脑端安装上PC遥控器,设置好微博登录账号(最新版同时支持新浪和腾讯微博)。这样无论你在何处何地,只要发个微博,就可以对你的电脑进行关机、重启、关闭显示器、查看屏幕截图等操作!简单方便!非常实用!PC遥控器目前是靠我业余时间往里面添砖加瓦,但是一个人的力量和精力是有限的,为了让这款微博小应用的功能更加丰富和实用,我决定把PC遥控器开源,希望园里面... 阅读全文
posted @ 2011-07-08 02:02 四眼蒙面侠 阅读(3514) 评论(36) 推荐(13) 编辑
摘要: PC遥控器是一款新浪微博的PC端小工具,有了这个小工具,你就可以随时随地通过发微博来控制你家里的电脑。 使用场景: 有时你要急着出门,但是你想下载的电影还没下载完成,你希望回来的时候可以马上观看。这时PC遥控器就发挥作用了,你出门前只需打开PC遥控器,设置好微博账号后就可以了。两个小时后,你只需发一条微博:屏幕截图$$看看我的电脑在干什么。一分钟后,PC遥控器就会把你家里电脑当前的屏幕截图发到你的微博上。这时,你看到电影已经下载完成,马上发一条微博:关机$$省电,这时PC遥控就会帮你关闭你的电脑了,既省电又环保。 阅读全文
posted @ 2011-03-21 11:18 四眼蒙面侠 阅读(787) 评论(2) 推荐(1) 编辑
摘要: Inmy first post, I explained a little bit about how sagas can be leveraged to deal with the problem of nested transactions—”transactions” that span more than a single message. There were a few community questions related to me redefining the concept of a saga. That’s definitely not what I’m trying t 阅读全文
posted @ 2011-01-27 00:07 四眼蒙面侠 阅读(671) 评论(0) 推荐(0) 编辑
摘要: For starters, what is a saga? A saga is a “long-lived business transaction or process”. Okay, so what does that mean? Well, first of all, the “long-lived” part doesn’t have to mean hours, days, or even weeks—it could literally mean something as short as a few seconds. The amount of time is not the i 阅读全文
posted @ 2011-01-27 00:05 四眼蒙面侠 阅读(397) 评论(0) 推荐(0) 编辑
摘要: Brad Wilson在他自己的博客写了有关ASP.NET MVC3依赖注入支持的一系列文章,但由于某些原因(你懂的),需要FQ才能阅读。为了方便自己也方便喜欢的同学,特意FQ再拷贝回来发布,以下是这一系列文章的索引:Part 1: IntroductionPart 2: ControllersPart 3: View Engines/View PagesPart 4: FiltersPart 5: IDependencyResolverPart 6: Model ValidationPart 7: Model MetadataPart 8: Value ProvidersPart 9: Mo 阅读全文
posted @ 2011-01-25 18:22 四眼蒙面侠 阅读(460) 评论(3) 推荐(0) 编辑
摘要: View Page ActivatorIn ASP.NET MVC, it’s common for views to be compiled into classes. In MVC 1.0, we shipped theWebFormViewEngineas the default view engine, which allowed the user to write views using the familiar % % syntax from ASP.NET WebForms. The first time the view is rendered, the view file 阅读全文
posted @ 2011-01-25 17:59 四眼蒙面侠 阅读(507) 评论(0) 推荐(0) 编辑