from:http://www.opsers.org/base/debian-package-management-tools-command-dpkg-apt-get-detailed.html1.dpkg包管理工具dpkg –info "软件包名" –列出软件包解包后的包名称.dpkg -l –...
分类:
其他好文 时间:
2014-07-11 18:21:35
阅读次数:
163
例子table1结构如下id intname varchar(50)declare @id intdeclare @name varchar(50)declare cursor1 cursor for --定义游标cursor1select * from table1 ...
分类:
其他好文 时间:
2014-07-11 12:57:38
阅读次数:
214
刚开始我认为可以像ajax 那样获取到数据然后通过ajax 发送请求,后来发现浏览器为了客户端的安全默认并没有给javascript 这个权限。这个方法当然是行不同了。我看了好像开源的上传图片原理,当然大部分是flash。但是为了方便使用js的也不少。原理都是使用iframe 上传,在from标签里...
分类:
编程语言 时间:
2014-07-11 12:48:47
阅读次数:
163
(1)脚本配置ecosconfig new pccdl_component CYG_HAL_STARTUP { # Flavor: data # No user value, uncomment the following line to provide one. user_va...
分类:
其他好文 时间:
2014-07-11 12:04:48
阅读次数:
259
--当A列大于B列时选择A列否则选择B列,当B列大于C列时选择B列否则选择C列。select (case when a>b then a else b end ), (case when b>c then b esle c end) from table_name--求...
分类:
数据库 时间:
2014-07-11 11:30:56
阅读次数:
208
select count(1) from (select distinct a.ID from chatonline a, chatonlinelog b where a.ID = b.chatonlineID) t
分类:
数据库 时间:
2014-07-11 11:25:46
阅读次数:
232
网页中向用户提供了ppt文件的下载功能,前提是只有登录的用户才能下载,所以需要禁止通过URL对文件进行下载。自己定义一个文件下载类。using System;using System.Data;using System.Configuration;using System.Web;using Sys...
分类:
其他好文 时间:
2014-07-11 10:46:50
阅读次数:
206
1.查找重复的行SELECT * FROM blog_user_relation a WHERE (a.account_instance_id,a.follow_account_instance_id) IN (SELECT account_instance_id,follow_account_in...
分类:
数据库 时间:
2014-07-11 10:46:13
阅读次数:
228
from:http://www.opsers.org/server/10-configuration-mysql-mysql-must-adjust-optimization.html大多数配置能在运行时使用SET GLOBAL改变。这是非常便捷的方法它能使你在出问题后快速撤销变更。但是,要永久生效...
分类:
数据库 时间:
2014-07-11 10:36:28
阅读次数:
282
这里介绍两种java提供的数组拷贝方法:(1)Arrays提供的copyOf(T src, T desLength)和copyOfRange(T src, int from, int to)(2)System.arraycopy(T src, int from, T des, int from, i...
分类:
编程语言 时间:
2014-07-11 10:21:36
阅读次数:
272