摘要:
# yum install gconf-editor/app/metacity/general/reduced_resources 打勾最小化黑线/desktop/gnome/interface/accessibility 打勾窗口移动黑线 阅读全文
摘要:
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';SQL> shutdown immediateSQL> startup mountSQL> alter system enable restricted session;SQL> show parameter job_queue_processes;SQL> alter system set job_queue_processes=0;SQL> alter database open 阅读全文
摘要:
[user@user ~]$ sqlplus /nologSQL> conn sys/pwd123 as sysdbaSQL> startup[user@user ~]$lsnrctl start创建临时表空间create temporary tablespace user01_temptempfile '/opt/oracle/oradata/user01/user01_temp.dbf'size 128m;创建数据表空间create tablespace user01loggingdatafile '/opt/oracle/oradata/user01/ 阅读全文
摘要:
用Document Viewer查看pdf文档显示中文乱码:# gedit /etc/fonts/conf.d/49-sansserif.conf 将最后的倒数第四行修改为<string>文泉驿正黑</string>就可以了。 阅读全文
摘要:
下载CentOS-6.3-i386-bin-DVD1.iso用UltraISO打开镜像文件,刻录到U盘(4G以上存储空间),写入方式选择“usb-hdd+”刻录完成后,把U盘里的Packages文件夹删除,预留空间,拷贝CentOS-6.3-i386-bin-DVD1.iso到U盘根下开始U盘启动。如果出现提示:pressthe<enter>keytobegintheinstallationprocess修改U盘isolinux文件夹里的isolinux.cfg文件,用ultraedit或其他第三方支持UTF-8格式的编辑器,把第一行defaultvesamenu.c32 改为de 阅读全文
摘要:
在eclipse.ini或者myeclipse.ini中添加-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-2 阅读全文
摘要:
public List removeDuplicateWithOrder(List list) { Set set = new HashSet(); List newList = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { Object element = iter.next(); if (set.add(element)) newList.add(element); ... 阅读全文
摘要:
HttpServletRequest request = ServletActionContext.getRequest();String agent = request.getHeader("User-Agent");boolean isMSIE = (agent != null && agent.indexOf("MSIE") != -1);if (isMSIE) { //IE filename= URLEncoder.encode(filename, "UTF-8");} else { //FF filename 阅读全文
摘要:
需要使用两种不同编码方式来处理,在Firefox 11和IE 8下测试通过:HttpServletRequest request = ServletActionContext.getRequest();String agent = request.getHeader("User-Agent");boolean isMSIE = (agent != null && agent.indexOf("MSIE") != -1);if (isMSIE) { filename= URLEncoder.encode(filename, "UT 阅读全文
摘要:
//合并表头的方法extjs的官网上有,这里提供的是合并数据单元格的方法//首先在页面上添加以下内容<style> /*与表头对齐*/ .x-grid3-row td, .x-grid3-summary-row td{ padding-right: 0px; padding-left: 0px; padding-top: 0px; padding-bottom: 0px; } /*去掉行间空白*/ .x-grid3-row { border-right-width: 0px; border-left-width: 0px; border-top-width: 0px; border 阅读全文