<?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>Sat, 26 Nov 2011 11:35:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to fix assets in Symfony2</title>
		<link>http://www.tekkie.ro/quick-n-dirty/how-to-fix-assets-in-symfony2/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/how-to-fix-assets-in-symfony2/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 10:30:28 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[quickies]]></category>
		<category><![CDATA[symfony2]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=288</guid>
		<description><![CDATA[Did you forget to php app/console assets:install web/ ? Make sure you start your assets in symfony2 journey from this introductory Assetic presentation.]]></description>
			<content:encoded><![CDATA[<p>Did you forget to</p>
<pre>php app/console assets:install web/</pre>
<p>?</p>
<p>Make sure you start your assets in symfony2 journey from this <a title="&quot;Introducing Assetic: Asset Management for PHP 5.3&quot; on Slideshare" href="http://www.slideshare.net/kriswallsmith/introducing-assetic-asset-management-for-php-53">introductory Assetic presentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/how-to-fix-assets-in-symfony2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL install on Mac creates no user, how to get access as root</title>
		<link>http://www.tekkie.ro/quick-n-dirty/mysql-install-mac-no-user-get-access-root/</link>
		<comments>http://www.tekkie.ro/quick-n-dirty/mysql-install-mac-no-user-get-access-root/#comments</comments>
		<pubDate>Fri, 20 May 2011 20:28:13 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Computer setup]]></category>
		<category><![CDATA[Quick and dirty]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=282</guid>
		<description><![CDATA[So, you installed mySql on your Mac and there&#8217;s no way to work with it, create DBs, and do any other task you need because it has no privileges? You may either not be able to connect at all (even mysql -u root fails in your case) or you can connect, but your command-line mysql [...]]]></description>
			<content:encoded><![CDATA[<p>So, you installed mySql on your Mac and there&#8217;s no way to work with it, create DBs, and do any other task you need because it has no privileges?</p>
<p>You may either not be able to connect at all (even mysql -u root fails in your case) or you can connect, but your command-line mysql tells you something like:<br />
<code><br />
mysql&gt; use information_schema<br />
Database changed<br />
mysql&gt; select * from USER_PRIVILEGES;<br />
+----------------+---------------+----------------+--------------+<br />
| GRANTEE        | TABLE_CATALOG | PRIVILEGE_TYPE | IS_GRANTABLE |<br />
+----------------+---------------+----------------+--------------+<br />
| ''@'localhost' | def           | USAGE          | NO           |<br />
+----------------+---------------+----------------+--------------+<br />
1 row in set (0.00 sec)</code></p>
<p><code> </code></p>
<p>Let&#8217;s see what we can do to fix that and get you working on more important things.</p>
<p>1. If the mysqld server is already running on your Mac, stop it first with:</p>
<p><code>launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist</code></p>
<p>2. Start the mysqld server with the following command which lets anyone log in with full permissions.</p>
<p><code>mysqld_safe --skip-grant-tables</code></p>
<p>3. Run <code>mysql -u root</code> to log in successfully without a password.</p>
<p>4. Reset all the root passwords. Make sure to replace &#8216;NewPassword&#8217; with something more secure.</p>
<p><code>UPDATE mysql.user SET Password=PASSWORD('NewPassword') WHERE User='root'; FLUSH PRIVILEGES;</code></p>
<p>5. Because writing your scripts with root access is not a good practice, make yourself a favor and create a new user now, using a command like<br />
<code>grant all on *.* to 'your_username_here'@'localhost' identified by 'your_favorite_password_here';<br />
</code><br />
6. Kill the running copy of mysqld_safe. <code>sudo killall -9 mysqld</code> Phew.</p>
<p>7. Start mysql again without the skip-grant-tables option:</p>
<p>8. You should be able to log in with <code>mysql -u root -p</code> and the new password you just set and also with the user that you created before.</p>
<p>That was simple, wasn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/quick-n-dirty/mysql-install-mac-no-user-get-access-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hCard brief introduction</title>
		<link>http://www.tekkie.ro/resources/hcard-brief-introduction/</link>
		<comments>http://www.tekkie.ro/resources/hcard-brief-introduction/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 22:24:58 +0000</pubDate>
		<dc:creator>Georgiana</dc:creator>
				<category><![CDATA[Quick and dirty]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[hCard]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[online tools]]></category>
		<category><![CDATA[quickies]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.tekkie.ro/?p=262</guid>
		<description><![CDATA[Below you can find a brief list to get you started. reading start point, have a look at some examples, or simply generate yours for more advanced information, refer to the semanticweb.org validate it place a link to http://h2vx.com/vcf/your.website.com/contact-page/ or to http://feeds.technorati.com/contacts/http://your.website.com/contact-page/ , replacing your.website.com/contact-page/ with your correct online URL discover hCards in the web [...]]]></description>
			<content:encoded><![CDATA[<p>Below you can find a brief list to get you started.</p>
<ul>
<li><a title="hCard starting point on microformats.org" href="http://microformats.org/wiki/hcard">reading start point</a>, have a look at <a title="hCard examples on microformats.org" href="http://microformats.org/wiki/hcard-examples">some</a> <a title="real-life usage of hCards" href="http://microformats.org/wiki/hcard-examples-in-wild">examples</a>, or simply <a title="hCard creator on microformats.org" href="http://microformats.org/code/hcard/creator">generate yours</a></li>
<li>for more advanced information, refer to the <a href="http://semanticweb.org/wiki/HCard">semanticweb.org</a></li>
<li><a title="hCard validator" href="http://hcard.geekhood.net/">validate it</a></li>
<li>place a link to
<pre>http://h2vx.com/vcf/your.website.com/contact-page/</pre>
<p>or to</p>
<pre>http://feeds.technorati.com/contacts/http://your.website.com/contact-page/</pre>
<p>, replacing</p>
<pre>your.website.com/contact-page/</pre>
<p>with your correct online URL</li>
<li>discover hCards in the web pages you crawl with the <a href="https://addons.mozilla.org/en-US/firefox/addon/3886/">Semantic Radar</a> or  <a href="https://addons.mozilla.org/en-US/firefox/addon/2240/">Tails Export</a> add-ons for Firefox</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tekkie.ro/resources/hcard-brief-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 [...]]]></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 [...]]]></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>
	</channel>
</rss>

