<?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>Web Development Blog by Serdar AKARCA</title>
	<atom:link href="http://yuix.org/feed" rel="self" type="application/rss+xml" />
	<link>http://yuix.org</link>
	<description>a web development blog focusing on linux, codeigniter and yui</description>
	<lastBuildDate>Thu, 12 Aug 2010 14:46:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lucid Lynx and Gedit &#8220;Indent Lines&#8221; Plugin</title>
		<link>http://yuix.org/web-development/lucid-lynx-and-gedit-indent-lines-plugin/145</link>
		<comments>http://yuix.org/web-development/lucid-lynx-and-gedit-indent-lines-plugin/145#comments</comments>
		<pubDate>Sat, 22 May 2010 00:57:43 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=145</guid>
		<description><![CDATA[My favourite text editor is gedit. I use gedit because it&#8217;s light and very powerful. Unfortunately by lucid upgrade, the indent feature has been removed. Maybe developers thought that tab was enough to indent lines but it is not. So, I want my &#8220;Indent Lines&#8221; plugin again. And if you want your indent feature back, [...]]]></description>
			<content:encoded><![CDATA[<p>My favourite text editor is gedit. I use gedit because it&#8217;s light and very powerful. Unfortunately by lucid upgrade, the indent feature has been removed. Maybe developers thought that tab was enough to indent lines but it is not. So, I want my &#8220;Indent Lines&#8221; plugin again. And if you want your indent feature back, here is the plugin:</p>
<p><a href="http://yuix.org/wp-content/uploads/2010/05/indent_lines.zip">http://yuix.org/wp-content/uploads/2010/05/indent_lines.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/lucid-lynx-and-gedit-indent-lines-plugin/145/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Native Multiple File Upload Support by Firefox 3.6</title>
		<link>http://yuix.org/web-development/native-multiple-file-upload-support-by-firefox-3-6/136</link>
		<comments>http://yuix.org/web-development/native-multiple-file-upload-support-by-firefox-3-6/136#comments</comments>
		<pubDate>Mon, 22 Mar 2010 19:32:29 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=136</guid>
		<description><![CDATA[I fed up with Flash Uploaders like Uplodify, YUI Uploader etc. Because any of them works&#8230; It doesn&#8217;t work and you can&#8217;t debug it. Flash plugin is absolutely very painful thing. At the end, by Firefox 3.6 native multiple file upload suppport has came. I implemented it at Markafoni.com admin panel. Here is an example: [...]]]></description>
			<content:encoded><![CDATA[<p>I fed up with Flash Uploaders like Uplodify, YUI Uploader etc. Because any of them works&#8230; It doesn&#8217;t work and you can&#8217;t debug it. Flash plugin is absolutely very painful thing.</p>
<p>At the end, by Firefox 3.6 native multiple file upload suppport has came. I implemented it at <a href="http://markafoni.com">Markafoni.com</a> admin panel. Here is an example:</p>
<pre name="code" class="html">
<form method="post" action="" enctype="multipart/form-data">
<input name="file[]" type="file" multiple="" />
<input type="submit" value="Send">
</form>
</pre>
<p>We use Django at backend. Here is Django code to get files:</p>
<pre name="code" class="python">
images = request.FILES.getlist("file[]")
for i in images:
    filename = i.name
    raw_data = i.read()
    ... write raw_data to path/filename ...
</pre>
<p>If you like php:</p>
<pre name="code" class="php">
foreach ($_FILES['file']['name'] as $filename) {
    echo $filename;
    ... maybe you want to move it anywhere ...
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/native-multiple-file-upload-support-by-firefox-3-6/136/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t decide to doctype? It&#8217;s easy!</title>
		<link>http://yuix.org/web-development/cant-decide-to-doctype-its-easy/129</link>
		<comments>http://yuix.org/web-development/cant-decide-to-doctype-its-easy/129#comments</comments>
		<pubDate>Fri, 19 Mar 2010 03:23:19 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=129</guid>
		<description><![CDATA[If you think doctype declerations are very long and ugly just use html5 doctype. &#60;!doctype html&#62; When I saw this doctype I thought IE would switch to quirks mode. Surprisingly, all major browsers switch to standarts mode with Html5 doctype. All you need is &#60;!doctype html&#62;]]></description>
			<content:encoded><![CDATA[<p>If you think doctype declerations are very long and ugly just use html5 doctype.</p>
<pre class="html" name="code">&lt;!doctype html&gt;</pre>
<p>When I saw this doctype I thought IE would switch to quirks mode. Surprisingly, all major browsers switch to standarts mode with Html5 doctype. <a href="http://themaingate.net/dev/html/all-you-need-is-doctype-html" target="_blank">All you need is &lt;!doctype html&gt;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/cant-decide-to-doctype-its-easy/129/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI&#8217;ye Baslangic: YUI Nasil Kullanilir?</title>
		<link>http://yuix.org/web-development/yuiy-dersi-yui-nasil-kullanilir/94</link>
		<comments>http://yuix.org/web-development/yuiy-dersi-yui-nasil-kullanilir/94#comments</comments>
		<pubDate>Fri, 13 Nov 2009 00:30:34 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=94</guid>
		<description><![CDATA[YUI, YAHOO tarafından geliştirilen içerisinde javascript ve css kodları bulunduran gelişmiş bir arayüz kütüphanesidir. Arayüz geliştiricilerinin tüm ihtiyaçlarını karşılayacak kadar zengindir. YUI&#8217;nin nasıl kullanıldığını adım adım öğreneceğiz. Devamını okumak için lütfen tıklayınız&#8230; 1. YUI&#8217;yi sayfamıza eklemek YUI&#8217;yi sayfamıza eklememizin en kolay yolu YUI depency configurator sayfasındaki aracı kullanmaktır. Bu araç sayesinde istediğimiz YUI modullerini kolayca [...]]]></description>
			<content:encoded><![CDATA[<p><script src="http://yui.yahooapis.com/combo?2.8.0r4/build/utilities/utilities.js&amp;2.8.0r4/build/selector/selector-min.js" type="text/javascript"></script><br />
 <script src="/yui2.8/form_validation.js" type="text/javascript"></script></p>
<p>YUI, YAHOO tarafından geliştirilen içerisinde javascript ve css kodları bulunduran gelişmiş bir arayüz kütüphanesidir. Arayüz geliştiricilerinin tüm ihtiyaçlarını karşılayacak kadar zengindir. YUI&#8217;nin nasıl kullanıldığını adım adım öğreneceğiz.</p>
<h3><a href="http://yuix.org/web-development/yuiy-dersi-yui-nasil-kullanilir/94">Devamını okumak için lütfen tıklayınız&#8230;</a></h3>
<p><span id="more-94"></span></p>
<h2>1. YUI&#8217;yi sayfamıza eklemek</h2>
<p>YUI&#8217;yi sayfamıza eklememizin en kolay yolu <a href="http://developer.yahoo.com/yui/articles/hosting/">YUI depency configurator</a> sayfasındaki aracı kullanmaktır. Bu araç sayesinde istediğimiz YUI modullerini kolayca ekleyebiliriz. Resimde göründüğü gibi seçimlerimi başlangıç olarak şöyle yapıyorum:</p>
<p><strong>Filter</strong> sekmesinden YUI dosyalarının nerede host edileceğini seçtim. YUI&#8217;yi kendi bilgisayarıma indirmeden ya da host alanıma koymadan kullanacağız. Hızlı başlangıç yapmak için bu şimdilik en iyi yöntem.</p>
<p><strong>YUI CSS Packages</strong> sekmesinden sayfamız için gerekli ve yararlı CSS kütüphanelerini seçtim. Bu kütüphanelerin ne işe yaradığını bir sonraki adımda açıklayacağız.</p>
<p><strong>YUI JavaScript Utilities</strong> sekmesinden Selector Utility ve son olarak utilities.js yi seçtim.</p>
<p>Seçimleri yaptıktan sonra YUI Depency Configurator&#8217;un benim için hazırladığı &#8216;Loading Script and CSS Directly&#8217; sekmesinin altındaki kodu kopyalıyorum.</p>
<pre class="html">  <!-- Combo-handled YUI CSS files: -->
  &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css"&gt;
  <!-- Combo-handled YUI JS files: -->
  &lt;script type="text/javascript" src="http://yui.yahooapis.com/combo?2.8.0r4/build/utilities/utilities.js&amp;2.8.0r4/build/selector/selector-min.js"&gt;&lt;/script&gt;</pre>
<p><strong>Kopyaladığımız kodu sayfamızın &lt;head&gt; tag&#8217;i içine yapıştırarak YUI&#8217;yi sayfamıza eklemiş oluyoruz.</strong></p>
<p><img class="wp-image-95" title="yui_2_dependency_configurator" src="http://yuix.org/wp-content/uploads/2009/11/yui_2_dependency_configurator.png" alt="" width="556" /></p>
<h3>Eklediğimiz dosyalar ne işe yarıyor?</h3>
<p>Sayfamıza şu kütüphaneleri yükledik:</p>
<ul>
<li><strong>YUI Fonts, Grids, Reset CSS:</strong> Bu CSS kütüphaneleri web tarayıcıları(browser) arasındaki farkları ortadan kaldırıyor. Hazırladığımız sayfaların her browserda aynı görünmesi için Reset CSS&#8217;i eklememiz gerekmektedir. Ayrıca Font&#8217;ların düzgün render edilmesi için de YUI Fonts kütüphanesi gereklidir. Grids CSS ise layout oluşturmamız için yardımcı bir kütüphanedir. Layout oluşturmak için ayrıca yardımcı bir aracımız var: <a href="http://developer.yahoo.com/yui/grids/builder/">YUI Grid Builder</a></li>
<li><strong>utilities.js:</strong> Utilities.js dosyası çok kullanılan kütüphanelerin toplamıdır. Utilities.js&#8217;yi ekleyerek yui, dom, event, animation, connection, drag&amp;drop, element ve get kütüphanelerini yüklemiş oluyoruz.</li>
</ul>
<h2>2. Hello World: YUI&#8217;yle ilk javascript kodunu yazmak</h2>
<p>YUI&#8217;nin javascript kütüphaneleri sayesinde html elementleri seçmek, seçtiğimiz elementlere listener eklemek ve bu elementlerin özelliklerini değiştirmek çok kolay.</p>
<p>Kolay bir örnekle başlayabiliriz. Hazırladığımız html form&#8217;ları javascript&#8217;le kontrol edelim. Doldurulması zorunlu alanlar varsa kullanıcıyı uyaran form validation kodunu yazalım.</p>
<p>Aşağıdaki formda tüm alanları doldurmak zorunludur.</p>
<form id="form1" action="#" method="post">
<table border="0" cellspacing="4" cellpadding="4" width="100%">
<tbody>
<tr>
<th>Adınız*</th>
<td>
<input class="zorunlu" name="adiniz" type="text" /></td>
<td>adınızı giriniz</td>
</tr>
<tr>
<th>Doğum yılınız*</th>
<td>
<input class="zorunlu yil" name="adiniz" type="text" /></td>
<td>sadece 4 haneli sayı giriniz</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Gönder" /></td>
<td></td>
</tr>
</tbody>
</table>
</form>
<p>Formu şu şekilde oluşturduk:</p>
<pre class="html">&lt;form id="form1" action="#" method="post"&gt;
  &lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;
  &lt;tr&gt;
    &lt;th&gt;Adınız*&lt;/th&gt;
    &lt;td&gt;&lt;input type="text" name="adiniz" class="zorunlu" /&gt;&lt;/td&gt;
    &lt;td&gt;adınızı giriniz&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;th&gt;Doğum yılınız*&lt;/th&gt;
    &lt;td&gt;&lt;input type="text" name="adiniz" class="zorunlu yil" /&gt;&lt;/td&gt;
    &lt;td&gt;sadece 4 haneli sayı giriniz&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt; &lt;/td&gt;
    &lt;td&gt;&lt;input type="submit" value="Gönder"&gt;&lt;/td&gt;
    &lt;td&gt; &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
&lt;/form&gt;</pre>
<p>Form&#8217;a kolayca erişebilmek için &#8220;id&#8221; tanımladık(id=&#8221;form1&#8243;). Adınız alanı için &#8220;zorunlu&#8221; class&#8217;ını ekledik. &#8220;zorunlu&#8221; class&#8217;ına sahip olan input&#8217;ların yazılmasını zorulu yapacağız. Doğum yılı için de hem &#8220;zorunlu&#8221; hem de &#8220;yil&#8221; class&#8217;ını ekledik. Her birini ayrı ayrı kontrol edeceğiz. İlk adım form&#8217;a listener eklemek. Yani form gönderilirken(submit edilirken) kontrolleri yapacak fonksiyonu atamak. Ama ondan önce birkaç kısayol tanımlayacağız.</p>
<pre class="javascript"> var $D = YAHOO.util.Dom;       // elementlerin DOM objesine erişmek için gerekli class
 var $E = YAHOO.util.Event;     // elementlere listener eklemek için gerekli class
 var select = YAHOO.util.Selector.query; // elementleri seçmek için gerekli class</pre>
<pre class="javascript">$E.on('form1', 'submit', function(e) {
  formu_dogrula(e);
}); // 'form1' formuna listener ekledik</pre>
<p>&#8220;form1&#8243; id&#8217;li element &#8216;submit&#8217; edilirken formu_dogrula. Şimdi formu_dogrula fonksiyonunu yazalım.</p>
<pre class="javascript">function formu_dogrula(e) {

  // CSS3 Selector'leri kullanarak istediğimiz elementleri Selector class'ı sayesinde seçebiliyoruz. Detaylar için: http://developer.yahoo.com/yui/selector/
  var zorunlu_alanlar = select('input.zorunlu');  // zorunlu class'ına sahip tüm input elemanlarını -array olarak- seçtik. YAHOO.util.Selector.query fonksiyonu elementleri seçip array olarak döndürür. Seçilen elementlerin tüm DOM özelliklerine erişmek mümkündür. ör: select('input.zorunlu')[0].style.display
  var yil_alanlari = select('input.yil');         // yil class'ına sahip tüm input elemanlarını -array olarak- seçtik.

  // Seçtiğimiz zorunlu_alanlar'ı kontrol etmek için hepsini teker teker for döngüsüyle gezeceğiz.
  for(var i=0;i &lt; zorunlu_alanlar.length;i++) {

    if(zorunlu_alanlar[i].value == "") { // value boş ise
      $D.setStyle(zorunlu_alanlar[i], 'background', '#FF7791'); // doldurulmamış alanı kırmızıya boyuyoruz. Dom fonksiyonları için: http://developer.yahoo.com/yui/dom/
      alert('Lütfen gerekli alanları doldurunuz.');  // uyarı gösteriyoruz.
      zorunlu_alanlar[i].focus(); // Doldurulmamış alana focus ettik.
      $E.preventDefault(e); // formun submit edilmesini engelliyoruz. Tüm Event fonksiyonları için: http://developer.yahoo.com/yui/event/
      return false;
    }
    else {
      $D.setStyle(zorunlu_alanlar[i], 'background', '#97F297'); // Herhangi bir CSS kuralını setStyle fonksiyonuyla elementlere atayabiliriz.
    }

  }

  // Zorunlu alanlar için kontrolleri yaptık şimdi de yil_alanlari'ni kontrol edeceğiz. Bu kez for döngüsü yerine YUI'nin batch fonksiyonunu kullanacağız. batch, fonksiyonel dillerdeki map'in karşılığır. For döngüsünden daha hızlı ve verimli çalışır. Ayrıca anlaşılması da daha kolaydır.

  $D.batch(yil_alanlari, function(el) {

    if(!YAHOO.lang.isNumber(el.value*1)) { // YAHOO.lang class'ı javascript yazarken sıkça kullanılan yardımcı fonksiyonları barındırıyor. Detaylar için:XXXXXXXXX
      $D.setStyle(el, 'background', '#FF7791'); // yanlış doldurulmuş alanı kırmızıya boyuyoruz.
      alert('Yıl alanına yalnızca rakam giriniz.');  // uyarı gösteriyoruz.
      $E.preventDefault(e); // formun submit edilmesini engelliyoruz.
      return false;
    }
    else {
      $D.setStyle(el, 'background', '#97F297');
    }

  });

  return true; // Burada tüm doğrulamalardan geçmiş olan formumuzun post edilmesi için true değerini döndürüyoruz.
}</pre>
<p>Yaptığımız örneği ayrı bir sayfada görmek için <a href="/yui2.8/yui_form_dogrulama.html">buraya tıklayınız</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/yuiy-dersi-yui-nasil-kullanilir/94/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 ve Vodafone 3G Modem: Huawei E620</title>
		<link>http://yuix.org/ubuntu/ubuntu-910-ve-vodafone-3g-modem-huawei-e620/88</link>
		<comments>http://yuix.org/ubuntu/ubuntu-910-ve-vodafone-3g-modem-huawei-e620/88#comments</comments>
		<pubDate>Tue, 10 Nov 2009 21:23:56 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=88</guid>
		<description><![CDATA[3G modemi ilk kez Ubuntu 9.04 te denemiştim ve sonuç mükemmeldi. Hiç bir driver yüklemeden, ilk denemede internete bağlanabilmiştim. Biricik işletim sistemim Ubuntu&#8217;ya olan hayranlığım bir kat daha artmıştı. Fakat 9.10&#8242;la birlikte ben gibi bir çok Ubuntu kullanıcısı hayal kırıklığına uğradı. 9.10 da 3G modemler USB bellek olarak görünüyor. Modem olarak sisteme bağlanmadığı için internete [...]]]></description>
			<content:encoded><![CDATA[<p>3G modemi ilk kez Ubuntu 9.04 te denemiştim ve sonuç mükemmeldi. Hiç bir driver yüklemeden, ilk denemede internete bağlanabilmiştim. Biricik işletim sistemim Ubuntu&#8217;ya olan hayranlığım bir kat daha artmıştı. Fakat 9.10&#8242;la birlikte ben gibi bir çok Ubuntu kullanıcısı hayal kırıklığına uğradı. 9.10 da 3G modemler USB bellek olarak görünüyor. Modem olarak sisteme bağlanmadığı için internete girmek de mümkün olmuyor. Böylece Microsoft&#8217;un Windows işletim sistemleri için hazırlanmış olan bu `kendi driverını yanında taşıyan modem` modeli Ubuntu&#8217;nun yoluna taş koymuş oldu.</p>
<p>Yine de Unix&#8217;te çareler tükenmez. Aşağıdaki kodları sırayla çalıştırarak Ubuntu 9.10&#8242;da da modeminizi internete hazır duruma getirebilirsiniz. Fakat bu kodu çalıştırmadan önce Usb Bellek olarak sisteme bağlanan modemi &#8216;Safely remove&#8217; etmemiz gerekiyor. Kodları çalıştırdıktan sonra 3G bağlantımız Network Manager&#8217;da listelenecektir. Ubuntu takımı bu hatayı düzeltene kadar malesef her açılışta bu hatayı elle düzeltmemiz gerekiyor.</p>
<pre name="code" class="php">
sudo rmmod usb-storage
sudo modprobe -r option
sudo modprobe -r usbserial
sudo modprobe usbserial vendor=0x12d1 product=0x1001
sudo pppd ttyUSB0
</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/ubuntu/ubuntu-910-ve-vodafone-3g-modem-huawei-e620/88/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7 Bug: On window resize relative positioned elements disappear</title>
		<link>http://yuix.org/web-development/ie7-bug-on-window-resize-relative-positioned-elements-disappear/83</link>
		<comments>http://yuix.org/web-development/ie7-bug-on-window-resize-relative-positioned-elements-disappear/83#comments</comments>
		<pubDate>Tue, 10 Nov 2009 20:52:41 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=83</guid>
		<description><![CDATA[If you have relative positioned or floating elements on your page, try to resize your page in IE7, you will see some elements disappear. I also know that sometimes hovering block displayed anchors causes this bug. Problem is causeing from haslayout property of these elements. If we change haslayout property, the problem is going to [...]]]></description>
			<content:encoded><![CDATA[<p>If you have relative positioned or floating elements on your page, try to resize your page in IE7, you will see some elements disappear. I also know that sometimes hovering block displayed anchors causes this bug. </p>
<p>Problem is causeing from haslayout property of these elements. If we change haslayout property, the problem is going to be solved. An easy hack of haslayout property is applying &#8220;zoom:1&#8243; to elements:</p>
<pre name="code" class="css">
relative_elements_selector {
  zoom:1;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/ie7-bug-on-window-resize-relative-positioned-elements-disappear/83/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI Selector IE8 Bug and Solution</title>
		<link>http://yuix.org/web-development/yui-selector-ie8-bug-and-solution/77</link>
		<comments>http://yuix.org/web-development/yui-selector-ie8-bug-and-solution/77#comments</comments>
		<pubDate>Mon, 09 Nov 2009 12:26:37 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=77</guid>
		<description><![CDATA[We used YUI 2.5.2 version for a long time on markafoni.com. With the new face of markafoni I decided to update YUI version. I updated YUI to 2.8rc version, but surprisingly I saw javascript errors in all IE8 pages. After googling I found the solution. The problem is was here in selector.js (or selector-min.js): if(YAHOO.env.ua.ie [...]]]></description>
			<content:encoded><![CDATA[<p>We used YUI 2.5.2 version for a long time on <a href="http://markafoni.com">markafoni.com</a>. With the new face of markafoni I decided to update YUI version. I updated YUI to 2.8rc version, but surprisingly I saw javascript errors in all IE8 pages. After googling I found the solution. The problem is was here in selector.js (or selector-min.js):</p>
<pre name="code" class="javascript">
if(YAHOO.env.ua.ie &#038;&#038; YAHOO.env.ua.ie<8)
</pre>
<p>Change to:</p>
<pre name="code" class="javascript">
if(YAHOO.env.ua.ie &#038;&#038; ((!document.documentMode &#038;&#038; YAHOO.env.ua.ie<8) || document.documentMode < 8))
</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/yui-selector-ie8-bug-and-solution/77/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinkpad SL500 Ubuntu Drivers</title>
		<link>http://yuix.org/ubuntu/thinkpad-sl500-ubuntu-drivers/68</link>
		<comments>http://yuix.org/ubuntu/thinkpad-sl500-ubuntu-drivers/68#comments</comments>
		<pubDate>Fri, 06 Nov 2009 00:49:26 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=68</guid>
		<description><![CDATA[I recently bought a new Thinkpad SL500. I installed a fresh Ubuntu 9.10. Unfortunately media keys and bluetooth was not working. After googling I found an experimental driver for media keys and bluetooth. Here is the solution; first download driver from http://github.com/tetromino/lenovo-sl-laptop After unpacking it. Run commands in the folder: make all sudo cp lenovo-sl-laptop.ko [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a new Thinkpad SL500. I installed a fresh Ubuntu 9.10. Unfortunately media keys and bluetooth was not working. After googling I found an experimental driver for media keys and bluetooth.</p>
<p>Here is the solution; first download driver from <a href="http://github.com/tetromino/lenovo-sl-laptop">http://github.com/tetromino/lenovo-sl-laptop</a></p>
<p>After unpacking it. Run commands in the folder:</p>
<pre name="code" class="php">
make all
sudo cp lenovo-sl-laptop.ko /lib/modules/`uname -r`/kernel/drivers/misc
sudo depmod
sudo modprobe lenovo-sl-laptop
</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/ubuntu/thinkpad-sl500-ubuntu-drivers/68/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easy way of mounting remote media/folders with sshfs</title>
		<link>http://yuix.org/web-development/easy-way-of-mounting-remote-mediafolders-with-sshfs/65</link>
		<comments>http://yuix.org/web-development/easy-way-of-mounting-remote-mediafolders-with-sshfs/65#comments</comments>
		<pubDate>Fri, 06 Nov 2009 00:34:31 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=65</guid>
		<description><![CDATA[Using ssh&#8217;s power it is very easy to mount remote folders. All you need to install sshfs package. It exist in the repository of Ubuntu. Don&#8217;t forget to add your user to Fuse group. Step 1. Install sshfs: sudo apt-get install sshfs Step 2. Go to Ubuntu&#8217;s System -&#62; Administrator -&#62; Users and Groups Add [...]]]></description>
			<content:encoded><![CDATA[<p>Using ssh&#8217;s power it is very easy to mount remote folders. All you need to install sshfs package. It exist in the repository of Ubuntu. Don&#8217;t forget to add your user to Fuse group.</p>
<p><strong>Step 1.</strong></p>
<p>Install sshfs:</p>
<pre name="code" class="php">sudo apt-get install sshfs</pre>
<p><strong>Step 2.</strong></p>
<p>Go to Ubuntu&#8217;s System -&gt; Administrator -&gt; Users and Groups</p>
<p>Add your user to fuse group.</p>
<p>Now you&#8217;re ready to mount remote folders. For example:</p>
<pre name="code" class="php">sshfs root@remoteip:/remote_path /home/user/Desktop/mnt</pre>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/easy-way-of-mounting-remote-mediafolders-with-sshfs/65/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ProcessingJs ve HTML5 Canvas</title>
		<link>http://yuix.org/web-development/processingjs-ve-html5-canvas/57</link>
		<comments>http://yuix.org/web-development/processingjs-ve-html5-canvas/57#comments</comments>
		<pubDate>Mon, 19 Oct 2009 23:09:47 +0000</pubDate>
		<dc:creator>Serdar</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=57</guid>
		<description><![CDATA[Web&#8217;de animasyon yapmak hiç bu kadar kolay olmamıştı. HTML5 bir gün tüm browserlar tarafından desteklenir olduğunda, basit animasyonlar yaratmak için herhangi bir araca gerek duymayacağız. Processing ve Processingjs sayesinde, HTML5 canvas üzerinde animasyon oluşturmak için bir kaç satır kod yazmak yeterli oluyor. Okul projemi processing&#8217;de yazdıktan sonra örnek olarak bloguma da yazmaya karar verdim. Bu [...]]]></description>
			<content:encoded><![CDATA[<p>Web&#8217;de animasyon yapmak hiç bu kadar kolay olmamıştı. HTML5 bir gün tüm browserlar tarafından desteklenir olduğunda, basit animasyonlar yaratmak için herhangi bir araca gerek duymayacağız. <a href="http://www.processing.org" target="_blank">Processing</a> ve <a href="http://processingjs.org/" target="_blank">Processingjs</a> sayesinde, HTML5 canvas üzerinde animasyon oluşturmak için bir kaç satır kod yazmak yeterli oluyor.</p>
<p>Okul projemi processing&#8217;de yazdıktan sonra örnek olarak bloguma da yazmaya karar verdim. Bu animasyon Internet Explorer haricindeki browserlarda görünecektir.<br />
<iframe src="/processing/processing-js-example.html" width="550" height="550" style="border:0;margin:0;padding:0;"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/processingjs-ve-html5-canvas/57/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
