Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easie...
分类:
Web程序 时间:
2014-07-16 23:25:24
阅读次数:
601
未使用Async之前coffeescript写的代码:exports.product_file_add = (req,res) -> if !req.param('file_id') return res.json({'flag':'error','msg':'请先上传文件再保存!'}) ...
分类:
Web程序 时间:
2014-07-10 10:16:14
阅读次数:
773
A + B Problem (2)时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:2600 测试通过:1372描述Calculate a + b.输入The input will consist of a series of pai...
分类:
其他好文 时间:
2014-06-18 13:34:20
阅读次数:
223
在Extjs 中, 单一的 Column Chart 的展示效果如上。
定义的步骤如下:
1. 创建一个 Ext.chart.Chart
2. 配置坐标轴 axes
配置一个Category 类型的横坐标, 用来显示月份
配置一个 Numeric 类型的纵坐标, 用来显示这个月份的数据
3. 配置显示的图 series
配置 column 类型的柱状图。...
分类:
Web程序 时间:
2014-06-18 07:33:49
阅读次数:
439
http://mikedormitorio.azurewebsites.net/BlogPost/jqgrid-series-part-1-loading-data-to-a-jqgrid-on-an-asp-net-mvc-applicationhttp://stackoverflow.com/q...
分类:
Web程序 时间:
2014-06-15 20:35:39
阅读次数:
244
http://poj.org/problem?id=3233
ps转:
用二分方法求等比数列前n项和:即
原理:
(1)若n==0
(2)若n%2==0
(3)若n%2==1
代码如下:
LL sum(LL p,LL n)
{
if(n==0) return 1;
i...
分类:
其他好文 时间:
2014-06-15 20:01:44
阅读次数:
210
调试了一整天,终于显示出来了。详细例子参照官网的demo:http://www.hcharts.cn/demo/index.php在这只贴出关键部分的JS代码1.
chart (就是在events的load里写一个实时获取的方法。通过json调用去后台拉新数据加到series里) 1 chart:....
分类:
其他好文 时间:
2014-06-12 11:17:44
阅读次数:
261
《UNIX环境高级编程(第3版)》基本信息原书名:Advanced Programming
in the UNIX Environment (3rd Edition) (Addison-Wesley Professional Computing
Series)原出版社: Addison-Wesley...
分类:
其他好文 时间:
2014-06-12 10:43:53
阅读次数:
330