<?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:blogger='http://schemas.google.com/blogger/2008' 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-3945960671261711007</id><updated>2024-10-20T12:22:36.814+08:00</updated><category term=".Net"/><category term="Oracle"/><category term="Reference"/><category term="BookMark"/><category term="Windows"/><category term="free utilities"/><category term="java"/><category term="asp.net"/><category term="Unix"/><category term="vb.net"/><category term="Lotus NOTES"/><category term="Solaris"/><category term="Windows App"/><category term="Gmail"/><category term="Internet"/><category term="IIS"/><category term="Android"/><category term="Google"/><category term="Google Apps"/><category term="SQL"/><category term="Tips"/><category term="Windows 7"/><category term="The book"/><category term="blogs"/><category term="web service"/><category term="Administration"/><category term="Excel"/><category term="Free Resource"/><category term="J2EE"/><category term="LDAP"/><category term="PL/SQL"/><category term="XML"/><category term="firefox"/><category term="javascript"/><category term="search"/><category term="utilities"/><category term="AJAX"/><category term="Application Design"/><category term="Classic ASP"/><category term="Freeware vs Payware"/><category term="Google Spreadsheet"/><category term="Search operators"/><category term="WebLogic"/><category term="application tracing"/><category term="blogger"/><category term="browser"/><category term="AIX"/><category term="Automation"/><category term="DB2"/><category term="Experience"/><category term="Google Script"/><category term="IE"/><category term="Linux"/><category term="Lotus Quickr"/><category term="Mind Map"/><category term="Monitoring"/><category term="Oracle SQL GUI interface"/><category term="Performance"/><category term="Postgres"/><category term="Registry"/><category term="Security"/><category term="Shell Scripting"/><category term="Stored Procedures"/><category term="UserControl"/><category term="Visual Studio"/><category term="Windows Scripting"/><category term="Worm"/><category term="c#.net"/><category term="comments"/><category term="html"/><category term="jdbc"/><category term="localization"/><category term="lucky draw"/><category term="multithreading"/><category term="network"/><category term="scripting"/><category term="timezone"/><category term="64 bit"/><category term="ADSL"/><category term="Alerts"/><category term="Ansi SQL"/><category term="Apache"/><category term="Architecture"/><category term="BOBJ"/><category term="Barcode"/><category term="Child Control"/><category term="Facebook"/><category term="Flow Chart"/><category term="Framework"/><category term="GCalendar"/><category term="GDocs"/><category term="Game Programming"/><category term="Good practices"/><category term="Google Site"/><category term="HP"/><category term="HTC"/><category term="HTML 5"/><category term="Hardware"/><category term="IDE"/><category term="Icon"/><category term="Improving Response"/><category term="JNDI"/><category term="LN Template"/><category term="MSSoap"/><category term="Menu"/><category term="Mobile Phone"/><category term="MySQL"/><category term="MySpace"/><category term="Notes"/><category term="Oracle Developer"/><category term="Other platform"/><category term="PHP"/><category term="Partition"/><category term="QR"/><category term="QaaWS"/><category term="SMTP"/><category term="SSO"/><category term="Screen Capture"/><category term="Screen Scrapping"/><category term="Setup"/><category term="Single Sign On"/><category term="Sitemap"/><category term="Siteminder"/><category term="Software Testing"/><category term="Split"/><category term="Spreadsheet"/><category term="Standards"/><category term="Streamyx"/><category term="Sybase"/><category term="Synchronization"/><category term="Tutorials"/><category term="UML"/><category term="Uninstall"/><category term="Virus"/><category term="Visual SourceSafe"/><category term="Warranty"/><category term="WaterMarking"/><category term="XSLT"/><category term="a href"/><category term="annual dinner"/><category term="daemon"/><category term="encrypt"/><category term="error handling"/><category term="flash"/><category term="globalization"/><category term="iPhone"/><category term="iis5"/><category term="iis6"/><category term="iis7"/><category term="installation"/><category term="malware"/><category term="manual migration"/><category term="nant"/><category term="random number"/><category term="richtext"/><category term="root"/><category term="samba"/><category term="scalability"/><category term="search engines"/><category term="search path"/><category term="sendmail"/><category term="shutdown application"/><category term="silverlight"/><category term="ssh"/><category term="sub-partition"/><category term="sudo"/><category term="sysdate"/><category term="task tray"/><category term="version"/><category term="virtual"/><title type='text'>Programmer&#39;s Journal</title><subtitle type='html'>Sharing experience as a programmer, computer enthusiast and a team lead.&#xa;&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>232</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-7540528543246555269</id><published>2016-04-16T17:02:00.002+08:00</published><updated>2016-04-16T17:07:12.065+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="Shell Scripting"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Scripting"/><title type='text'>Script to get your Windows Key</title><summary type="text">I found the following article on how to obtain the Windows Key without installing any third party software. This is useful but may not be necessary to reinstall your windows should you want perform a fresh Windows install; especially for those who did a Windows 10 upgrade.

The script is as follow:

Set WshShell = CreateObject(&quot;WScript.Shell&quot;)
MsgBox ConvertToKey(WshShell.RegRead(&quot;HKLM\SOFTWARE\</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/7540528543246555269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/7540528543246555269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/7540528543246555269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/7540528543246555269'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2016/04/script-to-get-your-windows-key.html' title='Script to get your Windows Key'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/13905093167036022419</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-6038625090167796861</id><published>2015-08-24T19:00:00.000+08:00</published><updated>2015-08-24T19:00:07.094+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="free utilities"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>Java Web Tier Framework Comparison</title><summary type="text">I found this old reference in my collection, not sure how much of this is still valid but thought of posting it here so it will not get loss.


&lt;!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--&gt;

FrameworkDescriptionProsConsReference InfoLicensing
GWTGoogle Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications easy for </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/6038625090167796861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/6038625090167796861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/6038625090167796861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/6038625090167796861'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2015/08/java-web-tier-framework-comparison.html' title='Java Web Tier Framework Comparison'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3152525367353740311</id><published>2015-07-31T19:07:00.001+08:00</published><updated>2015-07-31T19:07:11.827+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gmail"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Script"/><title type='text'>Forward Mails Based on Search Criteria</title><summary type="text">Have you ever wanted to forward all mails that matching a search expression? That option is not available through the Gmail interface but it is relatively easy to do that with a script.

An example of the script is as follow:


function forwardMail() {&amp;nbsp; var threads = GmailApp.search(&quot;before:2009/07/01 after:2009/06/30&quot;); // second search string.&amp;nbsp; &amp;nbsp; for (var i in threads) {&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3152525367353740311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3152525367353740311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3152525367353740311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3152525367353740311'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2015/07/forward-mails-based-on-search-criteria.html' title='Forward Mails Based on Search Criteria'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/13905093167036022419</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3530332127083639610</id><published>2015-07-15T20:45:00.000+08:00</published><updated>2015-07-15T20:51:28.452+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Script"/><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><title type='text'>Using MailApp.SendMail</title><summary type="text">I thought that you could only MailApp.SendMail api in Google Script with standard parameter for example:

MailApp.sendEmail(recipient,&amp;nbsp;subject,body)

However, I just realize that you just need to use braces to use other advance parameters. For example to add cc, you can do the following.


function sendTestMail()&amp;nbsp;

&amp;nbsp;{  
&amp;nbsp; &amp;nbsp;var toList = &quot;strovek@gmail.com&quot;;&amp;nbsp;

&amp;nbsp; &amp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3530332127083639610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3530332127083639610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3530332127083639610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3530332127083639610'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2015/07/using-mailappsendmail.html' title='Using MailApp.SendMail'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-4102773014186151703</id><published>2014-10-02T19:00:00.000+08:00</published><updated>2014-10-02T19:00:06.654+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Useful Windows commands</title><summary type="text">Received the following list of commands from a friend that can be run off from the Run Command Prompt:Program Run Command...Accessibility Controls = access.cplAccessibility Wizard = accwizAdd Hardware Wizard = hdwwiz.cplAdd/Remove Programs = appwiz.cplAdministrative Tools = control admintoolsAdobe Acrobat ( if installed ) = acrobatAdobe Distiller ( if installed ) = acrodistAdobe ImageReady ( if </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/4102773014186151703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/4102773014186151703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/4102773014186151703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/4102773014186151703'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2014/10/useful-windows-commands.html' title='Useful Windows commands'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/13905093167036022419</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-265205963754949532</id><published>2014-07-08T19:34:00.000+08:00</published><updated>2014-07-08T19:34:00.365+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><title type='text'>Turning on Wifi for Windows using Command line</title><summary type="text">The configuration on my notebook in the office automatically disables my wifi when I connect to our network by cable. On several occasions, the wifi dos not turn back on after I remove my PC from the docking station. I was also unable to find anything in the control panel on Windows 7 to help me do this, luckily, I found the solution from this article. The solution is shown below. An alternative </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/265205963754949532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/265205963754949532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/265205963754949532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/265205963754949532'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2014/07/turning-on-wifi-for-windows-using.html' title='Turning on Wifi for Windows using Command line'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/13905093167036022419</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3252690449358757918</id><published>2013-10-16T20:00:00.000+08:00</published><updated>2013-10-16T20:00:09.292+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Apps"/><category scheme="http://www.blogger.com/atom/ns#" term="Search operators"/><title type='text'>Limiting GApp search to a folder</title><summary type="text">Found this trick in a discussion on the topic. This is a feature lacking in the new search operator.


Click on folder so you are only viewing within the folder you want to search
The URL in your browser location bar will change to something like:https://drive.google.com/?ui=4&amp;amp;authuser=0#folders/0B6AzksONG.....
Copy the text from the URL which comes after &quot;folders/&quot;
Insert that text instead </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3252690449358757918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3252690449358757918' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3252690449358757918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3252690449358757918'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2013/10/limiting-gapp-search-to-folder.html' title='Limiting GApp search to a folder'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-7327561494466797215</id><published>2012-12-27T22:14:00.001+08:00</published><updated>2012-12-28T11:26:36.740+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><title type='text'>Java Script to Produce Proper Capitalization </title><summary type="text">
The code is as follow:


/*
* Title Caps
*
* Ported to JavaScript By John Resig - http://ejohn.org/ - 21 May 2008
* Original by John Gruber - http://daringfireball.net/ - 10 May 2008
* License: http://www.opensource.org/licenses/mit-license.php
*/
(function(){
var small = &quot;(a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v[.]?|via|vs[.]?)&quot;;
var punct = &quot;([!\&quot;#$%&amp;amp;&#39;()*+,./:;&amp;lt;=&amp;gt;?@[\\\\</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/7327561494466797215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/7327561494466797215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/7327561494466797215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/7327561494466797215'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/12/java-script-to-produce-proper.html' title='Java Script to Produce Proper Capitalization '/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYj8NO7MmvMtmhGPtziCo7_u4MJNCe8WTaTMCCqxg6LQ6raY2lsL5y8kb7oSjAAK35yiikuqlCRuxWZmzhRXCAXCF2IB7EabTJ5yeD4lKe3iDalCjwvZLSDYA4iR-a5wcWLN72vsa4JT3l/s72-c/test2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-5762587586241948855</id><published>2012-11-30T07:00:00.000+08:00</published><updated>2012-12-28T11:27:06.779+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jdbc"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>JDBC Connection String to Use LDAP</title><summary type="text">
If LDAP allows anonymous.
String ldapHost    = &quot;ldap-server:389&quot;;
String context     = &quot;,dc=nl,dc=abnamro,dc=com&quot;;
&amp;nbsp;
String serviceName = &quot;mts-a-de-grid&quot;;
String user        = &quot;aldo&quot;;
String pass        = &quot;aldo&quot;;
String url         = &quot;jdbc:oracle:thin:@ldap://&quot; + ldapHost + &quot;/&quot; + instance + ldap_context;
&amp;nbsp;
OracleDataSource o = new OracleDataSource();
&amp;nbsp;
o.setUser(user);
</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/5762587586241948855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/5762587586241948855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5762587586241948855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5762587586241948855'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/11/jdbc-connection-string-to-use-ldap.html' title='JDBC Connection String to Use LDAP'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-5867475557019981503</id><published>2012-10-19T18:30:00.000+08:00</published><updated>2012-10-19T18:30:03.113+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="sudo"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>sudo: /etc/sudoers is mode 0640, should be 0440</title><summary type="text">If you encounter the following error, it is likely because you ran the su command while your current folder is /etc and the sudo is in the same folder.

Reference:

http://askubuntu.com/questions/189818/how-to-repair-sudo-etc-sudoers-is-mode-0640-should-be-0440</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/5867475557019981503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/5867475557019981503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5867475557019981503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5867475557019981503'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/sudo-etcsudoers-is-mode-0640-should-be.html' title='sudo: /etc/sudoers is mode 0640, should be 0440'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-8039412439574797906</id><published>2012-10-17T19:00:00.000+08:00</published><updated>2012-10-17T19:00:09.164+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jdbc"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Retrieving JDBC version information</title><summary type="text">The following is how you can retrieve the jdbc version:



import oracle.jdbc.OracleConnection;

import oracle.jdbc.pool.OracleDataSource;

import java.sql.SQLException;

import java.sql.DatabaseMetaData;

import java.util.Properties;

&amp;nbsp;

&amp;nbsp;

public class JDBCVersionInfo {

&amp;nbsp;&amp;nbsp;&amp;nbsp;

&amp;nbsp;&amp;nbsp;public static void main(String[] args) {

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try {

&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/8039412439574797906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/8039412439574797906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8039412439574797906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8039412439574797906'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/retrieving-jdbc-version-information.html' title='Retrieving JDBC version information'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-5737601481466661354</id><published>2012-10-13T07:00:00.000+08:00</published><updated>2012-10-13T07:00:03.948+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><title type='text'>Allowing your netbook to go beyond 1024x600</title><summary type="text">One of the issues for many netbooks is the max resolution allowed is 1024x600. &amp;nbsp; Unfortunately, that prevents you from seeing and accessing part of the screen in many applications. &amp;nbsp;

The solution is as follow:

1) Run regedit2) Search and modify all values &quot;Display1_DownScalingSupported&quot; from &quot;0&quot; to &quot;1&quot;3) Restart the system4) Enjoy with the two new resolutions 1024x768 i 1152x864&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/5737601481466661354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/5737601481466661354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5737601481466661354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5737601481466661354'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/allowing-your-netbook-to-go-beyond.html' title='Allowing your netbook to go beyond 1024x600'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3660675214777156712</id><published>2012-10-12T11:52:00.002+08:00</published><updated>2012-10-12T11:52:47.648+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><title type='text'>Solution to Windows 7 unable to connect to Windows Service</title><summary type="text">I encountered the following error after connecting to my DSL modem which failed to connect to internet. &amp;nbsp; I had a disruption of service from my service provider.

After the windows started up, everything was working but the task bar was all white. &amp;nbsp; I am using Windows 7 Starter edition.

The solution is as follow:



Click on Start button.&amp;nbsp;
Type Cmd in the Start Search text box.&amp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3660675214777156712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3660675214777156712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3660675214777156712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3660675214777156712'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/solution-to-windows-7-unable-to-connect.html' title='Solution to Windows 7 unable to connect to Windows Service'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-8488980539449325400</id><published>2012-10-03T18:00:00.000+08:00</published><updated>2012-10-03T18:00:13.980+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Icon"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="task tray"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Show Intel Proset Wifi Connection Utility icon on the Task Bar</title><summary type="text">This will allow you to make the Intel ProSet Icon visible on your Task Tray. 

Click on the Windows

Start button -&amp;gt; Intel PROSet Wireless -&amp;gt; Wifi Connection Utility










In the Wifi Connection Utility, select

Tools -&amp;gt; Application Settings

Select show icon on the Task Bar.









With the icon on the task tray, it will be much easier to select the profile you want to use to </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/8488980539449325400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/8488980539449325400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8488980539449325400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8488980539449325400'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/show-intel-proset-wifi-connection.html' title='Show Intel Proset Wifi Connection Utility icon on the Task Bar'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcj1iEarOkFU9rks4CVww3T1KZRk7YKdyt1RuQDn0dhWyepnPgaPh7vzw3MlINJpNEPXwoAEsbEbWzB7ItdT80LT9xNzjYBJ2nUjf4SIZzu61YzNfzIFt7UjfG9pdtj04vVErHDsyVk0pZ/s72-c/Capture.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-2458454262974865090</id><published>2012-10-01T18:00:00.000+08:00</published><updated>2012-10-01T18:00:16.559+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="J2EE"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><title type='text'>JBoss Admin tutorial</title><summary type="text">The tutorial for JBoss administration can be found here.

One good info from the site is the JBoss Architecture, the following is the architecture for JBoss 5.





</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/2458454262974865090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/2458454262974865090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/2458454262974865090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/2458454262974865090'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/10/jboss-admin-tutorial.html' title='JBoss Admin tutorial'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2QStYyraKrQUdyHxWC5mYdGAt-kE-vxv3cx0zSc2unAeEJKNfyjPVljWZl4WXhJ0bX_WBBGZScQWZAbcHnuE6ZGbOFBSyWDg49kKoL8M8UHr8qP-vuHtr_OTgCNsxdkK98kjIJbguYOmV/s72-c/JBossArchitecture-5.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-4759668885206483284</id><published>2012-09-28T09:18:00.001+08:00</published><updated>2012-09-28T09:18:51.990+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Apps"/><title type='text'>Locating your phone if it is under Google Device Policy</title><summary type="text">If your company is using Google for Business and you have Google Device Policy App installed and enabled on your Android Phone.

There is a page that will help you locate your phone.

The url is:

https://www.google.com/apps/mydevices/b/0?pli=1

Note, however, that this is possible only if you phone has recently connected to internet (wifi) and has GPS enabled

There are also some options like </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/4759668885206483284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/4759668885206483284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/4759668885206483284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/4759668885206483284'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/09/locating-your-phone-if-it-is-under.html' title='Locating your phone if it is under Google Device Policy'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-1848153387588706847</id><published>2012-09-26T20:42:00.000+08:00</published><updated>2012-09-26T20:57:19.021+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="HTC"/><title type='text'>Taking a screenshot on your un-rooted Android Phone</title><summary type="text">HTC Desire HD

I found this by accident. &amp;nbsp; This works with HTC Desire HD. &amp;nbsp; I then did a search and found that the trick has been there all this while (since the 3.5 upgrade) I read that it is a feature in HTC Sense 3.5 and higher, not sure if similar function is available for non HTC phones. 

Press the standby/on button and the home button at the same time. 

Key thing to remember is </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/1848153387588706847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/1848153387588706847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/1848153387588706847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/1848153387588706847'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/09/taking-screenshot-on-your-un-rooted.html' title='Taking a screenshot on your un-rooted Android Phone'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-5757105844993787799</id><published>2012-09-11T18:00:00.000+08:00</published><updated>2012-09-11T18:00:00.379+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BookMark"/><category scheme="http://www.blogger.com/atom/ns#" term="Good practices"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><title type='text'>Blog on design by 37 signal</title><summary type="text">I came across this site while reading some emails on copywriting.&amp;nbsp;&amp;nbsp; This blog is by a company called 37 signals.

The site is found here.

Some of the articles are as follow:


Clarity over brevity in variable and method names
Good Enough

Nagios Monitoring Performance

</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/5757105844993787799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/5757105844993787799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5757105844993787799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/5757105844993787799'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/09/blog-on-design-by-37-signal.html' title='Blog on design by 37 signal'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3316630043544531738</id><published>2012-09-01T09:30:00.000+08:00</published><updated>2012-09-01T09:30:00.316+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><title type='text'>Control output from PL/SQL</title><summary type="text">Usually when I write a PL/SQL script and schedule it, there are certain things I want to generate and record into a log file.&amp;nbsp;&amp;nbsp; I usually do that using a pipe command.&amp;nbsp;&amp;nbsp; Assuming my program is in a file called comp.sql, I would then execute:


sqlplus scott/tiger@orcl comp.sql &amp;gt;&amp;gt; comp.log

Within the comp.sql, I will start with the following commands:


SET TIMING ONSET </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3316630043544531738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3316630043544531738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3316630043544531738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3316630043544531738'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/09/control-output-from-plsql.html' title='Control output from PL/SQL'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-3137059461555943664</id><published>2012-08-31T18:00:00.000+08:00</published><updated>2012-08-31T18:00:09.385+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><title type='text'>Executing dynamic code in PL/SQL</title><summary type="text">This is a sample of how to execute a dynamic code to create a partition:


&amp;nbsp; PROCEDURE cre_part_tab&amp;nbsp;&amp;nbsp;&amp;nbsp; (ptable IN VARCHAR2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ptag&amp;nbsp;&amp;nbsp; IN VARCHAR2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plim&amp;nbsp;&amp;nbsp; IN VARCHAR2) &amp;nbsp; IS&amp;nbsp; /*********************************************************&amp;nbsp;&amp;nbsp; *&amp;nbsp; Procedure to facilitate creating of new Partitions&amp;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/3137059461555943664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/3137059461555943664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3137059461555943664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/3137059461555943664'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/08/executing-dynamic-code-in-plsql.html' title='Executing dynamic code in PL/SQL'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-8503547423441714431</id><published>2012-08-30T15:02:00.000+08:00</published><updated>2012-08-30T15:02:45.319+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="PL/SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><title type='text'>Using a procedure within a Oracle Trigger</title><summary type="text">This is a sample how you can declare a procedure in the Declare section of the PL/SQL block.&amp;nbsp;&amp;nbsp; This will reduce the number of redundant code in your program.

In the sample below, I want to log changes to value of fields within an employee master database. &amp;nbsp; I will make the assumption that the tables are already there. 

Create Or Replace Trigger trEmp_AttribUpdBefore Update Of </summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/8503547423441714431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/8503547423441714431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8503547423441714431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8503547423441714431'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/08/using-procedure-within-oracle-trigger.html' title='Using a procedure within a Oracle Trigger'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-1407756385433280423</id><published>2012-08-29T08:27:00.003+08:00</published><updated>2012-08-29T08:27:56.653+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL command to find the location of the trace file in Oracle</title><summary type="text">


select u_dump.value || &#39;/&#39; || instance.value || &#39;_ora_&#39; || v$process.spid&amp;nbsp;|| nvl2(v$process.traceid, &#39;_&#39; || v$process.traceid, null ) || &#39;.trc&#39;&quot;Trace File&quot;from V$PARAMETER u_dump&amp;nbsp;cross join V$PARAMETER instance&amp;nbsp;cross join V$PROCESS&amp;nbsp;join V$SESSION on v$process.addr = V$SESSION.paddr&amp;nbsp;where&amp;nbsp;u_dump.name&amp;nbsp;= &#39;user_dump_dest&#39;&amp;nbsp;and&amp;nbsp;instance.name&amp;nbsp;= &#39;</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/1407756385433280423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/1407756385433280423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/1407756385433280423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/1407756385433280423'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/08/sql-command-to-find-location-of-trace.html' title='SQL command to find the location of the trace file in Oracle'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-2966656439314384194</id><published>2012-08-01T18:00:00.000+08:00</published><updated>2012-08-01T18:00:04.278+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Architecture"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Postgres"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><title type='text'>Postgres Memory Architecture vs Oracle Memory Architecture</title><summary type="text">

















The following is the memory architecture for Postgres 9.0.&amp;nbsp;&amp;nbsp; The image is obtained from another blog which has the full explanation.


























Oracle Memory Architecture is as follow.&amp;nbsp; The information is obtained from the Oracle document.





</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/2966656439314384194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/2966656439314384194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/2966656439314384194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/2966656439314384194'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/08/postgres-memory-architecture-vs-oracle.html' title='Postgres Memory Architecture vs Oracle Memory Architecture'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRQv1qQQ-ADgVv5aE6QfMDeiyYWBjrwIRpj1sb8dfPYQgx_B5blg8OxvSMysMpAuREtPYnqKJHVnw23JFLKXGtGl4g52ll5G8vQK13A-aa1rZGRjFOt1cjAuCdHmTQhLuz3yx0Jzy9U-B/s72-c/PGArchOverview.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-8860397351347609414</id><published>2012-07-24T18:00:00.000+08:00</published><updated>2012-07-25T15:03:58.743+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ansi SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Joins</title><summary type="text">Coming from an Oracle environment, I have a problem remember the joins.&amp;nbsp; This document will help me remember.&amp;nbsp; In the sample below, the SQL query with the word join is ANSI SQL compliant and works also with other databases like postgres, MySQL, SQLServer etc.



Sample Data 
I will use two tables for the examples. 

SampTab1 - data is as follow:


 

  NAME
  ROLE
 

  John
  Mascot
 

</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/8860397351347609414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/8860397351347609414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8860397351347609414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8860397351347609414'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/07/sql-joins.html' title='SQL Joins'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3945960671261711007.post-8529259426173527191</id><published>2012-07-18T17:49:00.001+08:00</published><updated>2012-07-18T17:49:40.450+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Sendmail vs Mailx</title><summary type="text">sendmail has the &#39;intelligence&#39; to figure out how to send the mail to a recipient not on the local machine - provided the machine has access/can route to the network where recipient is located. In order for mailx to do this, you need to use /etc/aliases ( /etc/mail/aliases )&amp;nbsp;




&amp;nbsp;Reference
&amp;nbsp;https://forums.oracle.com/forums/thread.jspa?messageID=8258664
</summary><link rel='replies' type='application/atom+xml' href='http://programmersjournal.blogspot.com/feeds/8529259426173527191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3945960671261711007/8529259426173527191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8529259426173527191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3945960671261711007/posts/default/8529259426173527191'/><link rel='alternate' type='text/html' href='http://programmersjournal.blogspot.com/2012/07/sendmail-vs-mailx.html' title='Sendmail vs Mailx'/><author><name>Strovek</name><uri>http://www.blogger.com/profile/10241249259045455763</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_zMvx-QYEulqeZ_AAQrZ9q4P3px7Byo3cFl9uT3KLRgpTko8An7UfoE7Efyjg0aQW3iVYobtwwhLl0wvdfcUsiFZq_kgWftDf6c3gRP-JUkeIOs3e3yezCVCTRPRXgjg/s220/strovek.jpg'/></author><thr:total>0</thr:total></entry></feed>