//: Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"// 常量的定义用letlet maxLoginCount = 10// 变量的定义用varvar current...
分类:
编程语言 时间:
2015-12-16 12:12:01
阅读次数:
192
//: Playground - noun: a place where people can playimport UIKit// 元组就是将多个不同的值集合成一个数据/* 元组是Objective-C中没有的数据类型,与数组类似,都是表示一组数据的集合,但与数组不同,它的特点是: 特点: 1.可...
分类:
编程语言 时间:
2015-12-16 12:08:22
阅读次数:
214
//: Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"let MAXVALUEOFUINT8 = UInt8.maxlet MINVALUEOFUINT8 = UInt...
分类:
编程语言 时间:
2015-12-16 12:02:17
阅读次数:
149
前几天就在工作中发现这样一个问题:当某个字段的类型为varchar时,字段保存的值类似'100,200,300' 和 '100' 或 '100,400'。写SQL语句的时候就会犯这样的错误,例如:select id,provinceid from admin where provinceid i.....
分类:
数据库 时间:
2015-12-16 09:32:37
阅读次数:
245
A classic type of problem: multi-pointer marching algorithm. For each pointer of each prime, we need to remember where it is in the ugly sequence, so ...
分类:
其他好文 时间:
2015-12-16 09:25:56
阅读次数:
207
mysql -u root -puse mysql;update user set host='ip' where user='root'; //更新访问权限flush privileges; //更新数据库/etc/init.d/mysql stop //停止服务/etc/init.d/mysq....
分类:
数据库 时间:
2015-12-16 01:37:31
阅读次数:
440
下面介绍了Exchange2013里Get-MessageTrackingLog常用的各种Powershell,Get-MessageTrackingLog-resultsizeunlimited-Start"06/01/20144:30:00PM"-End"06/04/20145:17:00PM"|where-object{$_.Recipients-like"*@contoso.com"-AND$_.EventId-eq"Send"}|where{$_.recipients-lik..
分类:
系统相关 时间:
2015-12-15 16:00:46
阅读次数:
1183
update ms_cf01 set yfsb=1 from ms_cf01 where yfsb=3;对一个表数据进行更新操作可以把from [表名]省略.用from 时一般是从别的关联表中取数据更新时用如update [表1] set [列名]=b.[列名]FROM [表1] a,[表2] bw...
分类:
数据库 时间:
2015-12-15 14:33:04
阅读次数:
189
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en...
分类:
其他好文 时间:
2015-12-15 14:04:01
阅读次数:
153
Reverse a singly linked list.Don't forget to consider the case where the linked list is empty 1 /** 2 * Definition for singly-linked list. 3 * publi.....
分类:
其他好文 时间:
2015-12-15 12:24:48
阅读次数:
107