<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<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/"
	>

<channel>
	<title>Ivan Uzunov Blog</title>
	<link>http://www.ivanuzunov.net</link>
	<description>Web Development Tips &#038; Tricks</description>
	<pubDate>Fri, 16 May 2008 14:46:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>IIS 7.0 Breaking Changes for ASP.NET 2.0.</title>
		<link>http://www.ivanuzunov.net/iis-70-breaking-changes-for-aspnet-20/</link>
		<comments>http://www.ivanuzunov.net/iis-70-breaking-changes-for-aspnet-20/#comments</comments>
		<pubDate>Fri, 16 May 2008 14:46:15 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>ASP.NET</dc:subject><dc:subject>ASP.NET</dc:subject><dc:subject>IIS</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/iis-70-breaking-changes-for-aspnet-20/</guid>
		<description><![CDATA[Mike Volodarsky (a program manager in the IIS team) wrote a great post about Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0
It is definitely worth reading it!

ASP.NET, IIS]]></description>
			<content:encoded><![CDATA[<p>Mike Volodarsky (a program manager in the IIS team) wrote a great post about <a target="_blank" href="http://mvolo.com/blogs/serverside/archive/2007/12/08/IIS-7.0-Breaking-Changes-ASP.NET-2.0-applications-Integrated-mode.aspx">Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0</a></p>
<p>It is definitely worth reading it!
</p>
<a href="http://www.ivanuzunov.net/index.php?tag=asp.net" rel="tag">ASP.NET</a>, <a href="http://www.ivanuzunov.net/index.php?tag=iis" rel="tag">IIS</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/iis-70-breaking-changes-for-aspnet-20/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Intellisense for jQuery in Visual Studio 2008</title>
		<link>http://www.ivanuzunov.net/intellisense-for-jquery-in-visual-studio-2008/</link>
		<comments>http://www.ivanuzunov.net/intellisense-for-jquery-in-visual-studio-2008/#comments</comments>
		<pubDate>Fri, 16 May 2008 14:27:40 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>ASP.NET</dc:subject>
	<dc:subject>JavaScript</dc:subject>
	<dc:subject>Tools</dc:subject><dc:subject>JavaScript</dc:subject><dc:subject>jQuery</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/intellisense-for-jquery-in-visual-studio-2008/</guid>
		<description><![CDATA[Lance Fisher has made an update to jQuery for Intellisense in Visual Studio 2008
Click here to read about it and download jQuery with the Intellisense updates.

JavaScript, jQuery]]></description>
			<content:encoded><![CDATA[<p>Lance Fisher has made an update to jQuery for Intellisense in Visual Studio 2008</p>
<p><a href="http://lancefisher.net/blog/archive/2008/02/12/intellisense-for-jquery-in-visual-studio-2008.aspx" target="_blank">Click here to read about it and download jQuery with the Intellisense updates.</a>
</p>
<a href="http://www.ivanuzunov.net/index.php?tag=javascript" rel="tag">JavaScript</a>, <a href="http://www.ivanuzunov.net/index.php?tag=jquery" rel="tag">jQuery</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/intellisense-for-jquery-in-visual-studio-2008/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Simple Trick To Export GridView To Excel</title>
		<link>http://www.ivanuzunov.net/simple-trick-to-export-gridview-to-excel/</link>
		<comments>http://www.ivanuzunov.net/simple-trick-to-export-gridview-to-excel/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 09:29:42 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>ASP.NET</dc:subject><dc:subject>ASP.NET</dc:subject><dc:subject>excel</dc:subject><dc:subject>grid view</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/simple-trick-to-export-gridview-to-excel/</guid>
		<description><![CDATA[protected void Button1_Click(object sender, EventArgs e)
{
&#160;&#160; Response.AddHeader(&#34;content-disposition&#34;, &#34;attachment;filename=FileName.xls&#34;);
&#160;&#160; Response.Charset = String.Empty;
&#160;&#160; Response.ContentType = &#34;application/vnd.xls&#34;;
&#160;&#160; System.IO.StringWriter sw = new System.IO.StringWriter();
&#160;&#160; System.Web.UI.HtmlTextWriter hw = new HtmlTextWriter(sw);
&#160;&#160; GridView1.RenderControl(hw);
&#160;&#160; Response.Write(sw.ToString());
&#160;&#160; Response.End();
}
ASP.NET, excel, grid view]]></description>
			<content:encoded><![CDATA[<div style="margin: 0in 0in 0pt; line-height: normal;"><font size="2"><span style="color: blue; font-family: 'Courier New';">protected</span><span style="font-family: 'Courier New';"> <span style="color: blue;">void</span> Button1_Click(<span style="color: blue;">object</span> sender, <span style="color: rgb(43, 145, 175);">EventArgs</span> e)</span></font></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">{</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; Response.AddHeader(<span style="color: rgb(163, 21, 21);">&quot;content-disposition&quot;</span>, <span style="color: rgb(163, 21, 21);">&quot;attachment;filename=FileName.xls&quot;</span>);</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; Response.Charset = <span style="color: rgb(43, 145, 175);">String</span>.Empty;</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; Response.ContentType = <span style="color: rgb(163, 21, 21);">&quot;application/vnd.xls&quot;</span>;</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; System.IO.<span style="color: rgb(43, 145, 175);">StringWriter</span> sw = <span style="color: blue;">new</span> System.IO.<span style="color: rgb(43, 145, 175);">StringWriter</span>();</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; System.Web.UI.<span style="color: rgb(43, 145, 175);">HtmlTextWriter</span> hw = <span style="color: blue;">new</span> <span style="color: rgb(43, 145, 175);">HtmlTextWriter</span>(sw);</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; GridView1.RenderControl(hw);</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; Response.Write(sw.ToString());</font></span></div>
<div style="margin: 0in 0in 0pt; line-height: normal;"><span style="font-family: 'Courier New';"><font size="2">&nbsp;&nbsp; Response.End();</font></span></div>
<div style="margin: 0in 0in 10pt;"><span style="font-family: 'Courier New';"><font size="2">}</font></span></div>
<a href="http://www.ivanuzunov.net/index.php?tag=asp.net" rel="tag">ASP.NET</a>, <a href="http://www.ivanuzunov.net/index.php?tag=excel" rel="tag">excel</a>, <a href="http://www.ivanuzunov.net/index.php?tag=grid-view" rel="tag">grid view</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/simple-trick-to-export-gridview-to-excel/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>JavaScript web Development Top 10 Sites</title>
		<link>http://www.ivanuzunov.net/javascript-web-development-top-10-sites/</link>
		<comments>http://www.ivanuzunov.net/javascript-web-development-top-10-sites/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 07:27:34 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>JavaScript</dc:subject><dc:subject>JavaScript</dc:subject><dc:subject>Top 10</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/top-10-js-web-development-top-10-sites/</guid>
		<description><![CDATA[
Top 10 custom JavaScript functions of all time
Top 10 Web Developer Libraries
Top 10 Ajax Applications
Top 10 Ajax Tutorials for Beginners
Top 10 Most Useful JavaScripts
Top 10 JavaScript String Extensions
Top 10 Debugging &#38; testing Javascript
Top 10 JavaScript Books
Top 10 Javascript Tools Everyone Should Have
Top 10 Tips To A Better Form

I found this list on this site

JavaScript, Top [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><a target="_blank" href="http://www.dustindiaz.com/top-ten-javascript/">Top 10 custom JavaScript functions of all time</a></li>
<li><a target="_blank" href="http://www.cameronolthuis.com/2006/06/top-10-web-developer-libraries/">Top 10 Web Developer Libraries</a></li>
<li><a target="_blank" href="http://www.aventureforth.com/?p=13">Top 10 Ajax Applications</a></li>
<li><a target="_blank" href="http://www.aventureforth.com/?p=13">Top 10 Ajax Tutorials for Beginners</a></li>
<li><a target="_blank" href="http://hyperdisc.unitec.ac.nz/materials/javascript/top10/">Top 10 Most Useful JavaScripts</a></li>
<li><a target="_blank" href="../../../../../top-10-javascript-stringprototype-extensions/">Top 10 JavaScript String Extensions</a></li>
<li><a target="_blank" href="http://webdeveloper.econsultant.com/javascript-debugging-testing/">Top 10 Debugging &amp; testing Javascript</a></li>
<li><a target="_blank" href="http://personalweb.about.com/od/booksforhtmldesign/tp/javascriptbooks.htm">Top 10 JavaScript Books</a></li>
<li><a target="_blank" href="http://www.hunlock.com/blogs/Ten_Javascript_Tools_Everyone_Should_Have">Top 10 Javascript Tools Everyone Should Have</a></li>
<li><a target="_blank" href="http://particletree.com/features/10-tips-to-a-better-form/">Top 10 Tips To A Better Form</a></li>
</ol>
<p>I found this list on this <a href="http://top10list.wordpress.com/2007/07/25/top-10-js-web-development-top-10-sites/">site</a>
</p>
<a href="http://www.ivanuzunov.net/index.php?tag=javascript" rel="tag">JavaScript</a>, <a href="http://www.ivanuzunov.net/index.php?tag=top-10" rel="tag">Top 10</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/javascript-web-development-top-10-sites/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Top 5 Front-End Developer Online Manuals</title>
		<link>http://www.ivanuzunov.net/top-5-front-end-developer-online-manuals/</link>
		<comments>http://www.ivanuzunov.net/top-5-front-end-developer-online-manuals/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 10:07:28 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>JavaScript</dc:subject>
	<dc:subject>AJAX</dc:subject><dc:subject>AJAX</dc:subject><dc:subject>CSS</dc:subject><dc:subject>DOM</dc:subject><dc:subject>HTML</dc:subject><dc:subject>JavaScript</dc:subject><dc:subject>Manuals</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/top-5-front-end-developer-online-manuals/</guid>
		<description><![CDATA[This is the list of my top 5:
Core JavaScript ReferenceGecko DOM ReferenceAJAX:Getting StartedHTML4 ReferenceCSS 2.1 Specification

AJAX, CSS, DOM, HTML, JavaScript, Manuals]]></description>
			<content:encoded><![CDATA[<p>This is the list of my top 5:</p>
<p><a target="_blank" href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference" title="Core JavaScript 1.5 Reference">Core JavaScript Reference</a><br /><a target="_blank" href="http://www.mozilla.org/docs/dom/domref/dom_shortTOC.html">Gecko DOM Reference</a><br /><a target="_blank" href="http://developer.mozilla.org/en/docs/AJAX:Getting_Started">AJAX:Getting Started</a><br /><a target="_blank" href="http://www.htmlhelp.com/reference/html40/">HTML4 Reference</a><br /><a target="_blank" href="http://www.w3.org/TR/CSS21/">CSS 2.1 Specification</a>
</p>
<a href="http://www.ivanuzunov.net/index.php?tag=ajax" rel="tag">AJAX</a>, <a href="http://www.ivanuzunov.net/index.php?tag=css" rel="tag">CSS</a>, <a href="http://www.ivanuzunov.net/index.php?tag=dom" rel="tag">DOM</a>, <a href="http://www.ivanuzunov.net/index.php?tag=html" rel="tag">HTML</a>, <a href="http://www.ivanuzunov.net/index.php?tag=javascript" rel="tag">JavaScript</a>, <a href="http://www.ivanuzunov.net/index.php?tag=manuals" rel="tag">Manuals</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/top-5-front-end-developer-online-manuals/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Top 10 JavaScript String.prototype Extensions</title>
		<link>http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/</link>
		<comments>http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 04:58:29 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>JavaScript</dc:subject><dc:subject>JavaScript</dc:subject><dc:subject>String.prototype</dc:subject><dc:subject>Top 10</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/</guid>
		<description><![CDATA[This is the list of mine top 10 JavaScript String.prototype extensions. If you want to you can post yours bellow.
This extension adds trim() function:
String.prototype.trim = function(){ return this.replace(/^\s+&#124;\s+$/g,'&#8217;); }
//test trimtest = &#8216; testing trim &#8216;;document.write (&#8217;&#34;&#8217; + test.trim() + &#8216;&#34;&#8217;);
This extension splits the string by given separator and returns an array with trimmed&#160; items. It [...]]]></description>
			<content:encoded><![CDATA[<p>This is the list of mine top 10 JavaScript String.prototype extensions. If you want to you can post yours bellow.</p>
<p>This extension adds trim() function:<br />
<blockquote>String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g,'&#8217;); }</p>
<p>//test trim<br />test = &#8216; testing trim &#8216;;<br />document.write (&#8217;&quot;&#8217; + test.trim() + &#8216;&quot;&#8217;);</p></blockquote>
<p>This extension splits the string by given separator and returns an array with trimmed&nbsp; items. It uses the trim() extension above:<br />
<blockquote>String.prototype.splitrim = function(t){ return this.trim().split(new RegExp(&#8217;\\s*&#8217;+t+&#8217;\\s*&#8217;)) }</p>
<p>//test splitrim<br />test = &#8216; testing&nbsp;&nbsp; , splitrim &#8216;;<br />var arr = test.splitrim(&#8217;,');<br />document.write (&#8217;&quot;&#8217; + arr[0] + &#8216;&quot;&#8217;);<br />document.write (&#8217;&quot;&#8217; + arr[1] + &#8216;&quot;&#8217;);</p></blockquote>
<p>This extension escapes HTML in the string:<br />
<blockquote>String.prototype.escHtml = function(){ var i,e={&#8217;&amp;&#8217;:'&amp;amp;&#8217;,'&lt;&#8217;:'&amp;lt;&#8217;,'&gt;&#8217;:'&amp;gt;&#8217;,'&quot;&#8217;:'&amp;quot;&#8217;},t=this; for(i in e) t=t.replace(new RegExp(i,&#8217;g'),e[i]); return t }</p>
<p>//test escHtml<br />test = &#8216;testing &lt;b&gt;escHtml&lt;/b&gt;&#8217;;<br />document.write (test.escHtml());</p></blockquote>
<p>This extension unescapes HTML in the string:<br />
<blockquote>String.prototype.unescHtml = function(){ var i,e={&#8217;&amp;lt;&#8217;:'&lt;&#8217;,'&amp;gt;&#8217;:'&gt;&#8217;,'&amp;amp;&#8217;:'&amp;&#8217;,'&amp;quot;&#8217;:'&quot;&#8217;},t=this; for(i in e) t=t.replace(new RegExp(i,&#8217;g'),e[i]); return t }</p>
<p>//test unescHtml<br />test = &#8216;testing &amp;lt;b&amp;gt;unescHtml&amp;lt;/b&amp;gt;&#8217;;<br />document.write (test.unescHtml());</p></blockquote>
<p>This extension URL encodes the string:<br />
<blockquote>String.prototype.urlEncode = function(){ return encodeURIComponent(this); }</p>
<p>//test urlEncode<br />test = &#8216;http://www.gmail.com&#8217;;<br />document.write (test.urlEncode());</p></blockquote>
<p>This extension checks if the string is a valid email address:<br />
<blockquote>String.prototype.isEmail = function () { var rx = new RegExp(&quot;\\w+([-+.\&#8217;]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*&quot;); var matches = rx.exec(this); return (matches != null &amp;&amp; this == matches[0]); }</p>
<p>//test isEmail<br />test = &#8216;test@gmail.com&#8217;;<br />document.write (test.isEmail());</p></blockquote>
<p>This extension checks if the string is a valid URL address:<br />
<blockquote>String.prototype.isURL = function () { var rx = new RegExp(&quot;http(s)?://([\\w-]+\\.)+[\\w-]+(/[\\w-\\+ ./?%:&amp;=#\\[\\]]*)?&quot;); var matches = rx.exec(this); return (matches != null &amp;&amp; this == matches[0]); }</p>
<p>//test isURL<br />test = &#8216;http://www.gmail.com&#8217;;<br />document.write (test.isURL());</p></blockquote>
<p>This extension checks if the string contains the passed as parameter value:<br />
<blockquote>String.prototype.contains = function(t) { return this.indexOf(t) &gt;= 0 ? true : false; }</p>
<p>//test contains<br />test = &#8216;Can you find me?&#8217;;<br />document.write (test.contains(&#8217;find me&#8217;));</p></blockquote>
<p>This extension checks if the string begins with the passed as parameter value. The second parameter is for ignore case:<br />
<blockquote>String.prototype.beginsWith = function(t, i) { if (i==false) { return (t == this.substring(0, t.length)); } else { return (t.toLowerCase() == this.substring(0, t.length).toLowerCase()); } }</p>
<p>//test beginsWith<br />test = &#8216;Can you find me?&#8217;;<br />document.write (test.beginsWith(&#8217;can you&#8217;, true));</p></blockquote>
<p>This extension checks if the string ends with the passed as parameter value. The second parameter is for ignore case:<br />
<blockquote>String.prototype.endsWith = function(t, i) { if (i==false) { return (t == this.substring(this.length - t.length)); } else { return (t.toLowerCase() == this.substring(this.length - t.length).toLowerCase()); } }</p>
<p>//test endsWith<br />test = &#8216;Can you find me?&#8217;;<br />document.write (test.endsWith(&#8217;Me?&#8217;, true));</p></blockquote>
<a href="http://www.ivanuzunov.net/index.php?tag=javascript" rel="tag">JavaScript</a>, <a href="http://www.ivanuzunov.net/index.php?tag=string.prototype" rel="tag">String.prototype</a>, <a href="http://www.ivanuzunov.net/index.php?tag=top-10" rel="tag">Top 10</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>How to get the last day of the week</title>
		<link>http://www.ivanuzunov.net/how-to-get-the-last-day-of-the-week/</link>
		<comments>http://www.ivanuzunov.net/how-to-get-the-last-day-of-the-week/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 15:00:26 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>.NET</dc:subject><dc:subject>.NET</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/how-to-get-the-last-day-of-the-week/</guid>
		<description><![CDATA[This sample shows how to get the last day of the current week. It easily could be reconfigured to get any day of the week of any date.
DateTime dtWET = DateTime.Today;
//get the last day of the week. If you need another day change the 6 to a number between 0 and 6. Please note that [...]]]></description>
			<content:encoded><![CDATA[<p>This sample shows how to get the last day of the current week. It easily could be reconfigured to get any day of the week of any date.<br />
<blockquote>DateTime dtWET = DateTime.Today;</p>
<p>//get the last day of the week. If you need another day change the 6 to a number between 0 and 6. Please note that depending on you regional settings the week 0 day could be Sunday or Monday.<br />dtWET = dtWET.AddDays((-(Convert.ToInt32(dtWET.DayOfWeek))) + 6);</p>
<p>dtWET = new DateTime(dtWET.Year, dtWET.Month, dtWET.Day, 22, 00, 0);</p></blockquote>
<a href="http://www.ivanuzunov.net/index.php?tag=.net" rel="tag">.NET</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/how-to-get-the-last-day-of-the-week/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>How to Create a Random Password in MySQL</title>
		<link>http://www.ivanuzunov.net/how-to-create-a-random-password-in-mysql/</link>
		<comments>http://www.ivanuzunov.net/how-to-create-a-random-password-in-mysql/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 14:00:08 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>SQL</dc:subject>
	<dc:subject>MySQL</dc:subject><dc:subject>MySQL</dc:subject><dc:subject>Random Password</dc:subject><dc:subject>T SQL</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/how-to-create-a-random-password-in-mysql/</guid>
		<description><![CDATA[It is quite simple:
SELECT LEFT(md5(UUID()), 10)
The UUID() function returns a Universal Unique Identifier (UUID). The rest is obvious  
If you are looking for the same functionality in MS SQL click here.

MySQL, Random Password, T SQL]]></description>
			<content:encoded><![CDATA[<p><a id="more-44"></a>It is quite simple:<br />
<blockquote>SELECT LEFT(md5(UUID()), 10)</p></blockquote>
<p>The <a target="_blank" href="http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_uuid">UUID()</a> function returns a Universal Unique Identifier (UUID). The rest is obvious <img src='http://www.ivanuzunov.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you are looking for the same functionality in MS SQL <a href="http://www.ivanuzunov.net/create-a-random-password-in-ms-sql/">click here</a>.
</p>
<a href="http://www.ivanuzunov.net/index.php?tag=mysql" rel="tag">MySQL</a>, <a href="http://www.ivanuzunov.net/index.php?tag=random-password" rel="tag">Random Password</a>, <a href="http://www.ivanuzunov.net/index.php?tag=t-sql" rel="tag">T SQL</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/how-to-create-a-random-password-in-mysql/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>How to open PostBackURL in new window</title>
		<link>http://www.ivanuzunov.net/how-to-open-postbackurl-in-new-window/</link>
		<comments>http://www.ivanuzunov.net/how-to-open-postbackurl-in-new-window/#comments</comments>
		<pubDate>Tue, 01 May 2007 11:34:20 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>ASP.NET</dc:subject>
	<dc:subject>JavaScript</dc:subject><dc:subject>ASP.NET</dc:subject><dc:subject>PostBackURL</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/how-to-open-postbackurl-in-new-window/</guid>
		<description><![CDATA[To open a page in new window with ASP.NET 2.0 button PostBackURL property you have to set the FROM&#8217;s target to &#34;_blank&#34;. 
Page.Form.Target = &#34;_blank&#34;;
Or to use the following JavaScript code:
&#60;script type=&#34;text/javascript&#34;&#62;&#160;&#160;&#160; var sFormID = &#8216;&#60;%=Page.Form.ClientID%&#62;&#8217;;&#160;&#160;&#160; var oForm = document.getElementById(sFormID);&#160;&#160;&#160; oForm.target = &#8216;_blank&#8217;; &#60;/script&#62;
ASP.NET, PostBackURL]]></description>
			<content:encoded><![CDATA[<p>To open a page in new window with ASP.NET 2.0 button <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.button.postbackurl.aspx">PostBackURL</a> property you have to set the FROM&#8217;s target to &quot;_blank&quot;. <br />
<blockquote>Page.Form.Target = &quot;_blank&quot;;</p></blockquote>
<p>Or to use the following JavaScript code:<br />
<blockquote>&lt;script type=&quot;text/javascript&quot;&gt;<br />&nbsp;&nbsp;&nbsp; var sFormID = &#8216;&lt;%=Page.Form.ClientID%&gt;&#8217;;<br />&nbsp;&nbsp;&nbsp; var oForm = document.getElementById(sFormID);<br />&nbsp;&nbsp;&nbsp; oForm.target = &#8216;_blank&#8217;; <br />&lt;/script&gt;</p></blockquote>
<a href="http://www.ivanuzunov.net/index.php?tag=asp.net" rel="tag">ASP.NET</a>, <a href="http://www.ivanuzunov.net/index.php?tag=postbackurl" rel="tag">PostBackURL</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/how-to-open-postbackurl-in-new-window/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Redirect all HTTP requests to HTTPS with ISAPI Rewrite</title>
		<link>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/</link>
		<comments>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 05:50:07 +0000</pubDate>
		<dc:creator>Ivan Uzunov</dc:creator>
		
	<dc:subject>URL Rewriting</dc:subject><dc:subject>ISAPI Rewrite</dc:subject><dc:subject>URL Rewriting</dc:subject>
		<guid isPermaLink="false">http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/</guid>
		<description><![CDATA[To redirect all HTTP requests to HTTPS with ISAPI Rewrite you can use the following rewriting rules in your httpd.ini file:

# redirect all http requests&#160; to httpsRewriteCond&#160; %HTTPS (?!on).* RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP]

ISAPI Rewrite, URL Rewriting]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">To redirect all HTTP requests to HTTPS with <a target="_blank" href="http://www.isapirewrite.com/">ISAPI Rewrite</a> you can use the following rewriting rules in your httpd.ini file:</p>
<blockquote>
<p class="MsoNormal"># redirect all http requests<span style="">&nbsp; </span>to https<o:p></o:p><br />RewriteCond<span style="">&nbsp; </span>%HTTPS (?!on).* <o:p></o:p><br />RewriteCond Host: (.*) <o:p></o:p><br />RewriteRule (.*) https\://$1$2 [I,RP]</p>
</blockquote>
<a href="http://www.ivanuzunov.net/index.php?tag=isapi-rewrite" rel="tag">ISAPI Rewrite</a>, <a href="http://www.ivanuzunov.net/index.php?tag=url-rewriting" rel="tag">URL Rewriting</a>]]></content:encoded>
			<wfw:commentRSS>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
