ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ tutorial

Derby Database Installation on ubuntu

Installation 1. download bin installation from derby's download page 2. set environment variable in /etc/environment or ~/.bashrc or ~/.bash_aliase export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin export DERBY_INSTALL=/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin // change this into your derby installation path export CLASSPATH=$DERBY_INSTALL/lib/derby.jar:$DERBY_INSTALL/lib/derbytools.jar:. 3. run $ cd $DERBY_INSTALL/bin $ . setEmbeddedCP and terminal will close, don't be panic. go on to next steps. 4. Testing if installation is correct $ java org.apache.derby.tools.sysinfo Result should be something like this. ------------------ Java Information ------------------ Java Version: 1.6.0_13 Java Vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-sun-1.6.0.13/jre Java classpath: /mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derby.jar:/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derbytools.jar:. OS name: Linux OS archi...

สรุป creative commons ครีเอทีฟคอมมอนส์ 3.0 แบบเข้าใจง่ายๆ

1 แผ่น เข้าใจได้ทันที ตามนี้เลย มันมี 6 อย่างให้เลือกใช้ เวลาเลือกใช้ก็เลือกจาก 6 อย่างนั่นแหละ รูปใน flickr ของเรา cc มาตั้งนานแล้ว มีคนเอาไปใช้ ช่วยการท่องเที่ยวได้อีก เป็นปลื้ม ^^ ไปดูหน้าจริงที่ http://hubpages.com/hub/Stylish-Thailand-Holidays

[ python ] how to install python eggs

ไปเอาชื่อ package name จาก cheese shop แล้ว ทำตามนี้ $sudo apt-get install python-setuptools $ sudo easy_install packagename เสร็จแล้ว มันจะไปอยู่ที่ sys.path ( เช่น /usr/lib/python2.5/site-packages/.. ) วิธีดู path ทำดังนี้ >>> import sys >>> sys.path More info : easy install

[ ubuntu ] how to type chinese simplified and traditional with pinyin in ubuntu. วิธีพิมพ์ตัวอักษร ภาษาจีน บน อุบันตู

Setup System > Administration > Language Support choose Chinese and Keyboard input method system : ibus Then log out and log back in, we will see the keyboard icon on the top bar. After that go to the keyboard icon preferences and add Chinese in the Input Method ( In this example, I will add ' Chinese - Pinyin ' only ) After that turn language panel on by setting Show language panel : Always   There will be a language panel appear. If we choose Chinese - Pinyin we can set either to type Chinese Simplified or Chinese Traditional. System > Preferences > SCIM Input Method Setup How to type To type Simplified Chinese using pinyin choose Simplified Chinese > 智能拼音 If you want to type in Traditional Chinese choose Simplified Chinese > 智能拼音 and just change the 中 to 繁 (on the SCIM bar) Test, test. This is my name. Chinese name : 嶪進展 ( Traditional ) Chinese name : 叶进展 ( Simplified ) Pinyin : ye4 jin4 zhan3 (...

[ Printer ] how to print on both sides of paper

[ ServiceMix ] BPEL Tutorial

1. Download servicemix-example-3.zip from here or 2. Put ant-contrib.jar, bcel.jar, and jibx-*.jar in ESB/libraries/. 3. Download apache-ode-jbi-1.2.zip from here , unpack in ESB/, and copy apache-ode-jbi-1.2/ode-jbi-1.2.zip to apache-servicemix-3.3/hotdeploy/. 4. Make a new Eclipse project osesb-example3 Add external JARs: From /ESP/apache-servicemix-3.3/lib, add - log4j-1.2.13.jar - org.apache.servicemix.specs. jbi-api -1.0-1.1.0.jar - servicemix-core-3.3.jar - servicemix-utils-1.0.0.jar - geronimo-jms - activemq-core From libraries/, add 3 files, - bcel.jar and jibx-*.jar From /eclipse/plugins/org.junit4, add junit.jar. 5. Copy src/ and resources/ from the tutorial archive to the project workspace. 6. Use Eclipse to create a new source folder called src-test/ then copy src-test/ from the tutorial archive to the project workspace. 7. delete 'default="start"' in example3-build.xml 8. see ... ScubaDivingProcess.wsdl ScubaDivingProcess.bpel 9. Run the Ant target deplo...

[ ServiceMix ] SOAP provider example

example files exists here or ServiceMix can act as a SOAP server/provider of Chamber of Commerce. Client --- SOAP -------> Server --- XML --> Server Stub unmarshal ( same interface as biz logic ) -----> Biz Logic Implementation ( Simple JavaCode ) Client message <findCompanies> <city>city name</city> <streetName>street name</streetName> </findCompanies> XMLSchema of message <xsd:element name="findCompanies"> <xsd:complexType> <xsd:sequence> <xsd:element name="city" type="xsd:string" /> <xsd:element name="streetName" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> resources/cfx/wsdl/CoC.wsdl <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:osesb="http://opensource.esb.org/CoC/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:w...

[ FoxiReader ] How to correctly order multiple page printing ?

In Foxi Reader, it is very simple to order multiple page. Foxi Reader is small, fast, and has a easy to use bulid-in feature. No more fineprint plugin for me. See picture,

Trying SyntaxHighlighter -- javascript syntax highlight source code

You can d/l SyntaxHighlighter from here   หน้าใหม่ . To use it, include javascript in your page i.e. <!-- Start SyntaxHighlighter --> <link href='http://dsin.appspot.com/static/css/SyntaxHighlighter/SyntaxHighlighter.css' rel='stylesheet' type='text/css'/> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shCore.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushCSharp.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushPhp.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushJScript.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushJava.js'></script> <script cl...

[ blogger ] how to replace a old label with tag cloud

As recommended in this , here is an abbreviation steps. First, replace old Label, with a new one. // old Label <b:widget id='Label1' locked='false' title='Categories' type='Label'> <b:includable id='main'> <b:if cond='data:title'> <h2><data:title/></h2> </b:if> <div class='widget-content'> <ul> <b:loop values='data:labels' var='label'> <li> <b:if cond='data:blog.url == data:label.url'> <data:label.name/> <b:else/> <a expr:href='data:label.url'><data:label.name/></a> </b:if> (<data:label.count/>) </li> </b:loop> </ul> </div> </b:includable> </b:widget> // new Label <b:widget id='Label1' locked='false' title='Label Cloud' type='Label'> <b:i...

[ Notepad++ ] diff plugin

จริงๆ มันชื่อ compare plugin อ่ะนะ หน้าหลักของ notepad++ บอกว่า A very useful diff plugin to show the difference between 2 files (side by side). ถ้า notepad++ เวอร์ชั่นใหม่ ไม่ต้องลง มันอยู่ใน Plugins > Compare > Compare อยู่แล้ว ถ้าเวอร์ชั่นเก่า ดาวน์โหลดได้ ที่นี่ สะดวกมากๆเลย เวลา ต้อง compare เอกสารที่บรรทัดเยอะๆ

[ ServiceMix ] File, JMS, Bean Tutorial

ServiceMix Tutorial SM-File, SM-JMS, SM-Bean -------------------------------------------------------------------------------------------------------- File --> JMS Msg CH --> B ean:SimpleTransformBean.java --> JMS Msg CH --> File in other place Installation 1. download apache-servicemix-3.3.tar.gz , extract into ESB/ 2. download servicemix-example-1.zip or you can get it from here 3. Create a directory ESB/libraries , place the JAR files ant-contrib.jar , bcel.jar , jibx-bind.jar , and jibx-run.jar , in that directory. - JiBX is a library for Java objects --> XML, XML --> Java objects We use JiBX to transform Java Obj. to XML to send to NMR. ( NMR only accept XML ) - Spring component framework implementations MVC, DAO, and other important patterns. We use it for configuring POJOs (SM-Beans) using Dependency Injection (plug sys. capabilities into biz logic component) . Basic lv. of dependency, C program making sys call. Your program depends on OS. POSIX -- make it in...

[ Eclipse ] run configurations arguments

Run > Run Configurations.. In this example, args[0] = books.xml see other eclipse topic .

[ notepad++ ] how to replace tab with space

Settings > Preferences... You can replace the existing one with ... ref : acdcjunior

IBM Websphere : Biz Process Model (BPM)

Using : IBM Rational Software Architect 7.0 Model Driven Development Static analysis Who is involve, resource to use, tools as-is, to-be system - cost for each activity - avg. time for each activity Dynamic analysis No. of student/staff Which activities take most cost/time Estimate cost, duration - avg. time/cost for entire process, resource using upon the time, depend on alternative flow. - most time/cost to complete HW due monday ( 1 report / person ) - explain your model, setup simulation - analyze result, with recommendations The example from ( Patterns: SOA Foundation-Business Process Management Scenario ) is trying to model as-is Car Rental System. 1. File > New Business Modeling Process 2. New > Biz Model Item Tips You can open Project Tree from Windows > show view > Project Tree You can fill out the attribute. 3. create diagram - local task - simple decision Tips : how to move 'No' decision up, so the line in our diagram will not spaghetti - fork/join 4....

how to set mail client ( i.e. outlook, thunderbird ) point to gmail

gmail pop.gmail.com port 445 - SSL smtp.gmail.com port 995 - Authentication required - TSL ( ถ้า SSL จะไม่ได้ ) hotmail pop3.live.com port 995 - SSL smtp.live.com port 25 or 587 - Authentication required - SSL ref : hotmail

How to make windows vista run faster ?

Today my friend brought netbook , with Windows installed. The application found to run damn slow. P'win suggest one way to make it faster is to reduce its animation . Here is the method. Control Panel > System Advanced system settings Performances > Settings ... remove all ticks if you want windows some beautiful, keep the last one ( keep visual styles on windows and buttons ).