<?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>Technical stuff &#187; Quick and dirty</title>
	<atom:link href="http://www.tekkie.ro/category/quick-n-dirty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tekkie.ro</link>
	<description>Requirements are like water. They&#039;re easier to build on when they&#039;re frozen.</description>
	<lastBuildDate>Fri, 11 Jun 2010 11:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wireshark not listing interfaces on Mac OS X</title>
		<link>http://www.tekkie.ro/quick-n-dirty/wireshark-not-listing-interfaces-on-mac-os-x/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/wireshark-not-listing-interfaces-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 09:04:08 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=248</guid>
		<description><![CDATA[It&#8217;s a permission problem, please check here for the solution.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a permission problem, please check <a href="http://www.wireshark.org/lists/wireshark-users/200608/msg00014.html">here</a> for the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/wireshark-not-listing-interfaces-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating phone book from Nokia XpressMusic to Android using a Mac</title>
		<link>http://www.tekkie.ro/quick-n-dirty/migrating-phone-book-nokia-xpressmusic-android-using-mac/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/migrating-phone-book-nokia-xpressmusic-android-using-mac/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 02:45:29 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=238</guid>
		<description><![CDATA[Looks complicated, huh? Especially when people say there&#8217;s no real Mac-to-Android sync software.
But we&#8217;re all tekkies here, we solve stuff, and don&#8217;t complain about it   And we&#8217;re using free software to do it, yummy!
All you need is PhoneDirector to get your Nokia agenda on the Mac. Just install it and follow the instructions, [...]]]></description>
			<content:encoded><![CDATA[<p>Looks complicated, huh? Especially when people say there&#8217;s no real Mac-to-Android sync software.</p>
<p>But we&#8217;re all tekkies here, we solve stuff, and don&#8217;t complain about it <img src='http://www.tekkie.ro/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  And we&#8217;re using free software to do it, yummy!</p>
<p>All you need is <a title="PhoneDirector download and instructions" href="http://www.macmedia.sk/pd.htm">PhoneDirector</a> to get your Nokia agenda on the Mac. Just install it and follow the instructions, you should be just fine. After you get all this, export them into a .vcf file, we&#8217;ll need it in a moment.</p>
<p>Now, to get this info in the Android is really a piece of cake. Go to the Contacts settings in Gmail and import the .vcf file you generated with PhoneDirector. Then go to your Android phone and sync your contacts. Ta-da! Welcome to the Google world!</p>
<p>NB: if you&#8217;re having a hard time finding the Contacts in the Gmail app, like I did, look immediately under your labels list.</p>
<p>The above steps weren&#8217;t good for you? Then you might need to take a look at <a href="http://pwoodford.blogspot.com/2009/05/htc-magic-vodafone-contacts.html">this</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/migrating-phone-book-nokia-xpressmusic-android-using-mac/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to restore your Mac settings</title>
		<link>http://www.tekkie.ro/quick-n-dirty/how-to-restore-your-mac-settings/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/how-to-restore-your-mac-settings/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 23:38:19 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=234</guid>
		<description><![CDATA[If you installed a program which took the horrible approach of rewriting your .profile settings file and you discover you don&#8217;t have access to the shortcuts from your terminal anymore, here&#8217;s how to fix it:

open a terminal window and make sure you navigate to the home directory
cd ~
open your profile settings using the full path [...]]]></description>
			<content:encoded><![CDATA[<p>If you installed a program which took the horrible approach of rewriting your .profile settings file and you discover you don&#8217;t have access to the shortcuts from your terminal anymore, here&#8217;s how to fix it:</p>
<ul>
<li>open a terminal window and make sure you navigate to the home directory</li>
<pre>cd ~</pre>
<li>open your profile settings using the full path to your editor (I use nano):</li>
<pre>/usr/bin/nano .profile</pre>
<li>make sure your PATH setting contains at least the following information:</li>
<pre>export PATH=/usr/bin:/bin:</pre>
<li>make the shell reload your profile</li>
<pre>. ./.profile</pre>
</ul>
<p>Now we&#8217;re talking! You can <code>ls</code> and <code>sudo</code> again!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/how-to-restore-your-mac-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wget: filename too long</title>
		<link>http://www.tekkie.ro/quick-n-dirty/wget-filename-too-long/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/wget-filename-too-long/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 14:22:04 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=230</guid>
		<description><![CDATA[
wget -O short_name.ext "your URL"

  
]]></description>
			<content:encoded><![CDATA[<p><code><br />
wget -O short_name.ext "your URL"<br />
</code></p>
<p> <img src='http://www.tekkie.ro/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/wget-filename-too-long/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change your layout in Android landscape / portrait mode</title>
		<link>http://www.tekkie.ro/quick-n-dirty/how-to-change-your-layout-in-android-landscape-portrait-mode/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/how-to-change-your-layout-in-android-landscape-portrait-mode/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 19:12:30 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=226</guid>
		<description><![CDATA[In the res folder we are used to having a layout folder, in which we keep the XML files which describe our application&#8217;s layouts. This trick will show you how to improve the view in landscape or portrait mode, whichever you might need.
How do I quickly change my emulator from portrait to landscape and viceversa?
Use [...]]]></description>
			<content:encoded><![CDATA[<p>In the <code>res</code> folder we are used to having a <code>layout</code> folder, in which we keep the XML files which describe our application&#8217;s layouts. This trick will show you how to improve the view in landscape or portrait mode, whichever you might need.</p>
<h3>How do I quickly change my emulator from portrait to landscape and viceversa?</h3>
<p>Use <code>Ctrl + F11</code> to test around.</p>
<h3>Can I only improve the layout and use no extra code?</h3>
<p>The short answer is <strong>yes</strong>, definitely.</p>
<p>The layouts in <code>/res/layout</code> are applied to both portrait and landscape, unless you specify otherwise. Let&#8217;s assume we have <code>/res/layout/home.xml</code> for our homepage and we want it to look differently in the 2 layout types.</p>
<ol>
<li>create folder <code>/res/layout-land</code> (here you will keep your landscape adjusted layouts)</li>
<li>copy <code>home.xml</code> there</li>
<li>make necessary changes to it</li>
<li>run the application in the emulator and test it using the <code>Ctrl + F11</code> combination</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/how-to-change-your-layout-in-android-landscape-portrait-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use Android emulator debugging log</title>
		<link>http://www.tekkie.ro/quick-n-dirty/how-to-use-android-emulator-debugging-log/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/how-to-use-android-emulator-debugging-log/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 13:50:12 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=224</guid>
		<description><![CDATA[
Launch the emulator
wait until it finished loading
open up a terminal
use the following command: adb logcat

Don&#8217;t forget to have fun!
]]></description>
			<content:encoded><![CDATA[<ol>
<li>Launch the emulator</li>
<li>wait until it finished loading</li>
<li>open up a terminal</li>
<li>use the following command: <code>adb logcat</code></li>
</ol>
<p>Don&#8217;t forget to have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/how-to-use-android-emulator-debugging-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forced to develop on Windows? Need a better Putty?</title>
		<link>http://www.tekkie.ro/software/forced-to-develop-on-windows-need-a-better-putty/</link>
		<comments>http://www.tekkie.ro/software/forced-to-develop-on-windows-need-a-better-putty/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:53:22 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=206</guid>
		<description><![CDATA[I first used Putty Tray. But today I found a tabbed version, the Putty Connection Manager.
Both do get minimized in the taskbar, isn&#8217;t this cool?
]]></description>
			<content:encoded><![CDATA[<p>I first used <a title="Putty Tray" href="http://haanstra.eu/putty/">Putty Tray</a>. But today I found a tabbed version, the <a title="Putty Connection Manager" href="http://puttycm.free.fr/">Putty Connection Manager</a>.</p>
<p>Both do get minimized in the taskbar, isn&#8217;t this cool?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/software/forced-to-develop-on-windows-need-a-better-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick UML diagrams, on the fly</title>
		<link>http://www.tekkie.ro/quick-n-dirty/quick-uml-diagrams-on-the-fly/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/quick-uml-diagrams-on-the-fly/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 13:10:25 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=197</guid>
		<description><![CDATA[
You go to the yUml site and throw some data in the text box offered
Press &#8220;Generate the Diagram!&#8221;
Voila!

And here&#8217;s an example, as well:
[sourcecode]
http://yuml.me/diagram/scruffy;scale:60/usecase/[Admin]^[User Free], [Admin]^[User Premium], [Admin]-(note: Most privileged user), [User Free]-(note: No costs), [User Premium]-(note: Monthly subscription), [User Free]-(Login), [User Free]-(Logout) , [User Premium]-(Login), [User Premium]-(Logout) , (Login)&#60;(Reminder) , (Login)&#62;(Captcha).
[/sourcecode]

See it in action.
]]></description>
			<content:encoded><![CDATA[<ol>
<li>You go to the <a href="http://yuml.me/diagram/scruffy/usecase/draw">yUml site</a> and throw some data in the text box offered</li>
<li>Press &#8220;Generate the Diagram!&#8221;</li>
<li>Voila!</li>
</ol>
<p>And here&#8217;s an example, as well:</p>
<p>[sourcecode]</p>
<p>http://yuml.me/diagram/scruffy;scale:60/usecase/[Admin]^[User Free], [Admin]^[User Premium], [Admin]-(note: Most privileged user), [User Free]-(note: No costs), [User Premium]-(note: Monthly subscription), [User Free]-(Login), [User Free]-(Logout) , [User Premium]-(Login), [User Premium]-(Logout) , (Login)&lt;(Reminder) , (Login)&gt;(Captcha).</p>
<p>[/sourcecode]</p>
<p><img src="http://yuml.me/diagram/scruffy;scale:60/usecase/[Admin]^[User Free], [Admin]^[User Premium], [Admin]-(note: Most privileged user), [User Free]-(note: No costs), [User Premium]-(note: Monthly subscription), [User Free]-(Login), [User Free]-(Logout) , [User Premium]-(Login), [User Premium]-(Logout) , (Login)&lt;(Reminder) , (Login)&gt;(Captcha)." alt="example" /></p>
<p><a href="http://yuml.me/diagram/scruffy/usecase/[Admin]^[User Free], [Admin]^[User Premium], [Admin]-(note: Most privileged user), [User Free]-(note: No costs), [User Premium]-(note: Monthly subscription), [User Free]-(Login), [User Free]-(Logout) , [User Premium]-(Login), [User Premium]-(Logout) , (Login)&lt;(Reminder) , (Login)&gt;(Captcha).">See it in action.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/quick-uml-diagrams-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mySQL: find out distinct values of a column and the number of their occurrences</title>
		<link>http://www.tekkie.ro/software/mysql-find-out-distinct-values-column-number-their-occurrences/</link>
		<comments>http://www.tekkie.ro/software/mysql-find-out-distinct-values-column-number-their-occurrences/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 12:33:05 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[quickies]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=178</guid>
		<description><![CDATA[So, we need to find out different values of a column and the number of their occurrences. Let&#8217;s set up a small test first:

-- Step #1: prepare the ground
CREATE DATABASE IF NOT EXISTS `test`;

DROP TABLE IF EXISTS `test`.`test_count_distinct`;

CREATE TABLE `test`.`test_count_distinct` (
  `id` INT(11) NOT NULL auto_increment
      PRIMARY KEY,
  [...]]]></description>
			<content:encoded><![CDATA[<p>So, we need to find out different values of a column and the number of their occurrences. Let&#8217;s set up a small test first:</p>
<pre class="brush: sql">
-- Step #1: prepare the ground
CREATE DATABASE IF NOT EXISTS `test`;

DROP TABLE IF EXISTS `test`.`test_count_distinct`;

CREATE TABLE `test`.`test_count_distinct` (
  `id` INT(11) NOT NULL auto_increment
      PRIMARY KEY,
  `title` VARCHAR(50) NOT NULL DEFAULT &#039;&#039;,
  `date_created` TIMESTAMP NOT NULL DEFAULT 0,
  `date_updated` TIMESTAMP NOT NULL
      DEFAULT CURRENT_TIMESTAMP
      ON UPDATE CURRENT_TIMESTAMP
);

-- using NULL insert for a timestamp column is
--    just like using NOW()
-- @link http://dev.mysql.com/doc/refman/4.1/en/timestamp.html
INSERT INTO `test`.`test_count_distinct` ( `title`, `date_created` )
VALUES
  ( &#039;value&#039;,   NULL )
, ( &#039;value 1&#039;, NULL )
, ( &#039;value 2&#039;, NULL )
, ( &#039;value&#039;,   NULL )
, ( &#039;value 1&#039;, NULL )
, ( &#039;value 2&#039;, NULL )
, ( &#039;value&#039;,   NULL )
, ( &#039;value 3&#039;, NULL )
;
</pre>
<p>Now let&#8217;s find out how many different values are there in the `title` column, and how many times each value occurs:</p>
<pre class="brush: sql">
-- Step #2: do work
--          here is where we find out
--          different values of `title` and
--          the number of their occurrences
SELECT
        DISTINCT `t`.`title` AS `title`,
        COUNT( `t`.`title`) AS `cnt`
    FROM `test`.`test_count_distinct` t
    GROUP BY `title`
    ORDER BY `cnt` DESC
;
</pre>
<p>And the result will look like:</p>
<pre class="brush: sql">
+---------+-----+
| title   | cnt |
+---------+-----+
| value   |   3 |
| value 2 |   2 |
| value 1 |   2 |
| value 3 |   1 |
+---------+-----+
4 rows in set (0.00 sec)
</pre>
<p>You can get the code <a href="http://www.tekkie.ro/wp-content/uploads/2009/06/count_distinct.sql" title="mySQL code for count distinct test">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/software/mysql-find-out-distinct-values-column-number-their-occurrences/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 (codenamed Jaunty Jackalope) announced</title>
		<link>http://www.tekkie.ro/news/ubuntu-904-codename-jaunty-jackalope-announced/</link>
		<comments>http://www.tekkie.ro/news/ubuntu-904-codename-jaunty-jackalope-announced/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 09:49:45 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=142</guid>
		<description><![CDATA[ Tomorrow a new Ubuntu version will be released, 9.04. From the announced features, the ones I like most is the shipment of OpenOffice 3 (finally!) and a lot of feature enhancements to improve the user experience. The release nots are here.
]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.tekkie.ro/wp-content/gallery/operating-systems-01/ubuntu_9-04_announcement.png" title="" class="thickbox" rel="singlepic6" >
	<img class="ngg-singlepic" src="http://www.tekkie.ro/index.php?callback=image&amp;pid=6&amp;width=320&amp;height=240&amp;mode=" alt="ubuntu_9-04_announcement.png" title="ubuntu_9-04_announcement.png" />
</a>
 Tomorrow a new Ubuntu version will be released, 9.04. From the announced features, the ones I like most is the shipment of OpenOffice 3 (finally!) and a lot of feature enhancements to improve the user experience. The release nots are <a title="Ubuntu 9.04 (Jaunty Jackalope) release notes" href="http://www.ubuntu.com/getubuntu/releasenotes/904">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/news/ubuntu-904-codename-jaunty-jackalope-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
