<?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>fadvisor.net/blog</title>
	<atom:link href="http://fadvisor.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://fadvisor.net/blog</link>
	<description>Fahad Alduraibi Blog</description>
	<lastBuildDate>Mon, 20 Feb 2012 19:56:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>طريقة عمل الدوائر الإلكترونية في المنزل</title>
		<link>http://fadvisor.net/blog/2012/02/techsinarabic-pcb/</link>
		<comments>http://fadvisor.net/blog/2012/02/techsinarabic-pcb/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 19:40:17 +0000</pubDate>
		<dc:creator>فهد الدريبي</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Etching]]></category>
		<category><![CDATA[PCB]]></category>
		<category><![CDATA[الالكترونية]]></category>
		<category><![CDATA[الشرائح]]></category>
		<category><![CDATA[تحميض]]></category>
		<category><![CDATA[صناعة]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=515</guid>
		<description><![CDATA[هل رغبت يوما في عمل لوحة إلكترونية لكن تراجعت بسبب صعوبة العملية أو عدم وجود الأجهزة اللازمة؟ إذا كان هذا هو السبب فلدي الحل، قمت أنا وزميلي أحمد عباس بتصوير فيديو يبين طريقة عمل وتحميض تلك الدوائر باستخدام مواد وأدوات موجودة في المنزل أو متوفرة في السوق. هذا هو الفيديو الأول من سلسلة نود تقدمها [...]]]></description>
			<content:encoded><![CDATA[<p dir="rtl">هل رغبت يوما في عمل لوحة إلكترونية لكن تراجعت بسبب صعوبة العملية أو عدم وجود الأجهزة اللازمة؟</p>
<p dir="rtl">إذا كان هذا هو السبب فلدي الحل، قمت أنا وزميلي <a href="https://twitter.com/#!/AhmadAbbas_" target="_blank">أحمد عباس</a> بتصوير فيديو يبين طريقة عمل وتحميض تلك الدوائر باستخدام مواد وأدوات موجودة في المنزل أو متوفرة في السوق. هذا هو الفيديو الأول من سلسلة نود تقدمها في المستقبل تستهدف الهواة ومحبي التقنية في العالم العربي. لن أطيل عليكم وهذا هو الفيديو كما يمكنكم متابعته في اليوتيوب على قناة &#8220;تقنيات بالعربي&#8221; &#8220;TechsInArabic&#8221; (كما يمكن عرضه بجودة عالية HD)</p>
<p style="text-align: center;" dir="ltr">
<!-- Iframe plugin v.2.1 (wordpress.org/extend/plugins/iframe/) -->
<iframe src="http://www.youtube.com/embed/T41GqM8w_T4" height="325" width="100%" scrolling="no" class="iframe-class" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2012/02/techsinarabic-pcb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airline Manager Secrets and Cheats</title>
		<link>http://fadvisor.net/blog/2011/07/airline-manager-secrets-and-cheats/</link>
		<comments>http://fadvisor.net/blog/2011/07/airline-manager-secrets-and-cheats/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 14:16:07 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Aircraft]]></category>
		<category><![CDATA[Airline Manager]]></category>
		<category><![CDATA[Cheat]]></category>
		<category><![CDATA[Money]]></category>
		<category><![CDATA[Stock]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=482</guid>
		<description><![CDATA[NOTE: These cheats do not work anymore I am going to list here few tricks and cheats that you can use while playing airline manager on facebook. But be careful as some might get you banned from the game. For all of these tricks all you need is Google Chrome browser or Firefox with the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><span style="text-decoration: underline;"><strong><span style="color: #ff0000; text-decoration: underline;">NOTE: These cheats do not work anymore</span></strong></span></p>
<p>I am going to list here few tricks and cheats that you can use while playing airline manager on facebook. But be careful as some might get you banned from the game. For all of these tricks all you need is Google Chrome browser or Firefox with the Firebug add-on.</p>
<p><strong>1- The BIG Money maker</strong></p>
<p>For this cheat to work you need to have cargo planes, so get your pax points up and buy the cargo feature. Once you buy your cargo plane (get one that can carry big load for short distance, it makes more money) start creating its route (again demand is important,  distance is not) but stop at the point where you need to sign a contract. As you can see most prices are about $1.0 to $2.5. So pick any of these contracts, lets say the first one, and <strong>right click</strong> on the &#8220;<strong>Sign</strong>&#8221; button, from the list you will see an item called &#8220;Inspect Element&#8221; click on that and the browser will open a small box at the bottom of the page showing you some HTML code of that page and the code for the button you right click on is highlighted. See the picture:</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/inspect_element.jpg"><img class="size-thumbnail wp-image-483 aligncenter" title="inspect_element" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/inspect_element-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Now double click of that highlighted part of the code, and it will allow you to edit. Look for &#8220;tcc=x.xxxx&#8221; where the x is a the current price of the contract. Simply change that value to whatever your like, the limit that you can set it to is $99,999 per lbs. Don&#8217;t set it to high or you will be noticed <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/cool.png' alt='8)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/inspect_element2.png"><img class="aligncenter size-thumbnail wp-image-484" title="inspect_element2" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/inspect_element2-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Now, click on the same &#8220;Sign&#8221; button which you modified the code for and you are done. You will be rich in no time <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/wink.png' alt=';-)' class='wp-smiley' /> </p>
<p><strong>2- Buying more than 10 aircraft at once </strong><em>(Thanks Luke for this trick)</em><strong><br />
</strong></p>
<p>For most aircraft, pax and cargo, the limit that can be bought at once is just 10 (i don&#8217;t know why, seems that they like you to click and click more), to get more than that at once, maximum you can get is 99, go to the page for buying the plane you like, like in this picture:</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/p34.png"><img class="aligncenter size-thumbnail wp-image-490" title="p34" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/p34-150x150.png" alt="" width="150" height="150" /></a></p>
<p>then right click on the drop down box for the &#8220;Amount to purchase&#8221; and select &#8220;Inspect Element&#8221;, see the picture:</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/p35.png"><img class="aligncenter size-thumbnail wp-image-491" title="p35" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/p35-150x150.png" alt="" width="150" height="150" /></a></p>
<p>in the above picture click on the part of code that is highlighted with the second red oval, click on the code to change the number from value=&#8221;<strong>1</strong>&#8221; to value=&#8221;<strong>99</strong>&#8221; or whatever number you like, but 99 is the max, see picture:</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/p36.png"><img class="aligncenter size-thumbnail wp-image-492" title="p36" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/p36-150x150.png" alt="" width="150" height="150" /></a></p>
<p>You are done, set registration name and click &#8220;Buy aircraft&#8221;.</p>
<p>I am sure you can use the same method to do other tricks and make playing the game easier. But my number one recommendation is to use the Autopilot script <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/wink.png' alt=';)' class='wp-smiley' /> that will make you on the top 10 list like me</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2011/07/p37.png"><img class="aligncenter size-thumbnail wp-image-499" title="p37" src="http://fadvisor.net/blog/wp-content/uploads/2011/07/p37-150x150.png" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2011/07/airline-manager-secrets-and-cheats/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Front Mic problem in Fedora 14</title>
		<link>http://fadvisor.net/blog/2011/03/front-mic-problem-in-fedora-14/</link>
		<comments>http://fadvisor.net/blog/2011/03/front-mic-problem-in-fedora-14/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 15:48:35 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Alsa]]></category>
		<category><![CDATA[D620]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Front Mic]]></category>
		<category><![CDATA[Pulseaudio]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=452</guid>
		<description><![CDATA[After upgrading to Fedora 14 I noticed that the built-in mic in my Dell D620 stopped working, after searching here and there I the problem is between ALSA and Pulseaudio, since alsa will show to capture devices &#8220;Mic&#8221; &#38; &#8220;Front Mic&#8221; and Pulseaudio will use Mic as the default instead of Front Mic. So I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">After upgrading to Fedora 14 I noticed that the built-in mic in my Dell D620 stopped working, after searching here and there I the problem is between ALSA and Pulseaudio, since alsa will show to capture devices &#8220;Mic&#8221; &amp; &#8220;Front Mic&#8221; and Pulseaudio will use Mic as the default instead of Front Mic.</p>
<p style="text-align: justify;">So I used &#8220;alsamixer&#8221; to set the correct capture source and that worked but after a reboot it was set back to Mic. Then I found about &#8220;alsactl&#8221; which should store the current setting by doing &#8220;alsactl store&#8221; but that did not work either since I think pulseaudio does not look into that.</p>
<p style="text-align: justify;">Uninstalling pulseaudio as some people suggested solved the Mic problem but caused many other problems when playing many applications that want to play audio (like flash apps such as youtube and video apps&#8230;etc),  this is an ALSA problem that pulseaudio try to solve AFAIK.</p>
<p>The solution that I found was to use &#8220;amixer&#8221; which can be run from the command line with the parameters to set &#8220;Front Mic&#8221; as the capture source. Here is the full command for my device:</p>
<pre class="brush: bash; title: ; notranslate">amixer -c 0 cset numid=6,iface=MIXER,name='Input Source' 1</pre>
<p>To explain the previous command:<br />
[-c 0] is to select the first sound card (the only card in my laptop, but if you have two cards they will be 0 and 1)<br />
[cset] is to tell amixer that you want to set these settings<br />
[numid, iface, and MIXER] are information about your card and what source you want to change the settings for, and here is how I get these information:</p>
<pre class="brush: bash; title: ; notranslate">[fad@fad ~]$ amixer -c0 contents
numid=2,iface=MIXER,name='Master Playback Switch'
 ; type=BOOLEAN,access=rw------,values=2
 : values=on,on
numid=1,iface=MIXER,name='Master Playback Volume'
 ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
 : values=14,14
 | dBscale-min=-46.50dB,step=1.50dB,mute=0
......
......
numid=6,iface=MIXER,name='Input Source'
 ; type=ENUMERATED,access=rw------,values=1,items=2
 ; Item #0 'Mic'
 ; Item #1 'Front Mic'
 : values=0
......
......</pre>
<p style="text-align: justify;">And as you can see in the previous result the part that am looking for is (<strong>numid=6,iface=MIXER,name=&#8217;Input Source&#8217;</strong>) and it lists <strong>Mic=0</strong> and <strong>Front Mic=1</strong> but the selected<strong> values=0</strong> which is for Mic and I need to set it to 1</p>
<p>Here is the command again:</p>
<pre class="brush: bash; title: ; notranslate">amixer -c 0 cset numid=6,iface=MIXER,name='Input Source' 1</pre>
<p style="text-align: justify;">put this command in a script file and make it run whenever you login to your profile (I tried adding it to the rc.local so it will execute with every boot but that didn&#8217;t work, since I think the settings is applied during login time for each user)</p>
<p>For KDE users you can put that script (or a link to it) under:</p>
<pre class="brush: bash; title: ; notranslate">/home/&lt;username&gt;/.kde/Autostart/</pre>
<p>or through the KDE &#8220;System Settings&#8221;&gt;&#8221;Startup and Shutdown&#8221;&gt;&#8221;Autostart&#8221;</p>
<p>Now at each login this command should set the correct input source which pulseaudio will use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2011/03/front-mic-problem-in-fedora-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lsof واخواتها (اوامر للنكس)</title>
		<link>http://fadvisor.net/blog/2011/03/lsof-and-other-linux/</link>
		<comments>http://fadvisor.net/blog/2011/03/lsof-and-other-linux/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 03:34:16 +0000</pubDate>
		<dc:creator>فهد الدريبي</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[lsmod]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[lspci]]></category>
		<category><![CDATA[lspcmcia]]></category>
		<category><![CDATA[lsusb]]></category>
		<category><![CDATA[اوامر]]></category>
		<category><![CDATA[تشخيص]]></category>
		<category><![CDATA[حماية]]></category>
		<category><![CDATA[لنكس]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=437</guid>
		<description><![CDATA[في هذا الموضوع ساتحدث عن بعض الاوامر اللتي اعتقد انها مهمة في للمساعدة في تشخيص وصيانة نظام اللنكس وجهاز الحاسب الذي يعمل عليه. يمكن تنفيذ هذه الاوامر كمستخدم عادي، لكن قد لاتكون النتائج كاملة ويجب تنفيذها كمستخدم رئيس (root) للحصول على جميع المعلومات. اول هذه الاوامر هو lsof وهو اختصار (List Open Files) يعني عرض [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify" dir="rtl">في هذا الموضوع ساتحدث عن بعض الاوامر اللتي اعتقد انها مهمة في للمساعدة في تشخيص وصيانة نظام اللنكس وجهاز الحاسب الذي يعمل عليه. يمكن تنفيذ هذه الاوامر كمستخدم عادي، لكن قد لاتكون النتائج كاملة ويجب تنفيذها كمستخدم رئيس (root) للحصول على جميع المعلومات.</p>
<p style="text-align: justify" dir="rtl">اول هذه الاوامر هو <strong>lsof</strong> وهو اختصار (List Open Files) يعني عرض الملفات المفتوحة، والملفات في نظام اللنكس ليس محصورة بالملفات العادية كما تعرف في نظام الوندوز ولكنها تشمل المجلدات و المكتبات و ارتباطات الشبكة و انواع اخرى من الملفات الخاصه. وعند تنفيد الامر فسيقوم بعرض قائمة بجميع الملفات المفتوحه حاليا و اسم المستخدم الذي قام بفتح الملف ورقم العملية التي تم من خلالها فتح الملف (Process ID) و نوع الملف وحجمة (اذا كان ذو حجم معروف) و مسار الملف. القائمة في الغالب ستكون كبيره جدا ولذا تحتاج في الغالب لعمل تخصيص للتحكم في المخرجات.</p>
<p style="text-align: justify" dir="rtl">احد الاستخدامات هي معرفة جميع البرامج المتصلة بالانترنت في حال الشك بان الجهاز قد يكون مخترقا او التاكد من حالة الاتصال بالمواقع او معرفة رقم المنفذ الذي يستخدمة خادم معين:</p>
<pre class="brush: bash; title: ; notranslate"> lsof -i
اوامر مشابهه
ss -ap
netstat -tuap</pre>
<p style="text-align: justify" dir="rtl">اما في حال اردت معرفة (او اغلاق) ملف مفتوح (مثلا قمت بفتح ملف في كرت ذاكرة خارجي Flash Drive ولكن عند محاولت ازالة الكرت اخبرك النظام بان احد الملفات لازال مفتوحا) فالتوصل للملف المفتوح ومعرفة البرنامج المتصل بذلك الملف عمليه سهلة جدا باستخدام lsof وهي كالتالي:<br />
اولا نفرض ان مسار كرت الذاكرة هو /media/disk/ فتقوم بتنفيذ الامر التالي:</p>
<pre class="brush: bash; title: ; notranslate">lsof | grep /media/disk/</pre>
<p style="text-align: justify" dir="rtl">فالامر الاول lsof سيعرض جميع الملفات المفتوحة لكن بدل من تعرض النتائج على الشاشه بل سوف ترسل للامر التالي grep و المسؤل عن عمليه الارسال تلك هي علامة الانبوب | (pipe) حيث ان نظام اللنكس عندما يجد ذلك الخط العمودي بين امرين فانه يمرر مخرجات الامر الاول كمدخلات للامر الثاني. اما الامر grep فان امر ترشيح (Filter) حيث ان يقوم بالبحت في المدخلات عن اي سطر يحتوي على الكلمة المذكورة بعد (في مثالنا هذا فانه يبحث عن /media/disk/) ثم يعرض السطر الكامل الذي يوجد به مثل ذلك النص.<br />
فالناتج النهائي من تنفيذ هذا الامر هو قائمة باسم الملف او الملفات التي لاتزال مفتوحة من كرت الذاكرة والبرنامج الذي قام بفتح ذلك الملف ثم ما عليك سوى اغلاق ذلك البرنامج وستتمكن من ازالت الكرت بشكل امن. ولاغلاق البرامج يمكن استخدام الامر kill مع رقم العملية (Process ID) كالتالي:</p>
<pre class="brush: bash; title: ; notranslate"> kill &lt;PID&gt;  (اغلاق البرنامج بطيقة امنة)
kill -9 &lt;PID&gt;  (اغلاق اجباري للبرنامج)</pre>
</p>
<p dir="rtl">اوامر اخرى من عائلة lsof هي:</p>
<pre><strong>lsusb</strong> يعرض قائمة باجهزة USB المتصلة حاليا بالجهاز
<strong>lspci</strong> يعرض قائمة كروت PCI المركبة بداخل الجهاز
<strong>lsmod</strong> يعرض قائمة بمعرفات الاجهزة التي تم تشغيلها
<strong>lspcmcia</strong> قائمة كروت PCMCIA المركبة بالجهاز
<strong>lshal</strong> قائمة الاجهزة المركبة في الجهاز (USB و PCIو غيرة)
<strong>lscpu</strong> معلومات عن المعالج المستخدم</pre>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2011/03/lsof-and-other-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>مبادي نظام اللنكس</title>
		<link>http://fadvisor.net/blog/2011/03/linux-principles/</link>
		<comments>http://fadvisor.net/blog/2011/03/linux-principles/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 15:38:03 +0000</pubDate>
		<dc:creator>فهد الدريبي</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[اوامر]]></category>
		<category><![CDATA[حماية]]></category>
		<category><![CDATA[لنكس]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=403</guid>
		<description><![CDATA[في هذا الموضوع سوف احاول تقديم بعض الاوامر المهمة لمستخدمي النظام المفتوح المصدر والمجاني لنكس. جميع هذه الاوامر تنفذ من خلال نافذة الاوامر (Terminal or Command Line) وفي الغالب ستجدها في جميع توزيعات اللينكس واليونكس كذلك مع بعض الاختلافات البسيطه احيانا. * توضيح: ما اضعه بين علامتي &#60;&#62; يعني انه يجب استبداله بشي مناسب كاسم [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;" dir="rtl">في هذا الموضوع سوف احاول تقديم بعض الاوامر المهمة لمستخدمي النظام المفتوح المصدر والمجاني لنكس. جميع هذه الاوامر تنفذ من خلال نافذة الاوامر (Terminal or Command Line) وفي الغالب ستجدها في جميع توزيعات اللينكس واليونكس كذلك مع بعض الاختلافات البسيطه احيانا.</p>
<p style="text-align: justify;" dir="rtl">* توضيح: ما اضعه بين علامتي &lt;&gt; يعني انه يجب استبداله بشي مناسب كاسم ملف او مجلد وما هو بين اقواس ( ) فهذا فقط شرح مني للامر المذكور ولايكتب اثناء التنفيذ.</p>
<p dir="rtl">سوف ابدأ بأحد الاوامر المهمة:</p>
<p dir="rtl">الامر: <strong>man</strong><br />
التعريف: عرض معلومات عن معظم اومر النظام وشرحها وطرق استخدامها<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">man &lt;الامر&gt;</pre>
<p dir="rtl">الامر:<strong> ls</strong><br />
التعريف: لعرض الملفات الموجود في المجلد الحالي<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">ls (عرض الملفات والمجلدات فقط)
ls -l (الملفات على شكل قائمة مع عرض حجم الملف والصلاحيات)
ls -a (الملفات المخفية اللتي تبدا بنقطه)</pre>
<p dir="rtl">كما يمكن دمج بعض الخيارات كدمج a و l للحصول على قائمة الملفات مع الملفات المخفية ولمزيد من الخيارات يمكن استخدام الامر man للحصول على المزيد من التفاصيل</p>
<p dir="rtl">الامر: <strong>cp</strong><br />
التعريف: نسخ ملف او ملفات الى مجلد اخر (او انشاء نسخه للملف باسم مختلف)<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">cp &lt;file&gt; &lt;folder/&gt;  (نسخ ملف الى مجلد)
cp &lt;file&gt; &lt;newfile&gt; (انشاء نسخة من الملف)</pre>
<p dir="rtl">الامر: <strong>mv</strong><br />
التعريف: نقل ملف او ملفات الى مجلد اخر (او تغيير اسم الملف)<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">mv &lt;file&gt; &lt;folder/&gt;  (نقل ملف الى مجلد)
mv &lt;file&gt; &lt;newfilename&gt;  (تغيير اسم ملف)</pre>
<p dir="rtl">الامر: <strong>rm</strong><br />
التعريف: مسح ملفات او مجلدات<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">rm &lt;files&gt;  (مسح ملفات)
rm -r &lt;folder/&gt;  (مسح المجلد و الملفات التي بداخله)</pre>
<p dir="rtl">الامر: <strong>mkdir و rmdir</strong><br />
التعريف: انشاء و حذف مجلد (لحذف مجلد يشترط ان يكون فارغا، وان لم يكن فارغا فيستخدم الامر السابق)<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">mkdir &lt;folder&gt;  (انشاء مجلد)
rmdir &lt;folder&gt; (حذف مجلد)</pre>
<p dir="rtl">الامر: <strong>ps</strong><br />
التعريف: عرض قائمة البرامج التي تعمل الان<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">ps  (سيعرض فقط البرامج التي تعمل في نافذة الاوامر)
ps aux  (جميع البرامج اللتي تعمل وتفاصيل مهمه اخرى)</pre>
<p dir="rtl">الامر: <strong>df</strong><br />
التعريف: عرض معلومات عن المساحة المستخدمة والمتبقية من القرص الصلب لجميع الاقسام<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">df (عرض الارقام بالبايت)
df -h (عرض الارقام يصيغة اسهل للقرائة مثل ميقا قيقا)</pre>
<p dir="rtl">الامر: <strong>free</strong><br />
التعريف: عرض معلومات عن استخدام الذاكرة والذاكرة الاحتياطية في القرص الصلب (swap)<br />
طريقة الاستخدام:</p>
<pre class="brush: bash; title: ; notranslate">free (عرض الارقام بالكيلو بايت)
free -m (عرض الارقام بالميقا بايت)</pre>
<p dir="rtl">هذه بعض الاوامر وهناك الكثير وساقوم بكتابه موضوع اخر عن اوامر اخرى متقدمة</p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2011/03/linux-principles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RPM Fusion Smart channels for Fedora</title>
		<link>http://fadvisor.net/blog/2011/03/rpm-fusion-smart-channels-for-f14/</link>
		<comments>http://fadvisor.net/blog/2011/03/rpm-fusion-smart-channels-for-f14/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 19:33:23 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[channel]]></category>
		<category><![CDATA[Fedora 14]]></category>
		<category><![CDATA[Fedora 15]]></category>
		<category><![CDATA[Package Manager]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[rpmfusion]]></category>
		<category><![CDATA[Smart]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=392</guid>
		<description><![CDATA[If you are a Fedora user then you must be using RPM Fusion and if you are not then please do since it provides you with many cool packages that Fedora doesn&#8217;t come with (like ATI &#38; nVidia drivers, video and audio codec&#8230;etc). After you install RPM Fusion repositories (through their provided rpm packages which [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a Fedora user then you must be using <a href="http://www.rpmfusion.org/" target="_blank">RPM Fusion</a> and if you are not then please do since it provides you with many cool packages that Fedora doesn&#8217;t come with (like ATI &amp; nVidia drivers, video and audio codec&#8230;etc). After you install RPM Fusion repositories (through their provided rpm packages which you can find about under the &#8216;Configuration&#8217; in their website) you will be able to use it right away from the command line by using &#8216;yum&#8217; or if you like the GUI (like I do) then it is <a href="http://en.wikipedia.org/wiki/PackageKit" target="_blank">PackageKit</a>. However, there is one thing that I don&#8217;t like about PackageKit which is dealing with dependencies.PackageKit will only resolve dependencies when you apply the changes not while you are making them (selecting to install or remove a package). I find that annoying since sometimes when I select to remove some packages that I think I don&#8217;t need and  when I click on apply it will show the list of dependencies of all the selected packages and will not tell you which one of the selected packages is needed by those other packages and the only way to find out  is by removing packages one by one. Same thing when installing.<br />
However, there is a solution to this problem, it is called <a href="http://labix.org/smart/" target="_blank">Smart</a>, Smart is a package manager that can be used to manage &#8216;rpm&#8217; packages (and also apt as well). You can install Smart and the GUI from Fedora repos with this command:</p>
<blockquote><p>yum install smart smart-gui</p></blockquote>
<p>The biggest advantage of using Smart over PackageKit is the way it resolves dependencies. Smart will do that instantly while you are clicking to install a new package or trying to remove one. So for example if you are using Fedora with KDE and wanted to remove all Gnome packages and you clicked for example on &#8216;gnome-vfs2&#8242; Smart will immediately look for all other packages that depends on this one and if any it will show you a windows of the list of all other packages that will be removed as a result of removing this one, among that list you will find &#8216;Firefox&#8217;, &#8216;vlc&#8217; and other packages that I actually need, so that means this one is important and i will just hit cancel to keep it. Same thing when for example you want to install and try some application but you find that it needs many other packages to be installed as well.</p>
<p>However, it seems that Fedora and RPMfusion are not giving much attention to Smart and the channels files (channel = repo) are not updated for Fedora 14 (was also the case for F13 when it was released) so I decided to update those packages myself and maybe find a way to send them to Fedora and RPMFusion so they will sign them and add them to their main repositories.</p>
<p>Download the appropriate files for your system or the source if you wanna compile the rpms and sign them yourself (you will need to rerun Smart so it detects the changes):</p>
<ul>
<li><a href="http://fadvisor.net/blog/download/smart_channels-i386.zip">smart_channels-i386.zip</a> (for Fedora 14)</li>
<li><a href="http://fadvisor.net/blog/download/smart_channels-x86_64.zip">smart_channels-x86_64.zip</a> (for Fedora 14)</li>
<li><a href="http://fadvisor.net/blog/download/smart_channels-src.zip">smart_channels-src.zip</a> (for Fedora 14)</li>
</ul>
<p>Update: Since not much attention from Fedora and RPMfusion is giving to Smart I built my own rpms again for Fedora 15:</p>
<ul>
<li><a href="http://fadvisor.net/blog/download/smart-channels-F15-i386.tar.gz">smart-channels-F15-i386.tar.gz</a> (for Fedora 15)</li>
<li><a href="http://fadvisor.net/blog/download/smart-channels-F15-x86_64.tar.gz">smart-channels-F15-x86_64.tar.gz</a> (for Fedora 15)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2011/03/rpm-fusion-smart-channels-for-f14/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why Apple did not know about the iPhone4 antenna problem</title>
		<link>http://fadvisor.net/blog/2010/07/why-iphone4-antenna-problem/</link>
		<comments>http://fadvisor.net/blog/2010/07/why-iphone4-antenna-problem/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 15:59:21 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Antenna]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone4]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=368</guid>
		<description><![CDATA[(IMO) That is easy to answer, because of Apple super secrecy they were testing the new design inside a case to make it look like the old iPhone. So the antenna was isolated from the user hand with enough distance to minimize the effect, and I am certain that it was also the case inside [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">(IMO) That is easy to answer, because of Apple super secrecy they were testing the new design inside a case to make it look like the old iPhone. So the antenna was isolated from the user hand with enough distance to minimize the effect, and I am certain that it was also the case inside the company since they don&#8217;t want the other employee to know about it, but thanks to Gizmodo this thing was unveiled. In addition to that, they most probably have a big AT&amp;T cell tower inside the company to make Steve happy.</p>
<p style="text-align: center;">
<dt class="wp-caption-dt" style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2010/07/iphone4-case1.jpg"><img class="size-medium wp-image-371 " title="iPhone4 in the case" src="http://fadvisor.net/blog/wp-content/uploads/2010/07/iphone4-case1-300x188.jpg" alt="" width="300" height="188" /></a><br />
<span style="font-size: x-small;">Image from Gizmodo of the iPhone4 with the special case.</span></dt>
<blockquote><address style="text-align: left;"><strong>The camouflage case</strong><br />
The case it came inside was a fully developed plastic case to house this  phone to disguise it like a 3GS. This wasn&#8217;t just a normal case; it had  all the proper <strong>new holes</strong> cut out for the new switches and ports  and camera holes and camera flash. But it looks like something from  Belkin or Case-Mate. It&#8217;s a perfect disguise.</address>
<p style="text-align: left;">Source: <a href="http://gizmodo.com/5520164/this-is-apples-next-iphone" target="_blank">Gizmodo</a></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2010/07/why-iphone4-antenna-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AirlineManager Ads Prices</title>
		<link>http://fadvisor.net/blog/2010/06/airlinemanager-ads-prices/</link>
		<comments>http://fadvisor.net/blog/2010/06/airlinemanager-ads-prices/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 22:34:00 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Advertisement]]></category>
		<category><![CDATA[Airline Manager]]></category>
		<category><![CDATA[Autopilot]]></category>
		<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=337</guid>
		<description><![CDATA[While working on my script Autopilot to enable buying advertisement I started collecting information about the price changes over time, and found out that it is not actually random, but repeats every week. So here is a graph that shows the prices for 1 week and a table that shows the same thing and highlights [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">While working on my script <a href="http://fadvisor.net/blog/2010/03/auto-pilot" target="_blank">Autopilot</a> to enable buying advertisement I started collecting information about the price changes over time, and found out that it is not actually random, but repeats every week. So here is a graph that shows the prices for 1 week and a table that shows the same thing and highlights the cheapest ones.</p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2010/06/ads_prices.gif"><img class="size-medium wp-image-338  aligncenter" title="AM Advertisement Prices" src="http://fadvisor.net/blog/wp-content/uploads/2010/06/ads_prices-300x147.gif" alt="" width="300" height="147" /></a></p>
<p><!--   		BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small } --></p>
<table style="width: 423px; height: 399px;" border="0" cellspacing="0" align="center">
<colgroup>
<col width="51"></col>
<col width="51"></col>
<col width="51"></col>
<col width="51"></col>
<col width="51"></col>
<col width="51"></col>
<col width="51"></col>
<col width="50"></col>
</colgroup>
<tbody>
<tr>
<td width="51" height="16" align="LEFT" bgcolor="#ffff99"></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Sat</strong></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Sun</strong></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Mon</strong></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Tue</strong></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Wed</strong></td>
<td width="51" align="CENTER" bgcolor="#ffff99"><strong>Thu</strong></td>
<td width="50" align="CENTER" bgcolor="#ffff99"><strong>Fri</strong></td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>12 AM</strong></td>
<td align="CENTER">49890</td>
<td align="CENTER">48089</td>
<td align="CENTER">32080</td>
<td align="CENTER">43022</td>
<td align="CENTER">47017</td>
<td align="CENTER">32213</td>
<td align="CENTER">40693</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>01 AM</strong></td>
<td align="CENTER">48089</td>
<td align="CENTER">19004</td>
<td align="CENTER">32043</td>
<td align="CENTER">48612</td>
<td align="CENTER">37768</td>
<td align="CENTER">35792</td>
<td align="CENTER">49415</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>02 AM</strong></td>
<td align="CENTER">23896</td>
<td align="CENTER"><strong>7435</strong></td>
<td align="CENTER">32845</td>
<td align="CENTER">50324</td>
<td align="CENTER">32213</td>
<td align="CENTER">45439</td>
<td align="CENTER">49838</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>03 AM</strong></td>
<td align="CENTER"><strong>7831</strong></td>
<td align="CENTER">14021</td>
<td align="CENTER">34475</td>
<td align="CENTER">47017</td>
<td align="CENTER">33869</td>
<td align="CENTER">49890</td>
<td align="CENTER">39308</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>04 AM</strong></td>
<td align="CENTER">8870</td>
<td align="CENTER">25482</td>
<td align="CENTER">36853</td>
<td align="CENTER">40843</td>
<td align="CENTER">40693</td>
<td align="CENTER">49838</td>
<td align="CENTER">14928</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>05 AM</strong></td>
<td align="CENTER">21458</td>
<td align="CENTER">8658</td>
<td align="CENTER">39801</td>
<td align="CENTER">35177</td>
<td align="CENTER">47250</td>
<td align="CENTER">43232</td>
<td align="CENTER"><strong>7530</strong></td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>06 AM</strong></td>
<td style="text-align: center;">22775</td>
<td align="CENTER">20310</td>
<td align="CENTER">43022</td>
<td align="CENTER">32213</td>
<td align="CENTER">49890</td>
<td align="CENTER">23896</td>
<td align="CENTER">8870</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>07 AM</strong></td>
<td align="CENTER"><strong>7366</strong></td>
<td align="CENTER">21438</td>
<td align="CENTER">46112</td>
<td align="CENTER">32555</td>
<td align="CENTER">50097</td>
<td align="CENTER">9763</td>
<td align="CENTER">19060</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>08 AM</strong></td>
<td align="CENTER">20310</td>
<td align="CENTER">8083</td>
<td align="CENTER">48612</td>
<td align="CENTER">35792</td>
<td align="CENTER">48089</td>
<td align="CENTER"><strong>7435</strong></td>
<td align="CENTER">25482</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>09 AM</strong></td>
<td align="CENTER">23447</td>
<td align="CENTER">9777</td>
<td align="CENTER">50105</td>
<td align="CENTER">40693</td>
<td align="CENTER">39308</td>
<td align="CENTER">8870</td>
<td align="CENTER">14038</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>10 AM</strong></td>
<td align="CENTER">10094</td>
<td align="CENTER">39347</td>
<td align="CENTER">50324</td>
<td align="CENTER">45439</td>
<td align="CENTER">23896</td>
<td align="CENTER">16499</td>
<td align="CENTER">8675</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>11 AM</strong></td>
<td align="CENTER"><strong>7531</strong></td>
<td align="CENTER">50168</td>
<td align="CENTER">49229</td>
<td align="CENTER">48567</td>
<td align="CENTER">11851</td>
<td align="CENTER">24883</td>
<td align="CENTER">22794</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>12 PM</strong></td>
<td align="CENTER">19045</td>
<td align="CENTER">43179</td>
<td align="CENTER">47017</td>
<td align="CENTER">49890</td>
<td align="CENTER"><strong>7831</strong></td>
<td align="CENTER">22775</td>
<td align="CENTER">23447</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>01 PM</strong></td>
<td align="CENTER">46167</td>
<td align="CENTER">32218</td>
<td align="CENTER">44070</td>
<td align="CENTER">50168</td>
<td align="CENTER"><strong>7473</strong></td>
<td align="CENTER">11015</td>
<td align="CENTER">11824</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>02 PM</strong></td>
<td align="CENTER">50109</td>
<td align="CENTER">49244</td>
<td align="CENTER">40843</td>
<td align="CENTER">49838</td>
<td align="CENTER">8870</td>
<td align="CENTER">8675</td>
<td align="CENTER"><strong>7472</strong></td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>03 PM</strong></td>
<td align="CENTER">43179</td>
<td align="CENTER">36829</td>
<td align="CENTER">37768</td>
<td align="CENTER">48089</td>
<td align="CENTER">14021</td>
<td align="CENTER">20310</td>
<td align="CENTER">9777</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>04 PM</strong></td>
<td align="CENTER">31976</td>
<td align="CENTER">36545</td>
<td align="CENTER">35177</td>
<td align="CENTER">43232</td>
<td align="CENTER">21458</td>
<td align="CENTER">25582</td>
<td align="CENTER">29278</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>05 PM</strong></td>
<td align="CENTER">44098</td>
<td align="CENTER">49611</td>
<td align="CENTER">33289</td>
<td align="CENTER">34525</td>
<td align="CENTER">25585</td>
<td align="CENTER">19037</td>
<td align="CENTER">48103</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>06 PM</strong></td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
<td align="CENTER">43972</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>07 PM</strong></td>
<td align="CENTER">32043</td>
<td align="CENTER">41531</td>
<td align="CENTER">38967</td>
<td align="CENTER">36524</td>
<td align="CENTER">34439</td>
<td align="CENTER">32909</td>
<td align="CENTER">32080</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>08 PM</strong></td>
<td align="CENTER">48612</td>
<td align="CENTER">38967</td>
<td align="CENTER">34439</td>
<td align="CENTER">32080</td>
<td align="CENTER">32845</td>
<td align="CENTER">36853</td>
<td align="CENTER">43022</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>09 PM</strong></td>
<td align="CENTER">37768</td>
<td align="CENTER">36524</td>
<td align="CENTER">32080</td>
<td align="CENTER">34475</td>
<td align="CENTER">43022</td>
<td align="CENTER">50105</td>
<td align="CENTER">47017</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>10 PM</strong></td>
<td align="CENTER">35792</td>
<td align="CENTER">34439</td>
<td align="CENTER">32845</td>
<td align="CENTER">43022</td>
<td align="CENTER">50324</td>
<td align="CENTER">40843</td>
<td align="CENTER">32213</td>
</tr>
<tr>
<td height="16" align="RIGHT" bgcolor="#99ccff"><strong>11 PM</strong></td>
<td align="CENTER">49415</td>
<td align="CENTER">32909</td>
<td align="CENTER">36853</td>
<td align="CENTER">50105</td>
<td align="CENTER">40843</td>
<td align="CENTER">31977</td>
<td align="CENTER">40693</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><strong style="color: #ff0000;">Note: </strong>the table and graph timings are based on the US-Eastern Time (-5) so adjust your times accordingly. Also the listed prices are for the most expensive type of advertisements (Billboards on 20 international airports).</p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2010/06/airlinemanager-ads-prices/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Autopilot (for FB Airline Manager)</title>
		<link>http://fadvisor.net/blog/2010/03/auto-pilot/</link>
		<comments>http://fadvisor.net/blog/2010/03/auto-pilot/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:44:22 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Airline Manager]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Autopilot]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=258</guid>
		<description><![CDATA[NOTE: The script no longer works, and the development was stopped After being bored with Airline Manager in Facebook in which you have to keep watching your airplanes when they arrive to send them in another flight, I decided to write my own script to use with greasemonkey in FireFox to do that thing for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><span style="color: #ff0000;"><strong>NOTE: The script no longer works, and the development was stopped</strong></span></p>
<table style="width: 100%;" border="0">
<tbody>
<tr>
<td style="width: 50%; text-align: justify;" dir="ltr" colspan="3">After being bored with Airline Manager in Facebook in which you have to keep watching your airplanes when they arrive to send them in another flight, I decided to write my own script to use with greasemonkey in FireFox to do that thing for me. Basically, you will need a computer that is connected to the internet and running for most of the time. Install Firefox and add the Greasemonkey add-on to it, then install my script in greasmonkey and enable it if it is not enabled by default. Now when you visit the flight section of the game under facebook you will see the Auto Pilot control box (shown below) in the left column. Simply set the time that you want the script to repeat the task then click on the button. That&#8217;s it, now just watch the script fly the first 10 ready airplanes and the count down will start to trigger the next run.</td>
</tr>
<tr>
<td style="text-align: justify;" dir="rtl" colspan="3">كثير منا يجد العاب الفيسبوك (Facebook) مملة بعد فترة من اللعب بسبب ان اسلوب اللعب يصبح متكر ورتيب ومن امثلتها لعبه مدير الطيران (Airline manager) اذ يجب عليك متابعه مئات من الطائرات وانتظار وصولها لكي تقوم بارسالها مرة اخرى في رحلة جديدة، فلذك السبب قمت ببرمجة برنامج صغير يعمل في متصفح الفايرفوكس (Firefox) تحت اضافة قريسمونكي (Greasemonkey). فاذا كنت من من يلعب هذه اللعبة وعندك جهاز متصل بالانترنت ويعمل بشكل مستمر فكل ما عليك هو تركيب متصفح الفايرفوكس واضافة القريسمونكي له ثم تحميل برنامجي فيه ومن ثم قم بقتح صفحة اللعبة من الفيسبوك واضغط على رابط الطيران (Flight) و سوف تجد ادوات التحكم ظاهرة في الجهه اليسرى من الصفحة كما تراها في الصورة التالية. قم بتحديد الزمن الذي تريدة لتكرار عملية الطيران ثم اضغط زر (Auto Pilot) فسيقوم البرنامج بارسال اول 10 طائرات جاهزة ثم سيكرر العملية بعد انقضاء العد التنازلي.</td>
</tr>
<tr>
<td colspan="3" align="center"><img class="aligncenter size-full" title="AP-controlbox" src="http://fadvisor.net/blog/wp-content/uploads/2010/03/AP-controlbox-1.2.11.png" alt="" width="294" height="86" /><br />
<span style="font-size: x-small;">Auto Pilot control box</span></td>
</tr>
<tr>
<td>Here is an image showing the position on the control box in the page:</td>
<td></td>
<td dir="rtl">هذه الصوره توضح موقع ادوات التحكم في الصفحة:</td>
</tr>
<tr>
<td style="text-align: center;" colspan="3"><a href="http://fadvisor.net/blog/wp-content/uploads/2010/03/AP-overview.png"><img class="aligncenter size-medium wp-image-319" title="AP-overview" src="http://fadvisor.net/blog/wp-content/uploads/2010/03/AP-overview-300x160.png" alt="" width="300" height="160" /></a></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td style="text-align: center;" colspan="3"><a href="http://fadvisor.net/blog/download/am_autopilot.user.js" title="Downloaded 5104 times"><img src="http://fadvisor.net/blog/wp-content/uploads/logos/download.gif" alt="Autopilot-AirlineManager" /></a><br />
Version: 1.2.16<span style="color: #ff0000;"><em><br />
If you like my work</em>, please </span><em><span style="color: #ff0000;">consider donating</span> <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/smile.png' alt=':)' class='wp-smiley' /> <br />
</em></td>
</tr>
<tr>
<td colspan="3" valign="top"><span id="more-258"></span><br />
Change log:<br />
<strong>1.2.14</strong>: (July/28/2011)</p>
<ul>
<li>Updating the script to work with new AM changes</li>
</ul>
<p><strong>1.2.13</strong>: (July/27/2011)</p>
<ul>
<li>Fix fly link.</li>
</ul>
<p><strong>1.2.12</strong>: (July/25/2011)</p>
<ul>
<li>Allow more wait time (up to 999 minutes + 999 random minutes), using longer time + random makes it hard to get detected <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/wink.png' alt=';)' class='wp-smiley' /> </li>
<li>Fix: the contol box might show up in a wierd location and cannot be clicked.</li>
<li>Fix: Update fly link.</li>
<li>Fix: Reset the tank max to 999999999 since AM will not accept 1000000000 even it is the max as they say!</li>
</ul>
<p><strong>1.2.11</strong>: (July/21/2011)</p>
<ul>
<li>New: Buying advertisement is now possible.</li>
<li>Redesign the way tasks are being done to prevent some tasks from starting before other finish.</li>
<li>Added two fields to change the lucky fuel price and the max fuel tank capacity.</li>
<li>User interface enhancements.</li>
<li>Better use of CSS to make the code smaller and looks neat.</li>
</ul>
<p><strong>1.2.10:</strong> (July/04/2011)</p>
<ul>
<li>Enhanced fly function will not reload for every patch of aircraft.</li>
<li>New: Lucky Fuel, when the fuel price drops to 50 (which happens once a month) fill the tank.</li>
<li>New: Options box to tune some of the script features to your liking:
<ul>
<li>Autostart on page load.</li>
<li>Change the delay and random delay times.</li>
</ul>
</li>
</ul>
<p><strong>1.2.9:</strong> (Jun/10/2011)</p>
<ul>
<li>New: Titlebar for the controlbox which is used to move it.</li>
<li>Update: Coloring the box to make it look nicer.</li>
</ul>
<p><strong>1.2.8:</strong> (Jun/8/2011)</p>
<ul>
<li>New: Fuel Rescue option, if fuel tank is empty the script will buy enough fuel to fly the aircraft, no matter what the price is.</li>
<li>New: Autopilot Controlbox is movable, and the position will be saved.</li>
<li>Fix: Pages fetched will use the same protocol as the main page (http or https).</li>
<li>Update: If for unknow reasons a page won&#8217;t load, the script will reload AM</li>
<li>Removed some unused code.</li>
</ul>
<p><strong>1.2.7:</strong></p>
<ul>
<li>Added Cargo flights.</li>
<li>Script tested and works under Google Chrome using &#8220;tampermonkey&#8221; extension.</li>
<li>Fixed some compatibility with Google Chrome.</li>
<li>Small fix to allow running on secure Facebook page (https).</li>
<li>Increasing the delay and random delay between tasks, to help people with slow connections and make the script a bit harder to detect.</li>
</ul>
<p><strong>1.2.6:</strong></p>
<ul>
<li>Server update check of the script is back.</li>
<li>Added Tooltips to explain the functionality of the controlbox.</li>
<li>Enhanced fly function (if there are more than 10 aircraft waiting it will fly them in the same run).</li>
<li>Small changes and fixes here and there.</li>
</ul>
<p><strong>1.2.5:</strong></p>
<ul>
<li>Aircraft fly Fix (Thanks Olla)</li>
</ul>
<p><strong>1.2.4:</strong></p>
<ul>
<li>Fixed the script after the game code was updated.</li>
<li>Removed the Check4Update function  &lt;&#8211; since this will be the last update (sorry guys, i would love to keep doing this but I have other stuff to do)</li>
<li>Included the developer code (all the code that I use for myself including the unused functions, debuging stuff)
<ul>
<li>If you open Firefox Error Console you can see the logs about what the script is doing, very helpful for debugging.</li>
<li>Buy airplanes and sell airplanes functions are there but need to be enabled and integrated to the controlbox.</li>
<li>Check4Update is still there but disabled, i will remove the file from my server later so the function will not be useful for this script but I kept the code for others to use if someone want to take over.</li>
</ul>
</li>
</ul>
<p><strong>1.2.3:</strong></p>
<ul>
<li>Fuel, now you can auto buy fuel by checking the fuel checkbox and setting the maximum amount needed and the highest price. It will check once every hour.<br />
(I found a way to fly the airplanes even with no fuel (negative amount) and was about to include it in the script but thought that would be cheating so I did not.)</li>
</ul>
<p><strong>1.2.2:</strong></p>
<ul>
<li style="text-align: justify;">Added ability to buy catering by selecting the type and amount, so it buys them before flying the airplanes. But you have to make sure that you put the right amount for the selected catering type (minimum and maximum) by following the values giving by the game otherwise it will not buy them. And when the catering finishes it will buy them again in the next round.</li>
</ul>
<p><strong>1.2.1:</strong></p>
<ul>
<li>Added Note taker to keep notes about the game, like airport names, what to buy next&#8230;etc.</li>
<li>Fixed a bug in autoupdate if the version file on the server is not accessible.</li>
<li>Added a timeout for waiting loops so they will not loop forever in case a page did not load correctly.</li>
<li>Refresh (reload) the facebook page, including AM page, every 20 iterations to overcome a bug in AM (which i have no control over) that appears after keeping the script running for long time.</li>
</ul>
<p><strong>1.2.0:</strong></p>
<p style="text-align: justify;">This version went through a restructuring of the code. In the previous versions I was injecting the whole code inside the AM page (AM iframe inside Facebook page to be precise) and because of that I was also storing the script settings as AM cookies. This approach is simple and makes interacting with the page easy, however, it makes it easy for AM admins to detect the script by either adding a function that searches for my functions or the entries in the cookies. In order to solve this problem I changed the way the script works. Now when you open the AM game under Facebook my script will be loaded twice, the first instance will load under Facebook frame and it will inject the AP Control box in that frame, which AM has no access to so they cannot detect it. The second instance will load under AM frame, however, it will not inject anything but rather will remain in Greasemonkey sandbox and that is also hidden from AM cannot be detected. The last thing is the settings which are now being stored in Firefox itself under GM settings using GM functions (GM_getValue &amp; GM_setValue). The two script instances are working separately and cannot communicate with each other since they run under different domains (facebook.com &amp; airlinemanager.activewebs.dk) as this is a security feature enforced by Firefox to prevent malicious websites from accessing other websites functions and variables. To overcome this obstacle I used the GM stored settings which are shared by both instances to communicate. In addition to all of that I added some randomization to the timer so executing the tasks will not happen at the exact intervals.</p>
<ul>
<li style="text-align: justify;">Replaced using (eval) which can be harmful with location.assign</li>
<li style="text-align: justify;">Settings are not stored in AM cookies anymore.</li>
<li style="text-align: justify;">No code injection in AM page.</li>
<li style="text-align: justify;">Time randomization.</li>
<li style="text-align: justify;">Repairs and C-Check have their own check box so you can do one and not the other.</li>
<li style="text-align: justify;">Auto check for script update every 3 days.</li>
<li style="text-align: justify;">The timer now loops every 5 seconds instead of every 1 second to reduce the load on the browser.</li>
</ul>
<p><span style="color: #ff0000;">* </span><span style="text-decoration: underline;"><span style="color: #ff0000;">Note: </span></span></p>
<ul>
<li style="text-align: justify;">I recommend removing the stored cookies by the older version (delete all cookies if you are not sure how).</li>
<li style="text-align: justify;">Even with all of these precautions this automating script can still be detected by AM admin if they want to, even though I don&#8217;t expect them to do it but they can detect and close your AM account. (Farmville knows about the automation tools and the users who use them but they did not prevent/block them because it did not harm them, rather it might have increase their users by keeping the lazy ones like me.)</li>
<li style="text-align: justify;">I expect this version to have many bugs, because I did many changes. Also there are still some changes that I wanted to do but decided to release this first and work later on these changes and whatever bugs you guys find.</li>
</ul>
<p><strong>1.1.2:</strong></p>
<ul>
<li style="text-align: justify;">More enhancement to the C-Check and Repair, it should miss less repairs and checks now. Basically I increased the waiting delay between tasks to give more time for the pages to load before starting the new one. If your internet connection is slow and the script does not work as it should then try increasing the delay by modifying this part of the script &#8220;fDelay=5000&#8243;, 5000 means 5 seconds, set the value to something suitable for your net speed.</li>
<li style="text-align: justify;"><span style="color: #ff0000;">Repairs and C-Checks will not work after the new AM update (April-08), so in order to keep using the script to fly airplanes uncheck the repair box, and kindly wait for the coming update.</span></li>
</ul>
<p><strong>1.1.1:</strong></p>
<ul>
<li>Solved the problem of not working under Firefox 3.6.x.</li>
<li>Removed the dependency on jQuery.</li>
<li>Fixed a bug that causes the control box not to show if the airline is not AM trusted.</li>
<li>The C-Check and Repairs are not perfect and it get missed sometimes</li>
</ul>
<p><strong>1.1.0:</strong></p>
<ul>
<li>Major change in how the script works.</li>
<li>Added the ability to repair airplanes and do C-Check before flying them.</li>
<li>Save control box settings in AM cookies.</li>
<li>Will load on all AM pages not just the Flight page.</li>
<li>Fixed the file name so it will install directly by greasmonkey</li>
<li><span style="color: #ff0000;">This version does not work with the new Firefox 3.6.x, I am trying to solve this issue.</span></li>
</ul>
<p><strong>1.0.0:</strong></p>
<ul>
<li>Inisial release.</li>
</ul>
<p>&nbsp;</td>
</tr>
<tr>
<td style="text-align: justify; background-color: #e5e6f9; width: 50%;" valign="top">Disclaimer: The author of this script cannot be held responsible for any thing that might result from using this code, so use it at your own risk.</td>
<td></td>
<td style="text-align: justify; background-color: #e5e6f9; width: 50%;" dir="rtl" valign="top">تنويه: المبرمج لن يتحمل مسئولية اي اضرار قد تنجم عن استخدام هذا البرنامج، فاستخدمة على مسؤليتك.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2010/03/auto-pilot/feed/</wfw:commentRss>
		<slash:comments>197</slash:comments>
		</item>
		<item>
		<title>طريقة تخصيص اعداد الاوفيس 2007</title>
		<link>http://fadvisor.net/blog/2009/07/office-2007-customization-tool/</link>
		<comments>http://fadvisor.net/blog/2009/07/office-2007-customization-tool/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 00:01:04 +0000</pubDate>
		<dc:creator>فهد الدريبي</dc:creator>
				<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[Office 2007]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[اعداد]]></category>
		<category><![CDATA[اوفيس 2007]]></category>
		<category><![CDATA[تخصيص]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=228</guid>
		<description><![CDATA[إذا كنت تعمل في مجال تقنية المعلومات (IT) او انك ذو المام بتركيب البرامج وتقوم بتركيب برنامج الاوفيس 2007 على العديد من الاجهزة فان هذا الموضوع قد يساعدك في جعل تلك المهمة اسهل بكثير مما اعتدت عليه. توفر ميكروسوفت امكانية تعديل وتخصيص الاعدادات الافتراضية لبرنامج اعداد الاوفيس (Setup) مما يمكنك من تركيب البرنامج فيما بعد [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;" dir="rtl">إذا كنت تعمل في مجال تقنية المعلومات (IT) او انك ذو المام بتركيب البرامج وتقوم بتركيب برنامج الاوفيس 2007 على العديد من الاجهزة فان هذا الموضوع قد يساعدك في جعل تلك المهمة اسهل بكثير مما اعتدت عليه.</p>
<p style="text-align: justify;" dir="rtl">توفر ميكروسوفت امكانية تعديل وتخصيص الاعدادات الافتراضية لبرنامج اعداد الاوفيس (Setup) مما يمكنك من تركيب البرنامج فيما بعد بضغطة زر واحدة، واليكم الطريقة بالصور.</p>
<ul>
<li style="text-align: justify;" dir="rtl"><span id="more-228"></span> اولا قم بنسح برنامج الاوفيس من القرص الضوئي الى مجلد في القرص الصلب (مثلا D:\Office2k7)</li>
<li dir="rtl">افتح نافذة الاوامر (Command Prompt) ثم انتقل الى مجلد الاوفيس</li>
<li style="text-align: justify;" dir="rtl">قم بتشغيل برنامج الاعداد مع تمرير امر تخصيص الاعدادات كالتالي:<br />
&#8220;<span dir="ltr">setup.exe /admin</span>&#8220;  (بامكانك تنفيذ &#8220;<span dir="ltr">setup.exe /?</span>&#8221; لروية جميع الاوامر)</li>
<p><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct.png"><img class="aligncenter size-full wp-image-230" title="نافذة اعدادات الاوفيس" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct.png" alt="نافذة اعدادات الاوفيس" width="454" height="315" /></a></p>
<li style="text-align: justify;" dir="rtl">من خلال هذة النافذة تستطيع تخصيص البرامج والاعدادات لحزمة الاوفيس بما يتناسب مع متطلباتك او متطلبات الشركة والصور التالية توضح اهم تلك الاعدادات مع شرح مبسط (اضغط على الصورة لرؤيتها بحجم اكبر):</li>
</ul>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-location.png"><img class="aligncenter size-medium wp-image-233" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-location-300x208.png" alt="oct-location" width="300" height="208" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-licensing.png"><img class="aligncenter size-medium wp-image-234" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-licensing-300x208.png" alt="" width="300" height="208" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-settings.png"><img class="aligncenter size-medium wp-image-235" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-settings-300x208.png" alt="" width="300" height="208" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-programs.png"><img class="aligncenter size-medium wp-image-239" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-programs-300x208.png" alt="" width="300" height="208" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-outlook.png"><img class="aligncenter size-medium wp-image-240" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-outlook-300x208.png" alt="" width="300" height="208" /></a></p>
<ul>
<li style="text-align: justify;" dir="rtl">بعد الانتهاء من جميع الاعدادات قم بحفظها عن طريق &#8220;File-&gt;Save&#8221;، (اسميت ملفي FAD.MSP) ويمكنك فتح الملف مرة اخرى للقيام بمزيد من التعديل والتخصيص.</li>
</ul>
<ul>
<li style="text-align: justify;" dir="rtl">الخطوة الثانية هي دمج التحديثات والرقع الامنية الخاصة بالاوفيس مثل &#8220;Sevice Packs&#8221; و &#8220;Security patches&#8221; بحيث يتم تركيبها مباشرة بعد تنصيب البرنامج.</li>
<li style="text-align: justify;" dir="rtl">قم بتحميل اخر التحديثات و السيرفس باك من موقع ميكروسوفت وستكون ملفات تنفيذية بامتداد exe.</li>
<li style="text-align: justify;" dir="rtl">من نافذة الاوامر قم بتشغيل تلك الملفات بالطريقة التالية:<br />
&#8220;<span dir="ltr">office_sp2.exe /extract:D:\office2k7\updates</span>&#8221;<br />
حيث ان office_sp2.exe هواسم ملف التحديث و D:\office2k7\updates هو المسار لمجد التحديثات الموجود في مجلد الاوفيس، وستقوم تلك العملية بنسخ ملفات التحديث ذات الامتداد msp الى ذلك المجلد.</li>
</ul>
<ul>
<li style="text-align: justify;" dir="rtl">الخطوة الاخيرة هي عملية التثبيت للاوفيس على الاجهزة كالتالي:<br />
&#8220;setup.exe /adminfile FAD.MSP&#8221;</li>
<li style="text-align: justify;" dir="rtl">وبامكانك انشاء ملف باتش &#8220;setup.bat&#8221; يحتوي على هذا السطر لكي تسهل عملية التنفيذ.</li>
</ul>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup.png"><img class="aligncenter size-medium wp-image-247" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-300x193.png" alt="" width="300" height="193" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-progress.png"><img class="aligncenter size-medium wp-image-248" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-progress-300x252.png" alt="" width="300" height="252" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-updates.png"><img class="aligncenter size-medium wp-image-249" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-updates-300x252.png" alt="" width="300" height="252" /></a></p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-finish.png"><img class="aligncenter size-medium wp-image-252" src="http://fadvisor.net/blog/wp-content/uploads/2009/07/oct-setup-finish-300x252.png" alt="" width="300" height="252" /></a></p>
<p style="text-align: justify;" dir="rtl">والان لن تحتاج الى ادخال الرقم التسلسلي في كل مرة ولن تحتاج الى تخصيص الاعدادات او تركيب كل البرامج في كل مرة ولا الى تركيب التحديثات  <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/wink.png' alt=':wink:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2009/07/office-2007-customization-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

