todos的代码这里下载:https://github.com/documentcloud/backbone/?首先应该来看下功能,先看截图:?从这个界面我们可以总结出来,这个Todos有哪些功能:1、添加任务。2、修改任务(包括内容,状态)。3、删除任务。4、任务完成情况统计。总体上就这四项功能。...
分类:
其他好文 时间:
2015-01-19 18:55:16
阅读次数:
134
小弟很懒,不喜欢写这些总结,主要是表达能力有限,如果想一起交流volley相关的,可以看看我的github
Volley
大家一起学习进步
1. Volley中添加url参数和表单
请求中添加Url参数,需要自己拼接字符串,或者重写getUrl方法
StringBuilder sb = new StringBuilder();
if (!url...
分类:
移动开发 时间:
2015-01-19 15:43:09
阅读次数:
191
如图所示,实现类似与gmail的下拉刷新。项目地址:https://github.com/stormzhang/SwipeRefreshLayoutDemo一、在xml文件中定义这个控件在supportV4就提供了,叫做SwipeRefreshLayout。这个view其实就是一个父控件,我们可以如...
分类:
移动开发 时间:
2015-01-19 14:16:51
阅读次数:
247
http://www.androidren.com/index.php?qa=264&qa_1=install-node-js
The best way to install Node.js is installing with nvm.
cURL:
$ curl https://raw.github.com/creationix/nvm/master/install...
分类:
Web程序 时间:
2015-01-19 10:56:51
阅读次数:
131
PushMebaby是测试远程推送是否可用的第三方框架使用方法:1.上github下载PushMebaby的源码2.在本地尝试编译PushMebaby,可能会有Error解决方法:把抛Error对应的代码 注释掉//#include 3.在ApplicationDelegate.m填写deviceT...
分类:
移动开发 时间:
2015-01-19 06:49:26
阅读次数:
524
最近在探索graniteDS的应用,示例代码需要通过git来下载。gitclonehttp://github.com/graniteds-tutorials/graniteds-tutorial-chat.git下载后默认的版本是master,如果需要切换到比较旧的版本需要使用如下命令列出版本的hash列表gitls-remote这时github会返回如下信息Fromhttp..
分类:
其他好文 时间:
2015-01-19 00:19:37
阅读次数:
235
这是一个GitHub项目,由xiaobin80来维护。
HTTPS链接: https://github.com/xiaobin80/SerialComm.git
SSH链接: git@github.com:xiaobin80/SerialComm.git
开发语言:VC2005
目前实现的效果如下图:...
分类:
其他好文 时间:
2015-01-19 00:17:51
阅读次数:
162
1.excel转json
这个可以参见前辈python的方式:
https://github.com/gdgoldlion/ExcelAndJSON
不过这个需要装python和xlrd,装xlrd的时候需要用命令:
python setup.py install
在win32上用批处理这样转换excel到json:
python %~dp0../src/excel...
分类:
Web程序 时间:
2015-01-18 15:48:29
阅读次数:
213
https://github.com/facebook/pophttp://www.cocoachina.com/industry/20140507/8339.htmlhttp://www.ui.cn/project.php?id=21148http://blog.csdn.net/u0137418...
分类:
其他好文 时间:
2015-01-18 15:36:23
阅读次数:
143
这几天被搞残了, 在clone项目的时候,必须要使用git://协议 , 所以设置的http https协议代理都不行, 在网上找了好多资料都没有. 功夫不负有心人,最后终于给我搞定了.
一般在中国用git协议clone项目速度都只有几kb/s, 被GFW那几个sb给kill了.
打开命令行:
1, sudo vi ~/.socks5proxyssh
#!/bin/sh
ssh -o Pr...
分类:
系统相关 时间:
2015-01-18 14:24:58
阅读次数:
261