<?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>nenadkostic.com</title>
	<atom:link href="http://nenadkostic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nenadkostic.com</link>
	<description>nenadkostic&#039;s blog</description>
	<lastBuildDate>Sat, 07 Apr 2012 20:26:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CFEclipse Theme Night Lights</title>
		<link>http://nenadkostic.com/2012/04/cfeclipse-theme-night-lights/</link>
		<comments>http://nenadkostic.com/2012/04/cfeclipse-theme-night-lights/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 20:26:54 +0000</pubDate>
		<dc:creator>Nenad</dc:creator>
				<category><![CDATA[CFEclipse]]></category>

		<guid isPermaLink="false">http://nenadkostic.com/?p=315</guid>
		<description><![CDATA[CFEclipse Syntax color theme Night Lights Installation: Download file org.cfeclipse.cfml.nightlights.prefs Remove nightlights from file name. You need to get org.cfeclipse.cfml.prefs file Just in case, backup org.cfeclipse.cfml.prefs file that is located in [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings Overwrite this file with the one you downloaded and renamed. Restart Eclipse Here is the nice post related to this subject. Cheers!]]></description>
			<content:encoded><![CDATA[<p>CFEclipse Syntax color theme Night Lights</p>
<p><img src="http://nenadkostic.com/wp-content/uploads/2012/04/nightlights-e1333827398363.png" alt="Night Lights" width="600px" /></p>
<p>Installation:</p>
<ul>
<li>Download file <a href="http://nenadkostic.com/wp-content/downloads/nightlights.zip">org.cfeclipse.cfml.nightlights.prefs</a></li>
<li>Remove <span style="color: #3399cc;">nightlights</span> from file name. You need to get <span style="color: #3399cc;">org.cfeclipse.cfml.prefs</span> file</li>
<li>Just in case, backup org.cfeclipse.cfml.prefs file that is located in <span style="color: #3399cc;">[workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings</span></li>
<li>Overwrite this file with the one you downloaded and renamed.</li>
<li>Restart Eclipse</li>
</ul>
<p><a title="craigkaminsky.me" href="http://craigkaminsky.me/cfeclipse-themerations">Here</a> is the nice post related to this subject.<br />
Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://nenadkostic.com/2012/04/cfeclipse-theme-night-lights/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Updating the Git index failed&#8221; warning</title>
		<link>http://nenadkostic.com/2012/04/updating-the-git-index-failed-warning/</link>
		<comments>http://nenadkostic.com/2012/04/updating-the-git-index-failed-warning/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 13:25:28 +0000</pubDate>
		<dc:creator>Nenad</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://nenadkostic.com/?p=306</guid>
		<description><![CDATA[When staging &#8220;unstaged&#8221; files using windows Git GUI annoying warning pops out: Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui. warning: CRLF will be replaced by LF in file_name Unlock Index / Continue I did some digging, because of my low need-approving unix/linux knowlege and find out that this [...]]]></description>
			<content:encoded><![CDATA[<p>When staging &#8220;unstaged&#8221; files using windows Git GUI annoying warning pops out:<br />
Updating the Git index failed. A rescan will be automatically started<br />
to resynchronize git-gui.<br />
warning: CRLF will be replaced by LF in file_name<br />
Unlock Index  /   Continue</p>
<p>I did some digging, because of my low need-approving unix/linux knowlege and find out that this message is related to Unix/Windows linendings.<br />
Here is the solution for turned off this annoying warning on Windows 7:<br />
Open file <font style="color:#3399CC">C:\Program Files\Git\etc\gitconfig</font><br />
on line 3 set <font style="color:#FF6600">autocrlf</font> from <font style="color:#FF6600">false</font> to <font style="color:#3399CC">true</font>.<br />
This worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://nenadkostic.com/2012/04/updating-the-git-index-failed-warning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting all the tables in MSSQL database</title>
		<link>http://nenadkostic.com/2012/04/deleting-all-the-tables-in-mssql-database/</link>
		<comments>http://nenadkostic.com/2012/04/deleting-all-the-tables-in-mssql-database/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 12:57:46 +0000</pubDate>
		<dc:creator>Nenad</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://nenadkostic.com/?p=295</guid>
		<description><![CDATA[Very useful peace of code, that we run from time to time, especially when your target database is lower version from the one you are working on.]]></description>
			<content:encoded><![CDATA[<p>Very useful peace of code, that we run from time to time, especially when your target database is lower version from the one you are working on.</p>
<div id="gist-2319648" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="n">use</span> <span class="n">database_name</span></div><div class='line' id='LC2'><span class="k">declare</span> <span class="o">@</span><span class="n">i</span> <span class="nb">int</span></div><div class='line' id='LC3'><span class="k">set</span> <span class="o">@</span><span class="n">i</span> <span class="o">=</span> <span class="mi">0</span></div><div class='line' id='LC4'><span class="n">while</span> <span class="p">(</span><span class="o">@</span><span class="n">i</span><span class="o">&lt;</span><span class="mi">99</span><span class="p">)</span></div><div class='line' id='LC5'><span class="k">begin</span></div><div class='line' id='LC6'>&nbsp;&nbsp;&nbsp;<span class="k">declare</span> <span class="o">@</span><span class="k">table_name</span> <span class="nb">varchar</span><span class="p">(</span><span class="mi">100</span><span class="p">)</span></div><div class='line' id='LC7'>&nbsp;&nbsp;&nbsp;<span class="k">declare</span> <span class="n">table_list</span> <span class="k">cursor</span> <span class="k">for</span></div><div class='line' id='LC8'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">select</span> <span class="n">name</span> <span class="k">from</span> <span class="n">sysobjects</span> <span class="n">o2</span> <span class="k">where</span> <span class="n">xtype</span><span class="o">=</span><span class="s1">&#39;U&#39;</span> <span class="k">and</span></div><div class='line' id='LC9'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">not</span> <span class="k">exists</span> <span class="p">(</span></div><div class='line' id='LC10'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">select</span> <span class="o">*</span> <span class="k">from</span> <span class="n">sysforeignkeys</span> <span class="n">k</span></div><div class='line' id='LC11'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">join</span> <span class="n">syscolumns</span> <span class="n">c1</span> <span class="k">on</span> <span class="p">(</span><span class="n">k</span><span class="p">.</span><span class="n">fkeyid</span> <span class="o">=</span> <span class="n">c1</span><span class="p">.</span><span class="n">id</span> <span class="k">and</span> <span class="n">c1</span><span class="p">.</span><span class="n">colid</span><span class="o">=</span><span class="n">k</span><span class="p">.</span><span class="n">fkey</span><span class="p">)</span></div><div class='line' id='LC12'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">join</span> <span class="n">syscolumns</span> <span class="n">c2</span> <span class="k">on</span> <span class="p">(</span><span class="n">k</span><span class="p">.</span><span class="n">rkeyid</span> <span class="o">=</span> <span class="n">c2</span><span class="p">.</span><span class="n">id</span> <span class="k">and</span> <span class="n">c2</span><span class="p">.</span><span class="n">colid</span><span class="o">=</span><span class="n">k</span><span class="p">.</span><span class="n">rkey</span><span class="p">)</span></div><div class='line' id='LC13'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">where</span> <span class="n">c2</span><span class="p">.</span><span class="n">id</span> <span class="o">=</span> <span class="n">o2</span><span class="p">.</span><span class="n">id</span> <span class="k">and</span> <span class="n">c1</span><span class="p">.</span><span class="n">id</span> <span class="o">&lt;&gt;</span> <span class="n">o2</span><span class="p">.</span><span class="n">id</span></div><div class='line' id='LC14'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="p">)</span></div><div class='line' id='LC15'>&nbsp;&nbsp;&nbsp;<span class="k">open</span> <span class="n">table_list</span></div><div class='line' id='LC16'>&nbsp;&nbsp;&nbsp;<span class="k">fetch</span> <span class="k">next</span> <span class="k">from</span> <span class="n">table_list</span> <span class="k">into</span> <span class="o">@</span><span class="k">table_name</span>   </div><div class='line' id='LC17'>&nbsp;&nbsp;&nbsp;<span class="n">while</span> <span class="o">@@</span><span class="n">fetch_status</span> <span class="o">=</span> <span class="mi">0</span></div><div class='line' id='LC18'>&nbsp;&nbsp;&nbsp;<span class="k">begin</span></div><div class='line' id='LC19'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">print</span> <span class="s1">&#39;dropping table &#39;</span><span class="o">+@</span><span class="k">table_name</span></div><div class='line' id='LC20'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">exec</span> <span class="p">(</span><span class="s1">&#39;drop table &#39;</span><span class="o">+@</span><span class="k">table_name</span><span class="p">)</span>   </div><div class='line' id='LC21'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">fetch</span> <span class="k">next</span> <span class="k">from</span> <span class="n">table_list</span> <span class="k">into</span> <span class="o">@</span><span class="k">table_name</span></div><div class='line' id='LC22'>&nbsp;&nbsp;&nbsp;<span class="k">end</span>   </div><div class='line' id='LC23'>&nbsp;&nbsp;&nbsp;<span class="k">close</span> <span class="n">table_list</span></div><div class='line' id='LC24'>&nbsp;&nbsp;&nbsp;<span class="k">deallocate</span> <span class="n">table_list</span></div><div class='line' id='LC25'>&nbsp;&nbsp;&nbsp;<span class="k">set</span> <span class="o">@</span><span class="n">i</span> <span class="o">=</span> <span class="o">@</span><span class="n">i</span><span class="o">+</span><span class="mi">1</span></div><div class='line' id='LC26'><span class="k">end</span> </div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/2319648/e7e6e492777916118943c811d863f932f26f56b3/DropAllTablesInMSSQLDatabase.sql" style="float:right;">view raw</a>
            <a href="https://gist.github.com/2319648#file_drop_all_tables_in_mssql_database.sql" style="float:right;margin-right:10px;color:#666">DropAllTablesInMSSQLDatabase.sql</a>
            <a href="https://gist.github.com/2319648">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://nenadkostic.com/2012/04/deleting-all-the-tables-in-mssql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolution Code 2012</title>
		<link>http://nenadkostic.com/2012/01/resolution-2012/</link>
		<comments>http://nenadkostic.com/2012/01/resolution-2012/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 00:19:45 +0000</pubDate>
		<dc:creator>Nenad</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://nenadkostic.com/?p=270</guid>
		<description><![CDATA[Decision we make, define us in the future. Start of the year is usually the best time for clearing thoughts and defining new goals  in the year that already started. Here are some things that I will try to accomplish in 2012: I really want to be helicopter pilot and buy one Yacht. Just kidding, [...]]]></description>
			<content:encoded><![CDATA[<p>Decision we make, define us in the future. Start of the year is usually the best time for clearing thoughts and defining new goals  in the year that already started. Here are some things that I will try to accomplish in 2012:</p>
<ul>
<li>I really want to be helicopter pilot and buy one Yacht.</li>
<li>Just kidding, I would like to find some time to dive into Ruby and Phyton.</li>
<li>No SQL is something that I found really interesting, but still didn&#8217;t get chance to try. I will try Coach DB or something similar as soon as I get chance for that.</li>
<li>Improve my coding skills and contribute to software development community.</li>
<li>Organize office activities in order to be more productive. Less work &#8211; More Job done.</li>
<li>Improve my serve.</li>
<li>Loose more weight.</li>
<li><strong> Get Married finally</strong></li>
</ul>
<p>That is not all, god forbid.<br />
Wish you all the best in 2012.</p>
<p><strong>Let the force be with you!</strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nenadkostic.com/2012/01/resolution-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

