`
alanland
  • 浏览: 633941 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
== // http://xxx/abc/def/abc.html   // http://xxx/abc/def/ // -----> /abc/def alert(location.pathname.substring(0,location.pathname.lastIndexOf('/')));  location.pathname.substring(0,location.pathname.lastIndexOf('/')) ==   //js获取项目根路径,如: http://localhost:8083/uimcardprj function getRo ...
参考下面两个问答: http://stackoverflow.com/questions/8139605/does-svn-have-a-revert-all-command ----------------------------------- You could do: svn revert -R . This will not delete any new file not under version control. But you can easily write a shell script to do that like: for file in `svn s ...
服务器被重启之后连接出错,登陆服务器 sqlplus可以连接,但是jdbc以及sqldeveloper连接报错 ORA-12526 。   网上搜索到:   今天使用PL/SQL远程连接oracle数据库出现oracle ORA-12526: TNS: 监听程序: 所有适用例程都处于受限模式。 查了下原来之前改字符集时执行了:ALTER SYSTEM ENABLE RESTRICTED SESSION; 导致受限 解决办法:使用系统管理员身份运行以下一段代码 ALTER SYSTEM DISABLE RESTRICTED SESSION;    
  闪退: ## A fatal error has been detected by the JavaRuntimeEnvironment:## SIGSEGV (0xb) at pc=0x00007f41e4e610b0, pid=3463, tid=139924549404416## JRE version:7.0_09-b05 #Java VM:JavaHotSpot(TM)64-BitServer VM (23.5-b02 mixed mode linux-amd64 compressed oops)#Problematic frame:# C [libwebkitgtk- ...
http://blog.sina.com.cn/s/blog_49f914ab0101eyjj.html     查找包含BOM头的文件,命令如下:   grep -r -I -l $'^\xEF\xBB\xBF' ./     这条命令会查找当前目录及子目录下所有包含BOM头的文件,并把文件名在屏幕上输出。     但是,删除BOM头,网上找到的命令大多不能用,比较常见的命令是:     grep -r -I -l $'^\xEF\xBB\xBF' /path | xargs sed -i 's/^\xEF\xBB\xBF//;q'   但这条命令会把除了首 ...
文档地址: https://wiki.jenkins-ci.org/display/JENKINS/JenkinsLinuxStartupScript ---------------------------------------------------------------------------------------- This is a startup script for Linux, and provides start/stop/restart functionality. This has been tested on Ubuntu, but should work o ...
根据下面介绍,合适的解决方案是: BUILD_ID=dontKillMe bash /home/app/opt/apache-tomcat-6.0.37/deploy-bin/deploy_test.sh ---------------- 最近用jenkins执行服务器上的脚本,启动tomcat总是不成功,问了谷哥之后,发现是下面一个特性在作怪: http://wiki.hudson-ci.org/display/HUDSON/ProcessTreeKiller   This feature is available since 1.260   To reliably ...
在jdk6中设置透明异形窗体的方法与jdk7方法的比较 Method in Java SE 6 Update 10 JDK 7 Equivalent AWTUtilities.isTranslucencySupported(Translucency) GraphicsDevice.isWindowTranslucencySupported(WindowTranslucency) AWTUtilities.isTranslucencyCapable(GraphicsConfiguration) GraphicsConfiguration.isTranslucencyCapab ...
: #!sh i1=`ps -ef|grep -E "Bootstrap"|grep -v grep|awk '{print $2}'` kill -9 $i1   。
如题,一般我们写Shell脚本的时候,都倾向使用绝对路径,这样无论脚本在什么目录执行,都应该起到相同的效果,但是有些时候,我们设计一个软件包中的工具脚本,可能使用相对路径更加灵活一点,因为你不知道用户会在哪个目录执行你的程序,就有了本文的题目。   常见的一种误区,是使用 pwd 命 令,该命令的作用是“print name of current/working directory”,这才是此命令的真实含义,当前的工作目录,这里没有任何意思说明,这个目录就是脚本存放的目录。所以,这是不对的。你可以试 试 bash shell/a.sh,a.sh 内容是 pwd,你会发现,显示的是执行命令的 ...
http://www.openprocessing.org/ You can publish to Android and (with 3rd party tools) to iPhone using iProcessing or the faster P5Nitro You have support from the forums, quite a few books and online 'playgrounds' like OpenProcessing, SketchPatch, hascanvas or SketchPad. http://stackoverflow.co ...
You can try to use net.sf.jasperreports.default.font.name property. Or you can use the default style. <style name="Base" isDefault="true" ...> For more details you can read this article, the Default Fonts and Inheritance section. UPDATED: The quote from JasperRepor ...
linux下: fc-match "sans" fc-match "serif" fc-match "mono" windows 左面右键,属性 。    
【字体区别】Serif和Sans Serif 在西方国家罗马字母阵营中,字体分为两大种类:Sans Serif和Serif,打字机体虽然也属于Sans Serif,但由于是等宽字体,所以另外独立出Monospace这一种类,例如在Web中,表示代码时常常要使用等宽字 ...
做报表(ireport)时候要进行分组汇总,但是报表的汇总智能在 group footer 里面,写在group header里面没有值,于是打算从数据源里面做处理,实践出来有两种方式: 第一种: 储位 物料 数量 001   100   A 10   B 90 002   30   C 29   A 1 上面,通过两个查询union 和 order by 可以获得在每个明细之前或者之后,增加一个汇总行的结构,sql如下: select A.BILLID, SUM_QTY, ONL_NOTICE_QTY ...
Global site tag (gtag.js) - Google Analytics