码迷,mamicode.com
首页 >  
搜索关键字:user role    ( 39969个结果
2个 List<T>进行数据合并
var userF = new List(); User m1 = new User() { Id = "0" }; userF.Add(m1); var us...
分类:其他好文   时间:2014-05-09 04:26:48    阅读次数:280
JS 判断浏览器客户端类型(ipad,iphone,android)
如何判断是否是 iPad 浏览器呢,关键是看它的 User Agent 中是否有 iPad。iPad 使用的是 Safari Mobile 浏览器,他的的 User Agent 是:Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) Appl...
分类:移动开发   时间:2014-05-09 04:22:25    阅读次数:502
Oracle 查看锁表进程_杀掉锁表进程 [转]
查看锁表进程SQL语句1:select sess.sid, sess.serial#, lo.oracle_username, lo.os_user_name, ao.object_name, lo.locked_mode from v$locked_object lo, ...
分类:数据库   时间:2014-05-09 00:12:45    阅读次数:439
安全测试1
下面是自己总结的一些。1.判断是否有注入;and 1=1;and 1=22.初步判断是否是mssql;and user>03.判断数据库系统;and (select count(*) from sysobjects)>0 mssql;and (select count(*) from msysobj...
分类:其他好文   时间:2014-05-08 23:25:38    阅读次数:315
在Ubuntu下的samba实现
apt-get install sambalibpam-smbpass然后编辑vi /etc/samba/smb.conf增加[djyk]guest ok=nobrowseable=nopath=/home/djykwritable=yesvalid users=djyk挂载samba是mount ...
分类:其他好文   时间:2014-05-08 17:36:33    阅读次数:280
sencha 2.3中自定义PullRefreshFn给PullRefresh添加下拉刷新事件
Sencha removed the refreshFn from the pullrefresh plugin in ST 2.2. Here is an user extension with gives the old functionality back to you. /** * This user extension gives st 2.3.0 Pullrefresh the...
分类:其他好文   时间:2014-05-08 16:15:05    阅读次数:390
在Eclipse中JFrame自定义图标可以显示,但是导出JAR之后无法显示
在我的项目中,一开始我使用这种方式构造图片路径,然后将其设置到JFrame中即可以显示自定义图标 String imagePath = System.getProperty("user.dir") + "/image/icon.png";// 构造图片的路径 Image imageIcon = Toolkit.getDefaultToolkit().getImage(imagePath); ...
分类:系统相关   时间:2014-05-08 15:56:22    阅读次数:462
亲身体验MySQL的索引对搜索性能的提升
1,创建一个user表,包含两列name,phone 2,用python(你喜欢的任何语言)插入100W条记录(lz的笔记本比较老,大概用了1分钟吧): #!/usr/bin/env python # -*- coding:utf-8 -*- import MySQLdb conn = MySQLdb.connect(host='localhost',user='root',db='mi...
分类:数据库   时间:2014-05-08 15:52:43    阅读次数:393
mysql中的count(primary_key)、count(1)、count(*)的区别
表结构如下:mysql> show create table user\G;*************************** 1. row *************************** Table: userCreate Table: CREATE TABLE `user...
分类:数据库   时间:2014-05-08 15:15:51    阅读次数:416
hive 中 union all
hive 中的union all是不能在sql语句的第一层使用的,否则会报Top level UNION is not supported currently 错误;例如如下的方式:select id,name from user where type = 1union allselect id,n...
分类:其他好文   时间:2014-05-08 07:17:42    阅读次数:420
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!