<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>develix.net</title>
	<atom:link href="http://far2fish.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://far2fish.wordpress.com</link>
	<description>Technical Toolbox</description>
	<lastBuildDate>Fri, 26 Mar 2010 10:01:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='far2fish.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>develix.net</title>
		<link>http://far2fish.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://far2fish.wordpress.com/osd.xml" title="develix.net" />
	<atom:link rel='hub' href='http://far2fish.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Failsafe HTML Content Layout for Oracle Portal</title>
		<link>http://far2fish.wordpress.com/2010/03/26/failsafe-html-content-layout-for-oracle-portal/</link>
		<comments>http://far2fish.wordpress.com/2010/03/26/failsafe-html-content-layout-for-oracle-portal/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 09:53:31 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://far2fish.wordpress.com/?p=48</guid>
		<description><![CDATA[One well known feature of Oracle Portal is the ability to create HTML Content Layout, and apply these layouts to page regions. The online documentation has for instance an example on how to check if a link should open in the current window or in a new window: &#60;oracle&#62; begin if '#item.displayoption#' = 'link' then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=48&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One well known feature of Oracle Portal is the ability to create HTML Content Layout, and apply these layouts to page regions. The <a href="http://download.oracle.com/docs/cd/E12839_01/portal.1111/e10235/apdxhtmt003.htm" target="_blank">online documentation</a> has for instance an example on how to check if a link should open in the current window or in a new window:</p>
<pre class="code">
&lt;oracle&gt;
begin
if '#item.displayoption#' = 'link' then
   htp.p('&lt;a href="#item.url#"&gt;View item in current window&lt;/a&gt;');
elsif '#item.displayoption#' = 'linktonewwindow' then
   htp.p('&lt;a href="#item.url#" target="_blank"&gt;View item in new window&lt;/a&gt;');
else
   htp.p('Display item directly in page');
   htp.br;
   htp.p('#item.content#');
end if;
end;
&lt;/oracle&gt;
</pre>
<p>On the surface that looks very good, but what if you got regions that shall support both links and text items ? The problem of referring to #item.content# (or the #item.content.value#) multiple times, is that the generated code allocates space for the length of #item.content# each time it is referred. For instance, if your region contains both links and a 15k text item, and you refer to #item.content# three times, the space used will be 45k + the size of the links. This is far above the PL/SQL 32k limit, and your portal page will not render properly, and you will get the following error thrown in the browser:</p>
<pre class="code">
Internal Error (WWC-00006)
Execution of the PL/SQL-block failed: , (WWC-40015)
Preference path not found: oracle.portal.wsrp.&lt;YOUR_PORTLET_1_NAME&gt; (WWC-51000)
Preference path not found: oracle.portal.wsrp.&lt;YOUR_PORTLET_2_NAME&gt; (WWC-51000)
Preference path not found: oracle.portal.wsrp.&lt;YOUR_PORTLET_3_NAME&gt; (WWC-51000)
Preference path not found: oracle.portal.wsrp.&lt;YOUR_PORTLET_4_NAME&gt; (WWC-51000)
and so on, for each of the portlets mounted on your page.
</pre>
<p>The solution is to use more PL/SQL code, and less HTML Content Layout Substitution tags:</p>
<pre class="code">
&lt;oracle&gt;
DECLARE
  p_target VARCHAR2(6);
  p_content VARCHAR2(32000);
BEGIN
  p_content := SUBSTR('#item.content.value#',1,32000);
  htp.p('#ITEM.STATUSINHTML#');
  if '#item.displayoption#' IN ('link','linktonewwindow') then
    if '#item.displayoption#' = 'link' then
      p_target := '_self';
    elsif '#item.displayoption#' = 'linktonewwindow' then
      p_target := '_blank';
    end if;
    htp.p('&lt;a href="'||p_content||'" target="'||p_target||'"&gt;#ITEM.TITLE.VALUE#&lt;/a&gt;');
  else
    htp.br;
    htp.p(p_content);
  end if;
END;
&lt;/oracle&gt;
</pre>
<p>This way, the potentially huge #item.content.value# is referred to only once, and it&#8217;s also made sure it never exceeds 32k. (You cannot create text items larger than 32k through the Rich Text Editor or through the Portal PL/SQL API. But since text items are saved in CLOBs, they could potentially have been populated through a custom API and be larger than 32k).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=48&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2010/03/26/failsafe-html-content-layout-for-oracle-portal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Best DEBUG for WNA in OAS 10.1.2</title>
		<link>http://far2fish.wordpress.com/2010/03/02/best-debug-for-wna-in-oas-10-1-2/</link>
		<comments>http://far2fish.wordpress.com/2010/03/02/best-debug-for-wna-in-oas-10-1-2/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 10:47:49 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Appserver]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://far2fish.wordpress.com/?p=46</guid>
		<description><![CDATA[In my experience the best way to trace what&#8217;s going on if configuring SSO with WNA is to enable JAZN debug. In OAS 10.1.2 it can be enabled with -Djazn.debug.log.enable=true as a Java startup parameter for OC4J_SECURITY<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=46&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my experience the best way to trace what&#8217;s going on if configuring SSO with WNA is to enable JAZN debug. In OAS 10.1.2 it can be enabled with -Djazn.debug.log.enable=true as a Java startup parameter for OC4J_SECURITY</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=46&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2010/03/02/best-debug-for-wna-in-oas-10-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Syncronize and optimize Portal text indexes</title>
		<link>http://far2fish.wordpress.com/2009/05/25/syncronize-and-optimize-portal-text-indexes/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/syncronize-and-optimize-portal-text-indexes/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:57:53 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://develix.net/?p=42</guid>
		<description><![CDATA[To improve performance with Oracle Text based searches in Oracle Portal, you should on a regular basis make sure to syncronize and optimize Portal text indexes (if this is not allready set up during installation). sqlplus portal/&#60;password&#62; exec wwv_context.sync exec wwv_context.optimize exit<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=42&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p class="level1">To improve performance with Oracle Text based searches in Oracle Portal, you should on a regular basis make sure to syncronize and optimize Portal text indexes (if this is not allready set up during installation).</p>
<pre class="code">sqlplus portal/&lt;password&gt;

exec wwv_context.sync
exec wwv_context.optimize
exit</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=42&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/syncronize-and-optimize-portal-text-indexes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding grants from data dictionary</title>
		<link>http://far2fish.wordpress.com/2009/05/25/finding-grants-from-data-dictionary/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/finding-grants-from-data-dictionary/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:57:21 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://develix.net/?p=40</guid>
		<description><![CDATA[Unless you make an full export with grants you won’t get all grants when doing a export/import with Oracle. So if you don’t have a list of all grants across those schemas you imported, you will have a huge job of compiling and establishing which grants are missing. The solution to this is to find [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=40&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>Unless you make an full export with grants you won’t get all grants when doing a export/import with Oracle. So if you don’t have a list of all grants across those schemas you imported, you will have a huge job of compiling and establishing which grants are missing.</p>
<p>The solution to this is to find those grants through the data dictionary on the source system. For instance, if you want to find all grants made by the PORTAL schema, the query would be like this:</p>
<p><code><br />
SET HEADING OFF<br />
SET PAGES 999<br />
SPOOL grants.sql<br />
SELECT 'GRANT '||privilege||' ON '||owner||'.'||table_name||' TO '||grantee||DECODE(grantable,'YES',' WITH GRANT OPTION;',';')<br />
FROM DBA_TAB_PRIVS<br />
WHERE grantor = 'PORTAL';<br />
SPOOL OFF<br />
EXIT<br />
</code></p>
<p>Now you have everything you need in the grants.sql and this script can now be run on the target system.</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=40&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/finding-grants-from-data-dictionary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Which languages are installed in my Portal ?</title>
		<link>http://far2fish.wordpress.com/2009/05/25/which-languages-are-installed-in-my-portal/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/which-languages-are-installed-in-my-portal/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:56:50 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://develix.net/?p=38</guid>
		<description><![CDATA[select title from portal.WWNLS_SYS_LANGUAGE$ where installed &#60;&#62; 0;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=38&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>select title from portal.WWNLS_SYS_LANGUAGE$<br />
where installed &lt;&gt; 0;</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=38&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/which-languages-are-installed-in-my-portal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Q-Quote</title>
		<link>http://far2fish.wordpress.com/2009/05/25/oracle-q-quote/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/oracle-q-quote/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:55:32 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://develix.net/?p=36</guid>
		<description><![CDATA[To avoid quoting quotes in string, Oracle 10g offers the Q-Quote technique. Let’s say yoy want to select the following from dual: I’m into rock’n’roll This would normally mean you should quote the three quotes, but with the Q-Quote technique it’s much simpler: SQL&#62; SELECT q'[I'm into rock'n'roll]' FROM dual;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=36&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p class="level1">To avoid quoting quotes in string, Oracle 10g offers the Q-Quote technique.</p>
<p>Let’s say yoy want to select the following from dual: I’m into rock’n’roll</p>
<p>This would normally mean you should quote the three quotes, but with the Q-Quote technique it’s much simpler:</p>
<pre class="code">SQL&gt; SELECT q'[I'm into rock'n'roll]' FROM dual;</pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=36&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/oracle-q-quote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Software for your Mac</title>
		<link>http://far2fish.wordpress.com/2009/05/25/software-for-your-mac/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/software-for-your-mac/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:54:49 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://develix.net/?p=34</guid>
		<description><![CDATA[VersionTracker is much like download.com, except it also has a large collection of software for Mac OS X. You browse by categories, and can sort by licenses, so it’s easy to find software at a decent price (for instance free). I was however not satisfied with any of the FTP clients I found for Mac. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=34&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p><a href="http://web.archive.org/web/20080205021024/http://www.versiontracker.com/macosx/" target="_blank">VersionTracker</a> is much like download.com, except it also has a large collection of software for Mac OS X. You browse by categories, and can sort by licenses, so it’s easy to find software at a decent price (for instance free).</p>
<p>I was however not satisfied with any of the FTP clients I found for Mac. As a devoted FileZilla user, I didn’t think any of the FTP/SCP clients for Mac was living up to the standard. Furtunatly the <a href="http://web.archive.org/web/20080205021024/http://filezilla.sourceforge.net/" target="_blank">FileZilla project</a> has decided to release FileZilla on Linux and Mac too, and there is allready a <a href="http://web.archive.org/web/20080205021024/http://sourceforge.net/project/showfiles.php?group_id=21558&amp;package_id=206762" target="_blank">beta</a> available <img class="wp-smiley" src="http://web.archive.org/web/20080205021024/http://develix.net/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>A really nice open source text editor with syntax highlighting is <a href="http://web.archive.org/web/20080205021024/http://smultron.sourceforge.net/" target="_blank">Smultron</a>.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=34&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/software-for-your-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>

		<media:content url="http://web.archive.org/web/20080205021024/http://develix.net/wp-includes/images/smilies/icon_smile.gif" medium="image">
			<media:title type="html">:)</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac keyboard combinations on a Windows keyboard</title>
		<link>http://far2fish.wordpress.com/2009/05/25/mac-keyboard-combinations-on-a-windows-keyboard/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/mac-keyboard-combinations-on-a-windows-keyboard/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:54:22 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://develix.net/?p=32</guid>
		<description><![CDATA[I recently bought a Mac mini and a Belkin KVM switch, which enables me to use my existing monitor, keyboard and mouse with both my current Windows PC and my new Mac mini. There are however quite a few characters I couldn’t find when using the Windows keyboard on Mac, so I will use this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=32&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>I recently bought a Mac mini and a Belkin KVM switch, which enables me to use my existing monitor, keyboard and mouse with both my current Windows PC and my new Mac mini. There are however quite a few characters I couldn’t find when using the Windows keyboard on Mac, so I will use this thread to remember them. Thanks to <a href="http://web.archive.org/web/20080205021024/http://blog.mengers.dk/" target="_blank">Allan</a> for supplying many of the keystrokes for a Windows keyboard with Danish layout.</p>
<ol>
<li>Commercial at @ : ALT Gr-* (just ALT-* in some applications)</li>
<li>Pipe | :  ALT-i</li>
<li>Left brace { : SHIFT-ALT-8</li>
<li>Right brace } : SHIFT-ALT-9</li>
<li>Apple Command Key: Windows Key</li>
<li>Less than &lt; : §</li>
<li>Greater than &gt; : SHIFT-§</li>
<li>Copy : Windows Key-C</li>
<li>Cut : Windows Key-X</li>
<li>Paste : Windows Key-V</li>
<li>Quit Application : Windows Key-Q</li>
<li>Dollar $ : &lt;</li>
<li>Euro € : SHIFT-4</li>
<li>Backslash \ : SHIFT-ALT-7</li>
</ol>
<p>I also found <a href="http://web.archive.org/web/20080205021024/http://www.macworld.com/weblogs/macgems/2005/01/doublecommand/" target="_blank">this article</a>, which suggests a software solution to the problem. When I get a Mac keyboard, I should study <a href="http://web.archive.org/web/20080205021024/http://docs.info.apple.com/article.html?artnum=75459" target="_blank">this</a>. The layout of a <a href="http://web.archive.org/web/20080205021024/http://www.internet4classrooms.com/mackeyboard.htm" target="_blank">Mac keyboard</a> can also be useful.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=32&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/mac-keyboard-combinations-on-a-windows-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Taking screenshots on a Mac</title>
		<link>http://far2fish.wordpress.com/2009/05/25/taking-screenshots-on-a-mac/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/taking-screenshots-on-a-mac/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:53:48 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://develix.net/?p=30</guid>
		<description><![CDATA[Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=30&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<ul>
<li> Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop</li>
<li> Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop</li>
<li> Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop</li>
<li> Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard</li>
<li> Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard</li>
<li> Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard</li>
</ul>
<p>These screenshot tricks where found in <a href="http://web.archive.org/web/20080205021024/http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X" target="_blank">MacRumors</a>.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=30&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/taking-screenshots-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
		<item>
		<title>Add A New Harddisk To Linux Using Parted</title>
		<link>http://far2fish.wordpress.com/2009/05/25/add-a-new-harddisk-to-linux-using-parted/</link>
		<comments>http://far2fish.wordpress.com/2009/05/25/add-a-new-harddisk-to-linux-using-parted/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:53:17 +0000</pubDate>
		<dc:creator>far2fish</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://develix.net/?p=28</guid>
		<description><![CDATA[If you have added a new harddrive, and want to take advantage of it in Linux, parted is a great tool to get you started. Parted is like fdisk, but a bit more challenging. Please note that when following this tutorial you will loose any data on the harddrive in question. Finding the device name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=28&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p class="level1">If you have added a new harddrive, and want to take advantage of it in Linux, parted is a great tool to get you started. Parted is like fdisk, but a bit more challenging. Please note that when following this tutorial you will loose any data on the harddrive in question.</p>
<h2><a id="finding_the_device_name" title="finding_the_device_name" name="finding_the_device_name"></a>Finding the device name</h2>
<p class="level2">The first task is to find the devicename of your new harddrive. <acronym title="Small Computer System Interface">SCSI</acronym> disks are usually given device names like /dev/sda, /dev/sdb, /dev/sdc, /dev/sdd and so on (dependening of how many phsyical disks you have got. IDE disks are usually given device names like /dev/hda, /dev/hdb, /dev/hdc, /dev/hdd and so on. In this tutorial we will image we have added a second <acronym title="Small Computer System Interface">SCSI</acronym> disk, we will treat it as /dev/sdb</p>
<h2><a id="using_parted" title="using_parted" name="using_parted"></a>Using parted</h2>
<p class="level2">As root, type<br />
<code>parted /dev/sdb</code><br />
and parted will now startup, expecting to perform work on our new harddrive.</p>
<p>First we create a disk label<br />
<code>(parted) mklabel msdos</code></p>
<p>Then we need to find the size of the disk, or more correctly the start- and end sector of the disk<br />
<code>(parted) print</code></p>
<p>The print command should display something like this:</p>
<p><code>Disk geometry for /dev/sdb: 0.000-102400.000 megabytes<br />
Disk label type: msdos<br />
Minor    Start       End     Type      Filesystem  Flags</code></p>
<p>The geometry data will come in handy in our next command where we create a filesystem on the disk<br />
<code>(parted) mkpart primary ext2 0.000 102400.000</code></p>
<p>We can also make extra sure that we get a ext2 disk with the following command (please note that parted doesn’t support ext3):<br />
<code>(parted) mkfs 1 ext2</code></p>
<p>Now exit parted:<br />
<code>(parted) quit</code></p>
<h2><a id="mounting_the_new_drive" title="mounting_the_new_drive" name="mounting_the_new_drive"></a>Mounting the new drive</h2>
<p class="level2">First create the mountpoint that you want to use for the new drive:<br />
<code># mkdir /u01</code></p>
<p>Change the filesystem from ext2 to ext3:<br />
<code># tune2fs -j /dev/sdb1</code><br />
Now edit /etc/fstab and add the following line:<br />
<code>/dev/sdb1 /u01 ext3 defaults 1 1</code></p>
<p>The mount the new drive on mountpoint /u01:<br />
<code># mount -a</code></p>
<p>Finally check that the new drive is mounted:<br />
<code># df -k</code></p>
<p>Filesystem           1K-blocks      Used Available Use% Mounted on<br />
/dev/sda3              5526416   2081024   3164660  40% /<br />
/dev/sda1               101086      8613     87254   9% /boot<br />
none                    387852         0    387852   0% /dev/shm<br />
/dev/sdb1             10317828     33460   9760252   1% /u01</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/far2fish.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/far2fish.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/far2fish.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=far2fish.wordpress.com&amp;blog=70882&amp;post=28&amp;subd=far2fish&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://far2fish.wordpress.com/2009/05/25/add-a-new-harddisk-to-linux-using-parted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0ef0b10046767265edeb030136d66790?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">far2fish</media:title>
		</media:content>
	</item>
	</channel>
</rss>
