码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
sql 表操作中一些常用的函数
use master--数据库内置函数select * from sys.all_objects--聚合函数select N'总数' = COUNT(*), N'最大值' = MAX(schema_id), N'最小值' = MIN(schema_id), N'平均值' =...
分类:数据库   时间:2014-07-16 18:36:39    阅读次数:235
libvirt & network filtering iptables/ebtables
[libvirt] FYI: a short guide to libvirt & network filtering iptables/ebtables use Firewall / network filtering in libvirt ============================...
分类:Web程序   时间:2014-07-16 18:20:26    阅读次数:348
jQuery 自定义选择器
严格来说是自定义伪类选择器,不过也相当有意思了。昨天我学习其中一个 jquery lazy load 源码的时候,看到末尾这么写的。/* Custom selectors for your convenience. 译: 提供自定义选择方便你使用。 *//* Use as $("img:below....
分类:Web程序   时间:2014-07-16 18:05:26    阅读次数:277
Sort Colors
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers ...
分类:其他好文   时间:2014-07-16 17:18:44    阅读次数:207
Looping and dictionaries
If you use a dictionary in a for statement, it traverses the keys of the dictionary. For example, print_hist prints each key and the corresponding val...
分类:其他好文   时间:2014-07-15 23:43:56    阅读次数:527
【HDOJ】2268 How To Use The Car
数学题。设步行速度a,车速b,距离c。Teddy步行时间为T1,WhereIsHeroFrom步行时间T2,总时间T。若b>a:aT1 + b(T-T1) = c (1)aT2 + b(T-T2) = c (2)(1)-(2)得 a(T1-T2)-b(T1-T2) = 0。因为b>a 所以T1 .....
分类:其他好文   时间:2014-07-15 23:13:20    阅读次数:281
Partition an array around an interger
Partition an array of integers around a value such taht all elements less than x come before elements greater than or equal to x.Idea: Just use of sub...
分类:其他好文   时间:2014-07-15 22:52:15    阅读次数:239
Swift的一些问题
一些Swift的问题列表:How to use a Objective-C #define from SwiftHow do I convert an NSDictionary to a Swift Dictionary?Swift: 'var' declaration without getter...
分类:其他好文   时间:2014-07-14 23:20:20    阅读次数:205
db2导入表结构
SQL0752N Connecting to a database is not permitted within a logical unit ofwork when the CONNECT type 1 setting is in use. SQLSTATE=0A001解释:发出 COMMIT ...
分类:数据库   时间:2014-07-14 21:33:15    阅读次数:332
PHP中的session永不过期的解决思路及实现方法分享
打开php.ini设置文件,修改三行如下:1、session.use_cookies 把这个的值设置为1,利用cookie来传递sessionid 2、session.cookie_lifetime 这个代表SessionID在客户端Cookie储存的时间,默认是0,代表浏览器一关闭Sessi...
分类:Web程序   时间:2014-07-14 16:06:04    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!