<?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>goran mitev &#187; Tips &amp; Tricks</title>
	<atom:link href="http://goranmitev.com/category/tips-tricks/feed" rel="self" type="application/rss+xml" />
	<link>http://goranmitev.com</link>
	<description>Freelance PHP/Ajax Web Developer and Wordpress Expert</description>
	<lastBuildDate>Tue, 10 May 2011 20:09: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>Set mysql password after install</title>
		<link>http://goranmitev.com/set-mysql-password-after-install</link>
		<comments>http://goranmitev.com/set-mysql-password-after-install#comments</comments>
		<pubDate>Wed, 23 Mar 2011 08:53:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://goranmitev.com/?p=279</guid>
		<description><![CDATA[mysqladmin -u root password new-password]]></description>
			<content:encoded><![CDATA[<pre>mysqladmin -u root password new-password</pre>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/set-mysql-password-after-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formatting date values returned from MYSQL table to more readable format including time</title>
		<link>http://goranmitev.com/formatting-date-values-returned-from-mysql-table-to-more-readable-format-including-time</link>
		<comments>http://goranmitev.com/formatting-date-values-returned-from-mysql-table-to-more-readable-format-including-time#comments</comments>
		<pubDate>Tue, 01 Mar 2011 15:17:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://goranmitev.com/?p=271</guid>
		<description><![CDATA[echo date("d-m-Y : G-i",strtotime('2011-02-26 09:47:11');]]></description>
			<content:encoded><![CDATA[<pre name="code" class="php">
echo date("d-m-Y : G-i",strtotime('2011-02-26 09:47:11');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/formatting-date-values-returned-from-mysql-table-to-more-readable-format-including-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easiest &#8220;check all&#8221; with jQuery</title>
		<link>http://goranmitev.com/easiest-check-all-with-jquery</link>
		<comments>http://goranmitev.com/easiest-check-all-with-jquery#comments</comments>
		<pubDate>Thu, 13 Jan 2011 12:35:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://goranmitev.com/?p=239</guid>
		<description><![CDATA[The jquery code: &#60;script type="text/javascript"&#62; $(function () { $('.checkall').click(function () { $('.chk').attr('checked', this.checked); }); }); &#60;/script&#62; The html: &#60;input type="checkbox" class="checkall"/&#62; &#60;input type="checkbox" value="1" class="chk"/&#62; &#60;input type="checkbox" value="2" class="chk"/&#62; &#60;input type="checkbox" value="3" class="chk"/&#62; &#60;input type="checkbox" value="4" class="chk"/&#62;]]></description>
			<content:encoded><![CDATA[<p>The jquery code:</p>
<pre name="code" class="javascript">&lt;script type="text/javascript"&gt;
$(function () {
    $('.checkall').click(function () {
        $('.chk').attr('checked', this.checked);
    });
});
&lt;/script&gt;</pre>
<p>The html:</p>
<pre name="code" class="html">&lt;input type="checkbox" class="checkall"/&gt;
&lt;input type="checkbox" value="1" class="chk"/&gt;
&lt;input type="checkbox" value="2" class="chk"/&gt;
&lt;input type="checkbox" value="3" class="chk"/&gt;
&lt;input type="checkbox" value="4" class="chk"/&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/easiest-check-all-with-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No sound in Pidgin in openSuse 11.2</title>
		<link>http://goranmitev.com/no-sound-in-pidgin-in-opensuse-11-2</link>
		<comments>http://goranmitev.com/no-sound-in-pidgin-in-opensuse-11-2#comments</comments>
		<pubDate>Tue, 03 Aug 2010 21:12:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[pidgin]]></category>

		<guid isPermaLink="false">http://goranmitev.com/?p=144</guid>
		<description><![CDATA[If none of the options available produce sound in Pidgin, choose command and enter aplay %s.]]></description>
			<content:encoded><![CDATA[<p>If none of the options available produce sound in Pidgin, choose <strong>command </strong>and enter <strong>aplay %s.</strong></p>
<p><strong><br />
</strong></p>
<p style="text-align: center;"><strong><img class="size-full wp-image-147 aligncenter" title="snapshot1" src="http://goranmitev.com/wp-content/uploads/2010/08/snapshot1.png" alt="" width="591" height="472" /><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/no-sound-in-pidgin-in-opensuse-11-2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS shorthands</title>
		<link>http://goranmitev.com/css-shorthands</link>
		<comments>http://goranmitev.com/css-shorthands#comments</comments>
		<pubDate>Tue, 08 Dec 2009 09:16:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://goranmitev.ispraznise.com/?p=7</guid>
		<description><![CDATA[There is no official documentation about CSS shorthands but they are there and some of you know them, some of you not. I tried to make a list of CSS shorthands, that may be of use by anyone. background A typical shorthand: background: #FFFFFF url(image.jpg) no-repeat scroll top left; Available background properties: background-color transparent hexadecimal [...]]]></description>
			<content:encoded><![CDATA[<p>There is no official documentation about CSS shorthands but they are there and some of you know them, some of you not.   I tried to make a list of CSS shorthands, that may be of use by anyone.</p>
<p><span id="more-7"></span></p>
<h3>background</h3>
<h4>A typical shorthand:</h4>
<pre>background: #FFFFFF url(image.jpg) no-repeat scroll top left;</pre>
<h4>Available background properties:</h4>
<ul>
<li> background-color
<ul>
<li>transparent</li>
<li>hexadecimal from #000000 to #FFFFFF</li>
<li> predefined colors like: blue, red, green, etc. (with letters)</li>
<li>rgb(X,X,X)  where X is a number from 0 to 255</li>
</ul>
</li>
<li> background-image
<ul>
<li>none</li>
<li>url(URI)  where URI can be relative or absolute path to your image</li>
</ul>
</li>
<li> background-repeat
<ul>
<li>no-repeat</li>
<li>repeat-x</li>
<li>repeat-y</li>
<li>repeat (includes both: repeat-x and repeat-y)</li>
</ul>
</li>
<li> background-attachment
<ul>
<li>scroll</li>
<li>fixed</li>
</ul>
</li>
<li> background-position
<ul>
<li>top left</li>
<li>top right</li>
<li>top center</li>
<li>bottom left</li>
<li>bottom right</li>
<li>bottom center</li>
<li>center left</li>
<li>center right</li>
<li>center center</li>
<li>0 0</li>
</ul>
</li>
</ul>
<h4>Defaults to:</h4>
<pre>background: transparent none no-repeat scroll 0 0;</pre>
<p>That means if you left out any of the properties, the others will have these values.</p>
<h3>font</h3>
<h4>A typical shorthand:</h4>
<pre>font: normal normal bold 1em/1.2em georgia,"times new roman",serif;</pre>
<h4>Available font properties:</h4>
<ul>
<li> font-style
<ul>
<li>normal</li>
<li>italic</li>
<li> inherit</li>
<li>oblique</li>
</ul>
</li>
<li> font-variant
<ul>
<li>inherit</li>
<li>normal</li>
<li>small-caps</li>
</ul>
</li>
<li> font-weight
<ul>
<li>normal</li>
<li>bold</li>
<li>bolder</li>
<li>lighter</li>
<li>inherit</li>
</ul>
</li>
<li>font-size
<ul>
<li>xx-small</li>
<li>x-small</li>
<li>small</li>
<li>medium</li>
<li>large</li>
<li>larger</li>
<li>x-large</li>
<li>xx-large</li>
<li>number+unit</li>
</ul>
</li>
<li>line-height
<ul>
<li>normal</li>
<li>number+unit</li>
</ul>
</li>
<li>font-family
<ul>
<li>(list of fonts)</li>
</ul>
</li>
</ul>
<h3>margin and padding</h3>
<p>The margin and the padding are the easiest and the rules go clockwise:</p>
<p>margin: (top) (right) (bottom) (left);</p>
<h4 style="font-size: 1.17em;">A typical shorthands (examples):</h4>
<p>This adds 10px margin on all sides of the element:</p>
<pre>margin: 10px 10px 10px 10px;</pre>
<p>This also, adds 10px margin on all sides of the element</p>
<pre>margin: 10px;</pre>
<p>This adds 10px margin to top and bottom and a 20px margin to left and right:</p>
<pre>margin: 10px 20px;</pre>
<p>Also any combination of number and measurement unit is possible.</p>
<p>The same rules apply for padding as well.</p>
<h3>border</h3>
<h4 style="font-size: 1.17em;">A typical shorthand:</h4>
<pre>border: 1px solid blue;</pre>
<h4 style="font-size: 1.17em;">Available border properties:</h4>
<ul>
<li>border-width: number+unit;</li>
<li>border-style:
<ul>
<li>solid;</li>
<li>dotted;</li>
<li>dashed;</li>
<li>hidden</li>
<li>none</li>
<li>double</li>
<li>groove etc.</li>
</ul>
</li>
<li>border-color:
<ul>
<li>none</li>
<li>hexadecimal from #000000 to #FFFFFF</li>
<li>predefined colors like: blue, red, green, etc. (with letters)</li>
<li>rgb(X,X,X)  where X is a number from 0 to 255</li>
</ul>
</li>
</ul>
<h3>list-style</h3>
<h4 style="font-size: 1.17em;">A typical shorthand:</h4>
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">list-style: disc outside url(image.gif);</pre>
<h4 style="font-size: 1.17em;">Available list-style properties:</h4>
<ul>
<li>list-style-type
<ul>
<li>disc</li>
<li>square</li>
<li>circle</li>
<li>decimal</li>
<li>georgian</li>
<li>etc</li>
</ul>
</li>
<li>list-style-position
<ul>
<li>inside</li>
<li>outside</li>
</ul>
</li>
<li>list-style-image:
<ul>
<li>none</li>
<li>url</li>
</ul>
</li>
</ul>
<h4 style="font-size: 1.17em;">Defaults to:</h4>
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">list-style: disc outside none;</pre>
<p>There are other shorthand out there, but are less used. Any comments are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/css-shorthands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend phpMyAdmin Session Timeout Value</title>
		<link>http://goranmitev.com/extend-phpmyadmin-session-timeout-value</link>
		<comments>http://goranmitev.com/extend-phpmyadmin-session-timeout-value#comments</comments>
		<pubDate>Tue, 08 Dec 2009 09:15:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://goranmitev.ispraznise.com/?p=5</guid>
		<description><![CDATA[Locate your phpmyadmin installation folder. Then open config.inc.php file and enter this line: $cfg['LoginCookieValidity'] = 3600 * 3; This line of code extends your phpmyadmin session for 3 hours. Make sure your config.inc.php file is writable, to do this change. Then you can make it unwritable again.]]></description>
			<content:encoded><![CDATA[<p>Locate your phpmyadmin installation folder. Then open config.inc.php file and enter this line:</p>
<pre name="code" class="php">$cfg['LoginCookieValidity'] = 3600 * 3;</pre>
<p>This line of code extends your phpmyadmin session for 3 hours.</p>
<p>Make sure your config.inc.php file is writable, to do this change. Then you can make it unwritable again.</p>
]]></content:encoded>
			<wfw:commentRss>http://goranmitev.com/extend-phpmyadmin-session-timeout-value/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

