This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SeleniumRC1\Parameters] | |
"Application"="C:\\windows\\system32\\cmd.exe" | |
"AppDirectory"="C:\\opt\\selenium-grid-1.0.8" | |
"AppParameters"="/c \"C:\\opt\\selenium-grid-1.0.8\\rc.bat\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT /*+ INDEX(patients sex_index) use sex_index because there are few male patients */ name, height, weight | |
FROM patients | |
WHERE sex = 'm'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//*[name()='HelloWorld'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
logo() { | |
echo " ______ __ __ _ " | |
echo " /_ __/_ ___________ / /_____ __ __ / / (_)___ __ ___ __" | |
echo " / / / / / / ___/ __ \/ //_/ _ \/ / / / / / / / __ \/ / / / |/_/" | |
echo " / / / /_/ / / / / / / ,< / __/ /_/ / / /___/ / / / / /_/ /> < " | |
echo "/_/ \__,_/_/ /_/ /_/_/|_|\___/\__, / /_____/_/_/ /_/\__,_/_/|_| " | |
echo " /____/ " | |
echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grab tc native library | |
sudo apt-get install libtcnative-1 | |
# append below to setenv.sh | |
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
xmlns:xforms="http://www.w3.org/2002/xforms" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" | |
xmlns:exforms="http://www.exforms.org/exf/1-0" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
xmlns:xforms="http://www.w3.org/2002/xforms" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" | |
xmlns:exforms="http://www.exforms.org/exf/1-0" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT extractvalue(column_value, '.') as record_id | |
FROM TABLE(XMLSequence(XMLTYPE( | |
'<list> | |
<id>34123121234</id> | |
<id>12312221233</id> | |
</list>').extract('//id'))) t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I know how to run the transformations or jobs based JNDI for Pan or Kitchen. You should set some properties in order that Pan or Kitchen can know the informations of the JNDI. They are as follows, | |
1.java.naming.factory.initial. For example, "org.osjava.sj.SimpleContextFactory". | |
2.org.osjava.sj.root. For example, "D:/pentaho/pentaho1.53/kettle250/simple-jndi". | |
3.org.osjava.sj.delimiter. For example, "/". | |
Therefore, I change some codes in the Pan.bat or Kitchen.bat. | |
set OPT=-Xmx512M -cp %CLASSPATH% -Djava.library.path=libswt\win32\ -DKETTLE_HOME="% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- datasource --> | |
<xforms:instance id="fruits"> | |
<fruits> | |
<fruit>Apple</fruit> | |
<fruit>Orange</fruit> | |
<fruit>Pear</fruit> | |
</fruits> | |
</xforms:instance> |