<?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/"
	>

<channel>
	<title>Vladislav Krejcirik</title>
	<atom:link href="http://vkrejcirik.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://vkrejcirik.info</link>
	<description>My page</description>
	<lastBuildDate>Wed, 07 Mar 2012 13:46:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FontFace generator</title>
		<link>http://vkrejcirik.info/2012/03/07/fontface-generator/</link>
		<comments>http://vkrejcirik.info/2012/03/07/fontface-generator/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 13:46:49 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Programování]]></category>
		<category><![CDATA[WEB]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=321</guid>
		<description><![CDATA[I found very cool font face generator. It&#8217;s useful when you need custom font on all browsers. Check it!]]></description>
			<content:encoded><![CDATA[<p>I found very cool font face generator. It&#8217;s useful when you need custom font on all browsers. <a href="http://www.fontsquirrel.com/fontface/generator" title="Check it!">Check it!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2012/03/07/fontface-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source alternative to TOAD for Oracle</title>
		<link>http://vkrejcirik.info/2012/02/20/open-source-alternative-to-toad-for-oracle/</link>
		<comments>http://vkrejcirik.info/2012/02/20/open-source-alternative-to-toad-for-oracle/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 10:04:42 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[DB]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programování]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=318</guid>
		<description><![CDATA[I found very useful Open Source alternative for TOAD. Check It!]]></description>
			<content:encoded><![CDATA[<p>I found very useful Open Source alternative for TOAD. <a href="http://torasql.com/" title="TORA SQL">Check It!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2012/02/20/open-source-alternative-to-toad-for-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIBCO, how to set null to nillable element</title>
		<link>http://vkrejcirik.info/2011/07/29/tibco-how-to-set-null-to-nillable-element/</link>
		<comments>http://vkrejcirik.info/2011/07/29/tibco-how-to-set-null-to-nillable-element/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 15:17:49 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Tibco]]></category>
		<category><![CDATA[BW]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=308</guid>
		<description><![CDATA[I had nillable element of type datetime. I needed to set value only when incoming value was datetime, otherwise I had to send null. How to do that? Right click on element and select: Statement->Surround with Choice Select 1 when condition and otherwise In when condition should be something like this: string-length(value)>0 If condition is [...]]]></description>
			<content:encoded><![CDATA[<p>I had nillable element of type datetime. I needed to set value only when incoming value was datetime, otherwise I had to send null. How to do that?</p>
<ul>
<li>Right click on element and select: Statement->Surround with Choice</li>
<li>Select 1 when condition and otherwise</li>
<li>In when condition should be something like this: <em>string-length(value)>0</em></li>
<li>If condition is true -> insert value</li>
<li>Click on the element in otherwise section and select &#8220;!&#8221; in menu. Then: Content->Set explicit Nil</li>
</ul>
<p>That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/07/29/tibco-how-to-set-null-to-nillable-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle queries for retrieving Oracle DB object information</title>
		<link>http://vkrejcirik.info/2011/07/08/oracle-queries-for-retrieving-oracle-db-object-information/</link>
		<comments>http://vkrejcirik.info/2011/07/08/oracle-queries-for-retrieving-oracle-db-object-information/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 21:13:21 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programování]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=302</guid>
		<description><![CDATA[There are several useful queries for Oracle DB: select TABLE_NAME from SYS.ALL_TABLES where OWNER=&#8217;schema&#8217; &#8211; select all tables for given schema select USERNAME from SYS.ALL_USERS order by USERNAME &#8211; select all schemas select VIEW_NAME from SYS.ALL_VIEWS where OWNER=&#8217;schema&#8217; order by VIEW_NAME &#8211; select all views for given schema select OBJECT_NAME, OWNER from SYS.ALL_OBJECTS where UPPER(OBJECT_TYPE) [...]]]></description>
			<content:encoded><![CDATA[<p>There are several useful queries for Oracle DB:</p>
<ul>
<li><strong>select TABLE_NAME from SYS.ALL_TABLES where OWNER=&#8217;schema&#8217;</strong> &#8211; select all tables for given schema</li>
<li><strong>select USERNAME from SYS.ALL_USERS order by USERNAME</strong> &#8211; select all schemas</li>
<li><strong>select VIEW_NAME from SYS.ALL_VIEWS where OWNER=&#8217;schema&#8217; order by VIEW_NAME</strong> &#8211; select all views for given schema</li>
<li><strong>select OBJECT_NAME, OWNER from SYS.ALL_OBJECTS where UPPER(OBJECT_TYPE) = &#8216;PACKAGE&#8217; order by OWNER, OBJECT_NAME</strong> &#8211; select all packages that can be viewed by the current user</li>
<li><strong>select TRIGGER_NAME, OWNER from SYS.ALL_TRIGGERS order by OWNER, TRIGGER_NAME</strong> &#8211; select all triggers for the current user</li>
<li><strong>select INDEX_NAME, TABLE_NAME, TABLE_OWNER from SYS.ALL_INDEXES order by TABLE_OWNER, TABLE_NAME, INDEX_NAME</strong> &#8211; select all indexes</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/07/08/oracle-queries-for-retrieving-oracle-db-object-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beautifying Sqlplus output</title>
		<link>http://vkrejcirik.info/2011/07/07/beautifying-sqlplus-output/</link>
		<comments>http://vkrejcirik.info/2011/07/07/beautifying-sqlplus-output/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 19:08:34 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programování]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=297</guid>
		<description><![CDATA[Sometimes output from Sqlplus is a little bit confusing. Fortunately there are ways how to improve that. column column_name format a20 &#8211; make the column column_name smaller (20 characters), only for strings and dates column column_name format 99990 &#8211; make the column column_name smaller (5 digits), for numbers set pagesize 5000 &#8211; set the bigger [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes output from Sqlplus is a little bit confusing. Fortunately there are ways how to improve that. </p>
<ul>
<li><strong>column column_name format a20</strong> &#8211; make the column column_name smaller (20  characters), only for strings and dates</li>
<li><strong>column column_name format 99990</strong> &#8211; make the column column_name smaller (5 digits), for numbers</li>
<li><strong>set pagesize 5000</strong> &#8211; set the bigger page size</li>
<li><strong>column  column_name noprint</strong> &#8211; no print column column_name</li>
<li><strong>set line 120</strong> &#8211; set line length to 120</li>
<li><strong>set long 10000</strong> &#8211; print whole long text, for example in CLOB</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/07/07/beautifying-sqlplus-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Sqlplus query output into file</title>
		<link>http://vkrejcirik.info/2011/07/07/oracle-sqlplus-query-output-into-file/</link>
		<comments>http://vkrejcirik.info/2011/07/07/oracle-sqlplus-query-output-into-file/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 18:56:54 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Programování]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=295</guid>
		<description><![CDATA[I needed to save output from SQL query into file. I found this solution: SQL>SPOOL /tmp/data.dat SQL>select * from table; SQL>SPOOL OFF]]></description>
			<content:encoded><![CDATA[<p>I needed to save output from SQL query into file. I found this solution:</p>
<pre name="code" class="xml">
SQL>SPOOL /tmp/data.dat
SQL>select * from table;
SQL>SPOOL OFF
</pre>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/07/07/oracle-sqlplus-query-output-into-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kindle, a co je momentálně k dispozici pro Kindle v češtině</title>
		<link>http://vkrejcirik.info/2011/06/28/kindle-a-co-je-momentalne-k-dispozici-pro-kindle-v-cestine/</link>
		<comments>http://vkrejcirik.info/2011/06/28/kindle-a-co-je-momentalne-k-dispozici-pro-kindle-v-cestine/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 19:25:31 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Nezařaditelné]]></category>
		<category><![CDATA[Kindle]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=276</guid>
		<description><![CDATA[Tak jsem na jedné zahraniční cestě neodolal a koupil jsem si Kindle. Koupil jsem si verzi za 114$, tedy verzi kterou poskytuje Amazon za lepši cenu, protože jako spořič máte reklamu a dále máte v základním menu v dolní části obrazovky proužek s reklamou. Tyto reklamy Vás však vůbec neomezují v používání Kindlu a já [...]]]></description>
			<content:encoded><![CDATA[<p>Tak jsem na jedné zahraniční cestě neodolal a koupil jsem si Kindle. <img src='http://vkrejcirik.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Koupil jsem si verzi za 114$, tedy verzi kterou poskytuje Amazon za lepši cenu, protože jako spořič máte reklamu a dále máte v základním menu v dolní části obrazovky proužek s reklamou. Tyto reklamy Vás však vůbec neomezují v používání Kindlu a já to beru jako takové zpestření <img src='http://vkrejcirik.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . </p>
<p>A co je k dnešnímu datu k dispozici na Kindle? No, našel jsem následující:</p>
<ul>
<li>Můžete se zaregistrovat na <a href="http://vice.idnes.cz/kindle_zadani.asp">idnes.cz</a>, aby vám 2x denně (v 6:00, 16:00) chodily na Kindle zprávy.</li>
<li>Další vychytávkou jsou stránky <a href="http://www.kindly.cz/">kindly.cz</a>, kde si po registraci můžete navybírat zdroje RSS, které vám budou ve vámi definovaných dnech posílány na váš Kindle. Zdroje jsou z různých oblastí zájmu přes Linux a programování až po zpravodajství.</li>
<li>Další možností je nechat si na Kindle zasílat až 3x denně články z <a href="http://www.novinky.cz/kindle/?ref=secondLineLinks">novinky.cz</a>.</li>
<li>Dále si můžete do Kindlu stáhnout mapy velkých měst po celém světě. Jsou tam i mapy velkých měst v ČR (Praha, Brno, Ostrava, Olomouc, ..). Mapy naleznete na stránce <a href="http://www.ebookmaps.com/">http://www.ebookmaps.com</a></li>
</ul>
<p>Jinak vám Amazon umožňuje zkonvertovat libovolnou eknihu (především <strong>PDF</strong>) do formátu Kindlu. Postup je takový, že požadovaný dokument pošlete v příloze na váš Kindle email s předmětem <strong>convert</strong>. Amazon ho převede a doručí na váš Kindle. Kindle samozřejmě umí číst PDF soubory, ale neumí s něma taková kouzla jako s MOBI formátem nebo proprietárním formátem Amazonu. </p>
<p>Když narazím na něco dalšího tak to sem připíšu. <img src='http://vkrejcirik.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/06/28/kindle-a-co-je-momentalne-k-dispozici-pro-kindle-v-cestine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nahrazení řetězce, který obsahuje $, jiným řetězcem v souboru pomocí PERLu</title>
		<link>http://vkrejcirik.info/2011/06/28/nahrazeni-retezce-ktery-obsahuje-jinym-retezcem-v-souboru-pomoci-perlu/</link>
		<comments>http://vkrejcirik.info/2011/06/28/nahrazeni-retezce-ktery-obsahuje-jinym-retezcem-v-souboru-pomoci-perlu/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 18:22:34 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programování]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=273</guid>
		<description><![CDATA[Potřeboval jsem nahradit řetězec obsahující speciální znak $ jiným řetězcem v souboru. Pracoval jsem na UNIXu s KSH. Nakonec jsem to vyřešil následovně: perl -p -i -e 's{string\$12}{string2}i' soubor.txt]]></description>
			<content:encoded><![CDATA[<p>Potřeboval jsem nahradit řetězec obsahující speciální znak $ jiným řetězcem v souboru. Pracoval jsem na UNIXu s KSH.</p>
<p>Nakonec jsem to vyřešil následovně:</p>
<pre name="code" class="xml">
perl -p -i -e 's{string\$12}{string2}i' soubor.txt
</pre>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/06/28/nahrazeni-retezce-ktery-obsahuje-jinym-retezcem-v-souboru-pomoci-perlu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zjištění hodnoty attributu v XML elementu pomocí XPath výrazu</title>
		<link>http://vkrejcirik.info/2011/06/01/zjisteni-hodnoty-attributu-v-xml-pomoci-xpath-vyrazu/</link>
		<comments>http://vkrejcirik.info/2011/06/01/zjisteni-hodnoty-attributu-v-xml-pomoci-xpath-vyrazu/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 01:13:13 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Programování]]></category>
		<category><![CDATA[XPath]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=263</guid>
		<description><![CDATA[Dneska jsem potřeboval zjistit hodnotu attributu, respektivě zjistit jestli jeho hodnota je rovná 1. Udělal jsem to následovně: // rekurzivne pro vsechny elementy, vyhleda element s nazvem STATUS a jestli takovy je, tak zjisti jestli hodnota attributu "changed" je 1. exists($Parse-XML-Message//*[local-name()="STATUS"][@changed=1]) // jen pro prime nasledniky exists($Parse-XML-Message/pfx:MXWOInterface/pfx:Content/pfx:MXWO/pfx:WORKORDER/*[local-name()='CHANGEBY'][@changed=1])]]></description>
			<content:encoded><![CDATA[<p>Dneska jsem potřeboval zjistit hodnotu attributu, respektivě zjistit jestli jeho hodnota je rovná 1. Udělal jsem to následovně:</p>
<pre name="code" class="xml">
// rekurzivne pro vsechny elementy, vyhleda element s nazvem STATUS a jestli takovy je, tak zjisti jestli hodnota attributu "changed" je 1.
exists($Parse-XML-Message//*[local-name()="STATUS"][@changed=1])

// jen pro prime nasledniky
exists($Parse-XML-Message/pfx:MXWOInterface/pfx:Content/pfx:MXWO/pfx:WORKORDER/*[local-name()='CHANGEBY'][@changed=1])
</pre>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/06/01/zjisteni-hodnoty-attributu-v-xml-pomoci-xpath-vyrazu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aktualizace .tra souborů v TIBCU</title>
		<link>http://vkrejcirik.info/2011/03/29/aktualizace-tra-souboru-v-tibcu/</link>
		<comments>http://vkrejcirik.info/2011/03/29/aktualizace-tra-souboru-v-tibcu/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 10:21:56 +0000</pubDate>
		<dc:creator>Krejcirik Vladislav</dc:creator>
				<category><![CDATA[Programování]]></category>
		<category><![CDATA[Tibco]]></category>

		<guid isPermaLink="false">http://vkrejcirik.info/?p=259</guid>
		<description><![CDATA[Konfigurační soubory TIBCO produktů mají defaultně nastavené jre cesty na javu, která je přiložená k instalaci (tibcojre). Bohužel tato verze v některých systémech nefunguje (u mě například v CentOS). Jsou dvě možnosti. Buď ručně projít všechny produkty a v bin adresářích ručně upravit všechny .tra soubory, nebo použít nástroj traUpgradeManager, který je součásti instalace TRA. [...]]]></description>
			<content:encoded><![CDATA[<p>Konfigurační soubory TIBCO produktů mají defaultně nastavené jre cesty na javu, která je přiložená k instalaci (tibcojre). Bohužel tato verze v některých systémech nefunguje (u mě například v CentOS). Jsou dvě možnosti. Buď ručně projít všechny produkty a v bin adresářích ručně upravit všechny .tra soubory, nebo použít nástroj <strong>traUpgradeManager</strong>, který je součásti instalace <strong>TRA</strong>. Nástroj se používá následovně:</p>
<pre name="code" class="xml">
./traUpgradeManager -path ~/TIBCO -jre /usr/java/jdk1.6.0_24/jre
</pre>
]]></content:encoded>
			<wfw:commentRss>http://vkrejcirik.info/2011/03/29/aktualizace-tra-souboru-v-tibcu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

