select下拉列表onChange事件之JQuery实现:Java代码JQuery:$(document).ready(function(){$("#selectMenu").bind("change",function(){if($(this).val()=="pro1"){$("#pro1")...
分类:
Web程序 时间:
2014-07-22 22:54:54
阅读次数:
307
修改其值的最快方式:创建:Mutable StorageTo create mutable storage for a buffer object, you use this API:voidglBufferData?(enum target, sizeiptr size, const void *...
分类:
其他好文 时间:
2014-07-19 21:10:18
阅读次数:
425
改变数据库用户sysman(该用户是DB Control Repository 的schema)密码的方法...
分类:
数据库 时间:
2014-07-16 08:05:51
阅读次数:
423
select下拉列表onChange事件之JQuery实现:Java代码JQuery:$(document).ready(function(){$("#selectMenu").bind("change",function(){if($(this).val()=="pro1"){$("#pro1")...
分类:
Web程序 时间:
2014-07-16 00:53:38
阅读次数:
481
编写名为auto_change_gw.sh的脚本,用来自动切换主机网关,相关说明如下:
1)有2个可用的网关地址,分别是主网关192.168.10.254和备用网关192.168.10.253,当前使用的默认网关是192.168.10.254;
2)若当前使用的网关地址192.168.10.254出现问题,自动把网关地址切换为192.168..
分类:
系统相关 时间:
2014-07-15 10:56:45
阅读次数:
312
多重背包 可行性+路径记录
题意是说你要用更多的零钱去买咖啡。最后输出你分别要用的 1,5 ,10 ,25 的钱的数量。
多重背包二进制分解,然后记录下 这个状态。最后逆向推即可。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#inc...
分类:
其他好文 时间:
2014-07-14 13:52:01
阅读次数:
231
Doc:If isTouchEnabled, this method is called onEnter.Override it to change the wayCCLayerreceives touch events.Default: CCTouchDispatcher::sharedDispa...
分类:
其他好文 时间:
2014-07-14 08:31:55
阅读次数:
264
1. 生成测试数据在TPC-H的官网http://www.tpc.org/tpch/上下载dbgen工具,生成数据http://www.tpc.org/tpch/spec/tpch_2_17_0.zip解压,到dbgen目录下,修改mkefile################## CHANGE N...
分类:
其他好文 时间:
2014-07-13 22:27:46
阅读次数:
557
用matlab 画图时,发现线太多,生成的图例,遮盖了曲线。于是想画成多个图例,然后可以自由拖动。
废话不多说,1)代码; 2)效果。
%%%%%%%%%%%% Code:
figure
%% ---- plot for maxtries performance
set(0,'DefaultTextFontName','Times',...
'DefaultTex...
分类:
其他好文 时间:
2014-07-12 21:03:59
阅读次数:
2602
" Configuration file for vim
set modelines=0 " CVE-2007-2438
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use...
分类:
其他好文 时间:
2014-07-12 17:46:26
阅读次数:
257