`
robinfung
  • 浏览: 52250 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
public long getSleepTime(Properties props){ long time = 0; String key = null; Object obj = null; String value = null; String[] values = null; Iterator it = props.keySet().iterator(); while(it.hasNext()) { key = (String) it.next(); if (KEY_SLEEP_TIME.equals(key)) { ...
1. use xsl attribute like gString   <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <form met ...
1. run js right now   var wrapper = (function(){ var foo = "foo"; function f(){ return foo; } return f; })();    2. scrollWindow   function scrollWindow() { //window.scrollTo(document.body.scrollLeft.toString(),document.body.scrollTop.toString() ...
1. one static map call another static String as the key, (groovy ugly) here^^!   class Test1{ Map partnerRetailers = [ "${RetailerSyncFactoryService.MACYS}" : 1, "${RetailerSyncFactoryService.TARGET}": 2, "${RetailerSyncFactoryService. ...
1. jquery 1.3 api http://jquery-api-zh-cn.googlecode.com/svn/trunk/index.html
mac ggts java.net.UnknowHostException   scutil --set HostName "localhost" scutil --get HostName  org.grails.ide.eclipse.longrunning.client.GrailsProcessDiedException Preferences -> Groovy -> Grails -> Launch Grails   and uncheck “Keep external Grails running“.   -- ...

mySQL

datediff in Oracle WITH T as ( SELECT starttime, endtime, TO_TIMESTAMP( TO_CHAR(endtime, 'dd-mon-yyyy hh24:mi:ss'), 'dd-mon-yyyy hh24:mi:ss') - starttime as d FROM xx WHERE create_date > to_date(12-Dec-2012', 'dd-mon-yyyy') ORDER BY create_date DE ...
Decompiler on line .dll -> www.remotesoft.com/salamander
IllegalStateException ajax   Answer - The following was happening. I think i can put it down to a low impact issue. It happens when the browser opens a Socket and makes an Ajax request however it then terminates the open Socket (by closing the browser or moving to another page) before receiving t ...
laetcy GC log - heap tuning how many time of gc how long of the test peek loading gc pwous time ISA ( IBM analysior ) 5% of gc time grap Winkythread poolconnection pool graciefrontcontroller AWR - ADDM   DB parameters fine tune If need to apply DB db_keep_cache_size 2G Probably ne ...
UML online https://www.gliffy.com/go/html5/launch?app=1b5094b0-6042-11e2-bcfd-0800200c9a66
nslookup
Integration with other tools Jdee-Eclipse-integration: different ways to profit from both IDEs or share configuration JdeeAndMavenPom: how to load Maven’s pom.xml JdeeAndMaven2Pom: same, for Maven 2 JdeeMaven: still another version for Maven jde-mve seems to be the newest Maven/JDEE int ...
linux hostname nano /etc/sysconfig/network   check the cpu and memory check os version: cat /proc/version check general memory informaiton cat /proc/meminfo cpu: cat /proc/cpuinfo linux sort processes by memory usage ps aux | awk '{print $2, $4, $11}' | sort -k2r | head -n 10 ...
https://raw.github.com/emacs-java/auto-java-complete/0.2.8/Install https://github.com/emacs-java/auto-java-complete http://www.emacswiki.org/emacs/AutoJavaComplete#toc1 https://github.com/capitaomorte/yasnippet   plugins 1. autocomplete   1.1 download the .tar or .zip   1.2 use M-x(alt+x) l ...
Global site tag (gtag.js) - Google Analytics