<?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>Fri, 12 Feb 2010 09:53:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Free Virtualization Solutions</title>
		<link>http://yuix.org/web-development/free-virtualization-solutions/122</link>
		<comments>http://yuix.org/web-development/free-virtualization-solutions/122#comments</comments>
		<pubDate>Fri, 12 Feb 2010 09:53:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=122</guid>
		<description><![CDATA[There are times when you want to test an application or a God knows what computer trick but feel reluctant to turning your own computer in a guinea pig. And you know what? It&#8217;s only natural that you don&#8217;t want to jeopardize the &#8220;sanity&#8221; and performance of your system simply because you read a computer [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when you want to test an application or a God knows what computer trick but feel reluctant to turning your own computer in a guinea pig. And you know what? It&#8217;s only natural that you don&#8217;t want to jeopardize the &#8220;sanity&#8221; and performance of your system simply because you read a computer freak tutorial on how to customize the system by hacking the registry.</p>
<p>I know that making an image of system partition is a great safety net that can reverse the state of the machine to a previous, healthy state, but it almost always happens that you want to preserve all the applications installed and not bother with this later. I mean it is not as if you made a system image immediately after installing a program.</p>
<p>So a very handy solution that has been around for years is virtualization of your machine. The solution can be employed successfully for all sorts of computer tricks testing without affecting your real machine in any way. With the right software, you can make yourself a brand new computer loaded with Windows or Linux OS. Virtual Machines (VM), which are generally called &#8216;guest&#8217; make for a very good testing environment as nothing is leaked into the real computer, also called &#8216;host&#8217;.</p>
<p>The principle is simple: borrow the resources of the real machine and use them in the virtual machine. You get to select the amount of RAM<br />
the new system will run on, the disk space and the basic peripherals. Regarding disk space, the hard disk image can be dynamically expanding, meaning that its size will grow according to guest OS needs or it can be fix and user defined (it will not take more space than you allot).</p>
<p>An operating system running in a virtual machine will look and feel just like the real thing. You have full control over the way it behaves and there is little effort into it. Actually, all you have to do is install the operating system and that is it.</p>
<p>There aren&#8217;t too many applications tailored for creating virtual machines, but the two I recommend are definitely doing a great job as they are both easy to handle and harness. The first one is Virtual Box from InnoTek. The second comes from Microsoft itself under the form of Virtual PC.</p>
<p>If you are in a hurry, I would recommend Virtual PC from Microsoft combined with the XP image available from the same developer. XP is already installed and all you have to do is mount the image and start working. Now, there is a downside to this: XP cannot be updated online and you will have to wait until Microsoft issues a new, updated image.</p>
<p>But, you can always use your own copy of XP for this and benefit from all the updates you want immediately after their release. The great thing with Virtual PC is that you no longer need to define a &#8216;host&#8217; key in order to make the swap between &#8216;guest&#8217; and &#8216;host&#8217; machine and you can drag and drop stuff from &#8216;host&#8217; to guest with absolutely no problem.</p>
<p><strong>VirtualBox virtualization settings</strong><br />
This would not happen on VirtualBox, but it comes with its own advantages in what concerns functionality. I would try both of them as they are absolutely free and the wizards included will guide you thorough every step to make it easier to create a virtual machine.</p>
<p>You must have all guessed the advantages of a virtual machine by now, but I will reveal them to you anyway. First off you can avoid putting your machine at risk when testing various applications. Just imagine testing an anti-virus&#8217; capabilities of catching in-the-wild nasties. There is absolutely no risk of contaminating the real system as all the malware is contained in VM&#8217;s virtual disk.</p>
<p>Also, if you are into surfing unsafe websites, a VM offers security for host machine unaffecting it in any way. We all know how users which are less skilled in the &#8216;art of computering&#8217; make all sorts of downloads and install various apps (and many times it happens for them not to be too safe) to the default location (generally this is on system drive) thus making a huge dent in your computer&#8217;s performance. You can avoid all that by teaching them the ways of a virtual machine.</p>
<p>Not to mention that if you want to try out an application that only works on other operating systems your real machine is equipped with, virtualization is the best solution on the market. The same is available for giving a shot to other operating systems, like Linux.</p>
<p>However, before creating a virtual machine, make sure you have sufficient RAM on the host computer. Though this resource will be utilized only when VM is started, I am sure you want &#8216;guest&#8217; machine to run as smooth as possible. For this you want to allocate as much RAM as the VM operating system requires and still have some for the &#8216;host&#8217;.</p>
<p>Test your applications and tricks in a safe virtual environment before running them on the real thing. It will take a bit longer to reach a result, but at least it is a risk-free operation, plus &#8211; the two solutions presented above perform beautifully and come absolutely free of charge.</p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/free-virtualization-solutions/122/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI&#8217;ye Başlangıç: YUI Nasıl Kullanılır?</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>admin</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 ekleyebiliriz. Resimde göründüğü [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" src="http://yui.yahooapis.com/combo?2.8.0r4/build/utilities/utilities.js&#038;2.8.0r4/build/selector/selector-min.js"></script><br />
<script type="text/javascript" src="/yui2.8/form_validation.js"></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" name="code">  <!-- 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" name="code">&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" name="code"> 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" name="code">$E.on('form1', 'submit', function(e) {
  formu_dogrula(e);
}); // 'form1' formuna listener ekledik</pre>
<p>&#8220;form1&#8243; id&#8217;li element &#8217;submit&#8217; edilirken formu_dogrula. Şimdi formu_dogrula fonksiyonunu yazalım.</p>
<pre class="javascript" name="code">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>admin</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>admin</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>admin</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 &#038;&#038; [...]]]></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>admin</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 /lib/modules/`uname -r`/kernel/drivers/misc
sudo depmod
sudo modprobe [...]]]></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>0</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>admin</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 your user to fuse group.
Now you&#8217;re [...]]]></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>admin</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 animasyon [...]]]></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>
		<item>
		<title>Linux Hosting</title>
		<link>http://yuix.org/web-development/linux-hosting/52</link>
		<comments>http://yuix.org/web-development/linux-hosting/52#comments</comments>
		<pubDate>Wed, 15 Jul 2009 10:57:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=52</guid>
		<description><![CDATA[If you are in the process of obtaining quality web hosting and wish to do so at an affordable price you have, or most likely will, notice that Linux Hosting is one of the alternatives. This form of web hosting is highly popular and one of the reasons for this is that it only costs [...]]]></description>
			<content:encoded><![CDATA[<p>If you are in the process of obtaining quality <a href="http://www.webhostingsearch.com/" target="_blank">web hosting</a> and wish to do so at an affordable price you have, or most likely will, notice that Linux Hosting is one of the alternatives. This form of web hosting is highly popular and one of the reasons for this is that it only costs a couple of dollars per month. Linux Hosting is, obviously, based on the Linux Software which is open source and consequently free. When browsing the web one quickly notices that many tend to compare Linux Web Hosting with Windows Hosting which has lead to us also doing a quick comparison of the two, trying to sort them out.</p>
<p>Even though there are many similarities between <a href="http://www.webhostingsearch.com/linux-web-hosting.php">Linux Hosting</a> and <a href="http://www.webhostingsearch.com/windows-web-hosting.php">Windows Web Hosting</a>, a couple of things still set them apart. The differences might not be that big but they are still worth mentioning. Important to mention before we dive into these two forms of web hosting is that a lot of website owners put way too much focus on which operating system to choose rather than looking at what the web host, and its hosting plans, has to offer when it comes to features and services. From a pricing point of view it is pretty much neck and neck between Linux and Windows Hosting. Any of these two should not cost you more than $4 to $7 a month. For this amount you should get an impressive number of disk space, bandwidth and uptime. We would recommend you partnering up with the more well-known providers as you can trust them to deliver as promised.</p>
<p>So, let us get to what sets Linux Hosting and Windows Web Hosting apart and which one that is to prefer. When asking professionals, such as webmasters and web designers, you will almost exclusively get the answer that Linux Hosting is their top choice. This is how it is today and how it has been for quite some time now. It is not easy to say why this is but the fact that Linux has narrowed its ease-of-use gap and improved its functionality certainly has got something to do with it. Picking Windows Web Hosting is not a bad thing as it allows full allowance of ASP but from a general point of view Linux is to prefer. It is simply easier to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/web-development/linux-hosting/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu&#8217;da youtube.com engelini aşmak için kolay bir yöntem</title>
		<link>http://yuix.org/ubuntu/ubuntuda-youtubecom-engelini-asmak-icin-kolay-bir-yontem/44</link>
		<comments>http://yuix.org/ubuntu/ubuntuda-youtubecom-engelini-asmak-icin-kolay-bir-yontem/44#comments</comments>
		<pubDate>Sat, 02 May 2009 01:39:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yuix.org/?p=44</guid>
		<description><![CDATA[
sudo su
cat ip_list &#62;&#62; /etc/hosts

&#160;ip_list dosyasının içeriğini /etc/hosts dosyasına eklemek yeterli oluyor.
Aynı yöntemle tüm engelli siteleri açmak mümkün.
ip_list dosyasını buradan indirebilirsiniz
]]></description>
			<content:encoded><![CDATA[<pre name="code" class="php">
sudo su
cat ip_list &gt;&gt; /etc/hosts
</pre>
<p>&nbsp;<br />ip_list dosyasının içeriğini /etc/hosts dosyasına eklemek yeterli oluyor.</p>
<p>Aynı yöntemle tüm engelli siteleri açmak mümkün.</p>
<p><a href='http://yuix.org/wp-content/uploads/2009/05/ip_list'>ip_list dosyasını buradan indirebilirsiniz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yuix.org/ubuntu/ubuntuda-youtubecom-engelini-asmak-icin-kolay-bir-yontem/44/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
