<?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>Cihan Topcu &#187; TIPS</title>
	<atom:link href="http://www.cihantopcu.com/category/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cihantopcu.com</link>
	<description>notlar</description>
	<lastBuildDate>Mon, 18 Jul 2011 00:16:10 +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>Gnome da ikinci monitor e panel (gorev cubugu) eklemek</title>
		<link>http://www.cihantopcu.com/gnome-da-ikinci-monitor-e-panel-gorev-cubugu-eklemek.html</link>
		<comments>http://www.cihantopcu.com/gnome-da-ikinci-monitor-e-panel-gorev-cubugu-eklemek.html#comments</comments>
		<pubDate>Fri, 18 Feb 2011 19:26:05 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[ikinci monitor]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=175</guid>
		<description><![CDATA[<p>Bilgisayariniza ikinci monitor taktiginizda, ikinci monitorde panel olmayacaktir. Ekleyebilmek icin asagidaki adimlari takip edin.</p> Ilk monitorde zaten var olan panelinize sag tiklayip &#8220;New Panel&#8221; ekleyin. Yeni panele sag tiklayip &#8220;Properties&#8221; e girin, &#8220;Expand&#8221; kutusunun isaretini kaldirin, boylece yeni paneliniz tasinabilir olacaktir. Ikinci monitorde istediginiz yere surukledikten sonra tekrar girin, &#8220;Expand&#8221; kutusunu tekrar isaretleyin <p>Artik [...]]]></description>
			<content:encoded><![CDATA[<p>Bilgisayariniza ikinci monitor taktiginizda, ikinci monitorde panel olmayacaktir. Ekleyebilmek icin asagidaki adimlari takip edin.</p>
<ul>
<li>Ilk monitorde zaten var olan panelinize sag tiklayip &#8220;New Panel&#8221; ekleyin.</li>
<li>Yeni panele sag tiklayip &#8220;Properties&#8221; e girin,</li>
<li>&#8220;Expand&#8221; kutusunun isaretini kaldirin, boylece yeni paneliniz tasinabilir olacaktir.</li>
<li>Ikinci monitorde istediginiz yere surukledikten sonra tekrar girin, &#8220;Expand&#8221; kutusunu tekrar isaretleyin</li>
</ul>
<p>Artik ikinci monitorde yeni paneliniz var, bu panele sag tiklayarak &#8220;Add to Panel&#8221; menusunden istediginizi ekleyebilirsiniz. Onerilerim &#8220;Window List&#8221; ve &#8220;Menu Bar&#8221; olacak.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/gnome-da-ikinci-monitor-e-panel-gorev-cubugu-eklemek.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux (gnome) altinda menuyu win key ile acmak</title>
		<link>http://www.cihantopcu.com/linux-gnome-altinda-menuyu-win-key-ile-acmak.html</link>
		<comments>http://www.cihantopcu.com/linux-gnome-altinda-menuyu-win-key-ile-acmak.html#comments</comments>
		<pubDate>Thu, 03 Feb 2011 20:22:25 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[key binding]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[win key]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=164</guid>
		<description><![CDATA[<p>Aslinda iki yolu var fakat birinci yol basarili olunca ikinci yolu deneme ihtiyaci hissetmedim, kesin degildir. Oncelikle belirteyim benim kullandigim dagitim openSuse.</p> <p>1. Yol:</p> <p>Terminali  acin. gconf-editor yazarak enter&#8217;a basin. Acilan pencerede/apps/metacity/global_keybindings u acin. panel_main_menu anahtarinin degerini Super_L olarak ayarlayin. Logout &#8211; login yaptiktan sonra sol win key inin artik menuyu actigini goreceksiniz.</p> <p></p> [...]]]></description>
			<content:encoded><![CDATA[<p>Aslinda iki yolu var fakat birinci yol basarili olunca ikinci yolu deneme ihtiyaci hissetmedim, kesin degildir. Oncelikle belirteyim benim kullandigim dagitim openSuse.</p>
<p><strong>1. Yol:</strong></p>
<p>Terminali  acin. <strong>gconf-editor</strong> yazarak enter&#8217;a basin. Acilan pencerede<strong>/apps/metacity/global_keybindings</strong> u acin. <strong>panel_main_menu</strong> anahtarinin degerini <strong>Super_L</strong> olarak ayarlayin. Logout &#8211; login yaptiktan sonra sol win key inin artik menuyu actigini goreceksiniz.</p>
<p><a href="http://www.cihantopcu.com/wp-content/uploads/2011/02/global_keybindings.png"><img class="alignnone size-medium wp-image-165" title="global_keybindings" src="http://www.cihantopcu.com/wp-content/uploads/2011/02/global_keybindings-300x251.png" alt="" width="300" height="251" /></a></p>
<p><strong>2. Yol</strong></p>
<p><strong>/home/username</strong> klasorunde xmodmap isminde bir dosya olusturun ve icine</p>
<p><strong>keycode 115 = F13<br />
keycode 116 = F14</strong></p>
<p>yazarak kaydedin. Logout-login yaptiginizda size bu dosyayi keymap olarak kullanmak isteyip istemediginiz soracak. Eklediginizde artik sol win tusu F13, sag win tusu F14 olarak ayarlandi. Tus atama ekranindan ayarladiginiz tuslara atama yapabilirsiniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/linux-gnome-altinda-menuyu-win-key-ile-acmak.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PresentationFontCache.exe yuksek CPU kullanimi</title>
		<link>http://www.cihantopcu.com/presentationfontcache-exe-yuksek-cpu-kullanimi.html</link>
		<comments>http://www.cihantopcu.com/presentationfontcache-exe-yuksek-cpu-kullanimi.html#comments</comments>
		<pubDate>Mon, 31 Jan 2011 08:22:01 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[TIPS]]></category>
		<category><![CDATA[WINDOWS]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[PresentationFontCache]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=161</guid>
		<description><![CDATA[<p>Eger bilgisayarinizda PresentationFontCache.exe&#8216;nin CPU kullanimi asiri yuksek ise c:\Windows\ServiceProfiles\LocalService\AppData\Local\FontCache4.0.0.0.dat dosyasini silip Task Manager&#8216;dan PresentationFontCache.exe sonlandirarak yeniden baslamasini saglayin, duzelecektir.</p> ]]></description>
			<content:encoded><![CDATA[<p>Eger bilgisayarinizda <strong>PresentationFontCache.exe</strong>&#8216;nin CPU kullanimi asiri yuksek ise <strong>c:\Windows\ServiceProfiles\LocalService\AppData\Local\FontCache4.0.0.0.dat</strong> dosyasini silip <strong>Task Manager</strong>&#8216;dan <strong>PresentationFontCache.exe</strong> sonlandirarak yeniden baslamasini saglayin, duzelecektir.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/presentationfontcache-exe-yuksek-cpu-kullanimi.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 ve insufficient memory hatası</title>
		<link>http://www.cihantopcu.com/visual-studio-2010-ve-insufficient-memory-hatasi.html</link>
		<comments>http://www.cihantopcu.com/visual-studio-2010-ve-insufficient-memory-hatasi.html#comments</comments>
		<pubDate>Sat, 26 Jun 2010 17:40:11 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[TIPS]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=101</guid>
		<description><![CDATA[<p>Visual Studio 2010 da kes / kopyala yaparken &#8220;Insufficient available memory to meet the expected demands of an operation at this time, possibly due to virtual address space fragmentation. Please try again later.&#8221; hatası alıyorsanız şu linkteki patch i kurmanız sorunu ortadan [...]]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2010 da kes / kopyala yaparken <strong>&#8220;Insufficient available memory to meet the expected demands of an  operation at this time, possibly due to virtual address space  fragmentation. Please try again later.&#8221;</strong> hatası alıyorsanız <a title="Cut or Copy displays 'insufficient memory' error in Visual Studio 2010" href="http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=29729" target="_blank">şu linkteki</a> patch i kurmanız sorunu ortadan kaldıracaktır.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/visual-studio-2010-ve-insufficient-memory-hatasi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans ta Inconsolata fontunu kullanmak</title>
		<link>http://www.cihantopcu.com/netbeans-ta-inconsolata-fontunu-kullanmak.html</link>
		<comments>http://www.cihantopcu.com/netbeans-ta-inconsolata-fontunu-kullanmak.html#comments</comments>
		<pubDate>Sat, 05 Jun 2010 15:38:47 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Netbeans]]></category>
		<category><![CDATA[TIPS]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/netbeans-ta-inconsolata-fontunu-kullanmak.html</guid>
		<description><![CDATA[<p>Netbeans OTF fontlarını kullanmayı desteklemiyor henüz. Bu yüzden sudo aptitude install ttf-inconsolata ile Inconsolata fontunu yükleseniz bile Netbeans font listesinde göremeyeceksiniz. Kevin kardeşimiz bu fontu TTF e çevirmiş ve kullanıma sunmuş. Yüklemek için terminalde aşağıdaki komutları çalıştırın. Detaylı bilgi için tıklayın.</p> cd ~/.fonts/ wget http://kevin.vanzonneveld.net/docs/install_the_best_coding_font/Inconsolata.ttf sudo echo "Refreshing cache..." sudo fc-cache -f -v sudo [...]]]></description>
			<content:encoded><![CDATA[<p>Netbeans OTF fontlarını kullanmayı desteklemiyor henüz. Bu yüzden <strong>sudo aptitude install ttf-inconsolata </strong>ile Inconsolata fontunu yükleseniz bile Netbeans font listesinde göremeyeceksiniz. Kevin kardeşimiz bu fontu TTF e çevirmiş ve kullanıma sunmuş. Yüklemek için terminalde aşağıdaki komutları çalıştırın. Detaylı bilgi için <a href="http://kevin.vanzonneveld.net/techblog/article/install_the_best_coding_font/" target="_blank">tıklayın</a>.</p>
<pre><strong>cd ~/.fonts/
wget http://kevin.vanzonneveld.net/docs/install_the_best_coding_font/Inconsolata.ttf
sudo echo "Refreshing cache..."
sudo fc-cache -f -v</strong>
sudo echo "Done."</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/netbeans-ta-inconsolata-fontunu-kullanmak.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux ta herhangi bir kullancıya su yetkisi vermek</title>
		<link>http://www.cihantopcu.com/linux-ta-herhangi-bir-kullanciya-su-yetkisi-vermek.html</link>
		<comments>http://www.cihantopcu.com/linux-ta-herhangi-bir-kullanciya-su-yetkisi-vermek.html#comments</comments>
		<pubDate>Sun, 25 Apr 2010 12:53:52 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[su]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/linux-ta-herhangi-bir-kullanciya-su-yetkisi-vermek.html</guid>
		<description><![CDATA[<p>Siz de benim gibi linux ta su yetkisi olmadan rahat edemiyorsanız yapmanız gereken shell deyken sudo -s komutuyla şifrenizi girerek önce su yetkisini alın. Daha sonra gedit /etc/sudoers komutuyla sudoers dosyasını açın. Bu dosyanın sonuna kullaniciadi ALL=(ALL) NOPASSWD:ALL satırını ekleyin. Artık kullanıcınız su yetkilerine sahip. Riskli olduğunu da lütfen göz ardı etmeyin.</p> ]]></description>
			<content:encoded><![CDATA[<p>Siz de benim gibi linux ta su yetkisi olmadan rahat edemiyorsanız yapmanız gereken shell deyken <strong>sudo -s</strong> komutuyla şifrenizi girerek önce su yetkisini alın. Daha sonra <strong>gedit /etc/sudoers</strong> komutuyla sudoers dosyasını açın. Bu dosyanın sonuna <strong>kullaniciadi  ALL=(ALL) NOPASSWD:ALL</strong> satırını ekleyin. Artık kullanıcınız su yetkilerine sahip. Riskli olduğunu da lütfen göz ardı etmeyin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/linux-ta-herhangi-bir-kullanciya-su-yetkisi-vermek.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# ile MySql e insert yaparken dikkat edilmesi gereken bir kac husus</title>
		<link>http://www.cihantopcu.com/csharp-ile-mysql-e-insert-yaparken-dikkat-edilmesi-gereken-bir-kac-husus.html</link>
		<comments>http://www.cihantopcu.com/csharp-ile-mysql-e-insert-yaparken-dikkat-edilmesi-gereken-bir-kac-husus.html#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:44:38 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=80</guid>
		<description><![CDATA[<p>MySql ve MSSql in huyudur, hata var derler ama nerede oldugunu soylemez ve saatlerinizi yerler. Bu saatleri geri kazanmaniz icin, kendi adima da hatirlatma notu olarak, karsilastigim bir kac noktayi listelemek istiyorum</p> Eger MySqlParameter kullaniyorsaniz (mssql den alistiginiz) @ isareti yerine ? isareti kullanin Field isimlerinde (veri alanlarinda degil) &#8220; veya &#8216; yerine ` [...]]]></description>
			<content:encoded><![CDATA[<p>MySql ve MSSql in huyudur, hata var derler ama nerede oldugunu soylemez ve saatlerinizi yerler. Bu saatleri geri kazanmaniz icin, kendi adima da hatirlatma notu olarak, karsilastigim bir kac noktayi listelemek istiyorum</p>
<ul>
<li>Eger <strong>MySqlParameter</strong> kullaniyorsaniz (mssql den alistiginiz) <strong>@</strong> isareti yerine <strong>?</strong> isareti kullanin</li>
<li>Field isimlerinde (veri alanlarinda degil) <strong>&#8220;</strong> veya <strong>&#8216;</strong> yerine <strong>`</strong> isareti kullanin</li>
<li>Parametre eklerken
<pre class="c-sharp" name="code">new MySqlParameter("?_date_modified", DateTime.Now){ DbType= DbType.DateTime}
</pre>
<p> kullanin (mutlaka veri tipini belirten baska bir ifade de olabilir)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/csharp-ile-mysql-e-insert-yaparken-dikkat-edilmesi-gereken-bir-kac-husus.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PNG ve GDI+ hatası</title>
		<link>http://www.cihantopcu.com/png-ve-gdi-hatasi.html</link>
		<comments>http://www.cihantopcu.com/png-ve-gdi-hatasi.html#comments</comments>
		<pubDate>Thu, 14 Jan 2010 14:24:00 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[bitmap]]></category>
		<category><![CDATA[gdi+]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/png-ve-gdi-hatasi.html</guid>
		<description><![CDATA[img.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Png); <p>ile A generic error occurred in GDI+ hatası alıyorsanız asağıdaki kodu deneyin</p> MemoryStream ms= new MemoryStream(); Bitmap bitmap = new Bitmap(img); bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png); ms.WriteTo(Response.OutputStream); ]]></description>
			<content:encoded><![CDATA[<pre name="code"  class="c-sharp">img.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Png);</pre>
<p>ile<br />
<span style="color: #ff0000;"><strong>A generic error occurred in GDI+</strong></span><br />
hatası alıyorsanız asağıdaki kodu deneyin</p>
<pre name="code"  class="c-sharp">MemoryStream ms= new MemoryStream();
Bitmap bitmap = new Bitmap(img);
bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
ms.WriteTo(Response.OutputStream);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/png-ve-gdi-hatasi.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Temp tablo oluşturma</title>
		<link>http://www.cihantopcu.com/sql-temp-tablo-olusturma.html</link>
		<comments>http://www.cihantopcu.com/sql-temp-tablo-olusturma.html#comments</comments>
		<pubDate>Tue, 11 Aug 2009 12:32:09 +0000</pubDate>
		<dc:creator>Cihan Topcu</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[TIPS]]></category>
		<category><![CDATA[temp table]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.cihantopcu.com/?p=49</guid>
		<description><![CDATA[<p>SQL sorguları yazarken, özellikle sp (stored procedure), temp table (geçici tablo) oluştururken sıkıntılar çıkabiliyor. En azından oluşturduğunuz geçici tabloyu silmeniz gerekiyor. Bu sıkıntıları aşmanın yolu geçici tabloyu aşağıdaki gibi oluşturup kullanmaktır.</p> DECLARE @TMP_TABLE_NAME( FIELD_ID INT IDENTITY(1, 1), FIELD_1 INT, FIELD_2 INT, FIELD_3 NVARCHAR(MAX) ) ]]></description>
			<content:encoded><![CDATA[<p>SQL sorguları yazarken, özellikle sp (stored procedure), temp table (geçici tablo) oluştururken sıkıntılar çıkabiliyor. En azından oluşturduğunuz geçici tabloyu silmeniz gerekiyor. Bu sıkıntıları aşmanın yolu geçici tabloyu aşağıdaki gibi oluşturup kullanmaktır.</p>
<pre name="code" class="sql">
DECLARE @TMP_TABLE_NAME(
FIELD_ID INT IDENTITY(1, 1),
FIELD_1 INT,
FIELD_2 INT,
FIELD_3 NVARCHAR(MAX)
)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cihantopcu.com/sql-temp-tablo-olusturma.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

