1 命名规则1.1 基本变量基本变量有三个:ngx_module_t 类型的 ngx_http_foo_bar_module;ngx_command_t 类型的数组 ngx_http_foo_bar_commands;ngx_http_module_t 类型的 ngx_http_foo_bar_mo...
分类:
其他好文 时间:
2014-10-22 17:41:49
阅读次数:
258
关键代码: /// /// 设置X轴Title /// /// ChartControl /// Title文字 /// Title文字颜色 public static void SetAxisXTitle(this ChartControl chart, string title...
分类:
其他好文 时间:
2014-10-22 12:48:39
阅读次数:
1668
首先,新建一个类,继承自Chart,重写LoadWatermark方法.再创建图表实例的时候就不能new Chart实例了,直接使用MyCharts.使用去除水印之前的图片:使用去除水印之后的图片:
分类:
Web程序 时间:
2014-10-22 12:42:10
阅读次数:
171
[leetcode]Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
分类:
移动开发 时间:
2014-10-22 10:05:30
阅读次数:
248
目录(?)[-]iOS 7中默认的导航栏设置导航栏的背景颜色在导航栏中使用背景图片定制返回按钮的颜修改导航栏标题的字体修改导航栏标题为图片添加多个按钮修改状态栏的风格隐藏状态栏总结注:本文译自Customizing Navigation Bar and Status Bar in iOS 7近期,跟...
分类:
移动开发 时间:
2014-10-22 06:18:07
阅读次数:
321
利用angular resource加载priorityData.json中的json数据,结合D3画出甜甜圈图。运行index.html结果如图所示:
priorityData.json中json数据如下:
{
"priority":{
"Blocker":12,
"Critical":18,
"Major":5,
"Mi...
分类:
Web程序 时间:
2014-10-21 10:23:38
阅读次数:
342
从iOS7开始,系统提供了2种管理状态栏的方式
通过UIViewController管理(每一个UIViewController都可以拥有自己不同的状态栏)
通过UIApplication管理(一个应用程序的状态栏都由它统一管理)
在iOS7中,默认情况下,状态栏都是由UIViewController管理的,UIViewController实现下列方法就可以轻松管理状态栏的可见性和样式
状...
分类:
移动开发 时间:
2014-10-20 19:31:45
阅读次数:
155
1.if you declare a method to be static in your .cc file.The reason is thatstaticmeans something different inside .cc files than in class declarations ...
分类:
其他好文 时间:
2014-10-20 19:24:37
阅读次数:
223
插入并保存文档操作用insert向目标集合插入文档,如果没有_id键则会自动添加。最后自动保存。>db.foo.insert({"bar":"baz"})如果要批量插入怎么办呢,看下面代码:>db.foo.insert([{"_id":0},{"_id":1},"{"_id":2}])以前有一个ba...
分类:
数据库 时间:
2014-10-20 16:36:35
阅读次数:
207
之前多次调节IE的canvas兼容性,总结如下: <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>jQuery</title>
<meta name="viewport" content="width=device-width"/>
<link rel="st...
分类:
其他好文 时间:
2014-10-20 15:30:36
阅读次数:
189