<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1859734723707065827</id><updated>2012-01-04T22:42:27.609+08:00</updated><category term='led tv'/><category term='wireless bridge'/><category term='userpasswords2'/><category term='javascript'/><category term='cache'/><category term='nohup'/><category term='regedit'/><category term='securemote'/><category term='tomcat'/><category term='youtube'/><category term='tmnet'/><category term='jarsigner'/><category term='firefox'/><category term='xampp'/><category term='characterEncoding'/><category term='dbvisualizer'/><category term='rotatelogs'/><category term='jar signing'/><category term='nokia'/><category term='adsl'/><category term='toad'/><category term='oledb'/><category term='auto-complete'/><category term='windows'/><category term='vbs'/><category term='https error'/><category term='meta refresh'/><category term='solaris'/><category term='apache'/><category term='linux'/><category term='xml'/><category term='netmeeting'/><category term='java'/><category term='mysql'/><category term='php'/><category term='add or remove program'/><category term='jdk'/><category term='control panel'/><category term='flv'/><category term='thumbnail'/><category term='samsung'/><category term='google chrome'/><category term='oracle'/><category term='logrotate'/><category term='gps'/><category term='keytool'/><category term='outlook'/><category term='citrix'/><category term='desktop'/><category term='sql'/><category term='dns'/><category term='microsoft office'/><category term='schema.ini'/><category term='wireless'/><category term='unix'/><category term='icon'/><category term='large gap'/><category term='nslookup'/><category term='oci8'/><title type='text'>XP-rience</title><subtitle type='html'>Something that I'd&lt;br&gt;
like to share with you!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-6697192581047787383</id><published>2011-08-08T00:07:00.000+08:00</published><updated>2011-08-08T00:07:39.766+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wireless bridge'/><title type='text'>Wireless bridge with Riger DB108-WL</title><content type='html'>From my previous post, I've successfully connected my TV the my PC but I want more. I trying to connect my TV to my home main network. But this time I got 2 nearly identical modems (diff. firmware maybe), Riger DB108-WL. This model has a feature call wireless bridge and decided to try it out.&lt;br /&gt;&lt;br /&gt;After several hours of trial and error, finally, I got it. Below are my settings/configurations that might help others.&lt;br /&gt;&lt;br /&gt;Only modem B is connected to the internet through ADSL.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-BTVRbVQdSSY/Tj6uZ-sX6YI/AAAAAAAAAvU/n2ZMESTNuFY/s1600/wireless_bridge.gif" imageanchor="1" style=""&gt;&lt;img border="0" height="320" width="280" src="http://3.bp.blogspot.com/-BTVRbVQdSSY/Tj6uZ-sX6YI/AAAAAAAAAvU/n2ZMESTNuFY/s320/wireless_bridge.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;table style="width:100%;"&gt;&lt;tr&gt;&lt;th&gt;Modem A Setting&lt;/th&gt;&lt;th&gt;Modem B Setting&lt;/th&gt;&lt;th&gt;*&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-uqp31KvtT6g/Tj62nG_g2sI/AAAAAAAAAwc/FA23hAkdlZo/s1600/modem_tv_side.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://1.bp.blogspot.com/-uqp31KvtT6g/Tj62nG_g2sI/AAAAAAAAAwc/FA23hAkdlZo/s200/modem_tv_side.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-NNIcw1BzVyI/Tj61mc39BEI/AAAAAAAAAwU/IGwVbj36sf0/s1600/db108-wl.JPG" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://3.bp.blogspot.com/-NNIcw1BzVyI/Tj61mc39BEI/AAAAAAAAAwU/IGwVbj36sf0/s200/db108-wl.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;*&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-l-UY5JkmpMA/Tj6vBFx31bI/AAAAAAAAAvk/kVCW9FGBweI/s1600/modem_b_chan.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://4.bp.blogspot.com/-l-UY5JkmpMA/Tj6vBFx31bI/AAAAAAAAAvk/kVCW9FGBweI/s200/modem_b_chan.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5rYT-2Oi4Rc/Tj6vBKhy-SI/AAAAAAAAAvc/nbrttYWKJRs/s1600/modem_a_chan.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://3.bp.blogspot.com/-5rYT-2Oi4Rc/Tj6vBKhy-SI/AAAAAAAAAvc/nbrttYWKJRs/s200/modem_a_chan.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;Make sure both modems are on the same channel&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-cUYZvnOlAeQ/Tj6vtcBuMMI/AAAAAAAAAv0/FcuEYSM1bLU/s1600/modem_b_sec.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://4.bp.blogspot.com/-cUYZvnOlAeQ/Tj6vtcBuMMI/AAAAAAAAAv0/FcuEYSM1bLU/s200/modem_b_sec.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-M-aNcCJKLWk/Tj6vtC_YPVI/AAAAAAAAAvs/cjyVSlojG-U/s1600/modem_a_sec.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://1.bp.blogspot.com/-M-aNcCJKLWk/Tj6vtC_YPVI/AAAAAAAAAvs/cjyVSlojG-U/s200/modem_a_sec.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;Make sure they have same security settings.&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jK_eQrmZ8fc/Tj6wRALD70I/AAAAAAAAAv8/qbwrGFCjiIw/s1600/modem_b_bridge.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://4.bp.blogspot.com/-jK_eQrmZ8fc/Tj6wRALD70I/AAAAAAAAAv8/qbwrGFCjiIw/s200/modem_b_bridge.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-iiCeKTDSp3c/Tj6wRnpxyMI/AAAAAAAAAwE/740jvrGqjeM/s1600/modem_a_bridge.GIF" imageanchor="1" style=""&gt;&lt;img border="0" height="150" width="200" src="http://4.bp.blogspot.com/-iiCeKTDSp3c/Tj6wRnpxyMI/AAAAAAAAAwE/740jvrGqjeM/s200/modem_a_bridge.GIF" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;Set modem A AP mode as access point, modem B AP mode as wireless bridge,&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;At the wireless bridge setting. make sure modem A has modem B BSSID (MAC address of the wireless access point) and same goes to modem B (add modem A BSSID). Try to use the "Bridge Restrict: Enable(Scan)" drop button to scan for available modems.&lt;br /&gt;&lt;br /&gt;After all settings are there, save and reboot both modems.&lt;br /&gt;&lt;br /&gt;If all goes well, any device connected to modem b will be bridged to modem A (IP assign by modem A DHCP).&lt;br /&gt;&lt;br /&gt;I notice at this point (when the bridge is on) modem B IP is no longer available. I could not find it anymore. The only way to find it (to enter the modem console for example) is to reset it. The modem B LAN port would not help since anything connected to modem B Ethernet port will be bridge to modem A.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-6697192581047787383?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/6697192581047787383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=6697192581047787383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6697192581047787383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6697192581047787383'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2011/08/wireless-bridge-with-riger-db108-wl.html' title='Wireless bridge with Riger DB108-WL'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-BTVRbVQdSSY/Tj6uZ-sX6YI/AAAAAAAAAvU/n2ZMESTNuFY/s72-c/wireless_bridge.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-7580149604477939356</id><published>2011-07-28T20:13:00.000+08:00</published><updated>2011-07-28T20:13:52.730+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jarsigner'/><category scheme='http://www.blogger.com/atom/ns#' term='keytool'/><category scheme='http://www.blogger.com/atom/ns#' term='jar signing'/><title type='text'>Signing Java JAR Files</title><content type='html'>From coderanch (&lt;a href="http://www.coderanch.com/t/407490/java/java/why-jarsigner"&gt;http://www.coderanch.com/t/407490/java/java/why-jarsigner&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Signing a jar is basically used to verify a trusted source. When you sign a jar with your digital signature (based on your private key), you place a mark into the jar file that could not have been done by anyone but you.&lt;br /&gt;&lt;br /&gt;The signature is also a checksum of the Jar file, so if the jar get corrupted or modified in transit, the signature is invalid.&lt;br /&gt;&lt;br /&gt;On the other side, your public key is placed into the keystore of the system that trust you. This will be used to verify your signature.&lt;br /&gt;&lt;br /&gt;Currently, I believe this is mainly used for applets. Using signed jar files, and setting security properties on client browsers, applets can have access to disk, network, and other stuff that they don't normally have access to.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 1 - Create Key&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;keytool -genkey -keystore &amp;lt;keystorefile&amp;gt; -alias &amp;lt;aliasname&amp;gt&lt;br /&gt;&lt;/pre&gt;example&lt;br /&gt;&lt;pre class="brush:plain;"&gt;C:\folder&amp;gt;keytool -genkey -keystore mykeystore -alias myalias&lt;br /&gt;Enter keystore password:&lt;br /&gt;Re-enter new password:&lt;br /&gt;What is your first and last name?&lt;br /&gt;  [Unknown]:  MyName&lt;br /&gt;What is the name of your organizational unit?&lt;br /&gt;  [Unknown]:  MyOrg&lt;br /&gt;What is the name of your organization?&lt;br /&gt;  [Unknown]:  MyOrg&lt;br /&gt;What is the name of your City or Locality?&lt;br /&gt;  [Unknown]:  MyCity&lt;br /&gt;What is the name of your State or Province?&lt;br /&gt;  [Unknown]:  MyProvince&lt;br /&gt;What is the two-letter country code for this unit?&lt;br /&gt;  [Unknown]:  my&lt;br /&gt;Is CN=MyName, OU=MyOrg, O=MyOrg, L=MyCity, ST=MyProvince, C=my correct?&lt;br /&gt;  [no]:  yes&lt;br /&gt;&lt;br /&gt;Enter key password for &amp;lt;myalias&amp;gt;&lt;br /&gt;        (RETURN if same as keystore password):&lt;br /&gt;Re-enter new password:&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Step 2 - Export Cert&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;keytool -export -keystore &amp;lt;keyStoreFile&amp;gt; -alias &amp;lt;aliasName&amp;gt; &amp;gt; &amp;lt;certFile&amp;gt;&lt;br /&gt;&lt;/pre&gt;example&lt;br /&gt;&lt;pre class="brush:plain;"&gt;C:\folder&gt;keytool -export -keystore mykeystore -alias mylias &amp;gt; mycert&lt;br /&gt;Enter keystore password:  mypassword&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Step 3 - Signing JAR&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;jarsigner -keystore &amp;lt;keyStoreFile&amp;gt; -storepass &amp;lt;password&amp;gt; &amp;lt;jarFile&amp;gt; &amp;lt;aliasName&amp;gt;&lt;br /&gt;&lt;/pre&gt;example&lt;br /&gt;&lt;pre class="brush:plain;"&gt;C:\folder&gt;jarsigner -keystore mykeystore -storepass password my.jar myalias&lt;br /&gt;&lt;br /&gt;Warning:&lt;br /&gt;The signer certificate will expire within six months.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Step 4 - Verify&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;jarsigner -verify -verbose -certs &amp;lt;jarFile&amp;gt;&lt;br /&gt;&lt;/pre&gt;example&lt;br /&gt;&lt;pre class="brush:plain;"&gt;C:\folder&gt;jarsigner -verify -verbose -certs my.jar&lt;br /&gt;...&lt;br /&gt;sm       236 Sun Feb 06 21:57:00 SGT 2011 images/remove.png&lt;br /&gt;&lt;br /&gt;      X.509, CN=MyName, OU=MyOrg, O=MyOrg, L=MyCity, ST=MyProvince, C=my&lt;br /&gt;      [certificate will expire on 10/26/11 7:46 PM]&lt;br /&gt;...&lt;br /&gt;  s = signature was verified&lt;br /&gt;  m = entry is listed in manifest&lt;br /&gt;  k = at least one certificate was found in keystore&lt;br /&gt;  i = at least one certificate was found in identity scope&lt;br /&gt;&lt;br /&gt;jar verified.&lt;br /&gt;&lt;br /&gt;Warning:&lt;br /&gt;This jar contains entries whose signer certificate will expire within six months.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-7580149604477939356?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/7580149604477939356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=7580149604477939356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/7580149604477939356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/7580149604477939356'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2011/07/signing-java-jar-files.html' title='Signing Java JAR Files'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2195602751493307721</id><published>2011-07-20T00:51:00.001+08:00</published><updated>2011-07-20T00:52:52.242+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='led tv'/><category scheme='http://www.blogger.com/atom/ns#' term='samsung'/><category scheme='http://www.blogger.com/atom/ns#' term='adsl'/><title type='text'>Samsung LED TV Network Connection</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-I3VsoNMVAH8/TiWvMa9sWlI/AAAAAAAAArs/d02MjTTDddE/s1600/the_tv.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-I3VsoNMVAH8/TiWvMa9sWlI/AAAAAAAAArs/d02MjTTDddE/s320/the_tv.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/-jF0YItwHLt8/TiWvMgYM2aI/AAAAAAAAAr0/FkWFDJY9MkU/s1600/tv_back.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-jF0YItwHLt8/TiWvMgYM2aI/AAAAAAAAAr0/FkWFDJY9MkU/s320/tv_back.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Last week, I bought Samsung UA40D5000PR LED Backlit TV. It comes with wireless LAN adapter support but need to have Samsung LinkStick Wireless USB 2.0 Adapter in order for it to works. It also has an Ethernet port for wired network connection.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-YIT_xX8e-j0/TiWvmU6iX5I/AAAAAAAAAr8/pA_xpK2ugVs/s1600/linkstick.jpg" imageanchor="1"&gt;&lt;img border="0" height="234" src="http://3.bp.blogspot.com/-YIT_xX8e-j0/TiWvmU6iX5I/AAAAAAAAAr8/pA_xpK2ugVs/s320/linkstick.jpg" width="234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To utilize the network feature, I probably need to buy the LinkStick or lay a network cable from the TV along the way to my computer room.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-L6opZ1q9L2s/TiWv7v1-R_I/AAAAAAAAAsE/Dd6Rp7NSrjU/s1600/dsl605ew.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-L6opZ1q9L2s/TiWv7v1-R_I/AAAAAAAAAsE/Dd6Rp7NSrjU/s320/dsl605ew.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I'll go with the 3rd option, using old ADSL modem (Aztech DSL605EW) with built-in wireless and 4 Ethernet ports. This is the same modem that I used in previous &lt;a href="http://xp-rience.blogspot.com/2011/01/wireless-adsl-modem-to-access-point.html"&gt;blog post&lt;/a&gt;, broken ADSL circuit.&lt;br /&gt;&lt;br /&gt;Reset the modem to factory default setting and set your wireless security accordingly.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-XdUlLmfrzoM/TiWw3o0M7CI/AAAAAAAAAsM/3rKaiykVvEo/s1600/len_conn.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-XdUlLmfrzoM/TiWw3o0M7CI/AAAAAAAAAsM/3rKaiykVvEo/s320/len_conn.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-WNl_Hmlo5yM/TiWw3kvqx0I/AAAAAAAAAsU/yZ56PnB89hE/s1600/set_ip1.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-WNl_Hmlo5yM/TiWw3kvqx0I/AAAAAAAAAsU/yZ56PnB89hE/s320/set_ip1.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-TLnY09-DGSI/TiWw4IL8uaI/AAAAAAAAAsc/iVpzvIjwkwA/s1600/set_ip2.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-TLnY09-DGSI/TiWw4IL8uaI/AAAAAAAAAsc/iVpzvIjwkwA/s320/set_ip2.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hook up the TV with the ADSL modem through an Ethernet cable. Set the TV network configuration; let the modem DHCP assign the IP.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-5qXAPbia76g/TiWxTm4tZeI/AAAAAAAAAsk/hCZW6cqRlJE/s1600/all_share_scr_shot.jpg" imageanchor="1"&gt;&lt;img border="0" height="187" src="http://3.bp.blogspot.com/-5qXAPbia76g/TiWxTm4tZeI/AAAAAAAAAsk/hCZW6cqRlJE/s320/all_share_scr_shot.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At PC, download Samsung AllShare software, install it and follow the instruction to add video files to it's library.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-foVw6Ask07s/TiWx2a4RMoI/AAAAAAAAAss/qhzNjzMhzic/s1600/connect.png" imageanchor="1"&gt;&lt;img border="0" height="217" src="http://2.bp.blogspot.com/-foVw6Ask07s/TiWx2a4RMoI/AAAAAAAAAss/qhzNjzMhzic/s320/connect.png" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next is to connect from PC (from another floor) to the ADSL modem&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-4uAGIY2TZKE/TiWzP9vI53I/AAAAAAAAAtM/Luk9BOnMCR4/s1600/iw4.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-4uAGIY2TZKE/TiWzP9vI53I/AAAAAAAAAtM/Luk9BOnMCR4/s320/iw4.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-evnglVMHVRs/TiWzOEPQG-I/AAAAAAAAAs0/9J5yxbOWGTQ/s1600/iw1.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-evnglVMHVRs/TiWzOEPQG-I/AAAAAAAAAs0/9J5yxbOWGTQ/s320/iw1.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-5OaoyxNu_Xo/TiWzOcKIy6I/AAAAAAAAAs8/ZLAHIymKEvk/s1600/iw2.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-5OaoyxNu_Xo/TiWzOcKIy6I/AAAAAAAAAs8/ZLAHIymKEvk/s320/iw2.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-F6h6GSsB_ic/TiWzOslKeXI/AAAAAAAAAtE/k3itL22Pd0M/s1600/iw3.jpg" imageanchor="1"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-F6h6GSsB_ic/TiWzOslKeXI/AAAAAAAAAtE/k3itL22Pd0M/s320/iw3.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It works. This would be my temporary method to link my TV to my PC.&lt;br /&gt;&lt;br /&gt;My next step is to link the TV to not only my PC, but to my home network which linked to my Network Attached Storage that supports DLNA for media sharing. That would be fun.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-ZblgzX7kYGI/TiWzwRVQJYI/AAAAAAAAAtU/tUZf9bm_TGI/s1600/HL280E_main.gif" imageanchor="1"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-ZblgzX7kYGI/TiWzwRVQJYI/AAAAAAAAAtU/tUZf9bm_TGI/s320/HL280E_main.gif" width="226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I’m not planning to use WiFi since we have a lot of Wifi Hunter here. I’ll rather go with homeplug but not sure which model/speed to choose. I can see 85Mbps, 200Mbps, 500Mbps and 1000Mbps on the market. Any suggestion?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2195602751493307721?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2195602751493307721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2195602751493307721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2195602751493307721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2195602751493307721'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2011/07/samsung-led-tv-network-connection.html' title='Samsung LED TV Network Connection'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-I3VsoNMVAH8/TiWvMa9sWlI/AAAAAAAAArs/d02MjTTDddE/s72-c/the_tv.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-752740396813886364</id><published>2011-01-02T00:40:00.001+08:00</published><updated>2011-01-02T00:50:03.577+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nokia'/><category scheme='http://www.blogger.com/atom/ns#' term='gps'/><title type='text'>Garmin Mobile PC and Nokia E72</title><content type='html'>Referring to &lt;a href="http://tinggiisland.blogspot.com/2010/07/garmin-mobile-pc.html"&gt;Tinggi Island Travel&lt;/a&gt; and &lt;a href="http://www.noeman.org/gsm/garmin-tutorials/151815-how-use-your-nokia-phone-gps-receiver-garmin-mobile-pc.html"&gt;Noeman.org&lt;/a&gt; on how to link between Garmin Mobile PC and Nokia phone, here is my version of setup and configuration using Nokia E72.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SQmqGZCI/AAAAAAAAAp8/EImZ1a6-OcE/s1600/finally.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SQmqGZCI/AAAAAAAAAp8/EImZ1a6-OcE/s200/finally.jpg" width="150" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 1 - install Garmin Mobile PC.&lt;br /&gt;Step 2 - install ExtGps from &lt;a href="http://www.google.com.my/search?hl=&amp;amp;q=extgps&amp;amp;sourceid=navclient-ff&amp;amp;rlz=1B3GGGL_enMY331MY331&amp;amp;ie=UTF-8"&gt;Symarctic&lt;/a&gt; (to your Phone).&lt;br /&gt;Step 3 - start ExtGps (at your Phone).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YbD_csZtad8/TR9SPnOy1MI/AAAAAAAAAp4/BKNp0EdHk9U/s1600/extgps_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/_YbD_csZtad8/TR9SPnOy1MI/AAAAAAAAAp4/BKNp0EdHk9U/s200/extgps_1.jpg" width="196" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 4 - Open bluetooth setting from systray icon.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TR9SN55IRXI/AAAAAAAAAps/NZYY8BJ5o3k/s1600/bt_conf_1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="120" src="http://2.bp.blogspot.com/_YbD_csZtad8/TR9SN55IRXI/AAAAAAAAAps/NZYY8BJ5o3k/s200/bt_conf_1.gif" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 5 - select your phone, I assume that it has been paired with your PC.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SODpRJ0I/AAAAAAAAApw/_Ryfqr5eEC0/s1600/bt_conf_2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SODpRJ0I/AAAAAAAAApw/_Ryfqr5eEC0/s200/bt_conf_2.gif" width="162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 6 - go to the services tab and find SPP, tick the check box and note down the comport number.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SPIyfYXI/AAAAAAAAAp0/I_ERuMi2OKY/s1600/bt_conf_3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SPIyfYXI/AAAAAAAAAp0/I_ERuMi2OKY/s200/bt_conf_3.gif" width="162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 7 - start Garmin Mobile PC and click at the satellite icon.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SRfyrGzI/AAAAAAAAAqA/17qkfpHREmc/s1600/gmpc_1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://4.bp.blogspot.com/_YbD_csZtad8/TR9SRfyrGzI/AAAAAAAAAqA/17qkfpHREmc/s200/gmpc_1.gif" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 8 - click disable to bring up the device selection radio button.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YbD_csZtad8/TR9SSEluv4I/AAAAAAAAAqE/bP2LN_HAkRY/s1600/gmpc_2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://3.bp.blogspot.com/_YbD_csZtad8/TR9SSEluv4I/AAAAAAAAAqE/bP2LN_HAkRY/s200/gmpc_2.gif" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 9 - select the same comport from step 6.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TR9SSup57DI/AAAAAAAAAqI/5o0DzH2BeJw/s1600/gmpc_3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://2.bp.blogspot.com/_YbD_csZtad8/TR9SSup57DI/AAAAAAAAAqI/5o0DzH2BeJw/s200/gmpc_3.gif" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Done, now you are ready to navigate with a larger display.&lt;br /&gt;Of course our could not travel with your desktop turn on.&lt;br /&gt;Get a notebook/netbook.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YbD_csZtad8/TR9ST2hIixI/AAAAAAAAAqQ/PARFm1vbPac/s1600/gmpc_5.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://3.bp.blogspot.com/_YbD_csZtad8/TR9ST2hIixI/AAAAAAAAAqQ/PARFm1vbPac/s200/gmpc_5.gif" width="200" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_YbD_csZtad8/TR9STIavRwI/AAAAAAAAAqM/oFVVSOlRxCo/s1600/gmpc_4.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://1.bp.blogspot.com/_YbD_csZtad8/TR9STIavRwI/AAAAAAAAAqM/oFVVSOlRxCo/s200/gmpc_4.gif" width="200" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-752740396813886364?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/752740396813886364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=752740396813886364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/752740396813886364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/752740396813886364'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2011/01/garmin-mobile-pc-and-nokia-e72.html' title='Garmin Mobile PC and Nokia E72'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/TR9SQmqGZCI/AAAAAAAAAp8/EImZ1a6-OcE/s72-c/finally.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-6151036800747885603</id><published>2011-01-01T01:21:00.005+08:00</published><updated>2011-07-16T23:17:29.898+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='adsl'/><title type='text'>Using old Wireless ADSL Modem as a DIY Access Point</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_YbD_csZtad8/TR4FahA113I/AAAAAAAAApQ/ZD_5e_K3gJ0/s1600/curr_conf.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/_YbD_csZtad8/TR4FahA113I/AAAAAAAAApQ/ZD_5e_K3gJ0/s200/curr_conf.png" width="98" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_YbD_csZtad8/TR4MgrwdA6I/AAAAAAAAApo/aZyLyubdKMw/s1600/DSC00071.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/_YbD_csZtad8/TR4MgrwdA6I/AAAAAAAAApo/aZyLyubdKMw/s200/DSC00071.JPG" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My current home network configuration is using ISP supplied ADSL modem that comes without wireless. It connect to a cheap unmanaged switch through a crossover cable and distribute it to 2 PCs.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TR4LLR05lbI/AAAAAAAAApY/FdUM5Y90ghQ/s1600/db108-wl_back.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/_YbD_csZtad8/TR4LLR05lbI/AAAAAAAAApY/FdUM5Y90ghQ/s200/db108-wl_back.JPG" width="200" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TR4K2XxvX5I/AAAAAAAAApU/7jKn9rFArIk/s1600/db108-wl.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/_YbD_csZtad8/TR4K2XxvX5I/AAAAAAAAApU/7jKn9rFArIk/s200/db108-wl.JPG" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I also have a broken ADSL modem (Riger DB108-WL) that comes with wireless capability. The only thing is, the ADSL circuit is broken. So this is where this idea comes out. How to use the spare wireless circuit with my current network configuration. I thought it will be complicated but when I give a try, it was not that hard. Just a couple of simple steps will do.&lt;br /&gt;&lt;br /&gt;The main idea are to; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;give the wireless device a fix IP&lt;/li&gt;&lt;li&gt;turn it DHCP server off &lt;/li&gt;&lt;li&gt;hook it up to the existing switch using crossover cable&lt;/li&gt;&lt;li&gt;set the gateway IP pointing to the current ADSL modem. &lt;/li&gt;&lt;/ul&gt;I assume you already know how to browse the wireless device &lt;a href="http://xp-rience.blogspot.com/2008/07/web-based-http-management-gui.html"&gt;web management page&lt;/a&gt;. Riger DB108-WL default user:pass is tmadmin:tmadmin&lt;br /&gt;&lt;br /&gt;Part 1, to make it easy, just reset the wireless device to factory default through the pinhole. Then hook it directly to your PC using standard network cable. Set its IP for example, my current ADSL modem is set to 192.168.100.1. So the wireless device IP should be set to the same network segment, let say 192.168.100.50. Next, turn of its DHCP server since we want to let the current ADSL modem to control the host distribution. Now save and reboot the wireless device.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TR4Lgc6KyWI/AAAAAAAAApg/W2v01njyD6Y/s1600/lan_conf.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="187" src="http://4.bp.blogspot.com/_YbD_csZtad8/TR4Lgc6KyWI/AAAAAAAAApg/W2v01njyD6Y/s200/lan_conf.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Part 2, Now the IP of the wireless device has changed. Disconnect it from your PC and hook it to the switch with crossover cable. Hook your PC back to the switch. Now turn on your wireless device and browse to its web management page. Set the gateway so that it point to the current ADSL modem (in my case, 192.168.100.1).&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_YbD_csZtad8/TR4Lf2J2_qI/AAAAAAAAApc/ebMa53pt0R8/s1600/gateway_conf.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="128" src="http://1.bp.blogspot.com/_YbD_csZtad8/TR4Lf2J2_qI/AAAAAAAAApc/ebMa53pt0R8/s200/gateway_conf.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now the wireless device is converted to wireless access point and ready to accept wireless connection.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TR4L-ESzadI/AAAAAAAAApk/ZNbEcEPwWRk/s1600/overall_conf.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="278" src="http://2.bp.blogspot.com/_YbD_csZtad8/TR4L-ESzadI/AAAAAAAAApk/ZNbEcEPwWRk/s320/overall_conf.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The best part of using this configuration is, you can turn off wireless independently without need to browse the web management page. Just turn the wireless device power off.&lt;br /&gt;&lt;br /&gt;**update**&lt;br /&gt;&lt;br /&gt;For DSL605EW, please refer to screenshots below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-hApXsv8vgqk/TiGqg8YfAaI/AAAAAAAAArk/JskaSjI7hNA/s1600/dsl605ew.jpg" imageanchor="1" style=""&gt;&lt;img border="0" width="200" src="http://2.bp.blogspot.com/-hApXsv8vgqk/TiGqg8YfAaI/AAAAAAAAArk/JskaSjI7hNA/s320/dsl605ew.jpg" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-GqqQVkt89xU/TiGqgXjkvUI/AAAAAAAAArc/azIFLPVOBJI/s1600/aztech_dsl605ew.gif" imageanchor="1" style=""&gt;&lt;img border="0" width="200" src="http://1.bp.blogspot.com/-GqqQVkt89xU/TiGqgXjkvUI/AAAAAAAAArc/azIFLPVOBJI/s320/aztech_dsl605ew.gif" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-6151036800747885603?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/6151036800747885603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=6151036800747885603' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6151036800747885603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6151036800747885603'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2011/01/wireless-adsl-modem-to-access-point.html' title='Using old Wireless ADSL Modem as a DIY Access Point'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/TR4FahA113I/AAAAAAAAApQ/ZD_5e_K3gJ0/s72-c/curr_conf.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-1776522209279857462</id><published>2010-10-28T01:22:00.001+08:00</published><updated>2010-10-28T01:30:56.697+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dns'/><category scheme='http://www.blogger.com/atom/ns#' term='tmnet'/><category scheme='http://www.blogger.com/atom/ns#' term='nslookup'/><title type='text'>Open DNS : Alternate DNS</title><content type='html'>If you are experiencing problems with your ISP DNS, you might want to try OpenDNS.&lt;br /&gt;&lt;br /&gt;Below is how to check whether your ISP DNS availability by using &lt;tt&gt;nslookup&lt;/tt&gt; command&lt;br /&gt;&lt;br /&gt;I purposely change the DNS to 202.188.0.133 (TMNET DNS) which is the one that having a problem tonight. Timeout!&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TMhbxo7IcnI/AAAAAAAAAo4/gHpj7eIgFkE/s1600/Untitled-2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="121" src="http://2.bp.blogspot.com/_YbD_csZtad8/TMhbxo7IcnI/AAAAAAAAAo4/gHpj7eIgFkE/s320/Untitled-2.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;No problem when using OpenDNS.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TMhbxEviYhI/AAAAAAAAAo0/gkMzRI7ZBYk/s1600/Untitled-1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="104" src="http://4.bp.blogspot.com/_YbD_csZtad8/TMhbxEviYhI/AAAAAAAAAo0/gkMzRI7ZBYk/s320/Untitled-1.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;You can set this DNS to your network card setting if you don't want to change your ADSL modem setting.&lt;br /&gt;&lt;br /&gt;Easier to revert back to the ISP DNS when it recovers.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_YbD_csZtad8/TMhbyhJAi9I/AAAAAAAAAo8/Lthepq1UWR0/s1600/Untitled-3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/_YbD_csZtad8/TMhbyhJAi9I/AAAAAAAAAo8/Lthepq1UWR0/s320/Untitled-3.gif" width="260" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TMhbzcjW-lI/AAAAAAAAApA/5QOo_XPv-RI/s1600/Untitled-4.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_YbD_csZtad8/TMhbzcjW-lI/AAAAAAAAApA/5QOo_XPv-RI/s320/Untitled-4.gif" width="284" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;More information on OpenDNS? please google for &lt;a href="http://www.opendns.com"&gt;OpenDNS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* Your might also consider &lt;a href="http://code.google.com/speed/public-dns/docs/using.html"&gt;Google Public DNS&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-1776522209279857462?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/1776522209279857462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=1776522209279857462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1776522209279857462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1776522209279857462'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/10/open-dns-alternate-dns.html' title='Open DNS : Alternate DNS'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/TMhbxo7IcnI/AAAAAAAAAo4/gHpj7eIgFkE/s72-c/Untitled-2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-1923786293046092690</id><published>2010-08-05T23:51:00.000+08:00</published><updated>2010-08-05T23:51:56.299+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>YUI Compressor with GUI</title><content type='html'>Minification is the process of removing all unnecessary characters from source code such as&lt;br /&gt;white space characters, new line characters, comments and block delimiters&lt;br /&gt;without changing its functionality. [&lt;a href="http://en.wikipedia.org/wiki/Minification_%28programming%29"&gt;read more...&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;Minified code reduces the amount of data that needs to be transferred through the web server (bandwidth saving).&lt;br /&gt;It may also be used as a kind of obfuscation.&lt;br /&gt;&lt;br /&gt;My favorite minification tool is &lt;a href="http://developer.yahoo.com/yui/compressor/"&gt;YUI Compressor&lt;/a&gt;.&lt;br /&gt;Mostly for CSS (Cascading Style Sheets) and JS (JavaScript).&lt;br /&gt;&lt;br /&gt;Let us taka a look what happen when a simple code get minified.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;JavaScript - Original Code&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:javascript;"&gt;function startTime(){&lt;br /&gt;    var today=new Date();&lt;br /&gt;    var h=today.getHours();&lt;br /&gt;    var m=today.getMinutes();&lt;br /&gt;    var s=today.getSeconds();&lt;br /&gt;    // add a zero in front of numbers&amp;lt;10&lt;br /&gt;    m=checkTime(m);&lt;br /&gt;    s=checkTime(s);&lt;br /&gt;    document.getElementById('txt').innerHTML=h+":"+m+":"+s;&lt;br /&gt;    t=setTimeout('startTime()',500);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function checkTime(i){&lt;br /&gt;    if (i&amp;lt;10){&lt;br /&gt;        i="0" + i;&lt;br /&gt;    }&lt;br /&gt;    return i;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;JavaScript - Minified&lt;/b&gt;  &lt;br /&gt;&lt;pre class="brush:javascript;"&gt;function startTime(){var b=new Date();var d=b.getHours();&lt;br /&gt;var a=b.getMinutes();var c=b.getSeconds();a=checkTime(a);&lt;br /&gt;c=checkTime(c);document.getElementById("txt").innerHTML=d+":"+a+":"+c;&lt;br /&gt;t=setTimeout("startTime()",500)}function checkTime(a){if(a&amp;lt;10){a="0"+a&lt;br /&gt;}return a};&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;CSS - Original Code&lt;/b&gt;  &lt;br /&gt;&lt;pre class="brush:javascript;"&gt;body&lt;br /&gt;{&lt;br /&gt;    background-color:#d0e4fe;&lt;br /&gt;}&lt;br /&gt;h1&lt;br /&gt;{&lt;br /&gt;    color:orange;&lt;br /&gt;    text-align:center;&lt;br /&gt;}&lt;br /&gt;p&lt;br /&gt;{&lt;br /&gt;    font-family:"Times New Roman";&lt;br /&gt;    font-size:20px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;CSS - Minfied&lt;/b&gt;  &lt;br /&gt;&lt;pre class="brush:javascript;"&gt;body{background-color:#d0e4fe;}h1{color:orange;text-align:center;}&lt;br /&gt;p{font-family:"Times New Roman";font-size:20px;}&lt;br /&gt;&lt;/pre&gt;Just to share here, since YUI Compressor don't provide any GUI, I've created one with Java Swing. It has been compiled together with &lt;tt&gt;&lt;a href="http://developer.yahoo.com/yui/compressor/"&gt;yuicompressor-2.4.2.jar&lt;/a&gt;&lt;/tt&gt;.&lt;br /&gt;You need to have Java installed in order to run this executable JAR.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_YbD_csZtad8/TFrcX9YlZhI/AAAAAAAAAog/ttOwN1K6kog/s1600/JsCssMin.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_YbD_csZtad8/TFrcX9YlZhI/AAAAAAAAAog/ttOwN1K6kog/s320/JsCssMin.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.fastanalytic.com/fa_jar/JsCssMin.jar"&gt;Download&lt;/a&gt; (MD5 : 210176c93d331c50dc19a2dda0ae1c89  JsCssMin.jar)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-1923786293046092690?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/1923786293046092690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=1923786293046092690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1923786293046092690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1923786293046092690'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/08/yui-compressor-with-gui.html' title='YUI Compressor with GUI'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/TFrcX9YlZhI/AAAAAAAAAog/ttOwN1K6kog/s72-c/JsCssMin.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-8478837892861388519</id><published>2010-08-05T00:02:00.007+08:00</published><updated>2010-10-06T18:49:20.061+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='logrotate'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Using logrotate to rotate and archive log</title><content type='html'>Previously I found out that rotatelogs cannot replace the rotated logs, I try to find other option.&lt;br /&gt;&lt;br /&gt;I always come across &lt;tt&gt;logrotate&lt;/tt&gt; whenever trying to search for &lt;tt&gt;rotatelogs&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;So I give them a try.&lt;br /&gt;&lt;br /&gt;1st step is to find it. BTW, I'm on SuSE Linux Enterprise 10.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;$ logrotate&lt;br /&gt;-ksh: logrotate: not found [No such file or directory]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Since it is not in the path, try to find it by doing this.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;$ whereis logrotate&lt;br /&gt;logrotate: /usr/sbin/logrotate /etc/logrotate.d /etc/logrotate.conf /usr/share/man/man8/logrotate.8.gz&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now try to run it with full path.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;$ /usr/sbin/logrotate&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Again, an error occurs.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;error: error creating state file /var/lib/logrotate.status: Permission denied&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is because the user that we are currently on don't have write access &lt;tt&gt;/var/lib/logrotate.status&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;-rw-r--r--  1 root   root  1246 2010-07-28 09:30 logrotate.status&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Ask help from system root to change it...&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;# chmod 666 logrotate.status&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;...to&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;-rw-rw-rw-  1 root   root  1246 2010-07-28 09:30 logrotate.status&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So, now try again.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;$ /usr/sbin/logrotate&lt;br /&gt;logrotate 3.7.3 - Copyright (C) 1995-2001 Red Hat, Inc.&lt;br /&gt;This may be freely redistributed under the terms of the GNU Public License&lt;br /&gt;&lt;br /&gt;Usage: logrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail command]&lt;br /&gt;[-s|--state statefile] [-v|--verbose] [-?|--help] [--usage]&lt;br /&gt;[OPTION...] &lt;configfile&gt;&lt;br /&gt;&lt;/configfile&gt;&lt;/pre&gt;&lt;br /&gt;At last. Now create a simple conf like below.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;$ cat ./logrotate.conf&lt;br /&gt;/home/username/test/mylog {&lt;br /&gt;rotate 5&lt;br /&gt;daily&lt;br /&gt;copytruncate&lt;br /&gt;notifempty&lt;br /&gt;compress&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TFmOvniK2WI/AAAAAAAAAoY/Yox-2rPEfzM/s1600/Linux_2.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_YbD_csZtad8/TFmOvniK2WI/AAAAAAAAAoY/Yox-2rPEfzM/s200/Linux_2.gif" width="169" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;From my observation by triggering it manually (based on configuration above), I found out that it start by compressing the log file and name it &lt;tt&gt;mylog.1.gz&lt;/tt&gt;.&lt;br /&gt;When I trigger it again, it will rename the &lt;tt&gt;mylog.1.gz&lt;/tt&gt; to &lt;tt&gt;mylog.2.gz&lt;/tt&gt; and create a new &lt;tt&gt;mylog.1.gz&lt;/tt&gt;. It will continue to do that but will not exceed &lt;tt&gt;mylog.5.gz&lt;/tt&gt; (&lt;tt&gt;rotate 5&lt;/tt&gt; from conf file).&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:plain;"&gt;-rw-r--r-- 1 user group  348 2010-07-28 15:32 mylog&lt;br /&gt;-rw-r--r-- 1 user group   54 2010-07-28 15:32 mylog.1.gz&lt;br /&gt;-rw-r--r-- 1 user group   59 2010-07-28 15:32 mylog.2.gz&lt;br /&gt;-rw-r--r-- 1 user group   58 2010-07-28 15:32 mylog.3.gz&lt;br /&gt;-rw-r--r-- 1 user group   51 2010-07-28 15:32 mylog.4.gz&lt;br /&gt;-rw-r--r-- 1 user group   57 2010-07-28 15:32 mylog.5.gz&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is just like what I wanted. It will keep only 5 gz files. Now you can schedule (cron) them accordingly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-8478837892861388519?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/8478837892861388519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=8478837892861388519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8478837892861388519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8478837892861388519'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/08/using-logrotate-to-rotate-and-archive.html' title='Using logrotate to rotate and archive log'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/TFmOvniK2WI/AAAAAAAAAoY/Yox-2rPEfzM/s72-c/Linux_2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-3153698723078692558</id><published>2010-07-28T19:43:00.001+08:00</published><updated>2010-07-28T19:54:13.322+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rotatelogs'/><category scheme='http://www.blogger.com/atom/ns#' term='nohup'/><title type='text'>Using rotatelogs to rotate nohup.out</title><content type='html'>Extending my focus on &lt;tt&gt;rotatelogs&lt;/tt&gt;, I was thinking of to use them with other software. This might help me to on how to rotate &lt;tt&gt;nohup.out&lt;/tt&gt; without using cronjob. First, I need something to throw STDOUT. Something simple as below;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;while [ 1 ]&lt;br /&gt;do&lt;br /&gt;echo `date`&lt;br /&gt;sleep 2&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Script above will run in infinite loop and echo date output to STDOUT every 2 secs. Next is to test it with nohup so it could survive logout.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;username@myserver:/mydir $ nohup ./test.sh&lt;br /&gt;nohup: appending output to `nohup.out'&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YbD_csZtad8/TFAXafT68VI/AAAAAAAAAoQ/DDtAXm2Y2vk/s1600/apache_display222.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_YbD_csZtad8/TFAXafT68VI/AAAAAAAAAoQ/DDtAXm2Y2vk/s320/apache_display222.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Let it run for a couple of seconds and kill it by CTRL-C. Then verify that the nohup.out contains couple lines of date in it. Next step is to pipe it with &lt;tt&gt;rotatelogs&lt;/tt&gt; and observe what happen&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;username@myserver:/mydir $ nohup ./test.sh | ./rotatelogs nohup.out.%S 10 &amp;amp;&lt;br /&gt;[1]     24828&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Command line above will pipe the STDOUT from the simple &lt;tt&gt;test.sh&lt;/tt&gt; and send them to &lt;tt&gt;rotatelogs&lt;/tt&gt; to be rotated accordingly. &lt;tt&gt;nohup.out.%S&lt;/tt&gt; will cause the nohup.out filename to rotate as below (%S: 2-digit second from &lt;a href="http://httpd.apache.org/docs/2.0/programs/rotatelogs.html"&gt;rotatelogs&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;-rw-r--r-- 1 username usergrp 1479 2010-07-28 10:32 nohup.out.40&lt;br /&gt;-rw-r--r-- 1 username usergrp 1595 2010-07-28 10:32 nohup.out.50&lt;br /&gt;-rw-r--r-- 1 username usergrp 1711 2010-07-28 10:33 nohup.out.00&lt;br /&gt;-rw-r--r-- 1 username usergrp 1682 2010-07-28 10:33 nohup.out.10&lt;br /&gt;-rw-r--r-- 1 username usergrp 1653 2010-07-28 10:33 nohup.out.20&lt;br /&gt;-rw-r--r-- 1 username usergrp 1566 2010-07-28 10:33 nohup.out.30&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Oops! Now I relize that the output file will never be replaced. It keep on appending to an old file. Meaning that it will grow and need to be manually archive. :-(&lt;br /&gt;&lt;br /&gt;Looking forward to try &lt;tt&gt;logrotate&lt;/tt&gt; and it will be my next post, soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-3153698723078692558?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/3153698723078692558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=3153698723078692558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3153698723078692558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3153698723078692558'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/07/using-roratelogs-to-rotate-nohupout.html' title='Using rotatelogs to rotate nohup.out'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/TFAXafT68VI/AAAAAAAAAoQ/DDtAXm2Y2vk/s72-c/apache_display222.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2671471282506066278</id><published>2010-07-27T19:45:00.006+08:00</published><updated>2010-07-28T19:54:34.515+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rotatelogs'/><category scheme='http://www.blogger.com/atom/ns#' term='xampp'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Using rotatelogs to manage Logs in Apache (xampp)</title><content type='html'>While performing a routine XAMPP (under Linux) healthy check, I've found out some log files had grown up to about 8GB. This might cause the system to slow down. Searching for a solution from the net lead me to this, &lt;tt&gt;&lt;a href="http://httpd.apache.org/docs/2.0/programs/rotatelogs.html"&gt;rotatelogs&lt;/a&gt;&lt;/tt&gt;. To use this &lt;tt&gt;rotatelogs&lt;/tt&gt; it needs to be piped in the XAMPP httpd.conf which is located at &lt;tt&gt;/opt/lampp/etc/httpd.conf&lt;/tt&gt;. So I comment out the 2 original lines and add 2 lines with &lt;tt&gt;rotatelogs&lt;/tt&gt; piped to them like below;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;#ErrorLog logs/error_log&lt;br /&gt;ErrorLog "|bin/rotatelogs logs/error_log 5M"&lt;br /&gt;...&lt;br /&gt;#CustomLog logs/access_log common&lt;br /&gt;CustomLog "|bin/rotatelogs logs/access_log 5M" common&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YbD_csZtad8/TE7GRSWO4gI/AAAAAAAAAoI/Sg8445pDyuc/s1600/1240.jpg.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_YbD_csZtad8/TE7GRSWO4gI/AAAAAAAAAoI/Sg8445pDyuc/s320/1240.jpg.gif" /&gt;&lt;/a&gt;&lt;/div&gt;Next is to restart the XAMPP by doing &lt;tt&gt;./lampp restart&lt;/tt&gt; (XAMPP for Linux). Unfortunately it failed and when I observed the &lt;tt&gt;error.log&lt;/tt&gt; it shows;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;piped log program 'bin/rotatelogs... failed unexpectedly&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Maybe the path is wrong. Next try is to use full path by replace those &lt;tt&gt;rotatelogs&lt;/tt&gt; piped lines with below;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;#ErrorLog logs/error_log&lt;br /&gt;ErrorLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/error_log 5M"&lt;br /&gt;...&lt;br /&gt;#CustomLog logs/access_log common&lt;br /&gt;CustomLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/access_log 5M" common&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Finally it works. No error in error_log found. New log file will be created whenever it reach 5MB size. Whenever it switch to the new log file, a unixtime will be appended to the log file name like below;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;-rw-r--r-- 1 root root 22713 Jul 27 10:10 access_log.1280196529&lt;br /&gt;-rw-r--r-- 1 root root 4989 Jul 27 10:21 access_log.1280197231&lt;br /&gt;-rw-r--r-- 1 root root 725 Jul 27 10:20 error_log.1280197229&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Log file size above is not 5MB yet but when I restart XAMPP, new log file is created. But I'm thinking, what if I don't want to keep all logs, just rotate them weekly. So I try this;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;#ErrorLog logs/error_log&lt;br /&gt;ErrorLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/error_log.%a 86400"&lt;br /&gt;...&lt;br /&gt;#CustomLog logs/access_log common&lt;br /&gt;CustomLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/access_log.%a 86400" common&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;The new log file name now looks something like below.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;-rw-r--r-- 1 root root 625 Jul 27 12:04 error_log.Tue&lt;br /&gt;-rw-r--r-- 1 root root 1941 Jul 27 12:04 access_log.Tue&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;They will rotate in 24 hours (86400 secs) with a 3-character weekday name appended to them. I assume they will rotate and replace just like I plan in 1 week time, I hope so. :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2671471282506066278?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2671471282506066278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2671471282506066278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2671471282506066278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2671471282506066278'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/07/using-rotatelogs-in-apache-xampp.html' title='Using rotatelogs to manage Logs in Apache (xampp)'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/TE7GRSWO4gI/AAAAAAAAAoI/Sg8445pDyuc/s72-c/1240.jpg.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-3868379489366171439</id><published>2010-04-01T20:42:00.006+08:00</published><updated>2010-04-01T21:05:44.983+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='https error'/><category scheme='http://www.blogger.com/atom/ns#' term='securemote'/><title type='text'>HTTPS traffic on port 8080 is dropped by SecuRemote</title><content type='html'>After installing &lt;tt&gt;VPN-1 SecuRemote/SecureClient NGX R60&lt;/tt&gt;, my PC is unable to connect to https websites through a port 8080 proxy. Some googling around lead me to this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cpug.org/forums/secureclient-securemote/3734-cant-view-https-web-pages.html"&gt;Can't view HTTPS web pages&lt;/a&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;I have installed Securemote on a XP (Pro) PC so that it can access a remotely hosted server/application which works OK. However, since the Securemote software has been loaded, the user is not able to view HTTPS web pages, he can view HTTP pages OK.&lt;br /&gt;&lt;br /&gt;If I uncheck the Securemote client in the network options in XP, the HTTPS pages are able to be viewed, but then the Securemote can not be used.&lt;br /&gt;&lt;br /&gt;Is there any configuration change that can be made to Securemote to stop it interfering with the HTTPS traffic?&lt;br /&gt;&lt;br /&gt;Thanks for your help.&lt;br /&gt;Simon.&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Digging through brought me to below solution;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://fw1-gurus.phoneboy.com/archive-2006/msg01067.html"&gt;Re: Securemote blocking access to https pages through proxy.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Hi,&lt;br /&gt;&lt;br /&gt;try this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Navigate to HKLM\System\CurrentControlSet\Services\FW1\parameters.&lt;br /&gt;2. Add a new key called "Globals."&lt;br /&gt;&lt;br /&gt;3. Under the "Globals" key, add a DWORD parameter called "asm_http_allow_connect," and set its value to 14. Reboot the computer&lt;br /&gt;&lt;br /&gt;i got this from my support, and they say that Securemote does not acceppt "CONNECT" per default.&lt;br /&gt;&lt;br /&gt;CP says this is no failure, and won't change the behaviour.&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;stefan&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;I've tried it and it works. Just create a new dword regsitry entry as below;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/S7SYAOheWWI/AAAAAAAAAms/BCzHXHpKgj0/s1600/ScreenHunter_01+Apr.+01+20.55.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 56px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/S7SYAOheWWI/AAAAAAAAAms/BCzHXHpKgj0/s200/ScreenHunter_01+Apr.+01+20.55.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5455152178318432610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or you can open your notepad, copy &amp;amp; paste contents below, save it as &lt;tt&gt;fix.reg&lt;/tt&gt;, right click and select &lt;tt&gt;Merge&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FW1\Parameters\Globals]&lt;br /&gt;"asm_http_allow_connect"=dword:00000014&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/S7SZBG4nuBI/AAAAAAAAAm0/myDLdmj2spU/s1600/ScreenHunter_02+Apr.+01+21.00.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 127px; height: 116px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/S7SZBG4nuBI/AAAAAAAAAm0/myDLdmj2spU/s200/ScreenHunter_02+Apr.+01+21.00.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5455153292959528978" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-3868379489366171439?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/3868379489366171439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=3868379489366171439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3868379489366171439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3868379489366171439'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2010/04/securemote-https-error.html' title='HTTPS traffic on port 8080 is dropped by SecuRemote'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/S7SYAOheWWI/AAAAAAAAAms/BCzHXHpKgj0/s72-c/ScreenHunter_01+Apr.+01+20.55.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2361929875196258244</id><published>2009-10-31T00:14:00.009+08:00</published><updated>2009-10-31T00:57:33.754+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='jdk'/><title type='text'>Quick Start - Install and Run Apache Tomcat</title><content type='html'>Obtain a copy of &lt;tt&gt;Apache Tomcat &amp;#60;version&amp;#62;&lt;/tt&gt; from &lt;a href="http://tomcat.apache.org/"&gt;tomcat.apache.org&lt;/a&gt;.&lt;br /&gt;&lt;tt&gt;Download &gt;&gt; Binary Distributions &gt;&gt; Core &gt;&gt; zip&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SusUtIiM0CI/AAAAAAAAAP0/YBY5hqU5x2g/s1600-h/ScreenHunter_01+Oct.+31+00.30.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 17px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SusUtIiM0CI/AAAAAAAAAP0/YBY5hqU5x2g/s320/ScreenHunter_01+Oct.+31+00.30.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398431343951269922" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Obtain a copy of &lt;tt&gt;JDK&lt;/tt&gt; from &lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;Java SE Downloads&lt;/a&gt;. There any many options there. Just pick;&lt;br /&gt;&lt;tt&gt;Java SE Development Kit (JDK) &gt;&gt; JDK &amp;#60;version&amp;#62; Update &amp;#60;update&amp;#62; &lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Install the &lt;tt&gt;JDK&lt;/tt&gt;. Please refer to &lt;a href="http://java.sun.com/javase/6/webnotes/install/index.html"&gt;Java SE Downloads&lt;/a&gt; page for complete/detail installation instruction.&lt;br /&gt;&lt;br /&gt;Unzip Apache Tomcat to a new directory.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s1600-h/ScreenHunter_05+Oct.+31+00.39.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s320/ScreenHunter_05+Oct.+31+00.39.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398433601807084210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Set environment variable JAVA_HOME pointing to the &lt;tt&gt;JDK&lt;/tt&gt; directory.&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;JAVA_HOME = C:\Program Files\Java\jdk&amp;#60;version&amp;#62;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SusZClZ4jhI/AAAAAAAAAQk/bRMMBtZYJ4M/s1600-h/ScreenHunter_07+Oct.+31+00.49.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 228px;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SusZClZ4jhI/AAAAAAAAAQk/bRMMBtZYJ4M/s320/ScreenHunter_07+Oct.+31+00.49.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398436110524780050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SusXZQm7BJI/AAAAAAAAAQc/RiXtgQnfeJI/s1600-h/ScreenHunter_06+Oct.+31+00.42.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 153px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SusXZQm7BJI/AAAAAAAAAQc/RiXtgQnfeJI/s320/ScreenHunter_06+Oct.+31+00.42.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398434301056058514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Locate &lt;tt&gt;D:\apache-tomcat-&amp;#60;version&amp;#62;\bin\&lt;/tt&gt; and double click &lt;tt&gt;startup.bat&lt;/tt&gt; to start the Apache Tomcat web server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s1600-h/ScreenHunter_05+Oct.+31+00.39.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s320/ScreenHunter_05+Oct.+31+00.39.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398433601807084210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A command prompt window will popup showing the status.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SusVKFkJ2DI/AAAAAAAAAP8/H9WnRanW8F8/s1600-h/ScreenHunter_02+Oct.+31+00.32.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 162px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SusVKFkJ2DI/AAAAAAAAAP8/H9WnRanW8F8/s320/ScreenHunter_02+Oct.+31+00.32.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398431841370363954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To confirm it is really running, point your browser to &lt;a href="http://localhost:8080"&gt;http://localhost:8080&lt;/a&gt;. (Default Apache Tomcat port = 8080)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SusVgZ3ciZI/AAAAAAAAAQE/xBTLooAzh2U/s1600-h/ScreenHunter_03+Oct.+31+00.34.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 239px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SusVgZ3ciZI/AAAAAAAAAQE/xBTLooAzh2U/s320/ScreenHunter_03+Oct.+31+00.34.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398432224777111954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To shutdown Apache Tomcat, simply double click &lt;tt&gt;shutdown.bat&lt;/tt&gt; from the same location that is &lt;tt&gt;D:\apache-tomcat-&amp;#60;version&amp;#62;\bin\&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s1600-h/ScreenHunter_05+Oct.+31+00.39.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SusWwjs-arI/AAAAAAAAAQU/JXQW7bK1ftM/s320/ScreenHunter_05+Oct.+31+00.39.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5398433601807084210" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2361929875196258244?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2361929875196258244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2361929875196258244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2361929875196258244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2361929875196258244'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2009/10/quick-start-install-and-run-apache.html' title='Quick Start - Install and Run Apache Tomcat'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/SusUtIiM0CI/AAAAAAAAAP0/YBY5hqU5x2g/s72-c/ScreenHunter_01+Oct.+31+00.30.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-5073347161145136557</id><published>2009-10-18T20:39:00.011+08:00</published><updated>2009-10-19T11:45:15.344+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='toad'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Toad 9.7 &amp; Oracle Instant Client 11.1</title><content type='html'>Referring to &lt;a href="http://spaceouch.blogspot.com/2007/04/toad-oracle-instant-client-i-was.html"&gt;Toad + Oracle instant client&lt;/a&gt;, I tried to set it up but unfortunately it doesn't work out for me. Some extra additional steps help to resolve the issue and I love to share it here.&lt;br /&gt;&lt;br /&gt;First, download Oracle Client from &lt;a href="http://www.oracle.com/technology/tech/oci/instantclient/index.html"&gt;Oracle Database Instant Client&lt;/a&gt;. &lt;tt&gt;Instant Client Package - Basic Lite&lt;/tt&gt; wil do just fine. (about 17MB)&lt;br /&gt;&lt;br /&gt;Next, create 4 folders ( recommended under &lt;tt&gt;c:\Program Files&lt;/tt&gt; ) according to folder hierarchy below;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/StsPULlp1fI/AAAAAAAAAN0/tVWufYF8NQo/s1600-h/ScreenHunter_05+Oct.+18+20.51.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 118px; height: 74px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/StsPULlp1fI/AAAAAAAAAN0/tVWufYF8NQo/s320/ScreenHunter_05+Oct.+18+20.51.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5393921818088822258" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You should have 4 folders.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;C:\Program Files\oracle&lt;br /&gt;C:\Program Files\oracle\bin&lt;br /&gt;C:\Program Files\oracle\network&lt;br /&gt;C:\Program Files\oracle\network\admin&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now, extract the &lt;tt&gt;Instant Client Package&lt;/tt&gt; to &lt;tt&gt;C:\Program Files\oracle\bin&lt;/tt&gt; ( make sure the &lt;tt&gt;oci.dll&lt;/tt&gt; is in the &lt;tt&gt;C:\Program Files\oracle\bin&lt;/tt&gt; )&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/StsQWANTGSI/AAAAAAAAAN8/WVGDwDevR9k/s1600-h/ScreenHunter_06+Oct.+18+20.56.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 190px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/StsQWANTGSI/AAAAAAAAAN8/WVGDwDevR9k/s320/ScreenHunter_06+Oct.+18+20.56.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5393922948905244962" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Right click at &lt;tt&gt;My Computer&lt;/tt&gt; &gt; Properties &gt; Goto &lt;tt&gt;Advance&lt;/tt&gt; tab &gt; Click &lt;tt&gt;Environment Variables&lt;/tt&gt;. Add listed Environment Variables below to your OS.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;LD_LIBRARY_PATH = C:\Program Files\oracle\bin&lt;br /&gt;ORACLE_HOME = C:\Program Files\oracle&lt;br /&gt;ORACLE_HOME_NAME = C:\Program Files\oracle&lt;br /&gt;SQL_PATH = C:\Program Files\oracle&lt;br /&gt;TNS_ADMIN = C:\Program Files\oracle\network\admin&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/StsQzG94T5I/AAAAAAAAAOE/AOmb2oq67Kc/s1600-h/ScreenHunter_03+Oct.+18+20.38.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 136px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/StsQzG94T5I/AAAAAAAAAOE/AOmb2oq67Kc/s320/ScreenHunter_03+Oct.+18+20.38.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5393923448935829394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Under system variables, edit &lt;tt&gt;Path&lt;/tt&gt;, add &lt;tt&gt;C:\Program Files\oracle\bin&lt;/tt&gt; to the end of other path (don't forget to separate it with "&lt;tt&gt;;&lt;/tt&gt;")&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/StsTDm05tGI/AAAAAAAAAOU/Jiv_Kf28XyY/s1600-h/ScreenHunter_07+Oct.+18+21.05.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 136px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/StsTDm05tGI/AAAAAAAAAOU/Jiv_Kf28XyY/s320/ScreenHunter_07+Oct.+18+21.05.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5393925931389269090" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Copy/create 3 simple *.ora files below to &lt;tt&gt;C:\Program Files\oracle\network\admin&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/StvgJQRKNEI/AAAAAAAAAPE/i8ZiH9-5SB4/s1600-h/ScreenHunter_01+Oct.+19+11.41.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 172px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/StvgJQRKNEI/AAAAAAAAAPE/i8ZiH9-5SB4/s320/ScreenHunter_01+Oct.+19+11.41.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5394151428296684610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;tnsnames.ora&lt;/tt&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;DEV =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST =&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = foo)(PORT = 1531))&lt;br /&gt;)&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVICE_NAME = foo)&lt;br /&gt;)&lt;br /&gt;)&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;sqlnet.ora&lt;/tt&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, HOSTNAME)&lt;br /&gt;NAMES.DEFAULT_DOMAIN = WORLD&lt;br /&gt;TRACE_LEVEL_CLIENT = OFF&lt;br /&gt;SQLNET.EXPIRE_TIME = 30&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;ldap.ora&lt;/tt&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;DEFAULT_ADMIN_CONTEXT = “ou=oracledatabases,dc=mycompany,dc=com”&lt;br /&gt;DIRECTORY_SERVERS = (ldap_server.mycompany.com:389:636)&lt;br /&gt;DIRECTORY_SERVER_TYPE = OID&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Finally, test it out.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/Stvgn1WbVTI/AAAAAAAAAPM/42uc64Ovme8/s1600-h/ScreenHunter_02+Oct.+19+11.44.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_YbD_csZtad8/Stvgn1WbVTI/AAAAAAAAAPM/42uc64Ovme8/s320/ScreenHunter_02+Oct.+19+11.44.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5394151953646966066" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The drop down button seems to be highlighted in red but it works. I've tried it with several DB connections.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-5073347161145136557?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/5073347161145136557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=5073347161145136557' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5073347161145136557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5073347161145136557'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2009/10/toad-97-oracle-instant-client-111.html' title='Toad 9.7 &amp; Oracle Instant Client 11.1'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YbD_csZtad8/StsPULlp1fI/AAAAAAAAAN0/tVWufYF8NQo/s72-c/ScreenHunter_05+Oct.+18+20.51.gif' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-8690005040200996036</id><published>2009-10-15T22:29:00.011+08:00</published><updated>2009-10-15T23:00:33.012+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Setting up a simple Java stored procedure/function in Oracle</title><content type='html'>Starting with &lt;tt&gt;Oracle 8i&lt;/tt&gt;, we can write &lt;tt&gt;Java Stored Procedures/Functions&lt;/tt&gt; within the database. Stored procedures/functions are Java methods published to SQL and stored in the database for general usage. It also could be called by a trigger. Example; to send an email whenever a specific row has been inserted into the table.&lt;br /&gt;&lt;br /&gt;Run the &lt;tt&gt;$ORACLE_HOME/javavm/install/initjvm.sql&lt;/tt&gt; script from SYS AS SYSDBA to install the Oracle JServer Option on a database.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;oracle@myserver:~&gt; sqlplus '/ as sysdba' @$ORACLE_HOME/javavm/install/initjvm.sql&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;(This process is reversible. It could be done by running the &lt;tt&gt;rmjvm.sql&lt;/tt&gt; script to uninstall the Oracle JServer Option from the database)&lt;br /&gt;&lt;br /&gt;Grant JAVAUSERPRIV to selected user.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;oracle@myserver:~&gt; sqlplus '/ as sysdba'&lt;br /&gt;SQL&gt; GRANT JAVAUSERPRIV TO theuser;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You could use a console but I'm using &lt;tt&gt;Toad by Quest Software&lt;/tt&gt; for the next step. Create Java source from TOAD by login to the Oracle using the Java granted user.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/Stc3mtLje0I/AAAAAAAAANk/9dQQmWpPyF4/s1600-h/d2wt74n_7fcr6dxhr_b.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 131px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/Stc3mtLje0I/AAAAAAAAANk/9dQQmWpPyF4/s320/d2wt74n_7fcr6dxhr_b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5392840216902073154" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "Hello" AS&lt;br /&gt;public class hello{&lt;br /&gt;public static String world() {&lt;br /&gt;return "hello world ";&lt;br /&gt;}&lt;br /&gt;};&lt;br /&gt;/&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now verify the created Java method from the Java tab under schema browser.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/Stc3xglFqrI/AAAAAAAAANs/XonxOo9iOZ4/s1600-h/d2wt74n_8fp7nwdhn_b.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 74px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/Stc3xglFqrI/AAAAAAAAANs/XonxOo9iOZ4/s320/d2wt74n_8fp7nwdhn_b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5392840402498071218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next, create a procedure/function to call the Java method. Remember, function should return one value but procedure don't.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/Stc3HJEbDXI/AAAAAAAAANU/3nVyfDSIY2U/s1600-h/d2wt74n_9fscnjghp_b.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 88px;" src="http://1.bp.blogspot.com/_YbD_csZtad8/Stc3HJEbDXI/AAAAAAAAANU/3nVyfDSIY2U/s320/d2wt74n_9fscnjghp_b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5392839674632539506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;CREATE OR REPLACE function Hello RETURN VARCHAR2&lt;br /&gt;as LANGUAGE JAVA NAME 'hello.world() return String';&lt;br /&gt;/&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Finally, test it out with a simple &lt;tt&gt;SELECT FROM DUAL&lt;/tt&gt; SQL.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/Stc3fB7pmvI/AAAAAAAAANc/FrjHMWjX8RE/s1600-h/d2wt74n_10ct48gggq_b.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 294px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/Stc3fB7pmvI/AAAAAAAAANc/FrjHMWjX8RE/s320/d2wt74n_10ct48gggq_b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5392840085033556722" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-8690005040200996036?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/8690005040200996036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=8690005040200996036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8690005040200996036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8690005040200996036'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2009/10/setting-up-simple-java-stored.html' title='Setting up a simple Java stored procedure/function in Oracle'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YbD_csZtad8/Stc3mtLje0I/AAAAAAAAANk/9dQQmWpPyF4/s72-c/d2wt74n_7fcr6dxhr_b.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-4047494582987080911</id><published>2009-09-04T22:57:00.013+08:00</published><updated>2009-09-04T23:20:54.702+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='citrix'/><title type='text'>Accessing unlisted program from Citrix.</title><content type='html'>I have a very limited access to my &lt;tt&gt;citrix&lt;/tt&gt; account, which only allows me to use 1 program that is &lt;tt&gt;MS Visio&lt;/tt&gt;. But I know there are some other programs installed on the same &lt;tt&gt;citrix&lt;/tt&gt; server. You might be interested in this post if you want to run other program from the same &lt;tt&gt;citrix&lt;/tt&gt; server. I found this workaround by accident and would like to share with all of you. By doing this, you can open any program installed on the server, just like desktop sharing.&lt;br /&gt;&lt;br /&gt;Login to &lt;tt&gt;citrix&lt;/tt&gt; as usual.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SqEsFH8PntI/AAAAAAAAAMM/iPlBXcTfHbk/s1600-h/ScreenHunter_01+Sep.+04+11.39.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 166px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SqEsFH8PntI/AAAAAAAAAMM/iPlBXcTfHbk/s200/ScreenHunter_01+Sep.+04+11.39.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377627896599781074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Look! Only 1 program allowed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SqEsUE5anNI/AAAAAAAAAMU/rhrdeGsjH3k/s1600-h/ScreenHunter_02+Sep.+04+11.40.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 115px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SqEsUE5anNI/AAAAAAAAAMU/rhrdeGsjH3k/s200/ScreenHunter_02+Sep.+04+11.40.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377628153480649938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just run the allowed program (MS Visio)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SqEsmpl0D4I/AAAAAAAAAMc/yzG_2qOmbxQ/s1600-h/ScreenHunter_03+Sep.+04+11.43.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 145px;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SqEsmpl0D4I/AAAAAAAAAMc/yzG_2qOmbxQ/s200/ScreenHunter_03+Sep.+04+11.43.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377628472568188802" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click &lt;tt&gt;&lt;u&gt;F&lt;/u&gt;ile&lt;/tt&gt; &gt;&gt; &lt;tt&gt;&lt;u&gt;O&lt;/u&gt;pen&lt;/tt&gt; from the current program menu.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SqEtQCW3u1I/AAAAAAAAAMk/m3jHydmiuwk/s1600-h/ScreenHunter_05+Sep.+04+11.43.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 75px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SqEtQCW3u1I/AAAAAAAAAMk/m3jHydmiuwk/s200/ScreenHunter_05+Sep.+04+11.43.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377629183591037778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pick any folder from the list, right click and choose &lt;tt&gt;Explore&lt;/tt&gt;. The idea is to force run the &lt;tt&gt;explorer.exe&lt;/tt&gt; executable.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SqEtx_1pqYI/AAAAAAAAAMs/vCuhUJ_HwIA/s1600-h/ScreenHunter_07+Sep.+04+11.44.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 198px;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SqEtx_1pqYI/AAAAAAAAAMs/vCuhUJ_HwIA/s200/ScreenHunter_07+Sep.+04+11.44.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377629767030385026" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And then this pop-up will appear, just click &lt;tt&gt;OK&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SqEuItNFhzI/AAAAAAAAAM0/2QUJoH6o36o/s1600-h/ScreenHunter_08+Sep.+04+11.44.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 114px;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SqEuItNFhzI/AAAAAAAAAM0/2QUJoH6o36o/s200/ScreenHunter_08+Sep.+04+11.44.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377630157165397810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now minimize everything on your desktop and you will get the &lt;tt&gt;citrix&lt;/tt&gt; server Windows Desktop. Browse the start button for your favorite program.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SqEuiqPemQI/AAAAAAAAAM8/cSy9TJPxXeo/s1600-h/ScreenHunter_09+Sep.+04+11.45.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 150px;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SqEuiqPemQI/AAAAAAAAAM8/cSy9TJPxXeo/s200/ScreenHunter_09+Sep.+04+11.45.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5377630603046721794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To cycle through active programs, use &lt;tt&gt;ALT+TAB&lt;/tt&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-4047494582987080911?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/4047494582987080911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=4047494582987080911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/4047494582987080911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/4047494582987080911'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2009/09/accessing-unlisted-program-from-citrix.html' title='Accessing unlisted program from Citrix.'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YbD_csZtad8/SqEsFH8PntI/AAAAAAAAAMM/iPlBXcTfHbk/s72-c/ScreenHunter_01+Sep.+04+11.39.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-8072283451054848554</id><published>2008-09-08T23:10:00.006+08:00</published><updated>2008-09-08T23:48:12.375+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='add or remove program'/><category scheme='http://www.blogger.com/atom/ns#' term='large gap'/><title type='text'>Removing large gap from WinXP "Add or Remove Programs"</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SMVDEpBib0I/AAAAAAAAAIA/7m955wlX18Q/s1600-h/arp_before.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SMVDEpBib0I/AAAAAAAAAIA/7m955wlX18Q/s400/arp_before.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243671088153653058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I’ve been living with this annoying large gap in my "&lt;tt&gt;Add or Remove Programs&lt;/tt&gt;" for quite sometime and tonight I’m wondering how to remove it although it hasn't caused any problems. After some googling around, finally I came across to a solution from &lt;a href="http://www.experts-exchange.com/OS/Miscellaneous/Q_21318673.html"&gt;experts-exchange.com&lt;/a&gt;. From my experience, it happen when I installed &lt;tt&gt;AutoCAD 2002&lt;/tt&gt; couple years back but didn't realize until tonight. Below are the instructions on how to fix it.&lt;br /&gt;&lt;br /&gt;Open your &lt;tt&gt;regedit&lt;/tt&gt; from &lt;tt&gt;START &gt;&gt; run...&lt;/tt&gt; menu.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SMVDEeiOGFI/AAAAAAAAAH4/QORIRC71KSk/s1600-h/regedit.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SMVDEeiOGFI/AAAAAAAAAH4/QORIRC71KSk/s400/regedit.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243671085337942098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now go to;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5783F2D7-0101-0409-0000-0060B0CE6BBA}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SMVE07jLB9I/AAAAAAAAAIw/7eomTb4MECc/s1600-h/re_before.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SMVE07jLB9I/AAAAAAAAAIw/7eomTb4MECc/s400/re_before.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243673017271912402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can see that the "&lt;tt&gt;DisplayIcon&lt;/tt&gt;" entry is having "&lt;tt&gt;,-1&lt;/tt&gt;" value. That is causing the problem. Negative numbers will cause the gap. Edit it by removing the "&lt;tt&gt;,-1&lt;/tt&gt;".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_YbD_csZtad8/SMVDE7ZQevI/AAAAAAAAAII/0jURKofL3dA/s1600-h/es_before.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SMVDE7ZQevI/AAAAAAAAAII/0jURKofL3dA/s400/es_before.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243671093084977906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Before&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;C:\Program Files\AutoCAD 2002\acad.exe,-1&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;After&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;C:\Program Files\AutoCAD 2002\acad.exe&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SMVDE6Xpf0I/AAAAAAAAAIQ/w5pczCjxwGA/s1600-h/es_after.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SMVDE6Xpf0I/AAAAAAAAAIQ/w5pczCjxwGA/s400/es_after.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243671092809793346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/SMVDE7WqPII/AAAAAAAAAIY/_WytX1cVKNU/s1600-h/re_after.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SMVDE7WqPII/AAAAAAAAAIY/_WytX1cVKNU/s400/re_after.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243671093074082946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And now, the moment of truth, open you "&lt;tt&gt;Add or Remove Programs&lt;/tt&gt;"&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YbD_csZtad8/SMVEavzoEBI/AAAAAAAAAIo/PtSF-U2FV2E/s1600-h/arp_after.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_YbD_csZtad8/SMVEavzoEBI/AAAAAAAAAIo/PtSF-U2FV2E/s400/arp_after.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5243672567443099666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tadaa!! Good luck...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-8072283451054848554?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/8072283451054848554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=8072283451054848554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8072283451054848554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8072283451054848554'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/09/removing-large-gap-from-winxp-add-or.html' title='Removing large gap from WinXP &quot;Add or Remove Programs&quot;'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/SMVDEpBib0I/AAAAAAAAAIA/7m955wlX18Q/s72-c/arp_before.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-1795096127964725070</id><published>2008-09-04T00:24:00.005+08:00</published><updated>2008-09-05T23:19:36.991+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='google chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><category scheme='http://www.blogger.com/atom/ns#' term='flv'/><title type='text'>Copy FLV file from Google Chrome cache</title><content type='html'>To copy FLV from Google cache, the method is similar to &lt;a href="http://xp-rience.blogspot.com/2008/01/copy-flv-file-from-firefox-cache.html"&gt;copy FLV from Firefox cache&lt;/a&gt;. The cache location is at;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;C:\Documents and Settings\&lt;span style="font-style:italic;"&gt;YourLogin&lt;/span&gt;\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Or&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;%AppData%\..\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;The method is quite similar, open explorer and go to cache folder like mentioned above.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SL67Jvh5DOI/AAAAAAAAAGM/_MHVIFKblAw/s1600-h/ScreenHunter_02+Sep.+04+00.32.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SL67Jvh5DOI/AAAAAAAAAGM/_MHVIFKblAw/s400/ScreenHunter_02+Sep.+04+00.32.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5241832792357670114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now watch full Youtube video in Google Chrome browser. Do not close your browser yet after that. Back to the cache folder, refresh it using F5 key and now you can see some new large file created in the folder. Sort by date modified for better visibility.&lt;br /&gt;&lt;br /&gt;Copy it somewhere and rename it to *.flv . Now you may play the FLV using a favorite player.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/SL67lTwPpNI/AAAAAAAAAGU/6jxEzXceFTQ/s1600-h/ScreenHunter_03+Sep.+04+00.33.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SL67lTwPpNI/AAAAAAAAAGU/6jxEzXceFTQ/s400/ScreenHunter_03+Sep.+04+00.33.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5241833265938015442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/SL67ltEGuoI/AAAAAAAAAGc/53_YJSxfzc4/s1600-h/ScreenHunter_04+Sep.+04+00.33.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SL67ltEGuoI/AAAAAAAAAGc/53_YJSxfzc4/s400/ScreenHunter_04+Sep.+04+00.33.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5241833272732203650" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-1795096127964725070?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/1795096127964725070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=1795096127964725070' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1795096127964725070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1795096127964725070'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/09/copy-flv-file-from-google-chrome-cache.html' title='Copy FLV file from Google Chrome cache'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/SL67Jvh5DOI/AAAAAAAAAGM/_MHVIFKblAw/s72-c/ScreenHunter_02+Sep.+04+00.32.gif' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-8523434768511732836</id><published>2008-08-28T22:34:00.008+08:00</published><updated>2008-08-28T23:08:51.595+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='characterEncoding'/><category scheme='http://www.blogger.com/atom/ns#' term='dbvisualizer'/><title type='text'>DBVisualizer, MySQL 'characterEncoding' error</title><content type='html'>&lt;p&gt;While connecting to MySQL server using DBVisualizer 6.0.9, there was an error message;&lt;/p&gt;&lt;div class="code"&gt;&lt;code&gt;An error occurred while establishing the connection:&lt;br /&gt;   Type: java.sql.SQLException   Error Code: 0   SQL State: S1000&lt;br /&gt;Message:&lt;br /&gt;   Unknown initial character set index '192' received from server. Initial client character set can be forced via the 'characterEncoding' property.&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;So I tried to upgrade my DBVisualizer to version 6.0.13 but it does not solved the problem. After some googling session, here is my solution/workaround. Reffering to the error message, I open the connection properties tab and find &lt;tt&gt;'characterEncoding'&lt;/tt&gt; property. So now what to fill it with? I login to my webhosting CPanel &gt; &lt;tt&gt;'phpMyAdmin'&lt;/tt&gt; and try to look for some clue.&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/SLa32k8urwI/AAAAAAAAAF0/XaNEjPr9Pok/s1600-h/cpanel.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SLa32k8urwI/AAAAAAAAAF0/XaNEjPr9Pok/s400/cpanel.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5239577364751363842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Found it!&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YbD_csZtad8/SLa4MBGs9ZI/AAAAAAAAAF8/Xurxhtg-lAE/s1600-h/myphpadmin.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SLa4MBGs9ZI/AAAAAAAAAF8/Xurxhtg-lAE/s400/myphpadmin.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5239577733086639506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Set it in and ready to go.&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_YbD_csZtad8/SLa4e5CsOJI/AAAAAAAAAGE/IhYRYM5PZC0/s1600-h/dbv.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/SLa4e5CsOJI/AAAAAAAAAGE/IhYRYM5PZC0/s400/dbv.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5239578057339844754" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-8523434768511732836?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/8523434768511732836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=8523434768511732836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8523434768511732836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8523434768511732836'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/08/dbvisualizer-mysql-characterencoding.html' title='DBVisualizer, MySQL &apos;characterEncoding&apos; error'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/SLa32k8urwI/AAAAAAAAAF0/XaNEjPr9Pok/s72-c/cpanel.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-6448481273798769127</id><published>2008-08-13T01:10:00.006+08:00</published><updated>2008-08-13T22:08:13.639+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='xampp'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='oci8'/><title type='text'>Enabling OCI8 for XAMPP under Linux</title><content type='html'>Following instruction from&lt;br /&gt;&lt;a href="http://www.apachefriends.org/f/viewtopic.php?t=27559&amp;sid=96d42fb6867daf5d8932fdacf4232d58" target="_blank"&gt;&lt;br /&gt;http://www.apachefriends.org/f/viewtopic.php?t=27559&amp;sid=96d42fb6867daf5d8932fdacf4232d58&lt;/a&gt; ,&lt;br /&gt;here are my output.&lt;br /&gt;&lt;br /&gt;My case is similar to this problem. The only different is, I have &lt;tt&gt;libclntsh.so.9.*&lt;/tt&gt; which is older than the expected version. BTW, my OS is SLES 9.3. First thing to do is to download Oracle Instant Client version 10 to match the expected version from;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html" target="_blank"&gt;&lt;br /&gt;http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is recommended to download &lt;tt&gt;.gz&lt;/tt&gt; version than &lt;tt&gt;.rpm&lt;/tt&gt; version since the &lt;tt&gt;.gz&lt;/tt&gt; version is quite easy to be extracted. My case, I accidentally downloaded the &lt;tt&gt;.rpm&lt;/tt&gt; version. So to extract it need special &lt;tt&gt;rpm2cpio&lt;/tt&gt; command as below.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;normuser@MYSERVER:~/OC&gt; ls -al&lt;br /&gt;total 32048&lt;br /&gt;drwxr-xr-x   2 normuser normgroup      112 2008-08-12 13:03 ./&lt;br /&gt;drwxr-xr-x  13 normuser normgroup      784 2008-08-12 13:03 ../&lt;br /&gt;-rw-r--r--   1 normuser normgroup 32782200 2008-08-12 12:55 oracle-instantclient-basic-10.2.0.4-1.i386.rpm&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;normuser@MYSERVER:~/OC&gt; &lt;strong&gt;rpm2cpio&lt;/strong&gt; oracle-instantclient-basic-10.2.0.4-1.i386.rpm | cpio -idv&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/bin/genezi&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/&lt;strong&gt;libclntsh.so.10.1&lt;/strong&gt;&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/libocci.so.10.1&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/libociei.so&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/libocijdbc10.so&lt;br /&gt;./usr/lib/oracle/10.2.0.4/client/lib/ojdbc14.jar&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Now, copy all &lt;tt&gt;.so&lt;/tt&gt; files into xampp &lt;tt&gt;lib&lt;/tt&gt; directory named &lt;tt&gt;/opt/lampp/lib/&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;MYSERVER:/apps/home/normuser/OC/usr/lib/oracle/10.2.0.4/client/lib # cp * /opt/lampp/lib/&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Next is to issue the &lt;tt&gt;lampp oci8&lt;/tt&gt; command by telling the program that the expected libs are at &lt;tt&gt;/opt/lampp/lib/&lt;/tt&gt; as root since xampp is under root.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;MYSERVER:/opt/lampp # ./lampp oci8&lt;br /&gt;Please enter the path to your Oracle or Instant Client installation:&lt;br /&gt;[/opt/oracle] /opt/lampp/lib&lt;br /&gt;installing symlink...&lt;br /&gt;patching php.ini...&lt;br /&gt;OCI8 add-on activation likely successful.&lt;br /&gt;XAMPP: Stopping Apache with SSL...&lt;br /&gt;XAMPP: Starting Apache with SSL (and PHP5)...&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Now you can test your connection with some PHP example code from&lt;br /&gt;&lt;a href="http://www.php.net/oci8" target="_blank"&gt;http://www.php.net/oci8&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-6448481273798769127?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/6448481273798769127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=6448481273798769127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6448481273798769127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/6448481273798769127'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/08/enabling-oci8-for-xampp-under-linux.html' title='Enabling OCI8 for XAMPP under Linux'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-3044757586448946905</id><published>2008-07-05T19:32:00.002+08:00</published><updated>2008-07-05T19:40:42.889+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vbs'/><category scheme='http://www.blogger.com/atom/ns#' term='adsl'/><title type='text'>Web Based HTTP management GUI</title><content type='html'>When receiving a call from friend ask your help on &amp;quot;Hey! how do I open my ADSL modem Web Based HTTP management GUI?&amp;quot; and your answer &amp;quot;Oh! Go to command prompt and then type &lt;tt&gt;ipconfig&lt;/tt&gt; or &lt;tt&gt;route PRINT&lt;/tt&gt; and hit enter. Copy the gateway IP address in xxx.xxx.xxx.xxx format, Paste it at your Internet browser URL bar and hit enter&amp;quot; Suddenly he/she might ask you back, &amp;quot;What is command prompt?&amp;quot; or &amp;quot;How does IP address looks like?&amp;quot; or &amp;quot;I enter ipconfig at the command prompt but I get this response &lt;i&gt;ip is not recognized as an internal or external command&lt;/i&gt; what went wrong?&amp;quot; (Maybe he/she type &amp;quot;ip config&amp;quot; with space instead of &amp;quot;ipconfig&amp;quot;).&lt;br /&gt;&lt;br /&gt;Then you should consider pass him/her below script. Script below automates process above so with a double click he/she could open the Web Based HTTP management GUI with default Internet browser.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Option Explicit&lt;br /&gt;&lt;br /&gt;Dim oShell&lt;br /&gt;Dim oShellExec&lt;br /&gt;Dim oStdOutputText, sText, strTarget, strPingResults&lt;br /&gt;&lt;br /&gt;Set oShell = CreateObject("Wscript.Shell")&lt;br /&gt;&lt;br /&gt;Set oShellExec = oShell.Exec("%comspec% /c route print")&lt;br /&gt;set oStdOutputText = oShellExec.StdOut&lt;br /&gt;&lt;br /&gt;Do While Not oStdOutputText.AtEndOfStream&lt;br /&gt;   sText = oStdOutputText.ReadLine&lt;br /&gt;   If InStr(sText, "Default Gateway") &lt;&gt; 0 Then&lt;br /&gt;      strTarget = split(sText,":")&lt;br /&gt;      exit do&lt;br /&gt;   End If&lt;br /&gt;Loop&lt;br /&gt;&lt;br /&gt;Set oShellExec = oShell.Exec("%comspec% /c ping -n 1 " &amp; strTarget(1))&lt;br /&gt;strPingResults = LCase(oShellExec.StdOut.ReadAll)&lt;br /&gt;&lt;br /&gt;If InStr(strPingResults, "reply from") Then&lt;br /&gt;   Set oShellExec = oShell.Exec("%comspec% /c start http://" &amp; trim(strTarget(1)))&lt;br /&gt;Else&lt;br /&gt;   WScript.Echo "******** Local router is DOWN ********"&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Set oShellExec = Nothing&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Copy and paste above codes into notepad and name it as &lt;tt&gt;open_modem_gui.vbs&lt;/tt&gt;. Note that the extension must be *.vbs.&lt;br /&gt;&lt;br /&gt;IF he/she asked you &amp;quot;Hey it prompts for password now. How?&amp;quot; just ask him/her to refer to the ADSL modem user manual.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-3044757586448946905?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/3044757586448946905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=3044757586448946905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3044757586448946905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3044757586448946905'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/07/web-based-http-management-gui.html' title='Web Based HTTP management GUI'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2919839173877043596</id><published>2008-04-15T20:13:00.004+08:00</published><updated>2008-04-15T20:21:05.961+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='icon'/><title type='text'>MS Outlook icon recovery</title><content type='html'>Need to recover accidentally deleted &lt;tt&gt;MS Outlook&lt;/tt&gt; icon from desktop? Open &lt;tt&gt;Registry Editor&lt;/tt&gt;, go to;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/SASc1ghmZ1I/AAAAAAAAAFM/iCm3Auh3xkg/s400/oi1.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5189445113715517266" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;HKEY_LOCAL_MACHINE &gt; SOFTWARE &gt; Microsoft &gt; Windows &gt; CurrentVersion &gt; Explorer &gt; Desktop &gt; NameSpace&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Add new key to folder &lt;tt&gt;NameSpace&lt;/tt&gt; and paste code below as the key name;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/SASdKAhmZ2I/AAAAAAAAAFU/dwnMJFuoyHk/s400/oi2.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5189445465902835554" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;{00020D75-0000-0000-C000-000000000046}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now refresh your desktop&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2919839173877043596?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2919839173877043596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2919839173877043596' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2919839173877043596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2919839173877043596'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/04/ms-outlook-icon-recovery.html' title='MS Outlook icon recovery'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YbD_csZtad8/SASc1ghmZ1I/AAAAAAAAAFM/iCm3Auh3xkg/s72-c/oi1.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-3548757910058528335</id><published>2008-02-20T19:12:00.005+08:00</published><updated>2008-02-20T19:25:15.703+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Recreate Show Desktop Icon</title><content type='html'>&lt;tt&gt;Show Desktop&lt;/tt&gt; icon near the Windows XP start button is used to minimize all active windows. The icon/button is located on your &lt;tt&gt;Quick Launch&lt;/tt&gt; bar. This &lt;tt&gt;Quick Launch&lt;/tt&gt; bar folder location is at &lt;tt&gt;%appdata%\Microsoft\Internet Explorer\Quick Launch&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/R7wLdJHym1I/AAAAAAAAAFE/F3RmFJYJQjw/s400/start.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5169019067607194450" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R7wLZZHym0I/AAAAAAAAAE8/M_r-HkR3P-Q/s400/folder.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5169019003182684994" /&gt;&lt;br /&gt;&lt;br /&gt;Sometimes, people accidentally deleted this icon. To recover this icon/button, you can try to;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Copy the icon from other users &lt;tt&gt;%appdata%\Microsoft\Internet Explorer\Quick Launch&lt;/tt&gt; folder.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Copy the icon from others machine with Windows XP that still have it on the same location.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Search the icon entire drive for &lt;tt&gt;Show Desktop&lt;/tt&gt; file (&lt;tt&gt;*.scf&lt;/tt&gt; extension)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Search the icon in &lt;tt&gt;i386&lt;/tt&gt; folder from Windows XP installer CD or DVD.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Create a new icon/button.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;I would recommend to create a new &lt;tt&gt;Show Desktop&lt;/tt&gt; icon with some simple step. Just open your notepad and create a new file called &lt;tt&gt;Show Desktop.scf&lt;/tt&gt; with contents below.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;[Shell]&lt;br /&gt;Command=2&lt;br /&gt;IconFile=explorer.exe,3&lt;br /&gt;[Taskbar]&lt;br /&gt;Command=ToggleDesktop&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Remember to save the file with &lt;tt&gt;.scf&lt;/tt&gt; extension. If everything goes well, the file icon should appear as below automatically.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R7wLVpHymzI/AAAAAAAAAE0/DUUM2L1QO8M/s400/icon.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5169018938758175538" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-3548757910058528335?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/3548757910058528335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=3548757910058528335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3548757910058528335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/3548757910058528335'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/02/show-desktop-icon-near-windows-xp-start.html' title='Recreate Show Desktop Icon'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/R7wLdJHym1I/AAAAAAAAAFE/F3RmFJYJQjw/s72-c/start.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-903123843481501915</id><published>2008-02-19T20:03:00.005+08:00</published><updated>2008-02-19T20:12:42.328+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='auto-complete'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Automatic Completion with a Command Prompt in Windows</title><content type='html'>UNIX like auto complete is now available on Windows. I believe it is available since Windows 2000. Some versions of Windows do not turn this on by default. It is very useful whenever you are working with a very long file or folder name. Example;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R7rFyZHymwI/AAAAAAAAAEc/CdRg3w_fOng/s400/before_ac.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5168660991888759554" /&gt;&lt;br /&gt;&lt;br /&gt;You have a long folder name and you want to change directory into it. Just type &lt;tt&gt;cd m&lt;/tt&gt; and hit TAB key should complete the long folder name automatically for you as below;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R7rF5JHymxI/AAAAAAAAAEk/5Fp-1pcmsrU/s400/after_ac.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5168661107852876562" /&gt;&lt;br /&gt;&lt;br /&gt;Useful isn’t it? To enable this feature, open the &lt;tt&gt;regedit&lt;/tt&gt; and add &lt;tt&gt;"CompletionChar"=dword:00000009&lt;/tt&gt; to &lt;tt&gt;[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]&lt;/tt&gt; as below;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/R7rF-pHymyI/AAAAAAAAAEs/lfltk6qOQ1Y/s400/user_reg.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5168661202342157090" /&gt;&lt;br /&gt;&lt;br /&gt;From screenshot above, &lt;tt&gt;CompletionChar&lt;/tt&gt; is set to &lt;tt&gt;0x9&lt;/tt&gt;, that is the TAB key. If you want to customize you own choice of key, you might want to try &lt;tt&gt;0x4&lt;/tt&gt; for Control+D or &lt;tt&gt;0x6&lt;/tt&gt; for Control+F. For more info please visit&lt;br /&gt; &lt;a href="http://support.microsoft.com/kb/310530"&gt;Microsoft - Help &amp;amp; Support&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-903123843481501915?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/903123843481501915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=903123843481501915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/903123843481501915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/903123843481501915'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/02/automatic-completion-with-command.html' title='Automatic Completion with a Command Prompt in Windows'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/R7rFyZHymwI/AAAAAAAAAEc/CdRg3w_fOng/s72-c/before_ac.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-1023697963865733155</id><published>2008-02-14T23:11:00.009+08:00</published><updated>2008-02-14T23:28:43.374+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='userpasswords2'/><category scheme='http://www.blogger.com/atom/ns#' term='control panel'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Windows XP Hidden User Accounts Interface (control userpasswords2)</title><content type='html'>Having more than one person using your computer? If you do, you can create user accounts for everyone so that they can customize their favorites, colors, wallpaper, and private files. Default ‘Windows XP User Accounts’.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_YbD_csZtad8/R7RarJHymsI/AAAAAAAAAD8/me6o9-PVLBk/s400/ua1.gif" alt="" id="BLOGGER_PHOTO_ID_5166854369730271938" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Sometimes you might need to fine tune the user accounts. You can do this with a hidden ‘User Account 2’ interface by running &lt;tt&gt;control userpasswords2&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R7Ra9pHymtI/AAAAAAAAAEE/biwRbq8LTrI/s400/run.gif" alt="" id="BLOGGER_PHOTO_ID_5166854687557851858" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;This ‘Windows 2000’ style ‘User Accounts’ might be useful for those users that are very familiar with Windows 2000.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R7RbJpHymuI/AAAAAAAAAEM/XYKBDoZrbU4/s400/ua2.gif" alt="" id="BLOGGER_PHOTO_ID_5166854893716282082" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;So, now you might want to add this shortcut permanently to the ‘Control Panel’. The only way is to add some lines into the 'Windows Registry'.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R7RbU5HymvI/AAAAAAAAAEU/2B48UpgK0fI/s400/ua_icon.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5166855086989810418" /&gt;&lt;br /&gt;&lt;br /&gt;It is recommended to use &lt;tt&gt;*.reg&lt;/tt&gt; script below to add ‘User Accounts 2’ shortcut to your control panel rather than entering it manually. Copy lines below to a new file and called &lt;tt&gt;add_ua2.reg&lt;/tt&gt;. Note that the extension must be &lt;tt&gt;reg&lt;/tt&gt;. Just right click the file and &lt;tt&gt;Merge&lt;/tt&gt; it. Your computer must be restarted for these to take effect.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}]&lt;br /&gt;@="User Accounts 2"&lt;br /&gt;"InfoTip"="Starts The Windows 2000 style User Accounts dialog"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\DefaultIcon]&lt;br /&gt;@="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\Shell\Open\command]&lt;br /&gt;@="Control Userpasswords2"&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{18646F66-8C25-0000-BEE4-C2CE1298969D}]&lt;br /&gt;"Default"="Add Userpasswords2 to Control Panel"&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Just incase you don’t like it, you can also remove it using &lt;tt&gt;*.reg&lt;/tt&gt; file below. Copy lines below to a new file and called &lt;tt&gt;delete_ua2.reg&lt;/tt&gt;. Note that the extension must be &lt;tt&gt;reg&lt;/tt&gt;. Just right click the file and &lt;tt&gt;Merge&lt;/tt&gt; it. Your computer must be restarted for these to take effect.&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[-HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\DefaultIcon]&lt;br /&gt;&lt;br /&gt;[-HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\Shell\Open\command]&lt;br /&gt;&lt;br /&gt;[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{18646F66-8C25-0000-BEE4-C2CE1298969D}]&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-1023697963865733155?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/1023697963865733155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=1023697963865733155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1023697963865733155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1023697963865733155'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/02/windows-xp-hidden-user-accounts.html' title='Windows XP Hidden User Accounts Interface (control userpasswords2)'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YbD_csZtad8/R7RarJHymsI/AAAAAAAAAD8/me6o9-PVLBk/s72-c/ua1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-7192597326842233266</id><published>2008-01-30T20:55:00.000+08:00</published><updated>2008-01-30T21:10:11.682+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>JDK vs JRE vs J2SE vs J2EE vs J2ME ?</title><content type='html'>Which Java should I download? Can I just download the minimum small file size Java? Well, it depend on what are you need it for. Below explains;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;JDK = Java Development Kit&lt;/u&gt;&lt;br /&gt;Contains all of the software needed to compile Java source files (.java) into bytecode (.class)&lt;br /&gt;&lt;br /&gt;&lt;u&gt;JRE = Java Runtime Environment&lt;/u&gt;&lt;br /&gt;Software needed to run the bytecode.&lt;br /&gt;&lt;br /&gt;The JRE does come with the JDK. So, if you just want to run Java program, downloading JRE will do. The JRE installer is about 15MB while the JDK installer is about 55MB.&lt;br /&gt;&lt;br /&gt;Quick introduction about Java? Read &lt;a href="http://www.scoug.com/warpexpowest/presentations/javaintroduction.html" target="_blank"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;J2SE = Java 2 Standard Edition&lt;/u&gt;&lt;br /&gt;JDK + JRE, Java development package.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;J2EE = Java 2 Enterprise Edition&lt;/u&gt;&lt;br /&gt;JDK + JRE, advance Java development package.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;J2ME = Java 2 Micro Edition&lt;/u&gt;&lt;br /&gt;JDK + JRE, for handheld devices (cellular phones, palmtops etc.)&lt;br /&gt;&lt;br /&gt;Quick way to know your Java version? Type &lt;tt&gt;java –version&lt;/tt&gt; on your dos or shell prompt.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Java version example on WinXP command prompt&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R6B0NGeVwjI/AAAAAAAAADU/YuL4EYBDfS8/s400/dos_java.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5161252941391577650" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Java version example on Solaris 10 shell through PuTTY&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R6B0VmeVwkI/AAAAAAAAADc/dWUtHuuw0Vg/s400/sun_java.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5161253087420465730" /&gt;&lt;br /&gt;&lt;br /&gt;More Java version checking methods can be found &lt;a href="http://www.javatester.org/version.html" target="_blank"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-7192597326842233266?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/7192597326842233266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=7192597326842233266' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/7192597326842233266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/7192597326842233266'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/jdk-vs-jre-vs-j2se-vs-j2ee-vs-j2me.html' title='JDK vs JRE vs J2SE vs J2EE vs J2ME ?'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/R6B0NGeVwjI/AAAAAAAAADU/YuL4EYBDfS8/s72-c/dos_java.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2478462353537687530</id><published>2008-01-29T18:34:00.000+08:00</published><updated>2008-01-29T18:39:33.059+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netmeeting'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>NetMeeting on Windows XP</title><content type='html'>Wondering on how to install NetMeeting on Windows XP? Actually, you don’t have to. Just type &lt;tt&gt;conf&lt;/tt&gt; on the command prompt or &lt;tt&gt;Start &gt; Run &gt; conf&lt;/tt&gt; and hit enter.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R58BxGeVwhI/AAAAAAAAADE/9pLA341QnMI/s400/run.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5160845641052963346" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_YbD_csZtad8/R58CCmeVwiI/AAAAAAAAADM/WopM3lPUPno/s400/nmtg.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5160845941700674082" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2478462353537687530?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2478462353537687530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2478462353537687530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2478462353537687530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2478462353537687530'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/netmeeting-on-windows-xp.html' title='NetMeeting on Windows XP'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YbD_csZtad8/R58BxGeVwhI/AAAAAAAAADE/9pLA341QnMI/s72-c/run.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-341446377302542998</id><published>2008-01-24T22:08:00.000+08:00</published><updated>2008-01-24T22:14:15.516+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Removing and disabling the thumb.db file in Windows</title><content type='html'>When displaying files as thumbnails in explorer, a file called thumbs.db will be created automatically by Windows. It help user to view folders and pictures in the thumbnail view much faster since it stores the images. Although the file is small, it may take up a large amount of space soon. It is safe to delete this file but if you would like to stop Windows from creating them again, you can disable it by doing;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R5icFGeVwgI/AAAAAAAAAC8/bLKkfngkVoQ/s400/folder_options.gif" alt="Folder Options Window" id="BLOGGER_PHOTO_ID_5159044984604049922" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;From explorer toolbar, &lt;tt&gt;Tools &gt; Folder Options&lt;/tt&gt;, go to the &lt;tt&gt;View&lt;/tt&gt; tab, tick &lt;tt&gt;Do not cache thumbnails&lt;/tt&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-341446377302542998?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/341446377302542998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=341446377302542998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/341446377302542998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/341446377302542998'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/removing-and-disabling-thumbdb-file-in.html' title='Removing and disabling the thumb.db file in Windows'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YbD_csZtad8/R5icFGeVwgI/AAAAAAAAAC8/bLKkfngkVoQ/s72-c/folder_options.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-8517778046783232330</id><published>2008-01-16T20:17:00.000+08:00</published><updated>2008-01-16T21:08:04.063+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oledb'/><category scheme='http://www.blogger.com/atom/ns#' term='vbs'/><category scheme='http://www.blogger.com/atom/ns#' term='schema.ini'/><title type='text'>Reading Text File Using 'schema.ini' &amp; OLEDB</title><content type='html'>Reading data structured text file can be tedious. Maybe some splitting ,array creation, filtering or trimming involved. Example, if you have a dataset like below...&lt;br /&gt;&lt;br /&gt;File &lt;tt&gt;my_txt_db.txt&lt;/tt&gt; content&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;WORD|LENGTH|DATE&lt;br /&gt;LOREM|5|03/07/08&lt;br /&gt;IPSUM|5|02/16/08&lt;br /&gt;DOLOR|5|04/19/08&lt;br /&gt;SIT|3|04/16/08&lt;br /&gt;AMET|4|04/01/08&lt;br /&gt;CONSECTETUER|12|04/01/08&lt;br /&gt;ADIPISCING|10|04/17/08&lt;br /&gt;ELIT|4|02/02/08&lt;br /&gt;DONEC|5|01/23/08&lt;br /&gt;ID|2|03/19/08&lt;br /&gt;PEDE|4|03/15/08&lt;br /&gt;FUSCE|5|03/11/08&lt;br /&gt;QUIS|4|04/10/08&lt;br /&gt;MI|2|04/02/08&lt;br /&gt;VESTIBULUM|10|02/20/08&lt;br /&gt;ALIQUET|7|03/28/08&lt;br /&gt;ALIQUAM|7|04/09/08&lt;br /&gt;ERAT|4|01/31/08&lt;br /&gt;VOLUTPAT|8|01/22/08&lt;br /&gt;SED|3|04/23/08&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The easiest way is to use OLEDB + Text driver named &lt;tt&gt;schema.ini&lt;/tt&gt;.&lt;br /&gt;By doing this, the data can be pulled using SQL statement which is easy to manipulate. The format of the text file is being determined by &lt;tt&gt;schema.ini&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;schema.ini&lt;/tt&gt; content&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;[my_txt_db.txt]&lt;br /&gt;ColNameHeader=True&lt;br /&gt;Format=Delimited(|)&lt;br /&gt;MaxScanRows=0&lt;br /&gt;CharacterSet=OEM&lt;br /&gt;Col1=WORD Char&lt;br /&gt;Col2=LENGTH Integer&lt;br /&gt;Col3=DATE Date&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The schema file name is fixed to &lt;tt&gt;schema.ini&lt;/tt&gt; and it must be in the same directory as the text data source. Detail on this can be found &lt;a href="http://msdn2.microsoft.com/en-us/library/ms709353.aspx" target="_blank" title="Schema.ini"&gt;here&lt;/a&gt;. You may use VBS example below to test the scripting.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;vbs_test.vbs&lt;/tt&gt; content&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Option Explicit&lt;br /&gt;Dim conn, rs&lt;br /&gt;&lt;br /&gt;Call INIT_CONN()&lt;br /&gt;Call MSGBOX_DATA()&lt;br /&gt;Call END_CONN()&lt;br /&gt;&lt;br /&gt;Function MSGBOX_DATA()&lt;br /&gt;   Dim SQL, MSG_BOX_STR&lt;br /&gt;   SQL = "select * from my_txt_db.txt"&lt;br /&gt;   rs.Open SQL, conn&lt;br /&gt;   rs.movefirst&lt;br /&gt;   if not (rs.eof and rs.bof) then&lt;br /&gt;   while not rs.eof&lt;br /&gt;      MSG_BOX_STR = "Word = "&amp;amp; rs("WORD") &amp;amp; chr(13)&lt;br /&gt;      MSG_BOX_STR = MSG_BOX_STR &amp;amp; "Length = "&amp;amp; rs("LENGTH") &amp;amp; chr(13)&lt;br /&gt;      MSG_BOX_STR = MSG_BOX_STR &amp;amp; "Date = "&amp;amp; rs("DATE")&lt;br /&gt;      msgbox MSG_BOX_STR&lt;br /&gt;      rs.movenext&lt;br /&gt;   wend&lt;br /&gt;   end if&lt;br /&gt;   rs.Close&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Function INIT_CONN()&lt;br /&gt;   Set conn = CreateObject("ADODB.Connection")&lt;br /&gt;   Set rs = CreateObject("ADODB.Recordset")&lt;br /&gt;   conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" &amp;amp; _&lt;br /&gt;             "Data Source=.;" &amp;amp; _&lt;br /&gt;             "Extended Properties=""text;HDR=YES;FMT=Delimited"""&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Function END_CONN()&lt;br /&gt;   conn.close&lt;br /&gt;   Set rs = Nothing&lt;br /&gt;   Set conn = Nothing&lt;br /&gt;End Function&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Just create these 3 files, place it in the same directory and run the VBS for testing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-8517778046783232330?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/8517778046783232330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=8517778046783232330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8517778046783232330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/8517778046783232330'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/reading-text-file-using-schemaini-oledb.html' title='Reading Text File Using &apos;schema.ini&apos; &amp; OLEDB'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-1121556636051438925</id><published>2008-01-15T22:31:00.003+08:00</published><updated>2010-08-05T23:21:37.108+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='meta refresh'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Simple Javascript + Meta Refresh Auto-Refresh with Countdown</title><content type='html'>Below are the example of a simple auto-refresh webpage using meta refresh and javascript. &lt;a href="http://en.wikipedia.org/w/index.php?title=Meta_refresh&amp;amp;oldid=182361042" target="_blank" title="Meta Refresh"&gt;Meta refresh&lt;/a&gt; is a method of instructing a browser to automatically refresh the web page with a given time (second). While javascript is used to make the counter running.&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Hello!&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv=&amp;quot;refresh&amp;quot; content=&amp;quot;&lt;b&gt;10&lt;/b&gt;&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;Auto-Refresh in &amp;lt;span id=&amp;quot;CDTimer&amp;quot;&amp;gt;???&amp;lt;/span&amp;gt; secs.&amp;lt;/h2&amp;gt; &lt;br /&gt;&amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;/*&amp;lt;![CDATA[*/&lt;br /&gt;var TimerVal = &lt;b&gt;10&lt;/b&gt;;&lt;br /&gt;var TimerSPan = document.getElementById(&amp;quot;CDTimer&amp;quot;);&lt;br /&gt;function CountDown(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;setTimeout( &amp;quot;CountDown()&amp;quot;, 1000 );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TimerSPan.innerHTML=TimerVal;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TimerVal=TimerVal-1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (TimerVal&lt;0) { TimerVal=0 } //improvement by vivalibre, tq}CountDown()/*]]&amp;gt;*/&amp;lt;/script&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Just make sure both bold value is same, 10 for example.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-1121556636051438925?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/1121556636051438925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=1121556636051438925' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1121556636051438925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/1121556636051438925'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/simple-javascript-meta-refresh-auto.html' title='Simple Javascript + Meta Refresh Auto-Refresh with Countdown'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-5891835875751209235</id><published>2008-01-14T20:57:00.004+08:00</published><updated>2010-08-05T23:15:22.910+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regedit'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='thumbnail'/><title type='text'>Windows 98 / ME / 2000 Thumbnail View Fix</title><content type='html'>If you are still using Windows 98 / ME / 2000 and found out that explorer image thumbnails is not working, this is probably because of a third party image program changing file type association. To fix this, type &lt;tt&gt;regedit&lt;/tt&gt; at the command prompt and hit enter. Click &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Windows_Registry"&gt;here to learn more about REGEDIT&lt;/a&gt;. Enter this value;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R4tcg5wBMRI/AAAAAAAAACg/UWNMNk-1mVg/s400/untitled1.png" alt="" id="BLOGGER_PHOTO_ID_5155315918783459602" border="0" /&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.png&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;This is to enable thumbnail view for .png extension. How about other file types? Repeat adding it like below, like jpg for example;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.jpg&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;If you want to do it all file types with, copy code below to a file and name it as &lt;tt&gt;my_thumbnail_view_fix.reg&lt;/tt&gt; (extension must be .reg). Then right click &gt; &lt;tt&gt;Merge&lt;/tt&gt; the file.&lt;br /&gt;&lt;div class="code"&gt;&lt;code&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.jpe&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.jpeg&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.jpg&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.gif&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.bmp&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.png&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.tif&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.tiff&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.htm&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\&lt;span style="font-weight:bold;"&gt;.html&lt;/span&gt;\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]&lt;br /&gt;@="{7376D660-C583-11D0-A3A5-00C04FD706EC}"&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;This will fix most of the thumbnail viewable file types.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-5891835875751209235?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/5891835875751209235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=5891835875751209235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5891835875751209235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5891835875751209235'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/windows-98-me-2000-thumbnail-view-fix.html' title='Windows 98 / ME / 2000 Thumbnail View Fix'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/R4tcg5wBMRI/AAAAAAAAACg/UWNMNk-1mVg/s72-c/untitled1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-4511989378286150854</id><published>2008-01-13T20:43:00.004+08:00</published><updated>2008-09-04T00:18:22.985+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><category scheme='http://www.blogger.com/atom/ns#' term='flv'/><title type='text'>Copy FLV file from Firefox cache</title><content type='html'>After watching a video from Youtube, you may want to save the video file into your local for future offline playing. To download them, you can use many available softwares / add-ons from the net. The thing is, the software will reinitiate the download procedure and you need to wait again for it to complete. If you are using Firefox, you could by pass this by copy the FLV directly from Firefox cache. Firefox cache located at;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;C:\Documents and Settings\&lt;span style="font-style: italic;"&gt;YourLogin&lt;/span&gt;\Local Settings\Application Data\Mozilla\Firefox\Profiles\&lt;span style="font-style: italic;"&gt;cdvfbg12&lt;/span&gt;.default\Cache&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Or&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;%AppData%\..\Local Settings\Application Data\Mozilla\Firefox\Profiles\ &lt;span style="font-style: italic;"&gt;cdvfbg12&lt;/span&gt;.default\Cache&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;The method is to open explorer and go to cache folder like mentioned above. Note that ‘YourLogin’ is your windows local login name and ‘cdvfbg12’ is randomized folder name. It may not be the same like your PC. Look, nothing much here.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R4oIUJwBMMI/AAAAAAAAAB4/ytUJmXxDLoE/s320/cache_before.gif" alt="" id="BLOGGER_PHOTO_ID_5154941865786683586" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Now watch full Youtube video in Firefox browser. Do not close your browser yet after that. Back to the cache folder, refresh it using F5 key and now you can see some new large file created in the folder. Sort by date modified for better visibility.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R4oInpwBMNI/AAAAAAAAACA/EGerwb4SSjU/s320/cache_after.png" alt="" id="BLOGGER_PHOTO_ID_5154942200794132690" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Copy it somewhere and rename it to *.flv . Now you may play the FLV using a favorite player.&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_YbD_csZtad8/R4oI6pwBMOI/AAAAAAAAACI/756D8A2xw4I/s320/b_rename.png" alt="" id="BLOGGER_PHOTO_ID_5154942527211647202" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R4oJBJwBMPI/AAAAAAAAACQ/aQrtOqsm-ss/s320/a_rename.png" alt="" id="BLOGGER_PHOTO_ID_5154942638880796914" border="0" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-4511989378286150854?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/4511989378286150854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=4511989378286150854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/4511989378286150854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/4511989378286150854'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/copy-flv-file-from-firefox-cache.html' title='Copy FLV file from Firefox cache'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/R4oIUJwBMMI/AAAAAAAAAB4/ytUJmXxDLoE/s72-c/cache_before.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-2617818725163595730</id><published>2008-01-11T19:15:00.000+08:00</published><updated>2008-01-11T19:34:58.889+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Active Directory in Windows XP</title><content type='html'>&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://2.bp.blogspot.com/_YbD_csZtad8/R4dSR5wBMKI/AAAAAAAAABo/fMqW1NYiBzE/s320/w2k.png" alt="" id="BLOGGER_PHOTO_ID_5154178766062301346" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Windows 2000 users can easily browse &lt;a href="http://en.wikipedia.org/wiki/Active_Directory"&gt;Active Directory&lt;/a&gt; by opening My Network Places &gt; Entire Network. But this active directory browsing is disabled by design under Windows XP. To have this feature in Windows XP, simply copy "&lt;tt&gt;dsfolder.dll&lt;/tt&gt;" from Windows 2000 (sp2 or higher) "&lt;tt&gt;%WINDIR%\system32&lt;/tt&gt;" to Windows XP "&lt;tt&gt;%WINDIR%\system32&lt;/tt&gt;". After that, use "&lt;tt&gt;regsvr32&lt;/tt&gt;" command-line tool to register the dll by entering "&lt;tt&gt;regsvr32 dsfolder.dll&lt;/tt&gt;" at the command prompt. Now you will be able to see the Active Directory icon whenever you go to My Network Places &gt; Entire Network. Hard to find Windows 2000? &lt;a href="http://support.microsoft.com/kb/329495"&gt;Read here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://3.bp.blogspot.com/_YbD_csZtad8/R4dSwJwBMLI/AAAAAAAAABw/t_G4eRB8oYE/s320/wxp.png" alt="" id="BLOGGER_PHOTO_ID_5154179285753344178" border="0" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-2617818725163595730?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/2617818725163595730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=2617818725163595730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2617818725163595730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/2617818725163595730'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/active-directory-in-windows-xp.html' title='Active Directory in Windows XP'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/R4dSR5wBMKI/AAAAAAAAABo/fMqW1NYiBzE/s72-c/w2k.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1859734723707065827.post-5791880043064249498</id><published>2008-01-09T20:19:00.000+08:00</published><updated>2008-01-10T00:28:29.803+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft office'/><title type='text'>Microsoft Office 2007 - Office Open XML</title><content type='html'>&lt;img src="http://2.bp.blogspot.com/_YbD_csZtad8/R4S8XpwBMJI/AAAAAAAAABA/kA2H8c2grGE/s320/openxml.png" alt="" id="BLOGGER_PHOTO_ID_5153450988148961426" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;When somebody came to you and ask "I cannot seem to open files with .pptx extensions. Can you?"&lt;br /&gt;&lt;br /&gt;.pptx is the new Microsoft Office 2007 - Office Open XML format for PowerPoint presentations. Microsoft Office 2007 uses a new Office Open XML format that is not understood by previous versions of the software. For Microsoft Office XP and 2003 users, you may overcome this incompatibility by installing the &lt;a href="http://office.microsoft.com/en-us/products/HA101686761033.aspx"&gt;Microsoft Office Compatibility Pack&lt;/a&gt;. After updating,&lt;br /&gt;you may test your software with &lt;a href="http://openxmldeveloper.org/articles/OpenXMLsamples.aspx"&gt;sample Open XML documents&lt;/a&gt; provided by &lt;a href="http://www.openxmldeveloper.org"&gt;openxmldeveloper.org&lt;/a&gt;. Anyway, it is recommended for users to install all High-Priority updates from &lt;a href="http://update.microsoft.com/"&gt;Microsoft Update&lt;/a&gt; before downloading the Compatibility Pack.&lt;br /&gt;&lt;br /&gt;If you don't really like this new format, you might consider to sign a petition of "NO to the Microsoft Office format as an ISO standard", please visit &lt;a href="http://www.noooxml.org/petition"&gt;http://www.noooxml.org/petition&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1859734723707065827-5791880043064249498?l=xp-rience.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xp-rience.blogspot.com/feeds/5791880043064249498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1859734723707065827&amp;postID=5791880043064249498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5791880043064249498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1859734723707065827/posts/default/5791880043064249498'/><link rel='alternate' type='text/html' href='http://xp-rience.blogspot.com/2008/01/microsoft-office-2007-office-open-xml.html' title='Microsoft Office 2007 - Office Open XML'/><author><name>leorick</name><uri>http://www.blogger.com/profile/12860324908477273661</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://2.bp.blogspot.com/_YbD_csZtad8/SMIDxgMXXPI/AAAAAAAAAGw/seErb7WIgPw/S220/blogspot2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YbD_csZtad8/R4S8XpwBMJI/AAAAAAAAABA/kA2H8c2grGE/s72-c/openxml.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
