获取js连接参数,如下以链接:console.log(_getArgs('skin')); //结果:green/*!* _path 获取组件核心文件lhgdialog.js所在的绝对路径* _args 获取lhgdialog.js文件后的url参数组,如:lhgdialog.js?self=tru...
分类:
Web程序 时间:
2014-09-03 11:08:46
阅读次数:
475
Five ways for tracing Java executionI'm often faced with a situation where I need to dig into code that I didn't write. Most of it is poorly documente...
分类:
编程语言 时间:
2014-09-03 09:31:16
阅读次数:
390
分享下javascript判断文件是否存在的方法。1,判断客户端文件时,可以用var fso,s=filespec; // filespec="C:/path/myfile.txt"fso=new ActiveXObject("Scripting.FileSystemObject");if(fs.....
分类:
编程语言 时间:
2014-09-03 07:17:56
阅读次数:
228
1、安装wget下载http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-setup.exe双击安装2、系统环境变量,新建GNU_HOME=C:\ProgramFiles\GnuWin323、path添加==========分割线==============;%GNU_HOME%\bin==========分割线==============4、下载整站:用wget下载东西,..
通常都是编码转换的问题,注意如以下红字代码那样设置正确的编码QFile _file(_f_path); try{ if(_file.open(QIODevice::ReadOnly)) { QTextStream _txt_stream(&_file); _txt_stream.setC...
分类:
其他好文 时间:
2014-09-03 00:07:25
阅读次数:
461
~/.bash_profile export ORACLE_HOME=/opt/oracle/instantclient_11_2/
export DYLD_LIBRARY_PATH=$ORACLE_HOME
export SQLPATH=$ORACLE_HOME
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LANG=en_US.U...
分类:
数据库 时间:
2014-09-02 23:01:06
阅读次数:
438
export CATALINA_HOME=/Applications/MyApplications/apache-tomcat-7.0.54
export PATH=$PATH:$CATALINA_HOME/bin
export M2_HOME=/Applications/MyApplications/apache-maven-3.2.2
export MAVEN_OPTS="-Xms2...
分类:
其他好文 时间:
2014-09-02 22:54:25
阅读次数:
208
访问照片表
select * from zp@dblink1 where a1='11111';
会报错:ora-22992 无法使用从远程表选择的LOB定位器
改为以下方法:
drop table temp
Create table temp as select * from zp@dblink1 where a1='002';
select * from temp;...
分类:
数据库 时间:
2014-09-02 21:25:31
阅读次数:
255
问题一:Response.Write 后连接Response.Redirect ,则Response.Write无法显示,直接跳转入Response.Redirect 的页面。解决方案:Response.Write("");假设,script内容中含有变量,那么解决方法是:string a=当前的记...
分类:
其他好文 时间:
2014-09-02 21:11:35
阅读次数:
154
将Android SDK的tools/和platform-tools/目录包含在可执行文件的搜索路径中。Windows下,将其添加到PATH环境变量中 切换到Android Eclipse项目目录下,并执行以下命令。Eclipse项目生成器模版不包含ant可用的build.xml。以下命令将生成bu...
分类:
移动开发 时间:
2014-09-02 19:53:05
阅读次数:
305