- 博客(11)
- 资源 (5)
- 收藏
- 关注
转载 Ubuntu Server 10.10 每天定时开关机
Ubuntu Server 10.10定时开机方法: 按F2进入BIOS设置,设置每天定时开机。 容易出现问题: BIOS时间比系统时间慢8小时。在BIOS设置中设置时间或在Ubuntu系统中设置BIOS时间为本地时间后,每次系统重启时BIOS时间又被设置为比本地时间慢8小时的UTC时间。 情景再现: 设置每天07:00开机,设置时发现BIOS时间比系统
2012-06-02 16:07:38 1043
转载 VB代码:监控系统鼠标指针的变化
Private Declare Function GetCursorInfo Lib "user32 " (pci As CURSORINFO) As Long'获取系统内当前鼠标的信息Private Type POINTAPI '代表鼠标指针当前位置的一个结构 X As Long Y As LongEnd TypeDim lastcur As LongPr
2012-06-02 15:41:39 1544
转载 映射端口远程去访问Oracle数据库
oracle服务器在内网,外面通过路由的端口转到1521端口去访问,但是tnsping能通,telnet 1521也可以连上,但就是提示“访问超时”,查了半天资料终于找到原因:Windows Platform ConsiderationsWindows does not implicitly support inheritance of network endpoints. To do t
2012-05-29 21:49:03 3487 1
转载 利用dblink调用远端DB的存储过程出错的原因
在远端procedure中插入一条pragma autonomous_transaction;,即,远端procedure应该这么写:create or replace procedure p_trunc_remote_tab(p_tname in varchar2, p_error out var
2011-12-03 11:01:17 1808
转载 mysql重置自增列(自动增长)AUTO_INCREMENT 初时值
方法一:delete from tb1;ALTER TABLE tbl AUTO_INCREMENT = 100;(好处,可以设置AUTO_INCREMENT 为任意值开始)提示:如果表列和数据很多,速度会很慢,如90多万条,会在10分钟以上。方法二:truncate
2011-09-10 00:40:55 1296
原创 JS打印机切纸,参考了网上其它人的一些内容
private void button2_Click(object sender, EventArgs e) { Int32 port = 9100; string bigFont = ((char)27).T
2011-09-09 01:03:22 1810 1
转载 ubuntu10.10下mysql远程连接和访问慢的解决方法
转载1:今天公司的网络做了调整,造成原本连接很快的mysql服务器,连接速度奇慢。以前几十毫秒的连接现在完成一次要近5秒钟,在排除了网络问题后,只有从mysql下手。原来每次访问db,mysql就会试图去解析来访问的机器的domain name,如果这时解析不料,等一段时间会失败
2011-09-09 00:59:28 3117
原创 ubuntu10.10下memcache类delete失败的原因
ubuntu10.10 desktop,安装了memcached,后来写了一个php文件来测试memcache:<?php$mem = new Memcache;$mem->connect('127.0.0.1',11211);$mem->delete('key');
2011-09-08 00:02:46 1102
原创 php通用分页类代码
从功能上看应该够用了,代码里自带一种使用方法,写一下例子参数:$this->pageHtml = CMPage::getPageHtmlByParam(总记录数, 分页大小, 第几页, PageLink选择页个数, array( 'FirstPage'=>
2011-09-07 23:20:59 569
转载 Oracle中的 UPDATE FROM 解决方法
在表的更新操作中,在很多情况下需要在表达式中引用要更新的表以外的数据。象sql server提供了update的from 子句,可以将要更新的表与其它的数据源连接起来。虽然只能对一个表进行更新,但是通过将要更新的表与其它的数据源连接起来,就可以在update的表达式中引用要更新的
2011-09-06 00:45:09 480
转载 oracle里判断字符串是否是日期格式
网上看到的一个函数:CREATE OR REPLACE FUNCTION is_date (parmin VARCHAR2)RETURN NUMBERISval DATE;BEGINval := TO_DATE (NVL (parmin, 'a'), '
2011-09-05 22:26:21 5159
vm安装macos补丁_unlock-all-v130
2014-03-26
vm安装macos补丁_unlock-all-v120
2013-10-26
vm安装macos补丁_unlock-all-v111
2013-07-21
PL2303 USB转COM口驱动全集
2012-10-21
jsp+jspsmart上传+poi3.8读取excel2007+jxl读取excel2003
2012-01-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人