<?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>L0cke&#039;s playground</title>
	<atom:link href="http://l0cke.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://l0cke.wordpress.com</link>
	<description>my private technical corner...and some more</description>
	<lastBuildDate>Mon, 02 Jan 2012 02:23:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='l0cke.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>L0cke&#039;s playground</title>
		<link>http://l0cke.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://l0cke.wordpress.com/osd.xml" title="L0cke&#039;s playground" />
	<atom:link rel='hub' href='http://l0cke.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Tplink wireless  card tl-wn722n with ubuntu 10.04 lts</title>
		<link>http://l0cke.wordpress.com/2012/01/02/tplink-wireless-card-tl-wn722n-with-ubuntu-10-04-lts/</link>
		<comments>http://l0cke.wordpress.com/2012/01/02/tplink-wireless-card-tl-wn722n-with-ubuntu-10-04-lts/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 00:23:52 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=618</guid>
		<description><![CDATA[I bought wireless usb card tl-wn722n. It worked flawlessly with windows xp on my very old toshiba l20-182 laptop. But I&#8217;ve reinstalled the system, and now toshiba is working with ubuntu 10.04 LTS. I was trying many of the configurations found on the web, but didn&#8217;t found one, that was exactly working (without any other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=618&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I bought wireless usb card tl-wn722n. It worked flawlessly with windows xp on my very old toshiba l20-182 laptop. But I&#8217;ve reinstalled the system, and now toshiba is working with ubuntu 10.04 LTS. I was trying many of the configurations found on the web, but didn&#8217;t found one, that was exactly working (without any other part from other posts down there). So this post is only for memo, how to install this specific card on my toshiba l20-182 with ubuntu 10.04 LTS on it. </p>
<ol>
<li> Download following tar package : <a href="http://www.mediafire.com/?8hkghqsaxnl9p4i" title="http://www.mediafire.com/?8hkghqsaxnl9p4i">http://www.mediafire.com/?8hkghqsaxnl9p4i</a> </li>
<li>Unzip this package into for example ~/instals/tplink</li>
<li>Copy files with extension .fw (so ar9271.fw, htc_7010.fw, htc_9271.fw) to /lib/firmware/</li>
<li>Extract compat-wireless-2.6.38.2-2.tar.bz2</li>
<li>Go to folder where you have extracted tar file from point 4</li>
<li>from terminal run : $ ./scripts/driver-select ath9k_htc</li>
<li>then : $ sudo make</li>
<li>then : $ sudo make install</li>
<li>now this is very important !!!! &#8211; after update (with update manager) something went wrong and the whole install of atheros was broken, usb card was working for about 2 minutes and then broke down. And I had to reinstall the system again, to get the card running again. So <strong>don&#8217;t update the system yet! I will update this post after figuring out why and which package after update broke the wireless usb card functionality</strong>. Without update of the system everything is running flawlessly. </li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/618/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=618&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2012/01/02/tplink-wireless-card-tl-wn722n-with-ubuntu-10-04-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>CabSetupCreator</title>
		<link>http://l0cke.wordpress.com/2011/12/14/cabsetupcreator/</link>
		<comments>http://l0cke.wordpress.com/2011/12/14/cabsetupcreator/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 21:08:27 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[eclipse RCP]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=604</guid>
		<description><![CDATA[Lately on current project we needed a tool, that will take our implemented classes, files and libraries, pack them all into one .cab file, which could be then installed on the remote WinCE/WM device. Well, there is such tool. It is called QuickCab. It has newest version 2.0. But the problem is, this is free [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=604&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately on current project we needed a tool, that will take our implemented classes, files and libraries, pack them all into one .cab file, which could be then installed on the remote WinCE/WM device. Well, there is such tool. It is called QuickCab. It has newest version 2.0. But the problem is, this is free for non-commercial use. So my customer had to buy this. Okey, price was not so high at all, so we decided to test this. And it didn&#8217;t help us a lot, because there were some bugs in it, like for example when you copied whole directory, the files in that directory went to first directory, that was nested in copied directory&#8230;well in summary we were not decided to use it. And it&#8217;s okey. We said, we don&#8217;t have such a lot files at all, we can for our first tests simply copy the files on the device and it will also work. But this was annoying me all the time (so the last week). This &#8220;copy thing&#8221;, it just don&#8217;t look good. I mean, okey we can do it during development, especially when someone changes 1 .jar file, so we have to override 1 .jar file on the device, and that&#8217;s it. But finally we will need such tool, that will create .cab files thought. So I&#8217;ve started to explore internet on the last weekend to find out, what are our options. Well&#8230;.there aren&#8217;t so large. When someone offers .cab file creator, then it appears that this is free-trial-version for personal use, or something like this&#8230;So, I thought, okey&#8230;We need a tool, which will take those files we need (mostly jars and JNI libraries) and create from them an inf-file, which can be then used to create .cab-file with Microsoft&#8217;s cabwizard. It didn&#8217;t sound so bad on saturday morning (about 9:00). I went at hotels restaurant, eat my breakfast, went back to my room, and tought&#8230;ok&#8230;we are developing in java, using eclipse&#8230;hmmm&#8230;I thought this is not a bad idea to create a tool integrated with our environment&#8230;so the right answer was of course eclipse RCP.</p>
<p>So, the effect of this 2 days work at weekend is below. This is the first version of the tool, so be gentle with your comments and opinions. First of all it takes what was good in quickcab &#8211; GUI organisation, but it is whole new project, and everything was designed from nothing. So, I didn&#8217;t re-engineered quickcab (quickcab works on .NET), cabsetupcreator works on eclipse RCP <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Those are whole different stories.</p>
<p>Cabsetupcreator in version 1.0 has 4 main views :</p>
<p><strong>DeviceFilesView</strong> &#8211; where you simply organise your devices directory/files structure, by creating directories or simply &#8220;adding&#8221; files from your local PC to devices directories/files structure :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/12/01_devicefilesview.png?w=630" alt="" /></p>
<p>New added files are shown in red foreground color.</p>
<p><strong>ShortcutsView</strong> &#8211; this is where you organise your shortcuts, name it and so on. You can create shortcuts from the files you copied into devices directory/files tree structure in DeviceFilesView :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/12/02_shortcutsview.png?w=630" alt="" /></p>
<p>New added shortcuts are shown in red foreground color.</p>
<p><strong>RegisterView</strong> &#8211; here you organise your register entry. You can add new keys, values to keys and so on.</p>
<p><img src="http://l0cke.files.wordpress.com/2011/12/03_registerview.png?w=630" alt="" /></p>
<p>New register entries are shown in red foreground.</p>
<p><strong>CreateView</strong> &#8211; here you simply choose application name (it&#8217;s needed for cabwizard, so don&#8217;t forget about it), provider (this is also a must), then you choose where your cab file should be created, and you give the path to the cabwizard. If you don&#8217;t have cabwizard then don&#8217;t worry. Only inf-file will be created. You can borrow cabwizard from your buddy in front of you (who have MS Visual Studio), and generate your .cab file.</p>
<p><img src="http://l0cke.files.wordpress.com/2011/12/04_createview.png?w=630" alt="" /></p>
<p>Okey, I think that&#8217;s all&#8230;</p>
<p>Ah, yes&#8230;installation notes and links&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>REQUIREMENTS:</strong></p>
<p>1. you have to have<strong> eclipse RCP</strong> running version (I&#8217;ve used eclipse indigo 3.7 for RCP and RAP developers), so you can download it from eclipse page</p>
<p>2. you have to have <strong>jdk(jre) 1.5 at least</strong> , but if you are java developer you know, what I mean</p>
<p><strong>INSTALATION :</strong></p>
<p>1. Download eclipse .jar plugin from <a title="CabSetupCreator_1.0.0.201112132306.jar" href="http://www.mediafire.com/?21v7nzz59zcznx6">CabSetupCreator_1.0.0.201112132306.jar</a></p>
<p>2. Copy this file to eclipse&#8217;s plugin directory</p>
<p>3. start/restart eclipse</p>
<p>4. choose perspective -&gt; CabSetupCreator</p>
<p>YOU CAN CREATE .CAB FILES (or at least inf-files, if you don&#8217;t have cabwizard) AUTOMATICALLY.</p>
<p>CabSetupCreator is free for use (personal/business or both <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Thanx in advance for any comments about it (if you successfuly launch it).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/604/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=604&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/12/14/cabsetupcreator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>

		<media:content url="http://l0cke.files.wordpress.com/2011/12/01_devicefilesview.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/12/02_shortcutsview.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/12/03_registerview.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/12/04_createview.png" medium="image" />
	</item>
		<item>
		<title>Remote debugging of the Java application running on the Windows Mobile</title>
		<link>http://l0cke.wordpress.com/2011/11/11/remote-debugging-of-the-java-application-running-on-the-windows-mobile/</link>
		<comments>http://l0cke.wordpress.com/2011/11/11/remote-debugging-of-the-java-application-running-on-the-windows-mobile/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 23:34:32 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=596</guid>
		<description><![CDATA[This article describes how to remotely debug running Java application  on the Windows Mobile : Java remote debugging on mobile device<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=596&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article describes how to remotely debug running Java application  on the Windows Mobile :</p>
<p><a href="http://l0cke.files.wordpress.com/2011/11/java-remote-debugging-on-mobile-device.pdf">Java remote debugging on mobile device</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/596/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=596&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/11/11/remote-debugging-of-the-java-application-running-on-the-windows-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>Serial communication on Windows Mobile 6 and gnu WinCE port to serial communication</title>
		<link>http://l0cke.wordpress.com/2011/11/11/serial-communication-on-windows-mobile-6-and-gnu-wince-port-to-serial-communication/</link>
		<comments>http://l0cke.wordpress.com/2011/11/11/serial-communication-on-windows-mobile-6-and-gnu-wince-port-to-serial-communication/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 23:22:37 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=591</guid>
		<description><![CDATA[Lately I needed a WinCE port for the serial communication with Java which will work on mobile device with Windows Mobile 6. This is done with WinCE port to rxtxSerial done by Michal Hobot. The problem is, there is not patched serial dll binary on his home page (patched for the gnu_io_port is already in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=591&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately I needed a WinCE port for the serial communication with Java which will work on mobile device with Windows Mobile 6. This is done with WinCE port to rxtxSerial done by Michal Hobot. The problem is, there is not patched serial dll binary on his home page (patched for the gnu_io_port is already in sources, but obviously no one has compiled it since 2002 &#8211; at least I didn&#8217;t found the binaries on the net &#8211; there are those from 2002, which give you problems when trying to flush the port). And the newest rxtxSerial for WinCE is not build with the newest original rxtxSerial. So you have to build it yourself. The description how to do this is below.</p>
<p><a href="http://l0cke.files.wordpress.com/2011/11/rxtxserial-with-windows-mobile.pdf">rxtxSerial with windows mobile</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/591/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=591&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/11/11/serial-communication-on-windows-mobile-6-and-gnu-wince-port-to-serial-communication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>myBatis, derby and eclipse RCP</title>
		<link>http://l0cke.wordpress.com/2011/11/05/mybatis-derby-and-eclipse-rcp/</link>
		<comments>http://l0cke.wordpress.com/2011/11/05/mybatis-derby-and-eclipse-rcp/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 09:30:02 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[eclipse RCP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=585</guid>
		<description><![CDATA[Lately I was working on an eclipse RCP application that uses myBatis for ORM. And I decided to write a small tutorial on how to bind myBatis + derby + eclipse RCP together. This is small tutorial for beginners. You can read it from here : binding mybatis and eclipse RCP Source code for this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=585&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately I was working on an eclipse RCP application that uses myBatis for ORM. And I decided to write a small tutorial on how to bind myBatis + derby + eclipse RCP together. This is small tutorial for beginners. You can read it from here :</p>
<p><a href="http://l0cke.files.wordpress.com/2011/11/binding-mybatis-and-eclipse-rcp.pdf">binding mybatis and eclipse RCP</a></p>
<p>Source code for this is under following link :</p>
<p><a title="Source code for the tutorial" href="http://www.mediafire.com/?6mstz3tu3n4krk8">Source code for the tutorial</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/585/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=585&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/11/05/mybatis-derby-and-eclipse-rcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>Java image annotation tool</title>
		<link>http://l0cke.wordpress.com/2011/11/04/java-image-annotation-tool/</link>
		<comments>http://l0cke.wordpress.com/2011/11/04/java-image-annotation-tool/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:02:27 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=583</guid>
		<description><![CDATA[I was looking for something similar as greenshot application for my linux OS. And hopefully someone was already so clever, and did such thing in Java. It&#8217;s called JShot. You can download it from here : http://jshot.info/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=583&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was looking for something similar as greenshot application for my linux OS. And hopefully someone was already so clever, and did such thing in Java. It&#8217;s called <strong>JShot</strong>. </p>
<p>You can download it from here : <a href="http://jshot.info/" title="http://jshot.info/">http://jshot.info/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/583/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=583&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/11/04/java-image-annotation-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>XXE Utils adjustments on linux</title>
		<link>http://l0cke.wordpress.com/2011/10/27/xxe-utils-adjustments-on-linux-2/</link>
		<comments>http://l0cke.wordpress.com/2011/10/27/xxe-utils-adjustments-on-linux-2/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 18:45:48 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=580</guid>
		<description><![CDATA[Problem description I had a problem with xslutils personal edition from XMLmind package on linux machine. When I entered my native language into programlisting (UTF-8) chars, like &#34;Ś&#34;, &#34;ą&#34;, &#34;ę&#34;, &#34;ł&#34;, there was always following problem in xslutils reported (see the picture below) : And although in the Preferences window I added to the FOP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=580&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Problem description</h4>
<p>I had a problem with <strong>xslutils</strong> personal edition from XMLmind package on linux machine. When I entered my native language into <strong>programlisting</strong> (UTF-8) chars, like &quot;Ś&quot;, &quot;ą&quot;, &quot;ę&quot;, &quot;ł&quot;, there was always following problem in xslutils reported (see the picture below) :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion1.png?w=630" /></p>
<p>And although in the Preferences window I added to the FOP converter corresponding Curier TTFs from msttcorefonts package :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion21.png?w=630" /></p>
<p>there was no way to convert native UTF-8 signs from xml document into pdf document. </p>
<h4>Problem solution</h4>
<p>After a while of testing and searching of <em>programlisting.font.family</em>, <em>listing.font.family</em> and so on in the params folder of the xslutils I was blightened. Eureka! You have to open the Edit dialog box from the main window :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion31.png?w=630" /></p>
<p>And from new dialog box that will appear you should select tab called <strong>Transform</strong> (1). Then press the button <strong>Add</strong> (3) and enter in the <strong>Name</strong> field : <em>monospace.font.family</em>, and in the <strong>Value</strong> field enter <em>serif</em>. So that, you will have something similar in the Edit dialog box as on the picture below :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion41.png?w=630" /></p>
<p>Now click OK button and try to convert your xml document once again. It&#8217;s working right now!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/580/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=580&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/10/27/xxe-utils-adjustments-on-linux-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>

		<media:content url="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion1.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion21.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion31.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/10/dbtopdfconversion41.png" medium="image" />
	</item>
		<item>
		<title>Cool eclipse RCP layout</title>
		<link>http://l0cke.wordpress.com/2011/10/22/cool-eclipse-rcp-layout/</link>
		<comments>http://l0cke.wordpress.com/2011/10/22/cool-eclipse-rcp-layout/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 17:44:36 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[eclipse RCP]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=566</guid>
		<description><![CDATA[By default eclipse comes with an old-fashioned layout design. What does it means? Well, perspective bar is not layed down on the right side in relation to cool bars. Views and editors parts have title in a rectangle (not nice-rounded), perspective bar is not resizable, take a look at this picture : And it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=566&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default eclipse comes with an old-fashioned layout design. What does it means? Well, perspective bar is not layed down on the right side in relation to cool bars. Views and editors parts have title in a rectangle (not nice-rounded), perspective bar is not resizable, take a look at this picture :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/old-fashioned_design.png?w=630" /></p>
<p>And it is okey, if you like the old-fashioned eclipse. But I don&#8217;t like it. Especially, when I have this opportunity, when I can do it look much better, with this cool resizable perspective bar, or rounded title tabs for views and editors. So, here is what you have to do, to make such layout :</p>
<ol>
<li>Right click on your main project</li>
<li>From the context menu choose : <strong>New</strong> -&gt; <strong>File</strong> </li>
<li>In the opened dialogbox write in the <strong>File name</strong> field a name of the customization file (for example mine is <em>serda_customization.ini</em>) &#8211; here be sure, that this file will be located in the root folder of the main project. And then click <strong>Finish</strong> button. </li>
</ol>
<p><img src="http://l0cke.files.wordpress.com/2011/10/serda_customization.png?w=630" /></p>
<p>Now edit this file and add following lines :</p>
<pre><code>
org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false
org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight
</code></pre>
<p>First line tells eclipse workbench to NOT use traditional style. This is were the titles of the view windows will be nice-rounded (not traditional = not rectangled).</p>
<p>Second line tells where to put perspective bar.</p>
<p>Of course, to use perspective bar, you have to activate it in the workbench window. So, open the class <strong>ApplicationWorkbenchWindowAdvisor</strong> and here in the method called <strong>preWindowOpen</strong> check if you have following lines of code :</p>
<pre><code>
configurer.setShowCoolBar(true);
configurer.setShowStatusLine(true);
configurer.setShowPerspectiveBar(true);
</code></pre>
<p>And now there is only one thing to do. You have to adjust your <strong>plugin.xml</strong> configuration file. So let&#8217;s open it. Click it twice in the <em>Package Explorer</em> view and go to the <strong>tab plugin.xml</strong> (this will edit the code of the file). Here, you have to locate the tag <strong>&lt;extension id=product point=&quot;org.eclipse.core.runtime.products&quot;</strong> &#8230; And in this extension you have to add new extension called &quot;<strong>preferenceCustomization</strong>&quot;. See the code listing below. It shows only the extracted extension with id &quot;product&quot; (THIS IS NOT THE WHOLE plugin.xml source, JUST the extension) :</p>
<pre><code>
&lt;extension
         id=&quot;product&quot;
         point=&quot;org.eclipse.core.runtime.products&quot;&gt;
      &lt;product
            application=&quot;Serda.application&quot;
            name=&quot;Simple Eclipse RCP Dictionary Application&quot;&gt;
         &lt;property
               name=&quot;windowImages&quot;
               value=&quot;icons/alt_window_16.gif,icons/alt_window_32.gif&quot;&gt;
         &lt;/property&gt;
         &lt;property
               name=&quot;preferenceCustomization&quot;
               value=&quot;serda_customization.ini&quot;&gt;
         &lt;/property&gt;
      &lt;/product&gt;
   &lt;/extension&gt;
</code></pre>
<p>And now just run the application. See the picture below for reference :</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/serda-new-design-layout.png?w=630" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/566/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/566/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/566/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=566&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/10/22/cool-eclipse-rcp-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>

		<media:content url="http://l0cke.files.wordpress.com/2011/10/old-fashioned_design.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/10/serda_customization.png" medium="image" />

		<media:content url="http://l0cke.files.wordpress.com/2011/10/serda-new-design-layout.png" medium="image" />
	</item>
		<item>
		<title>Centering eclipse RCP application window</title>
		<link>http://l0cke.wordpress.com/2011/10/22/centering-eclipse-rcp-application-window/</link>
		<comments>http://l0cke.wordpress.com/2011/10/22/centering-eclipse-rcp-application-window/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 17:01:21 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[eclipse RCP]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=560</guid>
		<description><![CDATA[When you start your eclipse RCP it is usually located in the top left corner of your screen. And it&#8217;s quite okey, if you like it so. I for example don&#8217;t like this kind of behaviour. I wanted, that this application window will be located in the center of the screen. So, here is what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=560&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you start your eclipse RCP it is usually located in the top left corner of your screen. And it&#8217;s quite okey, if you like it so. I for example don&#8217;t like this kind of behaviour. I wanted, that this application window will be located in the center of the screen. So, here is what we will do. </p>
<ol>
<li>Open the class <strong>ApplicationWorkbenchWindowAdvisor </strong></li>
<li>Add a method <strong>postWindowCreate </strong></li>
<li>Modify this method appropriate like in the listing code below</li>
</ol>
<p><code> </code></p>
<pre><code>
@Override
public void postWindowCreate() {
    super.postWindowCreate();
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    Shell shell = configurer.getWindow().getShell();
    Rectangle rectangle = configurer.getWindow().getWorkbench().getDisplay().getPrimaryMonitor().getBounds();

    int minWidth = 800;
    int minHeight = 600;
    int x = 400;
    int y = 100;

    if(rectangle.width &gt; 0) {
        x = (rectangle.width - minWidth) / 2;
        y = (rectangle.height - minHeight) / 2;
    }

    shell.setBounds(x, y, minWidth, minHeight);
}

</code></pre>
<p>And that&#8217;s it. Shortly speeking the most valuable line is here line : </p>
<p><code> </code></p>
<pre><code>
Rectangle rectangle = configurer.getWindow().getWorkbench().getDisplay().getPrimaryMonitor().getBounds();
</code></pre>
<p>This line gets bounds of the primary monitor. You could ask, why primary monitor? Is it not the same as : </p>
<p> <code> </code></p>
<pre><code>
configurer.getWindow().getWorkbench().getDisplay().getBounds();
</code></pre>
<p>Well, no. It could be the same. If you are sure, you, or someone, who uses your application is not going to use two monitors. If this is true. Then it&#8217;s okey. You could get the bounds for your application directly from display object. But, if someone, who likes it, will connect additional monitor to the machine, will get then &quot;interesting&quot; effect, when running this application. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/560/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=560&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/10/22/centering-eclipse-rcp-application-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting tools</title>
		<link>http://l0cke.wordpress.com/2011/10/22/interesting-tools/</link>
		<comments>http://l0cke.wordpress.com/2011/10/22/interesting-tools/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 11:00:21 +0000</pubDate>
		<dc:creator>l0cke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l0cke.wordpress.com/?p=556</guid>
		<description><![CDATA[Nano and vi replacement I like linux console. Maybe it&#8217;s because it is very flexible tool. And lately I was looking for console files editor, where you can use &#34;standard&#34; short cuts. In vim, or in nano, keyboard shortcuts to save edited file are sometimes&#8230;well&#8230;not so comfortable&#8230;(sorry for this to all vim and nano fans)&#8230;but, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=556&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Nano and vi replacement</h4>
<p>I like linux console. Maybe it&#8217;s because it is very flexible tool. And lately I was looking for console files editor, where you can use &quot;standard&quot; short cuts. In vim, or in nano, keyboard shortcuts to save edited file are sometimes&#8230;well&#8230;not so comfortable&#8230;(sorry for this to all vim and nano fans)&#8230;but, if you are a former-windows user, where CTRL+S was always save, and it is so in for example Eclipse IDE, or Open Office Writer, or whatever, then you simply miss this in console editors too. And guess what, I found something interesting. This editor is called <em>ne </em>. Simple, fair&#8230; And it has already some additional features&#8230;</p>
<p><img src="http://l0cke.files.wordpress.com/2011/10/ne_screen011.png?w=630" /></p>
<p>Below some useful keyboard shortcuts :</p>
<ul>
<li> <strong>ESC</strong> &#8211; shows menu</li>
<li> <strong>Left ALT + A</strong> &#8211; go to beginning of the text</li>
<li> <strong>Left ALT + E</strong> &#8211; go to end of the text</li>
<li> <strong>Left ALT + W</strong> &#8211; word wrap</li>
<li> <strong>CTRL + S</strong> &#8211; save file</li>
</ul>
<p align="left">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/l0cke.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/l0cke.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/l0cke.wordpress.com/556/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l0cke.wordpress.com&amp;blog=3135730&amp;post=556&amp;subd=l0cke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l0cke.wordpress.com/2011/10/22/interesting-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/36faccf9e13964ebf78b650f4a405b86?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">locke</media:title>
		</media:content>

		<media:content url="http://l0cke.files.wordpress.com/2011/10/ne_screen011.png" medium="image" />
	</item>
	</channel>
</rss>
