很多人发现中国天气网API无法更新了,以为是收费了或者咋滴(GQ真的都太不负责任了,什么通知都不给我们)
百度了下,发现API地址变更了:
天气预报:http://m.weather.com.cn/atad/101230201.html
实时天气:http://mobile.weather.com.cn/data/sk/101230201.html...
LigerUi-js中ajax前台调用后台Json格式转换!(已解决)
success: function (data, status)
{
var aaa = JSON2.stringify(data);
alert(aaa );
}...
分类:
Web程序 时间:
2014-06-20 12:17:23
阅读次数:
972
题目
Given preorder and inorder traversal of a tree, construct the binary tree.
Note:
You may assume that duplicates do not exist in the tree.
方法
根据树的中序遍历和前序遍历,来构造树,使用递归的思想。
Tre...
分类:
其他好文 时间:
2014-06-20 12:14:49
阅读次数:
262
设计APP,由于屏幕很小,在PC网页山可以放在一体的内容,在APP中就不能放在一起了。
例如如下,项目出勤人员很多,需要弹出一个panel,然后让用户选择,如何设计呢?
项目出勤panel的内容:
<div id="shenqingxiangmuchuqing" title="申请项目出勤" class="panel" data-load="loadshenqi...
分类:
移动开发 时间:
2014-06-20 09:21:12
阅读次数:
348
题目
Given inorder and postorder traversal of a tree, construct the binary tree.
Note:
You may assume that duplicates do not exist in the tree.
方法
根据树的中序遍历和后序遍历,来恢复树,使用递归的思想。
Tr...
分类:
其他好文 时间:
2014-06-07 14:50:37
阅读次数:
231
并查集,
删除节点操作,可以用新建节点代替
维护每个点到跟节点的距离
Gears
Time Limit: 2 Seconds Memory Limit: 65536 KB
Bob has N (1 ≤ N ≤ 2*105) gears (numbered from 1 to N). Each gear can rotate clockwise or co...
分类:
其他好文 时间:
2014-06-07 11:33:37
阅读次数:
227
public bool BackupAA() { int temp = 0; int tempdel
= 0; string sql = "INSERT INTO [WMSBAK].[dbo].[AACopy] SELECT * FROM
[TestDB].[dbo].[AA] WHERE Add....
分类:
其他好文 时间:
2014-06-07 09:46:26
阅读次数:
150
如果A,B两个表中没有重复数据且表结构一样可以直接insert into B select *
from A如果结构不一样可以 insert into B(字段列表),select 字段列表 from A如果A,B两表中有重复数据可以 insert
into B(字段列表),select 字段列表 ...
分类:
其他好文 时间:
2014-06-07 08:05:50
阅读次数:
227
将原来的数据库删除,然后进入data文件夹中修改名字,但是后来前台出现错误:Zend_Db_Statement_Exception Object (
[_previous:Zend_Exception:private] =>
[。。。。。。。。。。。。。。。。。。很多乱码,看不懂。于是将两个数据库都...
分类:
数据库 时间:
2014-06-07 07:07:34
阅读次数:
336
对象方法:
Net.post(url,data,callback,type,refer,async,headers,failfunc)具体介绍url : 请求地址 |
必选data : 发送数据 | 必选callback : 回调函数 | 必选type : 获取的数据类型 | 可选refer : 数...
分类:
其他好文 时间:
2014-06-07 06:32:18
阅读次数:
275