1. COOKIE的使用
//这个设置 与 移除 是一一对应的 默认cookie 作用域为当前文件夹下
$.cookie("favourite-city", "London");
$.removeCookie("favourite-city");
//设置cookie
$.cookie("favourite-city", "London", {path...
分类:
Web程序 时间:
2015-05-16 18:25:50
阅读次数:
153
3.3缺失值处理R中缺失值以NA表示,判断数据是否存在缺失值的函数有两个,最基本的函数是is.na()它可以应用于向量、数据框等多种对象,返回逻辑值。> attach(data)The following objects are masked fromdata (pos = 3):city, pri...
分类:
编程语言 时间:
2015-05-15 22:41:09
阅读次数:
289
首先学习NSObject//// ViewController.m// localization//// Created by City--Online on 15/5/15.// Copyright (c) 2015年 XQB. All rights reserved.//#import ...
分类:
其他好文 时间:
2015-05-15 19:44:24
阅读次数:
152
对于foreach循环的使用:foreach($remind_listas$key=>$val){
foreach($city_dataas$key1=>$val1){
if($val['city_id']==$val1['area_id']){
$remind_list_now[$arr_key]['c_id'] = $val['c_id'];...
分类:
其他好文 时间:
2015-05-14 14:14:07
阅读次数:
140
1、关于DOM文件名:city.php<?php
header("content-type:text/html;charset=utf-8");
$dsn="mysql:dbname=news;host=127.0.0.1;charset=utf8";
$user="root";
$psw="";
$pdo=newPDO($dsn,$user,$psw);
$url="http://flash.weather.com.cn/wmaps/xml/china.xml";
//创建对象
..
分类:
其他好文 时间:
2015-05-13 06:33:41
阅读次数:
202
1、关于XML的DOM解析:city.php<?php
header("content-type:text/html;charset=utf-8");
$dsn="mysql:dbname=news;host=127.0.0.1;charset=utf8";
$user="root";
$psw="";
$pdo=newPDO($dsn,$user,$psw);
$url="http://flash.weather.com.cn/wmaps/xml/china.xml";
//创建对..
分类:
其他好文 时间:
2015-05-13 06:30:53
阅读次数:
119
Airport Express
In a small city called Iokh, a train service, Airport-Express, takes residents to the airport more quickly than other transports. There are two types of trains in Airport-Express, t...
分类:
其他好文 时间:
2015-05-12 09:25:59
阅读次数:
95
Problem DescriptionThe highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at wh...
分类:
其他好文 时间:
2015-05-12 01:33:52
阅读次数:
91
1.输入的时候数据的时候要注意
2.1506的二维推广
代码:#include
#include
#include
using namespace std;
const int INF=1<<30;
int a[1005][1005];
int L[1005];
int R[1005];
int main()
{
int t;
int m,n;
int ans;
...
分类:
其他好文 时间:
2015-05-11 21:53:08
阅读次数:
109
$http是AngularJS提供的一个服务,用来从远程服务器读取数据。提供数据 下面的数据由Web服务器提供:{"records": [ { "Name" : "Alfreds Futterkiste", "City" : "Berlin", "Country" : "G...
分类:
Web程序 时间:
2015-05-11 14:37:43
阅读次数:
162