<?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>Adil&#039;s blog &#187; Tips &amp; tricks</title>
	<atom:link href="http://adil.az/category/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://adil.az</link>
	<description>Blog about web-development.</description>
	<lastBuildDate>Thu, 29 Mar 2012 04:48:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Crop images using mask on PHP</title>
		<link>http://adil.az/php/crop-images-using-mask-on-php/</link>
		<comments>http://adil.az/php/crop-images-using-mask-on-php/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 12:58:17 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & tricks]]></category>

		<guid isPermaLink="false">http://adil.az/?p=171</guid>
		<description><![CDATA[<a href="http://adil.az/php/crop-images-using-mask-on-php/" title="Crop images using mask on PHP"></a><a href="http://adil.az/php/crop-images-using-mask-on-php/" title="Crop images using mask on PHP"></a>Sometimes the rectangle images are not enough from the design point view. You can crop images using the masks on Photoshop, GIMP or other graphical manipulation software. Another way to do it is using PHP&#8217;s GD library. Conceptual steps for &#8230;<p class="read-more"><a href="http://adil.az/php/crop-images-using-mask-on-php/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/php/crop-images-using-mask-on-php/' addthis:title='Crop images using mask on PHP ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/php/crop-images-using-mask-on-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Redmine on cPanel</title>
		<link>http://adil.az/uncategorized/installing-redmine-on-cpanel/</link>
		<comments>http://adil.az/uncategorized/installing-redmine-on-cpanel/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 14:03:49 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web-server]]></category>

		<guid isPermaLink="false">http://adil.az/?p=160</guid>
		<description><![CDATA[<a href="http://adil.az/uncategorized/installing-redmine-on-cpanel/" title="Installing Redmine on cPanel"></a><a href="http://adil.az/uncategorized/installing-redmine-on-cpanel/" title="Installing Redmine on cPanel"></a>Installing Redmine on cPanel will be bit harder, because it needs some modifications on server configuration. And custom modifications will be lost on regeneration of configuration files by cPanel. According instruction at http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5 you will need change Apache configuration manually. It&#8217;s &#8230;<p class="read-more"><a href="http://adil.az/uncategorized/installing-redmine-on-cpanel/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/uncategorized/installing-redmine-on-cpanel/' addthis:title='Installing Redmine on cPanel ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/uncategorized/installing-redmine-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting thumbnail from YouTube</title>
		<link>http://adil.az/tips-tricks/getting-thumbnail-from-youtube/</link>
		<comments>http://adil.az/tips-tricks/getting-thumbnail-from-youtube/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 10:22:58 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Social]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[strpos]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://adil.az/?p=150</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/getting-thumbnail-from-youtube/" title="Getting thumbnail from YouTube"></a><a href="http://adil.az/tips-tricks/getting-thumbnail-from-youtube/" title="Getting thumbnail from YouTube"></a>Getting thumbnail image of any YouTube video you need it&#8217;s video ID number. Video ID number is the 11 character string in the url and assigned to v parameter. For example video ID of this video http://www.youtube.com/watch?v=S5msjdZIoag&#38;feature=related is S5msjdZIoag. You can get &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/getting-thumbnail-from-youtube/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/getting-thumbnail-from-youtube/' addthis:title='Getting thumbnail from YouTube ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/getting-thumbnail-from-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing UTF8 BOM from PHP files</title>
		<link>http://adil.az/php/removing-utf8-bom-from-php-files/</link>
		<comments>http://adil.az/php/removing-utf8-bom-from-php-files/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 16:09:11 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[bom]]></category>
		<category><![CDATA[byte order mark]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[utf]]></category>
		<category><![CDATA[utf-8]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://adil.az/?p=144</guid>
		<description><![CDATA[<a href="http://adil.az/php/removing-utf8-bom-from-php-files/" title="Removing UTF8 BOM from PHP files"></a><a href="http://adil.az/php/removing-utf8-bom-from-php-files/" title="Removing UTF8 BOM from PHP files"></a>UTF8 Byte Order Mark (BOM) is sequence of bytes for represent the file as UTF8. The sequence is hexadecimal EF BB BF value also you can see it at the beginning of the file as ï»¿. When these symbols is used the text &#8230;<p class="read-more"><a href="http://adil.az/php/removing-utf8-bom-from-php-files/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/php/removing-utf8-bom-from-php-files/' addthis:title='Removing UTF8 BOM from PHP files ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/php/removing-utf8-bom-from-php-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting twitter messages on PHP</title>
		<link>http://adil.az/php/getting-twitter-messages-on-php/</link>
		<comments>http://adil.az/php/getting-twitter-messages-on-php/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 20:23:35 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[Tips & tricks]]></category>

		<guid isPermaLink="false">http://adil.az/?p=110</guid>
		<description><![CDATA[<a href="http://adil.az/php/getting-twitter-messages-on-php/" title="Getting twitter messages on PHP"></a><a href="http://adil.az/php/getting-twitter-messages-on-php/" title="Getting twitter messages on PHP"></a>It&#8217;s usual on web sites to place a widget with twitter messages by site owner. There are many methods to get messages from Twitter. For example you can do it using Twitter API. There is another very simple method. It&#8217;s &#8230;<p class="read-more"><a href="http://adil.az/php/getting-twitter-messages-on-php/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/php/getting-twitter-messages-on-php/' addthis:title='Getting twitter messages on PHP ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/php/getting-twitter-messages-on-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphic icons for buttons</title>
		<link>http://adil.az/tips-tricks/graphic-icons-for-buttons/</link>
		<comments>http://adil.az/tips-tricks/graphic-icons-for-buttons/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 22:23:48 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Graphic design]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[16x16]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[ico]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://adil.az/?p=91</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/graphic-icons-for-buttons/" title="Graphic icons for buttons"></a><a href="http://adil.az/tips-tricks/graphic-icons-for-buttons/" title="Graphic icons for buttons"></a>Most common problem of software developers is finding good graphic icons for buttons, links or something like that. There are many sites where you can download such icons in various sizes. One good method is searching on google. Type on &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/graphic-icons-for-buttons/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/graphic-icons-for-buttons/' addthis:title='Graphic icons for buttons ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/graphic-icons-for-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wget as a hacker tool</title>
		<link>http://adil.az/tips-tricks/wget-as-a-hacker-tool/</link>
		<comments>http://adil.az/tips-tricks/wget-as-a-hacker-tool/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 08:49:59 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://adil.az/?p=62</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/wget-as-a-hacker-tool/" title="wget as a hacker tool"></a><a href="http://adil.az/tips-tricks/wget-as-a-hacker-tool/" title="wget as a hacker tool"></a>Few days ago some people called himself web-programmers, created a web-site where it was online voting for the parliament in my country. It was a simple system you select your region, select the candidate and vote for him. The purpose &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/wget-as-a-hacker-tool/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/wget-as-a-hacker-tool/' addthis:title='wget as a hacker tool ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/wget-as-a-hacker-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ignoring browser commands</title>
		<link>http://adil.az/tips-tricks/ignoring-browser-commands/</link>
		<comments>http://adil.az/tips-tricks/ignoring-browser-commands/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 10:03:08 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ignore_user_abort]]></category>
		<category><![CDATA[transaction]]></category>

		<guid isPermaLink="false">http://adil.az/?p=57</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/ignoring-browser-commands/" title="Ignoring browser commands"></a><a href="http://adil.az/tips-tricks/ignoring-browser-commands/" title="Ignoring browser commands"></a>I have rarely encountered such situation, but for larger projects it is certainly common problem. Assume that the script performs some queries in the database (deleting / adding / editing) and during these user presses the Stop button in your &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/ignoring-browser-commands/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/ignoring-browser-commands/' addthis:title='Ignoring browser commands ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/ignoring-browser-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fixed position on IE6</title>
		<link>http://adil.az/tips-tricks/fixed-position-on-ie6/</link>
		<comments>http://adil.az/tips-tricks/fixed-position-on-ie6/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 16:09:36 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Tips & tricks]]></category>

		<guid isPermaLink="false">http://adil.az/?p=53</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/fixed-position-on-ie6/" title="fixed position on IE6"></a><a href="http://adil.az/tips-tricks/fixed-position-on-ie6/" title="fixed position on IE6"></a>Fixed position on xhtml elements make the elements fixed at its coordinates and it is not moved when you scroll the pages. One of popular example can be facebook panel. #elementId &#123; position:fixed; bottom:0; &#125; An example above will make &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/fixed-position-on-ie6/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/fixed-position-on-ie6/' addthis:title='fixed position on IE6 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/fixed-position-on-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expressions in SQL queries</title>
		<link>http://adil.az/tips-tricks/regular-expressions-in-sql-queries/</link>
		<comments>http://adil.az/tips-tricks/regular-expressions-in-sql-queries/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 17:06:54 +0000</pubDate>
		<dc:creator>Adil</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://adil.az/?p=47</guid>
		<description><![CDATA[<a href="http://adil.az/tips-tricks/regular-expressions-in-sql-queries/" title="Regular expressions in SQL queries"></a><a href="http://adil.az/tips-tricks/regular-expressions-in-sql-queries/" title="Regular expressions in SQL queries"></a>Regular expressions are useful for parsing string, matching patterns, validating etc. If we talk about strings so, I think it&#8217;s good idea using it in SQL queries. Let we have table users: mysql&#62; SELECT * FROM users; +----+-----------+----------+----------------------+ &#124; id &#8230;<p class="read-more"><a href="http://adil.az/tips-tricks/regular-expressions-in-sql-queries/">Read more &#187;</a></p><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://adil.az/tips-tricks/regular-expressions-in-sql-queries/' addthis:title='Regular expressions in SQL queries ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
		<wfw:commentRss>http://adil.az/tips-tricks/regular-expressions-in-sql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

