当你Eclipse环境中修改项目中的某个方法时,你可能由于各种原因没有运行单元测试,结果代码提交,悲剧就可能随之而来。所幸infinitest(http://infinitest.github.io/)提供了一个Continuous
Testing插件,以及时自动运行单元测试。
分类:
系统相关 时间:
2014-05-18 19:08:49
阅读次数:
410
用jquery实现的一个超级简单的下拉菜单。
效果图
初始效果
鼠标悬浮效果
代码
nav a {
text-decoration: none;
}
nav > ul > li {
float: left;
text-align: center;
padding: 0 0.5em;
}
nav li ul.sub-menu {
...
分类:
Web程序 时间:
2014-05-18 10:48:11
阅读次数:
522
GitHub and Git basic command tips...
分类:
其他好文 时间:
2014-05-18 09:03:35
阅读次数:
255
【题目】
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:
其他好文 时间:
2014-05-18 08:37:57
阅读次数:
370
原文出自:方杰|http://fangjie.sinaapp.com/?p=183 转载请注明出处
最终效果演示:http://fangjie.sinaapp.com/?page_id=54
该项目代码已经放到github:https://github.com/JayFang1993/SinaWeibo
一.TabHost的实现
之前的一篇文章讲的就是TabHost,但是那...
分类:
移动开发 时间:
2014-05-18 08:22:30
阅读次数:
374
https://github.com/xsmart/onvifcpplib
这个库支持ProfileS 和ProfileG,目前还在开发当中,现在已经支持Event
下面是一个客户端的例子
int _tmain(int argc, _TCHAR* argv[])
{
int ret;
/* 192.168.1.1 is the NVT, 192.168.1.234 is the N...
分类:
编程语言 时间:
2014-05-18 05:26:01
阅读次数:
384
Redis是一个用的比较广泛的Key/Value的内存数据库,新浪微博、Github、StackOverflow等大型应用中都用其作为缓存,Redis的官网为http://redis.io/。最近项目中需要使用Redis,这里简单记录一下Redis的安装,以及如何在.NET中使用Redis。Redi...
分类:
Web程序 时间:
2014-05-17 23:28:11
阅读次数:
473
目录[-]必备软件:环境配置:【open-jdk-6.0】 【android-sdk】
【ant】 【github】【node.js】 【rvm】(ruby-1.9.3 rails-4.0.0 gemfile)
必备概念:关于自动化部署我推荐大家参谋一下Fortune Zhang的一篇文章:andr...
分类:
移动开发 时间:
2014-05-17 23:17:03
阅读次数:
647
1、Vundle插件:https://github.com/gmarik/Vundle.vim用于管理Vim插件,安装此插件需要系统中已安装git,参考链接:Git
for Windows安装和基本设置 在Vim/vimfiles路径下新建文件夹bundle,然后在此文件夹下克隆github上的v....
我最近做了一个网站,叫做小院子。主要是介绍我在github开源的一些程序。希望大家能关注一下,并对我的网站提出意见。我的邮箱admin@smallyard.cn
分类:
其他好文 时间:
2014-05-17 18:17:39
阅读次数:
199