<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19749885</id><updated>2012-01-20T12:38:06.544+01:00</updated><category term='Visual Studio'/><category term='Office App'/><category term='Fedora'/><category term='SQL'/><category term='news'/><category term='movies'/><category term='Browser war'/><category term='command prompt'/><category term='windows programming'/><category term='TED Talks'/><category term='windows 7'/><category term='troubleshooting'/><category term='firefox'/><category term='Flash'/><category term='iphone'/><category term='Games'/><category term='Backup'/><category term='Adobe products'/><category term='GIMP'/><category term='email'/><category term='My Projects'/><category term='BIOS'/><category term='xp'/><category term='notebook'/><category term='laptop'/><category term='Firefox Addons'/><category term='java'/><category term='CAD'/><category term='IT studies'/><category term='Gmail'/><category term='language'/><category term='Driver'/><category term='mac terminal'/><category term='Gnome'/><category term='networking'/><category term='Application Development'/><category term='multimedia'/><category term='wordpress'/><category term='Netbeans'/><category term='Sound'/><category term='mac'/><category term='HTML'/><category term='C Programming Language'/><category term='remote desktop'/><category term='linux terminal'/><category term='Hacking'/><category term='testing'/><category term='ubuntu'/><category term='Linux programming'/><category term='conferences'/><category term='vista'/><category term='.NET'/><category term='web design'/><category term='OS'/><category term='Excel'/><category term='usb OS'/><category term='Wireless'/><category term='shahabinary'/><category term='Microsoft'/><category term='grub'/><category term='VHDL'/><category term='javascript'/><category term='Text Processing Programs'/><category term='apple'/><category term='GUI'/><category term='Linux tools'/><category term='Arduino'/><category term='Chrome'/><category term='Linux programming tools'/><category term='python'/><category term='internet'/><category term='Processing'/><category term='CMD'/><category term='windows'/><category term='irc'/><category term='Dos'/><category term='thunderbird'/><category term='Android'/><category term='Facebook'/><category term='database'/><category term='HOWTO'/><category term='linux'/><category term='Harddisk'/><category term='messenger'/><category term='Mobile'/><category term='KDE'/><category term='lapskaus'/><category term='Compatibility'/><category term='usb'/><category term='php'/><category term='robotics'/><category term='Chrome OS'/><category term='programming'/><category term='tutorial'/><category term='streaming'/><category term='Image Processing'/><category term='Shortcuts'/><category term='Eee laptops'/><category term='installing at Linux'/><category term='book'/><category term='Beginner'/><category term='Old'/><category term='Google'/><category term='Maintenance'/><category term='Printer'/><category term='Open Source'/><category term='electronics'/><category term='C#'/><category term='matlab'/><category term='graphic card'/><category term='outlook'/><category term='batch job'/><category term='Nautilus'/><category term='servers'/><category term='registery'/><category term='unix'/><category term='kernel'/><category term='dictionary'/><category term='virus'/><category term='Hardware'/><category term='free speech'/><category term='Tricks'/><title type='text'>Lapskaus IT</title><subtitle type='html'>A computer blog as colorful as Lapskaus ingredients ...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default?start-index=101&amp;max-results=100'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>273</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19749885.post-7344482748364297252</id><published>2012-01-20T12:34:00.002+01:00</published><updated>2012-01-20T12:38:06.552+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='matlab'/><title type='text'>Making mesh plot out of discrete points in Matlab</title><content type='html'>If you are wondering how to make a mesh plot out of discrete points, check out following link :&lt;br /&gt;&lt;a href="http://www.mathworks.se/help/techdoc/ref/triscatteredinterpclass.html"&gt;http://www.mathworks.se/help/techdoc/ref/triscatteredinterpclass.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;img src="http://www.mathworks.se/help/techdoc/ref/tri_scat_interp.png" style="cursor: move;" /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;*Picture from Matlab website&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7344482748364297252?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7344482748364297252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7344482748364297252&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7344482748364297252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7344482748364297252'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2012/01/making-mesh-plot-out-of-discrete-points.html' title='Making mesh plot out of discrete points in Matlab'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3238005129925986609</id><published>2012-01-11T11:19:00.001+01:00</published><updated>2012-01-11T11:20:37.743+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Having two Excel 2010 files beside each other in Windows 7</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Wanna have two Excel files beside each other and you can't get it done !!! Well remember you are using Microsoft products, so&amp;nbsp;don't&amp;nbsp;be surprised that they&amp;nbsp;don't&amp;nbsp;manage normally to let you have two windows beside each other. Well but there is a hard way to do this :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Open the first workbook any way you want.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Start a second instance of excel.&amp;nbsp;either double click on shortcut to excel.exe on your desktop&amp;nbsp;or through&amp;nbsp;windows start button | run, then&amp;nbsp;type:&amp;nbsp;excel&amp;nbsp;and hit enter.&amp;nbsp;Then file|open the second workbook.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Now files are&amp;nbsp;separated&amp;nbsp;and you can have them beside each other ... Siiiiiigggggghhhhhhh :-S&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3238005129925986609?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3238005129925986609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3238005129925986609&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3238005129925986609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3238005129925986609'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2012/01/having-two-excel-2010-files-beside-each.html' title='Having two Excel 2010 files beside each other in Windows 7'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2085393370052989058</id><published>2011-11-28T02:14:00.001+01:00</published><updated>2011-11-28T02:36:26.189+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Different editions of SQL 2008</title><content type='html'>&lt;br /&gt;&lt;div style="background-color: white; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;Different editions of SQL Server 2008 :&lt;/div&gt;&lt;ul style="background-color: white;"&gt;&lt;li style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;Enterprise Edition&lt;/b&gt;&lt;br /&gt;Data management and business intelligence platform providing enterprise class scalability, high availability, and security for running business-critical applications&lt;/li&gt;&lt;li style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;Standard Edition&lt;/b&gt;&lt;br /&gt;Data management and business intelligence platform providing ease of use and manageability for running departmental applications&lt;/li&gt;&lt;li style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;Workgroup Edition&lt;/b&gt;&lt;br /&gt;Data management and reporting platform providing secure, remote synchronization, and management capabilities for running branch applications&lt;/li&gt;&lt;li style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;Developer Edition&lt;/b&gt;&lt;br /&gt;May be installed and used by one user to design, develop, test, and demonstrate your programs on as many systems as needed&lt;/li&gt;&lt;li style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;Web Edition&lt;/b&gt;&lt;br /&gt;A low-TCO, scalable, and manageable database option for web hosters and end customers looking to deploy publicly facing web applications and services&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Express Edition (FREE)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;A free edition of SQL Server ideal for learning and building desktop and small server applications and for redistribution by ISVs&lt;/span&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 17px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Compact Edition (FREE)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;A free, SQL Server embedded database ideal for building stand-alone and occasionally connected applications for mobile devices, desktops, and web clients&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 17px;"&gt;Evaluation Edition (Temporary&amp;nbsp;FREE)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 17px;"&gt;This edition may be installed for demonstration and evaluation purposes until an expiration period of 180 days.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 17px;"&gt;Source :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.quackit.com/sql_server/sql_server_2008/tutorial/sql_server_editions.cfm"&gt;http://www.quackit.com/sql_server/sql_server_2008/tutorial/sql_server_editions.cfm&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2085393370052989058?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2085393370052989058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2085393370052989058&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2085393370052989058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2085393370052989058'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/11/different-editions-of-sql-2008.html' title='Different editions of SQL 2008'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4902706739405132968</id><published>2011-11-08T16:09:00.000+01:00</published><updated>2011-11-08T16:09:22.423+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Next line in a cell in Excel</title><content type='html'>&lt;br /&gt;&lt;div class="content" style="background-color: white; margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;&lt;span class="Apple-style-span" style="font-family: arial, helvetica, clean, sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;As it sounds very easy, but if you are visiting this page, you know it is not that easy as it sounds ;-) Usually in such cases Shift+Enter is the right combination, but&amp;nbsp;strangely&amp;nbsp;Microsoft use that for another&amp;nbsp;operation&amp;nbsp;in Excel and instead uses&lt;/span&gt;&lt;/span&gt;&lt;u style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt; &lt;/u&gt;&lt;/span&gt;&lt;b style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;u&gt;Alt + Enter&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;. &lt;b&gt;Hold Alt key down and press enter.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4902706739405132968?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4902706739405132968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4902706739405132968&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4902706739405132968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4902706739405132968'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/11/next-line-in-cell-in-excel.html' title='Next line in a cell in Excel'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-9195233521635568314</id><published>2011-10-26T21:52:00.002+02:00</published><updated>2011-10-26T21:52:25.352+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='servers'/><title type='text'>Thumbnails not showing on Windows Explorer, windows server 2008</title><content type='html'>&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;strong style="color: black;"&gt;Start button&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;click&amp;nbsp;&lt;strong style="color: black;"&gt;Run&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;Enter&amp;nbsp;&lt;strong style="color: black;"&gt;SystemPropertiesPerformance&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;Click&amp;nbsp;&lt;strong style="color: black;"&gt;OK&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;span style="color: black;"&gt;Inside&amp;nbsp;&lt;/span&gt;&lt;strong style="color: black;"&gt;Performance Options&lt;/strong&gt;&amp;nbsp;window check the&amp;nbsp;&lt;strong style="color: black;"&gt;Show thumbnails instead of icons&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;b&gt;You're done :-)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-9195233521635568314?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/9195233521635568314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=9195233521635568314&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9195233521635568314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9195233521635568314'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/10/thumbnails-not-showing-on-windows.html' title='Thumbnails not showing on Windows Explorer, windows server 2008'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4824046514467335132</id><published>2011-10-26T21:25:00.000+02:00</published><updated>2011-10-26T21:25:16.695+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='servers'/><title type='text'>Photo Gallery Viewer on Windows Server 2008</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: #f5f5ff; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;If you are suffering lack of &lt;b&gt;Photo Gallery Viewer&lt;/b&gt; after installing &lt;b&gt;Windows Server 2008&lt;/b&gt;, then you need to read the following. It's easy to install this feature, and it can be easily done by&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #f5f5ff; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;installing the "Windows desktop experience" from the&lt;b&gt; Server Manager -&amp;gt; Features -&amp;gt; Add Feature&lt;/b&gt;. This package includes the Windows Photo Gallery viewer as well.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4824046514467335132?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4824046514467335132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4824046514467335132&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4824046514467335132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4824046514467335132'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/10/photo-gallery-viewer-on-windows-server.html' title='Photo Gallery Viewer on Windows Server 2008'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1076993771134367130</id><published>2011-10-20T15:52:00.000+02:00</published><updated>2011-10-20T15:52:53.491+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='servers'/><title type='text'>Enable Wireless Networking on MS Windows Server 2008</title><content type='html'>&lt;br /&gt;Start -&amp;gt; All Programs -&amp;gt; Administrative Tools -&amp;gt; Server Manager&lt;br /&gt;&lt;br /&gt;Choose Features in Service Manger and then choose the&amp;nbsp;check-mark&amp;nbsp;beside Wireless LAN Service and click Next. Later you need to click install and you are done. Wireless networking is now&amp;nbsp;installed&amp;nbsp;on your&amp;nbsp;Windows&amp;nbsp;Server 2008.&lt;br /&gt;&lt;br /&gt;OBS : Bear in mind that using wireless services is not as secure as cable and therefore deactivated.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1076993771134367130?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1076993771134367130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1076993771134367130&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1076993771134367130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1076993771134367130'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/10/enable-wireless-networking-on-ms.html' title='Enable Wireless Networking on MS Windows Server 2008'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-149832706229155707</id><published>2011-10-17T11:21:00.001+02:00</published><updated>2011-10-17T11:22:02.580+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Adding up all values in a column in Excel</title><content type='html'>To add up all the values from one Excel column in one cell, we only need to do this :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;click on the cell&lt;/li&gt;&lt;li&gt;Write =SUM(COLUMN:COLUMN)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;E.g. in following example it is =SUM(B:B),&amp;nbsp;because&amp;nbsp;my numbers are in column B.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-cwr5-z4QLzM/TpvznvKId2I/AAAAAAAACJ4/3dTcT8bJpD4/s1600/test_excel_sum.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="116" src="http://4.bp.blogspot.com/-cwr5-z4QLzM/TpvznvKId2I/AAAAAAAACJ4/3dTcT8bJpD4/s320/test_excel_sum.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-149832706229155707?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/149832706229155707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=149832706229155707&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/149832706229155707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/149832706229155707'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/10/adding-up-all-values-in-column-in-excel.html' title='Adding up all values in a column in Excel'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-cwr5-z4QLzM/TpvznvKId2I/AAAAAAAACJ4/3dTcT8bJpD4/s72-c/test_excel_sum.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6858264429221645815</id><published>2011-09-08T09:28:00.001+02:00</published><updated>2011-09-08T09:28:34.774+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Changing the default font of a document at MS Word 2010</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Click on the expansion sign beside the Font panel on your tool bar.&lt;a href="http://3.bp.blogspot.com/-etPPPYthbPQ/Tmhtu6wT0QI/AAAAAAAACAI/Wu3uMwhdNfc/s1600/office.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="61" src="http://3.bp.blogspot.com/-etPPPYthbPQ/Tmhtu6wT0QI/AAAAAAAACAI/Wu3uMwhdNfc/s320/office.bmp" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Choose your favorite font for this document and click OK for the changes to effect JUST this document, or Save it as&amp;nbsp;default, for the changes to apply to all future documents.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-3DE4A-0ngNA/TmhucQCjrNI/AAAAAAAACAM/aF7-4n2kmxo/s1600/office2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-3DE4A-0ngNA/TmhucQCjrNI/AAAAAAAACAM/aF7-4n2kmxo/s320/office2.JPG" width="227" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6858264429221645815?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6858264429221645815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6858264429221645815&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6858264429221645815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6858264429221645815'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/09/changing-default-font-of-document-at-ms.html' title='Changing the default font of a document at MS Word 2010'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-etPPPYthbPQ/Tmhtu6wT0QI/AAAAAAAACAI/Wu3uMwhdNfc/s72-c/office.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4648379132924265395</id><published>2011-09-01T12:50:00.001+02:00</published><updated>2011-09-01T12:50:53.015+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GIMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Image Processing'/><title type='text'>How to make a picture background transparent in GIMP</title><content type='html'>&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the file&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: verdana, helvetica, sans-serif; font-size: 13px;"&gt;Layer -&amp;gt; Transparency -&amp;gt; Add Alpha channel&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: verdana, helvetica, sans-serif; font-size: 13px;"&gt;Choose &lt;b&gt;Fuzzy Selector&lt;/b&gt; and try to remove the area you want to make transparent by selecting it and pressing DELETE button on keyboard or through the menu by clicking Edit -&amp;gt; Clear.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: verdana, helvetica, sans-serif; font-size: 13px;"&gt;Your image now is transparent in those areas that you have taken away.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4648379132924265395?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4648379132924265395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4648379132924265395&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4648379132924265395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4648379132924265395'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/09/how-to-make-picture-background.html' title='How to make a picture background transparent in GIMP'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4341476264776455593</id><published>2011-08-07T22:03:00.003+02:00</published><updated>2011-08-08T17:08:55.283+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>Error importing SQL database in Wordpress</title><content type='html'>If you get; &lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;CREATE TABLE IF NOT EXISTS&lt;/span&gt;&lt;/b&gt; ; error, when you try to import your SQL backup into your newly installed Wordpress, then you just need to export your database again(at your old PhpMyAdmin section) and while doing it, dont forget to tick &lt;b style="color: red;"&gt;DROP all WordPress tables, &lt;/b&gt;when you export your SQL database&lt;b style="color: red;"&gt;.&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s1600/exportSQL.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s320/exportSQL.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b style="color: red;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4341476264776455593?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4341476264776455593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4341476264776455593&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4341476264776455593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4341476264776455593'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/08/error-import-sql-database-in-wordpress.html' title='Error importing SQL database in Wordpress'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s72-c/exportSQL.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7307760001685933113</id><published>2011-08-07T14:50:00.002+02:00</published><updated>2011-08-08T17:07:51.666+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Restoring SQL database in your new wordpress</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;You make a back up file of your SQL database from your &lt;b&gt;Cpanel -&amp;gt; PhpMyAdmin -&amp;gt; Export&lt;/b&gt;***&amp;nbsp;You need to &lt;b&gt;DROP all WordPress tables&lt;/b&gt; in your database to make room for the restore(This is a check box when you are exporting your DB).&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s1600/exportSQL.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s320/exportSQL.PNG" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;You upload the file in your new hosting plan/new website on your &lt;b&gt;Cpanel -&amp;gt; PhpMyAdmin -&amp;gt; Import&lt;/b&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://3.bp.blogspot.com/-3fLi00QX4zs/Tj_7mbamd0I/AAAAAAAAB1E/KYXwQrfBn2A/s1600/importSQL.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="212" src="http://3.bp.blogspot.com/-3fLi00QX4zs/Tj_7mbamd0I/AAAAAAAAB1E/KYXwQrfBn2A/s320/importSQL.PNG" width="320" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Blank page&lt;/span&gt;&lt;/b&gt; ??? Check your themes. Faulty theme can cause blank page. Try changing to another theme.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7307760001685933113?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7307760001685933113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7307760001685933113&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7307760001685933113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7307760001685933113'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/08/restoring-sql-database-in-your-new.html' title='Restoring SQL database in your new wordpress'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-5YKfKflRAMg/Tj_7f4wGMrI/AAAAAAAAB1A/jsT-acAapgw/s72-c/exportSQL.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2665244876255352060</id><published>2011-05-24T14:59:00.000+02:00</published><updated>2011-05-24T14:59:08.697+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Disable Taskbar Thumbnail Preview in Windows 7; HOWTO</title><content type='html'>1. Start button -&amp;gt; type on search bar &lt;b&gt;gpedit.msc&lt;/b&gt; &amp;amp; Enter&lt;br /&gt;2. Go to &lt;b&gt;User Configuration, Administrative Templates, and Start Menu and Taskbar&lt;/b&gt; &lt;br /&gt;3. Fina &lt;b&gt;“Turn off Taskbar Thumbnails”&lt;/b&gt; and open it.&lt;br /&gt;4. Select Disable from the opened window&lt;br /&gt;5. Done :-)&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-nJOkda-BJwo/TdurcApBEVI/AAAAAAAABo4/mVFgOhV3G0w/s1600/thumnail.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="224" src="http://3.bp.blogspot.com/-nJOkda-BJwo/TdurcApBEVI/AAAAAAAABo4/mVFgOhV3G0w/s320/thumnail.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2665244876255352060?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2665244876255352060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2665244876255352060&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2665244876255352060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2665244876255352060'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/05/disable-taskbar-thumbnail-preview-in.html' title='Disable Taskbar Thumbnail Preview in Windows 7; HOWTO'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-nJOkda-BJwo/TdurcApBEVI/AAAAAAAABo4/mVFgOhV3G0w/s72-c/thumnail.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4653628228559151418</id><published>2011-04-19T12:48:00.003+02:00</published><updated>2011-04-19T12:49:11.618+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='GUI'/><title type='text'>start jFrame in the center of the screen</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; padding-top: 0px; width: 450px;"&gt;// Get the size of the screen&lt;br /&gt;    Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();&lt;br /&gt;    &lt;br /&gt;    // Determine the new location of the window&lt;br /&gt;    int w = window.getSize().width;&lt;br /&gt;    int h = window.getSize().height;&lt;br /&gt;    int x = (dim.width-w)/2;&lt;br /&gt;    int y = (dim.height-h)/2;&lt;br /&gt;    &lt;br /&gt;    // Move the window&lt;br /&gt;    window.setLocation(x, y);&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4653628228559151418?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4653628228559151418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4653628228559151418&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4653628228559151418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4653628228559151418'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/04/start-jframe-in-center-of-screen.html' title='start jFrame in the center of the screen'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-896090043068833849</id><published>2011-04-18T16:42:00.000+02:00</published><updated>2011-04-18T16:42:22.663+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Processing'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Arduino'/><title type='text'>Integrating power of Java &amp; Processing :-)</title><content type='html'>In the&amp;nbsp;following&amp;nbsp;link you can find how to import processing libraries to a Java class where you can combine the power of Java with the&amp;nbsp;flexibility&amp;nbsp;of Processing and make miracles ;-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://processing.org/learning/eclipse/"&gt;http://processing.org/learning/eclipse/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source : Processing.org&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-896090043068833849?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/896090043068833849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=896090043068833849&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/896090043068833849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/896090043068833849'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/04/integrating-power-of-java-processing.html' title='Integrating power of Java &amp; Processing :-)'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1629683219733510972</id><published>2011-03-12T20:46:00.000+01:00</published><updated>2011-03-12T20:46:26.309+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>"Fatal error: Call to undefined function" after automatic upgrade in Wordpress</title><content type='html'>&lt;div style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; margin-bottom: 11px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"Fatal error: Call to undefined function" is always a sign of an &lt;b&gt;incomplete upgrade&lt;/b&gt;, where not all the files got upgraded.&lt;/div&gt;&lt;div style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; margin-bottom: 11px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Do a&amp;nbsp;&lt;a href="http://codex.wordpress.org/Updating_WordPress#Manual_Update" style="border-bottom-color: rgb(223, 223, 223); border-bottom-style: solid; border-bottom-width: 1px; color: #21759b; font-weight: normal; text-decoration: none;"&gt;manual upgrade&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1629683219733510972?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1629683219733510972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1629683219733510972&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1629683219733510972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1629683219733510972'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/03/fatal-error-call-to-undefined-function.html' title='&quot;Fatal error: Call to undefined function&quot; after automatic upgrade in Wordpress'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3980445872271645455</id><published>2011-03-10T14:16:00.001+01:00</published><updated>2011-03-10T14:17:59.269+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='usb OS'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Live USB of different Linux distributions in Windows, HOWTO</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Universal USB Installer, is a very easy tool to do this. Manual :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Insert a USB stick with at least 2GB of free space&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;(Optional) You can download the iso file of the Linux distro that you want to have it on your USB / The download can be done through the Universal USB Installer later as well.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;a href="http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/"&gt;Download the Universal USB Installer&lt;/a&gt;&amp;nbsp;(Both Download link &amp;amp; user manual)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Select the desired Linux distro from the dropdown list&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Click 'Browse' and open the downloaded ISO file/ OR simly download it by clicking on the "Download iso(optional)"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Choose the USB drive and click 'Create'&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;ol style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3980445872271645455?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3980445872271645455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3980445872271645455&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3980445872271645455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3980445872271645455'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/03/live-usb-of-different-linux.html' title='Live USB of different Linux distributions in Windows, HOWTO'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8242789201054910923</id><published>2011-03-03T01:28:00.002+01:00</published><updated>2011-03-03T01:31:23.004+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Application Development'/><title type='text'>Android &amp; WiFi information, Wifimanager + Wifiinfo</title><content type='html'>For having access to the WiFi connection, you can use the &lt;a href="http://developer.android.com/reference/android/net/wifi/WifiManager.html"&gt;WifiManager &lt;/a&gt;and &lt;a href="http://developer.android.com/reference/android/net/wifi/WifiInfo.html"&gt;WifiInfo &lt;/a&gt;classes in Android SDK. The following code can show you how you can do get access to things like your IP address, the connected network name or the available networks around you :&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;WifiManager myWifiMananger = (WifiManager) getSystemService(WIFI_SERVICE);&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;WifiInfo myNetInfo = myWifiMananger.getConnectionInfo();&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;showIp.append(changeIp(myNetInfo.getIpAddress()) + " \n");&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;showIp.append(myNetInfo.getSSID() + " ");&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;List&amp;lt;ScanResult&amp;gt; scanList = myWifiMananger.getScanResults();&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;for(ScanResult element : scanList){&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; showIp.append(element.SSID + " Level: " + element.level + " freq : " + element.frequency + " Cap: " + element.capabilities + "\n");&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;//DONT forget that the getIpAddress returns an int value. Convert it to string :&lt;br /&gt;public String changeIp(int ipAddress){&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; return String.format("%d.%d.%d.%d",&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;   (ipAddress &amp; 0xff),&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;   (ipAddress &amp;gt;&amp;gt; 8 &amp; 0xff),&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;   (ipAddress &amp;gt;&amp;gt; 16 &amp; 0xff),&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;   (ipAddress &amp;gt;&amp;gt; 24 &amp; 0xff));&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;*** VERY IMPORTANT :&lt;/b&gt; To use this you need to add couple of lines to android manifest(XML file -&gt; AndroidManifest.xml). &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8242789201054910923?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8242789201054910923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8242789201054910923&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8242789201054910923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8242789201054910923'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/03/android-wifi-information-wifimanager.html' title='Android &amp; WiFi information, Wifimanager + Wifiinfo'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3086871067193467695</id><published>2011-03-01T14:44:00.002+01:00</published><updated>2011-03-01T14:44:38.680+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Application Development'/><title type='text'>How to tile a background image in Android</title><content type='html'>Very good tutorial :&lt;br /&gt;&lt;a href="http://androidforbeginners.blogspot.com/2010/06/how-to-tile-background-image-in-android.html"&gt;http://androidforbeginners.blogspot.com/2010/06/how-to-tile-background-image-in-android.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3086871067193467695?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3086871067193467695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3086871067193467695&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3086871067193467695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3086871067193467695'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/03/how-to-tile-background-image-in-android.html' title='How to tile a background image in Android'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2169057307981722450</id><published>2011-02-27T16:51:00.000+01:00</published><updated>2011-02-27T16:51:33.526+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>Outlook backup</title><content type='html'>The following procedure is valid only for Microsoft Office Outlook 2007. You can determine which version you are using by opening Outlook and clicking on Help &gt; About Microsoft Outlook.&lt;br /&gt; &lt;br /&gt;The Personal Folder file (.pst / PST) is the place where Outlook stores its data (when you're using Outlook without Microsoft® Exchange Server). Each Personal Folder file contains all of your Outlook folders, including the Inbox, Calendar, and Contacts. You may have a single .pst file (usually called "Internet Folders" or "Personal Folders" in your Folder List), and you may also have an additional .pst file that you use to archive messages (named "Archive Folders"). By backing up these PST files you will be backing up all your Outlook information.&lt;br /&gt; &lt;br /&gt;In previous versions of Outlook, it was difficult to locate the folder containing the personal folder files. Developers have made this task much easier in Outlook 2007.&lt;br /&gt; &lt;br /&gt;There are two ways to access the location of your data files. In the main menu, you can either click File &gt; Data File Management... or Tools &gt; Account Settings... &lt;br /&gt;&lt;br /&gt;If not already selected, click on the "Data Files" tab. You may have a single data file or multiple data files. These "Data Files" are where you store your email messages, calendar, tasks and other items. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Highlight the data file that you are interested in backing up and click on the "Open Folder..." icon. Clicking on this icon will automatically launch Windows Explorer and take you to the location where this data file is stored.&lt;br /&gt; &lt;br /&gt;Within the folder you should find an outlook.pst file  . Burn this file to a CDROM disk or other backup source. If you archive your email, be sure to backup the archive.pst file as well. Prior to backing up these files, Outlook will need to be closed.&lt;br /&gt;The table below lists key Outlook files that you may want to back up in addition to your Personal Folder(s). You will need to completely exit Outlook prior to copying these files. Depending upon your configuration some or all of these files may be present in your Outlook directory.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2169057307981722450?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2169057307981722450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2169057307981722450&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2169057307981722450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2169057307981722450'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/02/outlook-backup.html' title='Outlook backup'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3840469742218997596</id><published>2011-02-25T13:33:00.002+01:00</published><updated>2011-02-25T13:33:08.562+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Change Windows password with Ubuntu Live CD</title><content type='html'>&lt;a href="http://www.howtogeek.com/howto/14369/change-or-reset-windows-password-from-a-ubuntu-live-cd/"&gt;http://www.howtogeek.com/howto/14369/change-or-reset-windows-password-from-a-ubuntu-live-cd/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3840469742218997596?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3840469742218997596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3840469742218997596&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3840469742218997596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3840469742218997596'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/02/change-windows-password-with-ubuntu.html' title='Change Windows password with Ubuntu Live CD'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3444713170207681261</id><published>2011-02-23T11:29:00.000+01:00</published><updated>2011-02-23T11:29:58.883+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Change product key in Office 2010; HOWTO</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Control Panel&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Uninstall a Program / Programs &amp;amp; features&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Office 2010&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Click on &lt;b&gt;Change&lt;/b&gt; button&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Choose &lt;b&gt;Enter new product key&lt;/b&gt; &amp;amp; Press &lt;b&gt;Continute&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;Type your new &lt;i&gt;product key&lt;/i&gt; and also make sure to check the option&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;&lt;strong style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Attempt to automatically activate my product online&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;&amp;nbsp;to automatically activate your Office 2010 suite. Now click on&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;&lt;strong style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Continue&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;&amp;nbsp;and then on&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;&lt;strong style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Install Now&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: #333333; line-height: 22px;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3444713170207681261?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3444713170207681261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3444713170207681261&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3444713170207681261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3444713170207681261'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/02/change-product-key-in-office-2010-howto.html' title='Change product key in Office 2010; HOWTO'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1284160558211923235</id><published>2011-02-15T15:01:00.000+01:00</published><updated>2011-02-15T15:01:50.741+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Convert array of strings to a list, C#</title><content type='html'>It is very easy to convert an array of string to a list in C-sharp :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// this line returns an array of file names&lt;br /&gt;string[] fileEntries = Directory.GetFiles("c:/test");&lt;br /&gt;List&lt;string&gt; fileList = new List&lt;string&gt;(fileEntries.Length);//convert an array to List&lt;/string&gt;&lt;/string&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1284160558211923235?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1284160558211923235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1284160558211923235&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1284160558211923235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1284160558211923235'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/02/convert-array-of-strings-to-list-c.html' title='Convert array of strings to a list, C#'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3526727360333392517</id><published>2011-02-13T21:15:00.003+01:00</published><updated>2011-02-25T13:50:24.554+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='robotics'/><title type='text'>Ignite Oslo, Rapid Prototyping</title><content type='html'>&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;On Thursday I hold one of the most difficult presentations of my life. I was representing&amp;nbsp;Robotica Osloensis,&amp;nbsp;a student community which I am deputy chairman of, at&amp;nbsp;&lt;a href="http://igniteoslo.no/"&gt;Ignite Oslo&lt;/a&gt;. I talked about&amp;nbsp;&lt;b&gt;&lt;a href="http://en.wikipedia.org/wiki/Rapid_prototyping"&gt;Rapid Prototyping&lt;/a&gt;&lt;/b&gt;&amp;nbsp;which we use as our main method at Robotica in our projects.&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Ignite_(event)"&gt;Ignite&lt;/a&gt;&amp;nbsp;is a style of presentation where participants are given five minutes to speak on a subject accompanied by 20 slides. Each slide is displayed for 15 seconds, and slides are automatically advanced. The Ignite format is similar to Pecha Kucha, which features 20 slides displayed for 20 seconds each.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;The Ignite Oslo was a very nice event. They had 5 minutes presentations about different topics&lt;span class="Apple-style-span" style="font-size: xx-small;"&gt;&lt;a href="http://igniteoslo.no/talere/"&gt;(list over topics)&lt;/a&gt;&lt;/span&gt;&amp;nbsp;which were very&amp;nbsp;interesting. Presentations about art, film making, music composition with applications on iPad, 3D printing,&amp;nbsp;air balloons and&amp;nbsp;fashion, etc.&amp;nbsp;It was pretty stressful when it came to my turn. The whole idea of 15 seconds intervals and having a lot to say about a subject that actually belongs to the nerd world made me very nervous. Thanks to my friends&amp;nbsp;&lt;i&gt;&lt;a href="http://magnus-thesis.blogspot.com/"&gt;Magnus Lange&lt;/a&gt;&lt;/i&gt;&amp;nbsp;and&amp;nbsp;&lt;i&gt;Ole Jacob&lt;/i&gt;, who helped me both about the content and preparing in advance for the presentation, I was well prepared. Also I should thank my friends who came there to support me when I was actually holding the presentation. My presentation can be downloaded by&amp;nbsp;&lt;a href="http://www.shahabfm.com/projects/presentation/final_ignite_rapid_prototyping.pptx"&gt;&lt;b&gt;clicking here&lt;/b&gt;&lt;/a&gt;.&lt;/div&gt;&lt;iframe title="YouTube video player" width="440" height="350" src="http://www.youtube.com/embed/sL6Ci31nJYY" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;&lt;img border="0" height="198" src="http://2.bp.blogspot.com/-zhyh5wcJVmE/TVc3t9MWQVI/AAAAAAAABk0/GNOUJNszTew/s320/firstpage.PNG" style="cursor: move;" width="320" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3526727360333392517?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3526727360333392517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3526727360333392517&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3526727360333392517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3526727360333392517'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/02/ignite-oslo-rapid-prototyping.html' title='Ignite Oslo, Rapid Prototyping'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/sL6Ci31nJYY/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4497643245595742141</id><published>2011-01-14T15:37:00.000+01:00</published><updated>2011-01-14T15:37:17.356+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Import your Facebook events to your Google Calender</title><content type='html'>Go to your&amp;nbsp;Facebook&amp;nbsp;account, Go to &lt;b&gt;Events&lt;/b&gt;, Click on &lt;b&gt;Export Events&lt;/b&gt; -&amp;gt; You would get a &lt;b&gt;link&lt;/b&gt;&lt;br /&gt;Then go to your &lt;b&gt;Google Calender&lt;/b&gt; -&amp;gt; &lt;b&gt;Setting&amp;nbsp;&lt;/b&gt;-&amp;gt;&amp;nbsp;&lt;b&gt;Calender Setting&lt;/b&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;b&gt;Calenders&lt;/b&gt;&amp;nbsp;-&amp;gt;&lt;b&gt;&amp;nbsp;import calender link in the middle of the page&lt;/b&gt;. There you can&lt;u&gt;&lt;i&gt; use the Link you received from Facebook&lt;/i&gt;&lt;/u&gt; to &lt;b&gt;import &lt;/b&gt;the events to your Google calender.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4497643245595742141?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4497643245595742141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4497643245595742141&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4497643245595742141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4497643245595742141'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/import-your-facebook-events-to-your.html' title='Import your Facebook events to your Google Calender'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3735826639690709812</id><published>2011-01-14T08:33:00.001+01:00</published><updated>2011-01-14T08:33:50.067+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Category 5, cable standard</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;b&gt;Category 5 cable&lt;/b&gt;&amp;nbsp;(&lt;b&gt;Cat 5&lt;/b&gt;) is a&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Twisted_pair" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Twisted pair"&gt;twisted pair&lt;/a&gt;&amp;nbsp;high signal integrity cable type. This type of cable is used in&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Structured_cabling" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Structured cabling"&gt;structured cabling&lt;/a&gt;&amp;nbsp;for&amp;nbsp;computer networks&amp;nbsp;such as&amp;nbsp;Ethernet&amp;nbsp;and&amp;nbsp;&lt;span class="Apple-style-span" style="background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial;"&gt;ATM&lt;/span&gt;, and is also used to carry many other signals such as&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Telephony" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Telephony"&gt;telephony&lt;/a&gt;and&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Video" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Video"&gt;video&lt;/a&gt;. Most Category 5 cables are&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Electromagnetic_shielding" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Electromagnetic shielding"&gt;unshielded&lt;/a&gt;, relying on the twisted pair design for noise rejection. Category 5 has been superseded by the&amp;nbsp;&lt;b&gt;Category 5e&lt;/b&gt;&amp;nbsp;specification.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;I usually use these cables in my robotic projects as well, as they come in a well packaged easy way and one can easily setup one protocol to use one color for one kind of signal :-)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3735826639690709812?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3735826639690709812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3735826639690709812&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3735826639690709812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3735826639690709812'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/category-5-cable-standard.html' title='Category 5, cable standard'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-365349758955729473</id><published>2011-01-13T10:49:00.000+01:00</published><updated>2011-01-13T10:49:24.915+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>String &amp; Javascript</title><content type='html'>String in Javascript, cool link : &lt;a href="http://www.javascriptkit.com/javatutors/string4.shtml"&gt;http://www.javascriptkit.com/javatutors/string4.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-365349758955729473?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/365349758955729473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=365349758955729473&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/365349758955729473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/365349758955729473'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/string-javascript.html' title='String &amp; Javascript'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2435882779664757214</id><published>2011-01-13T10:43:00.005+01:00</published><updated>2011-01-13T10:49:46.745+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Javascript, forward to another page according to the refferer URL</title><content type='html'>&amp;lt;!-- Hide script from old browsers&amp;lt;br&amp;gt;&lt;br /&gt;&lt;br /&gt;if (document.referrer.indexOf("facebook") != -1)&lt;br /&gt;//document.write("From facebook")  &lt;br /&gt;location.href = "www.yourpage.com"; &lt;br /&gt;else&lt;br /&gt;document.write("Not from facebook so we stay on this page") &lt;br /&gt;//-- Stop hiding script --&amp;gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2435882779664757214?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2435882779664757214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2435882779664757214&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2435882779664757214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2435882779664757214'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/javascript-forward-to-another-page.html' title='Javascript, forward to another page according to the refferer URL'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1473102337442260931</id><published>2011-01-10T13:13:00.002+01:00</published><updated>2011-01-10T13:13:54.702+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>KeyListener in Java</title><content type='html'>If you want to write a code in Java which is based on keys being pressed on keyboard, then KeyListener is your way a head. This link at Oracle.com has a very nice description of the whole class and a very good example :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html"&gt;http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1473102337442260931?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1473102337442260931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1473102337442260931&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1473102337442260931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1473102337442260931'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/keylistener-in-java.html' title='KeyListener in Java'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7008941079553710775</id><published>2011-01-07T02:42:00.000+01:00</published><updated>2011-01-07T02:42:38.935+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO : add/remove a String Item to jComboBox, Java</title><content type='html'>jComboBox :&lt;br /&gt;&lt;pre&gt;// Add an item to the start of the list&lt;br /&gt;cb.insertItemAt("item0", 0);&lt;br /&gt;&lt;br /&gt;// Add an item after the first item&lt;br /&gt;cb.insertItemAt("item0.5", 1);&lt;br /&gt;&lt;br /&gt;// Add an item to the end of the list&lt;br /&gt;cb.addItem("item3");&lt;br /&gt;&lt;br /&gt;// Remove first item&lt;br /&gt;cb.removeItemAt(0);&lt;br /&gt;&lt;br /&gt;// Remove the last item&lt;br /&gt;cb.removeItemAt(cb.getItemCount()-1);&lt;br /&gt;&lt;br /&gt;// Remove all items&lt;br /&gt;cb.removeAllItems();&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7008941079553710775?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7008941079553710775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7008941079553710775&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7008941079553710775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7008941079553710775'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/howto-addremove-string-item-to.html' title='HOWTO : add/remove a String Item to jComboBox, Java'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4125185471482286706</id><published>2011-01-07T02:38:00.004+01:00</published><updated>2011-01-07T12:37:02.335+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Arduino'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO : get a list of available ports, Java</title><content type='html'>If you want to ahve a list over all ports, the code down here can help alot&lt;br /&gt;&lt;pre&gt;protected void list() {&lt;br /&gt;// get list of ports available on this particular computer,&lt;br /&gt;// by calling static method in CommPortIdentifier.&lt;br /&gt;Enumeration portList = CommPortIdentifier.getPortIdentifiers();&lt;br /&gt;&lt;br /&gt;// Process the list.&lt;br /&gt;while (portList.hasMoreElements()) {&lt;br /&gt;CommPortIdentifier cpi = (CommPortIdentifier) portList.nextElement();&lt;br /&gt;System.out.print("Port " + cpi.getName() + " ");&lt;br /&gt;if (cpi.getPortType() == CommPortIdentifier.PORT_SERIAL) {&lt;br /&gt;System.out.println("is a Serial Port: " + cpi);&lt;br /&gt;} else if (cpi.getPortType() == CommPortIdentifier.PORT_PARALLEL) {&lt;br /&gt;System.out.println("is a Parallel Port: " + cpi);&lt;br /&gt;} else {&lt;br /&gt;System.out.println("is an Unknown Port: " + cpi);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;code&gt;Source : &lt;a href="http://www.java2s.com/Code/Java/Development-Class/Listtheports.htm"&gt;java2s.com&lt;/a&gt;, modified as javax.comm does not exist anymore on Windows and &lt;a href="http://users.frii.com/jarvi/rxtx"&gt;RxTx&lt;/a&gt; should be used&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4125185471482286706?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4125185471482286706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4125185471482286706&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4125185471482286706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4125185471482286706'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/howto-get-list-of-available-ports-java.html' title='HOWTO : get a list of available ports, Java'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-732417108114703923</id><published>2011-01-06T15:47:00.006+01:00</published><updated>2011-01-14T15:37:37.347+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='Facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>HOWTO : The code which lets you share a link on Facebook on your website</title><content type='html'>&lt;div&gt;If you want to share the link of a current page on your website or a permanent link on Facebook, you just need to do the following :&lt;br /&gt;&lt;br /&gt;Facebook has a very &lt;b&gt;good documentation &lt;/b&gt;on it which you can read &lt;a href="http://developers.facebook.com/docs/share"&gt;&lt;b&gt;here&lt;/b&gt;&lt;/a&gt;.&lt;/div&gt;&lt;br /&gt;&amp;lt;/SCRIPT&amp;gt; &amp;lt;a name="fb_share" type="button"&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" &lt;br /&gt;type="text/javascript"&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;Result : &lt;br /&gt;&lt;a href="" name="fb_share" type="button"&gt;&lt;/a&gt; &lt;script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-732417108114703923?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/732417108114703923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=732417108114703923&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/732417108114703923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/732417108114703923'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/howto-code-which-lets-you-share-link-on.html' title='HOWTO : The code which lets you share a link on Facebook on your website'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4896282743048297306</id><published>2011-01-05T22:27:00.001+01:00</published><updated>2011-01-05T22:28:12.159+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='xp'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO : change the location of Desktop folder at Windwos 7</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;If like me you would also like to change the location of your Desktop folder(security reasons or willing to share the same Desktop on all of your computers), keep reading.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;The solution is pretty simple :-) Simply go to following path :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;C:/users/name/Desktop&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Then right click on the Desktop folder and then choose properties. After it click on "Location tab" and there you can change the location of the Desktop folder.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;in XP, it is the same story but a little bit more complicated as you should go to registery(Start-&amp;gt;Run-&amp;gt;regedit) and change the value of this entry in registry :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;span class="Apple-style-span" style="color: black; font-style: italic; line-height: 17px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #323232;"&gt;&lt;span class="Apple-style-span" style="color: black; font-style: italic; line-height: 17px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4896282743048297306?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4896282743048297306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4896282743048297306&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4896282743048297306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4896282743048297306'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/howto-change-location-of-desktop-folder.html' title='HOWTO : change the location of Desktop folder at Windwos 7'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2429311674393630410</id><published>2011-01-05T21:54:00.001+01:00</published><updated>2011-01-05T22:05:00.594+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO : insert a code in blogspot weblogs</title><content type='html'>&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Courier New'; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"&gt;&amp;lt;"border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"&gt;&lt;code&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;code&gt;Some code here&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: small; white-space: normal;"&gt;&lt;/span&gt;&lt;/code&gt;&lt;pre style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/code&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2429311674393630410?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2429311674393630410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2429311674393630410&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2429311674393630410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2429311674393630410'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/insert-code-in-blogspot-weblogs-howto.html' title='HOWTO : insert a code in blogspot weblogs'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3797299317697241062</id><published>2011-01-03T22:50:00.001+01:00</published><updated>2011-01-03T22:50:38.873+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gnome'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>HOWTO : Add a program to Applications Menu</title><content type='html'>In &lt;b&gt;Gnome(edgy)&lt;/b&gt; : &lt;i&gt;&lt;u&gt;System -&amp;gt; Preferences&lt;/u&gt;&lt;/i&gt; there is an item called "&lt;b&gt;Main Menu&lt;/b&gt;". Here you to edit the application menu.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3797299317697241062?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3797299317697241062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3797299317697241062&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3797299317697241062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3797299317697241062'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/howto-add-program-to-applications-menu.html' title='HOWTO : Add a program to Applications Menu'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4619729092226766938</id><published>2011-01-03T00:34:00.003+01:00</published><updated>2011-01-03T22:51:04.468+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO : Find out if you have a 64 bit Ubuntu or a 32 bit one ?</title><content type='html'>Simply open a terminal and write the following command :&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;uname -m&lt;/pre&gt;&lt;/div&gt;x86_64 = 64 bit&lt;br /&gt;i686 = 32 bit&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4619729092226766938?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4619729092226766938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4619729092226766938&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4619729092226766938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4619729092226766938'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/how-to-find-out-if-you-have-64-bit.html' title='HOWTO : Find out if you have a 64 bit Ubuntu or a 32 bit one ?'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6248642972981156227</id><published>2011-01-02T01:56:00.009+01:00</published><updated>2011-01-07T12:38:43.433+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Setting limitation on uploading file, PHP</title><content type='html'>You can always set limitations on the uploading process as it is a big security risk to let users upload whatever they like ...&lt;br /&gt;&lt;pre&gt;&amp;lt;?php&lt;br /&gt;if ((($_FILES["file"]["type"] == &lt;b&gt;"image/gif"&lt;/b&gt;)&lt;br /&gt;|| ($_FILES["file"]["type"] == &lt;b&gt;"image/jpeg"&lt;/b&gt;)&lt;br /&gt;|| ($_FILES["file"]["type"] == &lt;b&gt;"image/pjpeg"&lt;/b&gt;))&lt;br /&gt;&amp;amp;&amp;amp; ($_FILES["file"]["size"] &amp;lt; 20000))&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;if ($_FILES["file"]["error"] &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "Error: " . $_FILES["file"]["error"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "Upload: " . $_FILES["file"]["name"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "Type: " . $_FILES["file"]["type"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "Stored in: " . $_FILES["file"]["tmp_name"];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Invalid file";&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;code&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;More detailed types of files :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;"application/pdf" - PDF Files&lt;br /&gt;"application/msword" - MS Word Files&lt;br /&gt;"application/powerpoint" - MS Powerpoint Files&lt;br /&gt;"application/excel" - MS Excel Files&lt;br /&gt;"text/plain" - Text Files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source : &lt;a href="http://www.w3schools.com/PHP/php_file_upload.asp"&gt;W3Schools&lt;/a&gt;&lt;/code&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6248642972981156227?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6248642972981156227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6248642972981156227&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6248642972981156227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6248642972981156227'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/setting-limitation-on-uploading-file.html' title='Setting limitation on uploading file, PHP'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3800417004956738978</id><published>2011-01-02T01:38:00.007+01:00</published><updated>2011-01-02T02:04:08.618+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Uploading a file, PHP</title><content type='html'>With PHP you have the power to upload files to the server.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;An example code(The client side) :&lt;/b&gt;&lt;br /&gt;&lt;code&gt;&lt;i&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;form action="upload_file.php" method="post"&lt;br /&gt;enctype="multipart/form-data"&amp;gt;&lt;br /&gt;&amp;lt;label for="file"&amp;gt;Filename:&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;input type="file" name="file" id="file" /&amp;gt; &lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;input type="submit" name="submit" value="Submit" /&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In the HTML code above :&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;The enctype attribut&lt;/i&gt;&lt;/b&gt;e of the&amp;nbsp;tag specifies which content-type to use when submitting the form. "multipart/form-data" is used when a form requires binary data, like the contents of a file, to be uploaded&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;The type="file" attribute&lt;/i&gt;&lt;/b&gt; of the input&amp;nbsp;tag specifies that the input should be processed as a file. For example, when viewed in a browser, there will be a browse-button next to the input field&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;form&gt;****&lt;br /&gt;&lt;b&gt;An example for the "server side" script&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The &lt;i&gt;"upload_file.php"&lt;/i&gt; file contains the code for uploading a file:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;i&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;if ($_FILES["file"]["error"] &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Error: " . $_FILES["file"]["error"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Upload: " . $_FILES["file"]["name"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Type: " . $_FILES["file"]["type"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;nbsp;&amp;nbsp;echo "Stored in: " . $_FILES["file"]["tmp_name"];&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;?&amp;gt;&lt;/i&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;By using the &lt;b&gt;&lt;i&gt;global PHP $_FILES array&lt;/i&gt;&lt;/b&gt; you can upload files from a client computer to the remote server.&lt;br /&gt;&lt;br /&gt;The first parameter is the form's input name and the second index can be either "name", "type", "size", "tmp_name" or "error". Like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;$_FILES["file"]["name"] - the name of the uploaded file&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;$_FILES["file"]["type"] - the type of the uploaded file&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;$_FILES["file"]["size"] - the size in bytes of the uploaded file&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;$_FILES["file"]["tmp_name"] - the name of the temporary copy of the file stored on the server&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;$_FILES["file"]["error"] - the error code resulting from the file upload&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This is a very simple way of uploading files. You better add restrictions on what the user is allowed to upload to your sever. Down here you can also see a code which saves the uploaded file to a physical place on server. If you do not save the file, the temporary file will be deleted after the script ends. It also checks if the file already exist.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;if ((($_FILES["file"]["type"] == "image/gif")&lt;br /&gt;|| ($_FILES["file"]["type"] == "image/jpeg")&lt;br /&gt;|| ($_FILES["file"]["type"] == "image/pjpeg"))&lt;br /&gt;&amp;&amp; ($_FILES["file"]["size"] &amp;lt; 20000))&lt;br /&gt;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;if ($_FILES["file"]["error"] &amp;gt; 0)&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Return Code: " . $_FILES["file"]["error"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;&amp;#160;&amp;#160;else&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Upload: " . $_FILES["file"]["name"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Type: " . $_FILES["file"]["type"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Temp file: " . $_FILES["file"]["tmp_name"] . "&amp;lt;br /&amp;gt;";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;if (file_exists("upload/" . $_FILES["file"]["name"]))&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo $_FILES["file"]["name"] . " already exists. ";&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;else&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;move_uploaded_file($_FILES["file"]["tmp_name"],&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;"upload/" . $_FILES["file"]["name"]);&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;echo "Stored in: " . "upload/" . $_FILES["file"]["name"];&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;}&lt;br /&gt;&amp;#160;&amp;#160;}&lt;br /&gt;else&lt;br /&gt;&amp;#160;&amp;#160;{&lt;br /&gt;&amp;#160;&amp;#160;echo "Invalid file";&lt;br /&gt;&amp;#160;&amp;#160;}&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source : &lt;a href="http://www.w3schools.com/PHP/php_file_upload.asp"&gt;&lt;b&gt;W3Schools&lt;/b&gt;&lt;/a&gt;&lt;/form&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3800417004956738978?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3800417004956738978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3800417004956738978&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3800417004956738978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3800417004956738978'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2011/01/uploading-file-php.html' title='Uploading a file, PHP'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3571997918704724906</id><published>2010-12-30T00:37:00.004+01:00</published><updated>2010-12-30T00:38:58.903+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Set a selected item for select tag in HTML, web design</title><content type='html'>In this example Green will be the selected item(pay attention to where the &lt;b&gt;selected&lt;/b&gt; statement is placed) :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;colors:&lt;br /&gt;&lt;br /&gt;&amp;lt;select name="colors"&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;option&amp;gt;White&amp;lt;/option&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;option&amp;gt;Red&amp;lt;/option&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;option &lt;b&gt;selected&lt;/b&gt;&amp;gt;Green&amp;lt;/option&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;option&amp;gt;Blue&amp;lt;/option&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3571997918704724906?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3571997918704724906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3571997918704724906&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3571997918704724906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3571997918704724906'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/set-selected-item-for-select-tag-in.html' title='Set a selected item for select tag in HTML, web design'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-9140696616609720019</id><published>2010-12-29T13:46:00.003+01:00</published><updated>2010-12-29T13:50:52.417+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Configuration about PHP server, HOWTO</title><content type='html'>If you are wondering about the configuration of the PHP server you have, you can simply make a PHP file with following command :&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;	phpinfo();&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and simply place the file in the localhost folder and browse it in an Internet Browser. You would simply have all the information you need. The result will be something like the picture down here(Take from Wiki)&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://wiki.gandi.net/_media/en/hosting/using-linux/tutorials/phpinfo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="274" src="http://wiki.gandi.net/_media/en/hosting/using-linux/tutorials/phpinfo.jpg" width="320" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-9140696616609720019?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/9140696616609720019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=9140696616609720019&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9140696616609720019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9140696616609720019'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/information-about-php-server-you-have.html' title='Configuration about PHP server, HOWTO'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8222086279641104028</id><published>2010-12-29T00:53:00.000+01:00</published><updated>2010-12-29T00:53:12.587+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='GUI'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Start X from shell, Ubuntu</title><content type='html'>First method,&amp;nbsp;Use init script&lt;br /&gt;&lt;b&gt;sudo /etc/init.d/gdm start&lt;/b&gt;&lt;br /&gt;&lt;b&gt;sudo /etc/init.d/kdm start&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Second method, type startx command :&lt;br /&gt;&lt;b&gt;startx&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If nothing works,&amp;nbsp;type xinit to star X server without KDE:&lt;br /&gt;&lt;b&gt;xinit&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now start kde with following :&lt;br /&gt;&lt;b&gt;startkde&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8222086279641104028?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8222086279641104028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8222086279641104028&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8222086279641104028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8222086279641104028'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/start-x-from-shell-ubuntu.html' title='Start X from shell, Ubuntu'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-323032646092230770</id><published>2010-12-28T15:19:00.000+01:00</published><updated>2010-12-28T15:19:51.613+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>add a user to Ubuntu from Shell/terminal</title><content type='html'>useradd -m -s /bin/bash userName&lt;br /&gt;passwd userName&lt;br /&gt;cd /home&lt;br /&gt;ls -l&lt;br /&gt;mkdir scheiber ----&gt; if it already does not exist&lt;br /&gt;chmod  0700 scheiber&lt;br /&gt;chown -R scheiber:scheiber scheiber&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-323032646092230770?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/323032646092230770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=323032646092230770&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/323032646092230770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/323032646092230770'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/add-user-to-ubuntu-from-shellterminal.html' title='add a user to Ubuntu from Shell/terminal'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-173127072772980036</id><published>2010-12-28T14:39:00.002+01:00</published><updated>2010-12-28T14:39:28.764+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Switch between X login and shell, Ubuntu</title><content type='html'>Use the Ctrl-Alt-F1 shortcut keys to switch to the first console.&lt;br /&gt;&lt;br /&gt;To switch back to Desktop mode, use the Ctrl-Alt-F7 shortcut keys.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-173127072772980036?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/173127072772980036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=173127072772980036&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/173127072772980036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/173127072772980036'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/switch-between-x-login-and-shell-ubuntu.html' title='Switch between X login and shell, Ubuntu'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6275931370792150758</id><published>2010-12-27T13:59:00.000+01:00</published><updated>2010-12-27T13:59:34.586+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Netbeans'/><title type='text'>How to Group your Radio Buttons</title><content type='html'>First add your Radio Buttons to the panel and then select all radio buttons you want to group and set their buttonGroup property (choose the group name from the combo box).&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6275931370792150758?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6275931370792150758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6275931370792150758&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6275931370792150758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6275931370792150758'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/how-to-group-your-radio-buttons.html' title='How to Group your Radio Buttons'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7688026999314573666</id><published>2010-12-27T12:56:00.003+01:00</published><updated>2010-12-27T13:57:39.416+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Netbeans'/><title type='text'>How to add tabbed panel to Java Frame in Netbeans</title><content type='html'>Select tabbed pane, right click on it and then go to Add From Palette, and selecting another &lt;b&gt;Panel(not tabbed panel again)&lt;/b&gt;&amp;nbsp;from there to add another tab. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i56.tinypic.com/nbvreu.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://i56.tinypic.com/nbvreu.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;For renaming the tab righ click on it and choose &lt;b&gt;Edit Text&lt;/b&gt;.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i52.tinypic.com/eimq0l.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://i52.tinypic.com/eimq0l.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;To change the tabs order you can simply right click on the panel and click on &lt;b&gt;Change Order &lt;/b&gt;and then re-order the tabs order as you wish.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7688026999314573666?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7688026999314573666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7688026999314573666&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7688026999314573666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7688026999314573666'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/how-to-add-tabbed-panel-to-java-frame.html' title='How to add tabbed panel to Java Frame in Netbeans'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i56.tinypic.com/nbvreu_th.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8023799034046151520</id><published>2010-12-25T10:23:00.000+01:00</published><updated>2010-12-25T10:23:45.850+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virus'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser war'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome'/><title type='text'>AVG detects Chrome as a Trojan threat</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, 'san serif'; font-size: 13px;"&gt;The AVG 8.5 seems to have problem. Either update to AVG 9.0 or 2011 free versions (this error is mainly being observed in AVG 8.5) OR&amp;nbsp;revert back virus definition of Avg to previous state.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, 'san serif'; font-size: 13px;"&gt;Revert update to previous version :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, 'san serif'; font-size: 13px;"&gt;&lt;b&gt;Tools -&amp;gt;&amp;nbsp;Advance setting -&amp;gt; Update&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, 'san serif'; font-size: 13px;"&gt;and use the Manage to revert !&amp;nbsp;After that try installing it !&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8023799034046151520?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8023799034046151520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8023799034046151520&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8023799034046151520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8023799034046151520'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/avg-detects-chrome-as-trojan-threat.html' title='AVG detects Chrome as a Trojan threat'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2179272673270818707</id><published>2010-12-14T13:51:00.001+01:00</published><updated>2010-12-14T13:51:44.824+01:00</updated><title type='text'>Live Writer, a Multi weblog solution</title><content type='html'>&lt;p&gt;You got several websites and you want to publish something with not much differences in all of them. Then Live Writer is the right tool for you. It lets you add different weblogs(from Wordpress, blogger, etc) and update them with couple of clicks. There are other solutions that can publish one post(exactly the same thing) on several weblogs, but they lack some WYSIWYG feature or they simply do not work with some of your weblogs(Wordpress in my case). I can recommend this MS tool for bloggers&lt;/p&gt; &lt;p&gt;Download Live Writer from &lt;a href="http://explore.live.com/windows-live-writer?os=other" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2179272673270818707?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2179272673270818707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2179272673270818707&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2179272673270818707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2179272673270818707'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/live-writer-multi-weblog-solution.html' title='Live Writer, a Multi weblog solution'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2555420572413961968</id><published>2010-12-14T08:15:00.000+01:00</published><updated>2010-12-14T08:15:33.071+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='irc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><title type='text'>List of people available in one IRC chat channel</title><content type='html'>&lt;ul&gt;&lt;li&gt;List of people available in one IRC chat channel&lt;br /&gt;&lt;b&gt;/who&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;/b&gt;Gives the real name of the given nickname/username&lt;br /&gt;&lt;b&gt;/who nickname&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2555420572413961968?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2555420572413961968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2555420572413961968&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2555420572413961968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2555420572413961968'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/12/list-of-people-available-in-one-irc.html' title='List of people available in one IRC chat channel'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3880931126702498116</id><published>2010-11-17T08:02:00.002+01:00</published><updated>2010-11-17T08:02:28.218+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CAD'/><title type='text'>Learn how you can leverage design configurations in Flow Simulation, Solidworks</title><content type='html'>&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Intresting topic on SolidWorks about Simulation :&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="https://forum.solidworks.com/community/solidworks_simulation/flow_simulation/blog/2010/05/04/leverage-design-configurations-in-flow-simulation"&gt;https://forum.solidworks.com/community/solidworks_simulation/flow_simulation/blog/2010/05/04/leverage-design-configurations-in-flow-simulation&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3880931126702498116?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3880931126702498116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3880931126702498116&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3880931126702498116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3880931126702498116'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/11/learn-how-you-can-leverage-design.html' title='Learn how you can leverage design configurations in Flow Simulation, Solidworks'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8086403973061228074</id><published>2010-11-11T20:27:00.001+01:00</published><updated>2010-11-11T20:27:37.008+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CMD'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='command prompt'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Net use command in CMD</title><content type='html'>If you want to map a network drive from command&amp;nbsp;prompt(cmd), you can write the following command :&lt;br /&gt;&lt;br /&gt;&lt;b&gt;net use (partition letter): \\server_name\share_name&lt;/b&gt;&lt;br /&gt;Example :&amp;nbsp;net use y: \\test_server\test_share&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8086403973061228074?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8086403973061228074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8086403973061228074&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8086403973061228074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8086403973061228074'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/11/net-use-command-in-cmd.html' title='Net use command in CMD'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1396018058656870808</id><published>2010-11-10T09:32:00.000+01:00</published><updated>2010-11-10T09:32:18.596+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='web design'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>Link(permalink) pages in wordpress to an external link</title><content type='html'>You want to redirect pages in your wordpress to an external link ? Now there is a plugin which let you do it :-) The good thing about this ability is that you can re-direct the menu items in your website to external links which was something that Wordpress always lacked.&lt;br /&gt;&lt;br /&gt;The plugin name is &lt;b&gt;"Page Liks To"&lt;/b&gt;. You can download it from &lt;a href="http://txfx.net/wordpress-plugins/page-links-to/"&gt;here&lt;/a&gt;, or simply search the name from your Wordpress control panel. The instruction is as follows :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Upload the page-links-to folder to your /wp-content/plugins/ directory&lt;/li&gt;&lt;li&gt;Activate the “Page Links To” plugin in your WordPress administration interface&lt;/li&gt;&lt;li&gt;Create (or edit) a page or a post to have a title of your choosing (leave the content blank)&lt;/li&gt;&lt;li&gt;Down below, in the advanced section, find the Page Links To widget and add a URL of your choosing&lt;/li&gt;&lt;li&gt;Optionally check the boxes to enable link opening in a new browser window, or 302 Moved Temporarily redirects&lt;/li&gt;&lt;li&gt;Save the post or page&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Done! Now that post or page will point to the URL that you choose&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source :&lt;/b&gt;&amp;nbsp;&lt;a href="http://txfx.net/wordpress-plugins/page-links-to/"&gt;http://txfx.net/wordpress-plugins/page-links-to/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1396018058656870808?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1396018058656870808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1396018058656870808&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1396018058656870808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1396018058656870808'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/11/linkpermalink-pages-in-wordpress-to.html' title='Link(permalink) pages in wordpress to an external link'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1435303592778068404</id><published>2010-11-08T16:03:00.002+01:00</published><updated>2010-11-08T16:03:43.643+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lapskaus'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>Forward inline, Thunderbird</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Helvetica, Arial, sans-serif; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 15px; line-height: 20px;"&gt;If the message you want to forward does not appear as &lt;/span&gt;&lt;/span&gt;&lt;b style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-style: italic; line-height: 20px;"&gt;inline &lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Helvetica, Arial, sans-serif; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 15px; line-height: 20px;"&gt;in the message you are forwarding, then you need to change the following in&amp;nbsp;Thunderbird&amp;nbsp;Options :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Helvetica, Arial, sans-serif; font-size: 15px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Helvetica, Arial, sans-serif; font-size: 15px; line-height: 20px;"&gt;&lt;b&gt;Tools &amp;gt; Options &amp;gt; Composition &amp;gt; General tab, switch "As Attachment" to "Inline".&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1435303592778068404?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1435303592778068404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1435303592778068404&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1435303592778068404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1435303592778068404'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/11/forward-inline-thunderbird.html' title='Forward inline, Thunderbird'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4340709045220466676</id><published>2010-10-22T08:23:00.000+02:00</published><updated>2010-10-22T08:23:57.304+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installing at Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Upgrade to Ubuntu 10.10 from Desktop version of Ubuntu 10.04</title><content type='html'>You want to upgradet to latest Ubuntu version(10.10) and you don't get it in your update menu(upgrade to Ubuntu 10.10), then you need to read the following :&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Network Upgrade for Ubuntu Desktops (Recommended) :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;System -&amp;gt; Administration menu-&amp;gt;&lt;/b&gt;&lt;/span&gt;Software Sources application&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Open &lt;b&gt;Updates&lt;/b&gt; from the Software Sources application window&lt;/li&gt;&lt;li&gt;Change the Release Upgrade drop down to &lt;b&gt;"Normal Releases"&lt;/b&gt; and close the application&lt;/li&gt;&lt;li&gt;Press &lt;b&gt;Alt-F2&lt;/b&gt; and type &lt;b&gt;update-manager&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;/b&gt;Click the Check button to check for new updates.&lt;/li&gt;&lt;li&gt;If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;u&gt;A message will appear informing you of the availability of the new release&lt;/u&gt;&lt;/b&gt;.Click &lt;b&gt;Upgrade&lt;/b&gt;.Follow the on-screen instructions.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Source : &lt;a href="https://help.ubuntu.com/community/MaverickUpgrades"&gt;Ubuntu Community&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4340709045220466676?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4340709045220466676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4340709045220466676&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4340709045220466676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4340709045220466676'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/upgrade-to-ubuntu-1010-from-desktop.html' title='Upgrade to Ubuntu 10.10 from Desktop version of Ubuntu 10.04'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1283160934809005319</id><published>2010-10-21T10:58:00.001+02:00</published><updated>2010-10-22T09:42:33.884+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Can't find equal sign on Android keyboard</title><content type='html'>Nope, you are not blind. They managed to hide it on the 3rd page of your keyboard !!! Press the &lt;b&gt;"?123"(12# in some keyboards)&lt;/b&gt; Symbol on the bottom Left(right in some local keyboards). Then Press &lt;b&gt;"ALT"(my Norwegian local keyboard ALT button was "1/2")&lt;/b&gt; on the Left-hand side to bring up a &lt;i&gt;new variety of symbols including the equal sign.&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1283160934809005319?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1283160934809005319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1283160934809005319&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1283160934809005319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1283160934809005319'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/cant-find-equal-sign-on-android.html' title='Can&apos;t find equal sign on Android keyboard'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2795285427653362061</id><published>2010-10-19T17:32:00.000+02:00</published><updated>2010-10-19T17:32:55.957+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>How to find an element in a List and return the index, Python</title><content type='html'>Check if value exist in a list, L ?&lt;br /&gt;if value in L:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print "list contains", value&lt;br /&gt;Returns the index, where value exist in List, L :&lt;br /&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="font-family: Georgia; font-size: 15px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="python" style="font-family: monospace; font-size: 14px; line-height: 13px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: hidden; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 38em;"&gt;i = L.index(value)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2795285427653362061?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2795285427653362061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2795285427653362061&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2795285427653362061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2795285427653362061'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/how-to-find-element-in-list-and-return.html' title='How to find an element in a List and return the index, Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2877093116027231936</id><published>2010-10-19T10:55:00.002+02:00</published><updated>2010-10-19T10:55:50.402+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Array of classes in Python</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;b = [bullet() for x in range(50)]&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2877093116027231936?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2877093116027231936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2877093116027231936&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2877093116027231936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2877093116027231936'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/array-of-classes-in-python.html' title='Array of classes in Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2106093121791542568</id><published>2010-10-19T10:55:00.000+02:00</published><updated>2010-10-19T10:55:12.874+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Reverse a string, Python</title><content type='html'>def reverseString(s):&lt;br /&gt;&amp;nbsp;&amp;nbsp; """Reverses a string given to it."""&lt;br /&gt;&amp;nbsp;&amp;nbsp; return s[::-1]&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2106093121791542568?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2106093121791542568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2106093121791542568&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2106093121791542568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2106093121791542568'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/reverse-string-python.html' title='Reverse a string, Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-16839374140065749</id><published>2010-10-19T10:53:00.000+02:00</published><updated>2010-10-19T10:53:34.526+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Python string manipulation problem</title><content type='html'>In python string are immutable so if you want to just change a character in a string you get following error :&lt;br /&gt;&lt;br /&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="color: blue; font-family: arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;span style="color: green;"&gt;&lt;span style="color: darkred;"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; idx = 1&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; s1 = "pxthon"&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; s1[idx] = 'y'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;gt; Traceback (most recent call last):&lt;br /&gt;&amp;gt; File "&lt;stdin&gt;", line 1, in ?&lt;br /&gt;&amp;gt; TypeError: object does not support item assignment&lt;/stdin&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue; font-family: arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue; font-family: arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: medium;"&gt;But you can always go for a way out which is not pretty and can lead to some problems if you are not careful, but works :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="color: darkred; font-family: arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;b&gt;s1 = s1[0:idx] + 'y' + s1[idx+1:]&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-16839374140065749?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/16839374140065749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=16839374140065749&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/16839374140065749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/16839374140065749'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/python-string-manipulation-problem.html' title='Python string manipulation problem'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2811037270032060097</id><published>2010-10-19T10:50:00.001+02:00</published><updated>2010-10-19T10:50:39.498+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>How to append a dictionary in Python</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family: verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 22px;"&gt;groups = {'IRISH' : 'green', 'AMERICAN' : 'blue'}&lt;br /&gt;# if you want to later add a new one, i.e., 'ITALIAN' : 'orange'&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family: verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 22px;"&gt;&lt;b&gt;groups['ITALIAN'] = 'orange'&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2811037270032060097?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2811037270032060097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2811037270032060097&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2811037270032060097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2811037270032060097'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/how-to-append-dictionary-in-python.html' title='How to append a dictionary in Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8646013031258558273</id><published>2010-10-19T10:49:00.000+02:00</published><updated>2010-10-19T10:49:01.832+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Python for Java Programmers</title><content type='html'>If you are a Java programmer and need to learn python, try this &lt;a href="http://www.daimi.au.dk/~chili/CSS/pythonForJavaProgrammers.htm"&gt;link&lt;/a&gt;. It is pretty useful.&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8646013031258558273?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8646013031258558273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8646013031258558273&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8646013031258558273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8646013031258558273'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/python-for-java-programmers.html' title='Python for Java Programmers'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4537854125556595072</id><published>2010-10-19T10:47:00.001+02:00</published><updated>2010-10-19T10:47:53.774+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>random function python</title><content type='html'>random.sample(100,2) -&gt; returns 2 random numbers in range of 100 ...&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4537854125556595072?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4537854125556595072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4537854125556595072&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4537854125556595072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4537854125556595072'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/random-function-python.html' title='random function python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-5095007843549099929</id><published>2010-10-19T10:46:00.001+02:00</published><updated>2010-10-19T10:46:37.182+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Python tutorials, video</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;To learn more about Python you can visit ShowMeDo’s&amp;nbsp;&lt;a href="http://showmedo.com/videos/python" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;list of Python videos&lt;/a&gt;which contains 94 Python tutorials including almost 2-hours worth of tuition in the&amp;nbsp;&lt;a href="http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;Python Newbies on XP series&lt;/a&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-5095007843549099929?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/5095007843549099929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=5095007843549099929&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5095007843549099929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5095007843549099929'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/python-tutorials-video.html' title='Python tutorials, video'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6690770287781161904</id><published>2010-10-19T10:45:00.000+02:00</published><updated>2010-10-19T10:45:40.810+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>TSP &amp; Python</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;Montgomery (&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;a href="http://showmedo.com/videos/?author=11" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;ShowMeDo author&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;) has started a very nice blog series on Solving the classic Travelling Salesman Problem (&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Travelling_salesman_problem" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;TSP&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;) with Python.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;So far there are 3 posts in&amp;nbsp;&lt;a href="http://psychicorigami.com/category/tsp/" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;the series&lt;/a&gt;:&lt;/div&gt;&lt;ul style="margin-bottom: 10px; margin-top: 10px; padding-bottom: 0px; padding-top: 0px;"&gt;&lt;li&gt;&lt;a href="http://psychicorigami.com/2007/04/10/tackling-the-travelling-salesman-problem-prologue/" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;Tackling the travelling salesman problem: prologue&lt;/a&gt;&amp;nbsp;– gives some background on John’s plans&lt;/li&gt;&lt;li&gt;&lt;a href="http://psychicorigami.com/2007/04/17/tackling-the-travelling-salesman-problem-part-one/" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;Tackling the travelling salesman problem: introduction&lt;/a&gt;&amp;nbsp;– defines the TSP and ‘NP-Hard’-ness, discusses how to represent the problem in Python and looks at some of the evolutionary-programming tools that will be used in the solution&lt;/li&gt;&lt;li&gt;&lt;a href="http://psychicorigami.com/2007/05/12/tackling-the-travelling-salesman-problem-hill-climbing/" style="color: #1f59e0; font-weight: bold; text-decoration: none;"&gt;Tackling the travelling salesman problem: hill-climbing&lt;/a&gt;&amp;nbsp;– John introduces the concept of a ‘fitness landscape’, how a hill-climbing algorithm can traverse the landscape and how to write the hill-climber with Python&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6690770287781161904?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6690770287781161904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6690770287781161904&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6690770287781161904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6690770287781161904'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/tsp-python.html' title='TSP &amp; Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-209160561978016035</id><published>2010-10-19T10:43:00.001+02:00</published><updated>2010-10-19T10:43:40.637+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Yield, Generators &amp; Iterables, non separable concepts in Python</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 19px; font-weight: bold; margin-bottom: 7px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Iterables&lt;/h2&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;To understand what&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;yield&lt;/code&gt;&amp;nbsp;does, you must understand what generators are. And before generators come iterables. When you create a list, you can read its items one by one, and it's called iteration :&lt;/div&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;[&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;]&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;print&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;Mylist is an iterable. When you use a comprehension list, you create a list, and so an iterable :&lt;/div&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;[&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;x&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;*&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;x &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; x &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; range&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)]&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;print&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;0&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;4&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;Everything you can use "for... in..." on is an iterable : lists, strings, files... These iterables are handy because you can read them as much as you wish, but you store all the values in memory and it's not always what you want when you have a lot of values.&lt;/div&gt;&lt;h2 style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 19px; font-weight: bold; margin-bottom: 7px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Generators&lt;/h2&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;Generators are iterables, but&amp;nbsp;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;you can only read them once&lt;/strong&gt;. It's because they do not store all the values in memory,&amp;nbsp;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;they generate the values on the fly&lt;/strong&gt;&amp;nbsp;:&lt;/div&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mygenerator &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;x&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;*&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;x &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; x &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; range&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;))&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mygenerator &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;print&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;0&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;4&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;It just the same except you used&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;()&lt;/code&gt;&amp;nbsp;instead of&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;[]&lt;/code&gt;. BUT, you can not perform&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;for i in mygenerator&lt;/code&gt;&amp;nbsp;a second time since generators can only be used once: they calculate 0, then forget about it and calculate 1 and ends calculating 4, one by one.&lt;/div&gt;&lt;h2 style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 19px; font-weight: bold; margin-bottom: 7px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Yield&lt;/h2&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;Yield&lt;/code&gt;&amp;nbsp;is a keyword that is used like&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;return&lt;/code&gt;, except the function will return a generator.&lt;/div&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;def&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; createGenerator&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp;mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; range&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mylist &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;yield&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;*&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mygenerator &lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; createGenerator&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;()&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="com" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;# create a generator&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;print&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mygenerator&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="com" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;# mygenerator is an object !&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;generator &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;object&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; createGenerator at &lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;0xb7555c34&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;for&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; i &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;in&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; mygenerator&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;:&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;...&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;print&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;i&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;)&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;0&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;4&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;Here it's a useless example, but it's handy when you know your function will return a huge set of values that you will only need to read once.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;To master&amp;nbsp;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 5px; padding-right: 5px; padding-top: 1px; vertical-align: baseline;"&gt;yield&lt;/code&gt;, you must understand that&amp;nbsp;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;when you call the function, the code you have written in the function body does not run.&lt;/strong&gt;&amp;nbsp;The function only returns the generator object, this is bit tricky :-)&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;a href="http://stackoverflow.com/questions/231767/the-python-yield-keyword-explained"&gt;&lt;b&gt;Source&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-209160561978016035?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/209160561978016035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=209160561978016035&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/209160561978016035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/209160561978016035'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/yield-generators-iterables-non.html' title='Yield, Generators &amp; Iterables, non separable concepts in Python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1098942177571307319</id><published>2010-10-18T08:57:00.000+02:00</published><updated>2010-10-18T08:57:18.552+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux programming'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux programming tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Show Line numbers in VIM</title><content type='html'>To show line numbers in vim while editing document, run the following command : &lt;br /&gt;&lt;br /&gt;Press Esc and write &lt;br /&gt;&lt;br /&gt;:set number&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1098942177571307319?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1098942177571307319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1098942177571307319&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1098942177571307319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1098942177571307319'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/show-line-numbers-in-vim.html' title='Show Line numbers in VIM'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4523020769735287819</id><published>2010-10-16T19:47:00.001+02:00</published><updated>2010-10-16T19:47:05.271+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Print on the same line, python</title><content type='html'>sys.stdout.write()&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4523020769735287819?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4523020769735287819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4523020769735287819&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4523020769735287819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4523020769735287819'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/print-on-same-line-python.html' title='Print on the same line, python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1848554232564356913</id><published>2010-10-16T19:46:00.000+02:00</published><updated>2010-10-16T19:46:14.069+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Convert a tuple to String</title><content type='html'>one_big_string = ''.join( xyz ) &lt;br /&gt;print one_big_string&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1848554232564356913?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1848554232564356913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1848554232564356913&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1848554232564356913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1848554232564356913'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/convert-tuple-to-string.html' title='Convert a tuple to String'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3970724038062193864</id><published>2010-10-16T19:44:00.001+02:00</published><updated>2010-10-16T19:44:14.428+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>reading from a pickled file, python</title><content type='html'>import pprint, pickle&lt;br /&gt;&lt;br /&gt;pkl_file = open('data.pkl', 'rb')&lt;br /&gt;&lt;br /&gt;data1 = pickle.load(pkl_file)&lt;br /&gt;pprint.pprint(data1)&lt;br /&gt;&lt;br /&gt;data2 = pickle.load(pkl_file)&lt;br /&gt;pprint.pprint(data2)&lt;br /&gt;&lt;br /&gt;pkl_file.close()&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3970724038062193864?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3970724038062193864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3970724038062193864&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3970724038062193864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3970724038062193864'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/reading-from-pickled-file-python.html' title='reading from a pickled file, python'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6688762823864736798</id><published>2010-10-16T19:43:00.001+02:00</published><updated>2010-10-16T19:43:16.289+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>How long time does your code take to run in Python ?</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="background-color: #eeffcc; border-bottom-color: rgb(170, 204, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: initial; border-right-style: none; border-right-width: initial; border-top-color: rgb(170, 204, 153); border-top-style: solid; border-top-width: 1px; color: #333333; line-height: 15px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&lt;span class="k" style="color: #007020; font-weight: bold;"&gt;def&lt;/span&gt; &lt;span class="nf" style="color: #06287e;"&gt;test&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;&lt;br /&gt;    &lt;span class="s" style="color: #4070a0;"&gt;"Stupid test function"&lt;/span&gt;&lt;br /&gt;    &lt;span class="n"&gt;L&lt;/span&gt; &lt;span class="o" style="color: #666666;"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;&lt;br /&gt;    &lt;span class="k" style="color: #007020; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow" style="color: #007020; font-weight: bold;"&gt;in&lt;/span&gt; &lt;span class="nb" style="color: #007020;"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi" style="color: #208050;"&gt;100&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;br /&gt;        &lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="o" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="k" style="color: #007020; font-weight: bold;"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt;&lt;span class="o" style="color: #666666;"&gt;==&lt;/span&gt;&lt;span class="s" style="color: #4070a0;"&gt;'__main__'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;br /&gt;    &lt;span class="kn" style="color: #007020; font-weight: bold;"&gt;from&lt;/span&gt; &lt;span class="nn" style="color: #0e84b5; font-weight: bold;"&gt;timeit&lt;/span&gt; &lt;span class="kn" style="color: #007020; font-weight: bold;"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Timer&lt;/span&gt;&lt;br /&gt;    &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o" style="color: #666666;"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Timer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s" style="color: #4070a0;"&gt;"test()"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s" style="color: #4070a0;"&gt;"from __main__ import test"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;br /&gt;    &lt;span class="k" style="color: #007020; font-weight: bold;"&gt;print&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o" style="color: #666666;"&gt;.&lt;/span&gt;&lt;span class="n"&gt;timeit&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6688762823864736798?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6688762823864736798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6688762823864736798&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6688762823864736798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6688762823864736798'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/how-long-time-does-your-code-take-to.html' title='How long time does your code take to run in Python ?'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2033568320177859291</id><published>2010-10-14T12:03:00.001+02:00</published><updated>2010-10-14T12:03:16.104+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Open Source'/><title type='text'>Opensource presentation, Wikipedia</title><content type='html'>&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=ddv9bbz2_152gqqh65ft" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2033568320177859291?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2033568320177859291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2033568320177859291&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2033568320177859291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2033568320177859291'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/opensource-presentation-wikipedia.html' title='Opensource presentation, Wikipedia'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-5300661778371030951</id><published>2010-10-11T10:53:00.001+02:00</published><updated>2010-10-11T10:53:12.149+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Browser war'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Can't search through google chrome address bar</title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;If this happens to you, then probably your default search engine is NOT chosen. So all you need to do to click on &lt;b&gt;Setting&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Preferences&lt;/b&gt;, and then &lt;b&gt;Basic&lt;/b&gt;, &lt;b&gt;Default search&lt;/b&gt;.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_yFCWPawZNdA/TLLQKBQ9tHI/AAAAAAAABh0/3fHu-6eQWVw/s1600/C:%5Cfakepath%5CScreenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="256" src="http://1.bp.blogspot.com/_yFCWPawZNdA/TLLQKBQ9tHI/AAAAAAAABh0/3fHu-6eQWVw/s320/C:%5Cfakepath%5CScreenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;The value of default search should be set as Google(or any other search engine you like).&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yFCWPawZNdA/TLLQOrKSlSI/AAAAAAAABh4/8oG2oXt87_k/s1600/C:%5Cfakepath%5CScreenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="256" src="http://2.bp.blogspot.com/_yFCWPawZNdA/TLLQOrKSlSI/AAAAAAAABh4/8oG2oXt87_k/s320/C:%5Cfakepath%5CScreenshot-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-5300661778371030951?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/5300661778371030951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=5300661778371030951&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5300661778371030951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5300661778371030951'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/cant-search-through-google-chrome.html' title='Can&apos;t search through google chrome address bar'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yFCWPawZNdA/TLLQKBQ9tHI/AAAAAAAABh0/3fHu-6eQWVw/s72-c/C:%5Cfakepath%5CScreenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1821654331238521078</id><published>2010-09-17T13:34:00.000+02:00</published><updated>2010-09-17T13:34:42.765+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>process all the files under a directory &amp; its sub-directories, C#</title><content type='html'>public void &lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;processDir&lt;/b&gt;&lt;/span&gt;(string sourceDir, string searchForText, string replaceWithText)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Process the list of files found in the directory.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string[] fileEntries = Directory.GetFiles(sourceDir);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (string fileName in fileEntries)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// do something with fileName&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(fileName);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Recurse into subdirectories of this directory.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string[] subdirEntries = Directory.GetDirectories(sourceDir);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (string subdir in subdirEntries)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Do not iterate through reparse points&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((File.GetAttributes(subdir) &amp;amp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileAttributes.ReparsePoint) !=&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileAttributes.ReparsePoint)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;processDir(subdir, searchForText, replaceWithText);&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;//recursive function&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;recursionLvl += 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.write ("Changing at deepness level : " + recursionLvl.ToString() + "\n");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1821654331238521078?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1821654331238521078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1821654331238521078&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1821654331238521078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1821654331238521078'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/process-all-files-under-directory-its.html' title='process all the files under a directory &amp; its sub-directories, C#'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-489773774374424957</id><published>2010-09-17T13:30:00.000+02:00</published><updated>2010-09-17T13:30:11.327+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>using Regular Expressions in C# to find a phrase in a text and replace it with another</title><content type='html'>This is an example on how to find &amp;amp; replace a phrase in a string, the easy way in C# :&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&amp;nbsp;using System.Text.RegularExpressions;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;....&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (&lt;span class="Apple-style-span" style="color: red;"&gt;Regex.IsMatch&lt;/span&gt;(content, searchText, System.Text.RegularExpressions.RegexOptions.IgnoreCase))&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display.Text += "Found match in " + filePath +" ***\n";&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt;content &lt;/u&gt;= &lt;span class="Apple-style-span" style="color: red;"&gt;Regex.Replace&lt;/span&gt;(&lt;u&gt;content&lt;/u&gt;, &lt;u&gt;searchText&lt;/u&gt;,&lt;u&gt; replaceText&lt;/u&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-489773774374424957?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/489773774374424957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=489773774374424957&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/489773774374424957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/489773774374424957'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/using-regular-expressions-in-c-to-find.html' title='using Regular Expressions in C# to find a phrase in a text and replace it with another'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8124285851510997318</id><published>2010-09-17T13:26:00.000+02:00</published><updated>2010-09-17T13:26:36.092+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>folderBrowserDialog, C#</title><content type='html'>Example on how to get a path to work on it later on from &lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;folderBrowserDialog&lt;/span&gt;&lt;/b&gt; in C#&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DialogResult result = folderBrowserDialog1.ShowDialog();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (result == DialogResult.OK)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;thePath = folderBrowserDialog1.SelectedPath;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathLabel.Text = folderBrowserDialog1.SelectedPath;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8124285851510997318?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8124285851510997318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8124285851510997318&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8124285851510997318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8124285851510997318'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/folderbrowserdialog-c.html' title='folderBrowserDialog, C#'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1429205889956389857</id><published>2010-09-17T12:54:00.000+02:00</published><updated>2010-09-17T12:54:14.953+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Find &amp; Replace requested text in all files application</title><content type='html'>This small C#.Net application finds &amp;amp; replace the requested text with desired text in all files under one folder &amp;amp; sub-folders. This application was made according to needs of some changes at webpages at work.&lt;br /&gt;The application is under development to be stable enough for release ...&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_yFCWPawZNdA/TJNIxiXJiBI/AAAAAAAABgw/uW7-GkSp06M/s1600/findAndReplaceApp.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_yFCWPawZNdA/TJNIxiXJiBI/AAAAAAAABgw/uW7-GkSp06M/s320/findAndReplaceApp.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1429205889956389857?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1429205889956389857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1429205889956389857&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1429205889956389857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1429205889956389857'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/find-replace-requested-text-in-all.html' title='Find &amp; Replace requested text in all files application'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yFCWPawZNdA/TJNIxiXJiBI/AAAAAAAABgw/uW7-GkSp06M/s72-c/findAndReplaceApp.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8055335437569431476</id><published>2010-09-14T20:42:00.000+02:00</published><updated>2010-09-14T20:42:33.820+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>HOWTO, uneditable text box in C#</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;b&gt;If you want a uneditable text box, then ReadOnly properties on the text box should be set as &lt;span class="Apple-style-span" style="color: red;"&gt;True&lt;/span&gt;.&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8055335437569431476?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8055335437569431476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8055335437569431476&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8055335437569431476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8055335437569431476'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/howto-uneditable-text-box-in-c.html' title='HOWTO, uneditable text box in C#'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2822487636034013468</id><published>2010-09-08T21:11:00.000+02:00</published><updated>2010-09-08T21:11:12.083+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Different arrays in C#, Jagged vs. Multi dimensional</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;Jagged array :&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;bool&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;[][] myBools =&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;new&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;bool&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;[2][];&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;Multi dimentional array :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;double&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;[,] myDoubles =&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;new&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;double&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;[2, 2];&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;One of the differences between jagged arrays&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&amp;nbsp;and a multi-dimension array&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&amp;nbsp;is that a multi-dimension array will allocate memory for every element of each dimension, whereas a jagged array will only allocate memory for the size of each array in each dimension that you define. Most of the time, you'll be using multi-dimension arrays, if you need multiple dimensions, and will only use jagged arrays in very special circumstances when you are able to save significant memory by explicitly specifying the sizes of the arrays in each dimension.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2822487636034013468?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2822487636034013468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2822487636034013468&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2822487636034013468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2822487636034013468'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/different-arrays-in-c-jagged-vs-multi.html' title='Different arrays in C#, Jagged vs. Multi dimensional'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1529611944401538684</id><published>2010-07-20T14:25:00.000+02:00</published><updated>2010-07-20T14:25:20.945+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lapskaus'/><category scheme='http://www.blogger.com/atom/ns#' term='CAD'/><title type='text'>How to import 3D design from Solidworks to Blender</title><content type='html'>&lt;a href="http://wiki.blender.org/index.php/Doc:Tutorials/Render/Import/SolidWorks"&gt;http://wiki.blender.org/index.php/Doc:Tutorials/Render/Import/SolidWorks&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1529611944401538684?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1529611944401538684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1529611944401538684&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1529611944401538684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1529611944401538684'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/07/how-to-import-3d-design-from-solidworks.html' title='How to import 3D design from Solidworks to Blender'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-439210912222010188</id><published>2010-07-19T17:35:00.000+02:00</published><updated>2010-10-19T17:35:51.500+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Learn Python in 10 minutes !!! It is true :-)</title><content type='html'>Yes, it is true. I did teach me Python in 10 minutes. Although later I had to come back and search other pages for details but this page really gives you a quick kick-start. Enjoy :-)&lt;br /&gt;&lt;br /&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="content-type"&gt;&lt;/meta&gt;&lt;a href="http://www.korokithakis.net/tutorials/python"&gt;http://www.korokithakis.net/tutorials/python&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-439210912222010188?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/439210912222010188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=439210912222010188&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/439210912222010188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/439210912222010188'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/10/learn-python-in-10-minutes-it-is-true.html' title='Learn Python in 10 minutes !!! It is true :-)'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7345608270771819967</id><published>2010-07-06T10:09:00.000+02:00</published><updated>2010-07-06T10:09:15.403+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Printer'/><category scheme='http://www.blogger.com/atom/ns#' term='Driver'/><title type='text'>How to get Dell Photo 964 to work on Windows 7 64 bit</title><content type='html'>The &lt;a href="http://support.us.dell.com/support/downloads/download.aspx?c=us&amp;amp;l=en&amp;amp;s=gen&amp;amp;releaseid=R146813&amp;amp;formatcnt=0&amp;amp;libid=0&amp;amp;typeid=-1&amp;amp;dateid=-1&amp;amp;formatid=-1&amp;amp;source=-1&amp;amp;fileid=195111"&gt;R146813&lt;/a&gt;(click on the link to download)driver works&amp;nbsp;on Windows 7 64 bit enterprise(Tested by me).&amp;nbsp;&lt;strong&gt;&lt;em&gt;&lt;span style="color: red;"&gt;Follow the following steps exactly, or it will not work&lt;/span&gt;.&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;This is how I got the AIO 964 printer to work in Windows 7 from start to finish. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Open device manager and uninstall the printer making sure to tick the "Delete the driver software for the device" box.&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Unplug the USB cord for the printer.&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; If you have previously tried installing the dell drivers using the setup.exe make sure to uninstall the printer drivers and supporting application. if not disregard this step. &lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Run the clean up patch (R166225.zip)&lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt; Reboot&lt;br /&gt;&lt;strong&gt;6.&lt;/strong&gt; Right click on the installer and go to the "Compatibility" tab. Check "Run this program in compatibility mode" and choose "Windows Vista" Finally check the "Run as Administrator" option. Click Apply and OK. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7.&lt;/strong&gt; Install the R146813 drivers plugging in the printer when prompter by the installer.&lt;br /&gt;&lt;br /&gt;Your 964&amp;nbsp;will be working&amp;nbsp;on your&amp;nbsp;Windows 7 64 bit :-)&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7345608270771819967?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7345608270771819967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7345608270771819967&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7345608270771819967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7345608270771819967'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/07/how-to-get-dell-photo-964-to-work-on.html' title='How to get Dell Photo 964 to work on Windows 7 64 bit'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8729171852452008556</id><published>2010-06-23T22:05:00.001+02:00</published><updated>2010-06-23T22:05:39.822+02:00</updated><title type='text'>posting from my android :-)</title><content type='html'>&lt;p&gt;hehe it's cool to blog from HTC desire ...&lt;/p&gt;&lt;div style='clear: both; text-align: center; font-size: xx-small;'&gt;Published with Blogger-droid v1.3.6&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8729171852452008556?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8729171852452008556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8729171852452008556&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8729171852452008556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8729171852452008556'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/posting-from-my-android.html' title='posting from my android :-)'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4464731926997471245</id><published>2010-06-18T19:38:00.004+02:00</published><updated>2010-06-18T19:39:31.315+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installing at Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>install deb packages in terminal, Ubuntu</title><content type='html'>Open terminal &amp;amp; write the following :&lt;br /&gt;&lt;b&gt;sudo dpkg -i &lt;package name=""&gt;&lt;/package&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4464731926997471245?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4464731926997471245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4464731926997471245&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4464731926997471245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4464731926997471245'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/install-deb-packages-in-terminal-ubuntu.html' title='install deb packages in terminal, Ubuntu'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-1477719507452842689</id><published>2010-06-13T16:37:00.000+02:00</published><updated>2010-06-13T16:37:08.203+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Nautilus'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Trash bin on Ubuntu Desktop</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Run Terminal &amp;amp; write the following command to run the&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Configuration Editor&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&amp;nbsp;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;$ sudo&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;gconf-editor&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Then go to &lt;b&gt;apps/nautilus/desktop&lt;/b&gt; and select '&lt;b&gt;trash_icon_visible&lt;/b&gt;'.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-1477719507452842689?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/1477719507452842689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=1477719507452842689&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1477719507452842689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/1477719507452842689'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/trash-bin-on-ubuntu-desktop.html' title='Trash bin on Ubuntu Desktop'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8296303073701687633</id><published>2010-06-06T19:18:00.001+02:00</published><updated>2010-06-06T19:20:09.797+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multimedia'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><title type='text'>Take a snapshot of an area on your Desktop</title><content type='html'>This command ran in the terminal allows you to select an area on the desktop and have a snapshot of it ... very handy for making guides :-)&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;user@computer:~$&amp;nbsp;&lt;b&gt;import test.png&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;After this you will have a file called test.png created on your desktop which contains a snapshot of selected area.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8296303073701687633?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8296303073701687633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8296303073701687633&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8296303073701687633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8296303073701687633'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/take-snapshot-of-area-on-your-desktop.html' title='Take a snapshot of an area on your Desktop'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-5139185779128857564</id><published>2010-06-06T15:17:00.000+02:00</published><updated>2010-06-06T15:17:23.270+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser war'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Chrome 5.0 ready for Linux</title><content type='html'>My tips about browsers for Linux, is Google Chrome. I love Firefox myself, but Chrome for Linux is perfect. While Firefox is pretty slow under Linux, Chrome is a fast reliable tools for your everyday surfing. This doesn't mean that you should throw away Firefox though, because Chrome still has its downsides. When it comes to running certificated Java applications on Internet banks still Chrome is not working properly :-(, but in everyother place, it works just perfect ...&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Latest News : Chrome 5.0 is ready for Linux :&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Source : &lt;a href="http://linux.about.com/b/2010/05/26/google-chrome-5-0-for-linux.htm?nl=1"&gt;About.com&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The web browser Chrome, developed by Google, has finally been released as an official stable release for Linux. Google Chrome 5.0 for Linux is described by the developers as solid, high performance, and fully-featured.&lt;br /&gt;Highlights of the latest version include HTML 5 functionality, such as geolocation programming interfaces, application caching, and drag-and-drop capability. Using Google accounts, you can now copy browser preferences to other machines, so you don't have to manually customize your Chrome browser on every computer you are using.&lt;br /&gt;&lt;br /&gt;How is Chrome different from other browsers? The first item would be speed. Like the Google search engine, Chrome has been designed for speed. This shows for example in the start-up time, which is several times shorter than that of Firefox.&lt;br /&gt;&lt;br /&gt;Another interesting feature is the "incognito" mode, which allows you to surf the Internet without the browser tracking where you are going or what you are doing. That is, it won't save your browsing history.&lt;br /&gt;&lt;br /&gt;Chrome tries to integrate the Internet with your PC by making it easy to add short-cuts to web sites to your desktop. Not surprisingly, web search is tightly integrated as well, so that you can alternatively enter a URL or a search phrase in the address field on the "Omnibar".&lt;br /&gt;&lt;br /&gt;However you are not limited to using Google as search engine. By typing another common search tool, such as Yahoo or Live Search in front of your search phrase you are engaging that web service instead.&lt;br /&gt;&lt;br /&gt;Another one of Chrome's novel features is "tab isolation". This means, if the web page in one particular tab causes trouble or crashes, it does not affect the other tabs. Furthermore, you can monitor CPU and memory usage of each tab and kill it if its requirements get out of hand. You can access the Chrome task manager through the "page" menu to the right of the search/address field. From there you would go to Developer and select Task manager.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-5139185779128857564?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/5139185779128857564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=5139185779128857564&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5139185779128857564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5139185779128857564'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/chrome-50-ready-for-linux.html' title='Chrome 5.0 ready for Linux'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2340950174670887497</id><published>2010-06-06T14:18:00.002+02:00</published><updated>2010-06-06T14:19:02.802+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Changing your Desktop on your local linux computer to another directory</title><content type='html'>&lt;span class="Apple-style-span" style="color: #cceedd; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;The default location of your Desktop folder is ~/Desktop. You might want to have it pointing to another location(online home directory forexample). Run the terminal and run the follwoing command :&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;b&gt;gedit ~/.config/user-dirs.dirs&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0.75em; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;Find : &lt;b&gt;XDG_DESKTOP_DIR&lt;/b&gt;. Change it to the right path that you like:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;b&gt;XDG_DESKTOP_DIR="$HOME/Desktop"&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;change it to :&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;b&gt;XDG_DESKTOP_DIR="$HOME/Test/NewDesktop"&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #cceedd; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #cceedd; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;After changing it to the right address, again run the follwoing command in the terminal :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #cceedd; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;b&gt;killall nautilus&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;OR simply log off and log in again.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2340950174670887497?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2340950174670887497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2340950174670887497&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2340950174670887497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2340950174670887497'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/changing-your-desktop-on-your-local.html' title='Changing your Desktop on your local linux computer to another directory'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6634680287840395514</id><published>2010-06-06T13:44:00.000+02:00</published><updated>2010-06-06T13:44:30.271+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Change your desktop to your home directory</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;to change your simple default desktop to your homedir :&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;open gconf-editor&lt;/li&gt;&lt;li&gt;browse to /apps/nautilus/preferences entry in it&lt;/li&gt;&lt;li&gt;set desktop_is_home_dir flag&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6634680287840395514?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6634680287840395514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6634680287840395514&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6634680287840395514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6634680287840395514'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/06/change-your-desktop-to-your-home.html' title='Change your desktop to your home directory'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6968176154497000573</id><published>2010-05-22T18:01:00.001+02:00</published><updated>2010-05-22T18:01:11.655+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='multimedia'/><title type='text'>My presentation about XML streaming &amp; MPEG-21</title><content type='html'>&lt;iframe frameborder="0" height="342" src="http://docs.google.com/present/embed?id=ddv9bbz2_123cvqc64cm&amp;amp;interval=5&amp;amp;autoStart=true&amp;amp;loop=true" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6968176154497000573?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6968176154497000573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6968176154497000573&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6968176154497000573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6968176154497000573'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/05/my-presentation-about-xml-streaming.html' title='My presentation about XML streaming &amp; MPEG-21'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-3041687611533319339</id><published>2010-05-13T13:33:00.001+02:00</published><updated>2010-05-13T13:34:29.689+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Virtual drive in Ubuntu</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;You do not need a virtual "drive". ISOs are supported directly by the Linux kernel itself.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;a href="http://www.google.com/search?q=linux+mount+iso&amp;amp;ie=utf-8&amp;amp;oe=utf-8&amp;amp;aq=t&amp;amp;rls=org.mozilla:en-US:official&amp;amp;client=firefox-a" style="color: #444444; text-decoration: underline;" target="_blank"&gt;Google Search Result&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-3041687611533319339?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/3041687611533319339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=3041687611533319339&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3041687611533319339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/3041687611533319339'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/05/virtual-drive-in-ubuntu.html' title='Virtual drive in Ubuntu'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-9074532365444631800</id><published>2010-05-10T11:49:00.000+02:00</published><updated>2010-05-10T11:49:02.170+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='irc'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>Create your own channel in IRC</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;You can easily become the operator of your own IRC&amp;nbsp;&lt;a href="http://www.livinginternet.com/r/rw_chan.htm"&gt;&lt;em&gt;channel&lt;/em&gt;&lt;/a&gt;. You can create your own channel by typing&amp;nbsp;&lt;em&gt;/join #channel-name&lt;/em&gt;&amp;nbsp;where the channel name doesn't already exist on that network, as in:&lt;br /&gt;&lt;blockquote&gt;/join funfunfun&lt;/blockquote&gt;When you create a channel, you are automatically made the operator of the channel. You can then invite friends across the&lt;a href="http://www.livinginternet.com/"&gt;&lt;em&gt;Internet&lt;/em&gt;&lt;/a&gt;&amp;nbsp;to join the channel, or wait and see if others join of their own accord.&lt;br /&gt;When you create a channel, you should use the&amp;nbsp;&lt;em&gt;/topic&lt;/em&gt;&amp;nbsp;command to specify a one sentence description of the channel's topic. This topic will be displayed to anybody executing a&amp;nbsp;&lt;em&gt;/list&lt;/em&gt;&amp;nbsp;command, and may be your best chance to get people to investigate the channel.&lt;br /&gt;&lt;blockquote&gt;/topic #quantum This channel is about einstein&lt;/blockquote&gt;If you need to sign off the channel, or wish to give up operator status, you can assign operator status to someone else with the&lt;em&gt;/op&lt;/em&gt;&amp;nbsp;command. You can make more than one person an operator if you want:&lt;br /&gt;&lt;blockquote&gt;/op ivan&lt;br /&gt;/op pierre&lt;br /&gt;/op jane&lt;/blockquote&gt;The&amp;nbsp;&lt;em&gt;/mode&lt;/em&gt;&amp;nbsp;command lets you designate a channel that you have created to be secret or private.&lt;br /&gt;&lt;blockquote&gt;/mode #mychannel +s&lt;br /&gt;/mode #mychannel +p&lt;/blockquote&gt;As an operator, you can kick people off.&lt;br /&gt;&lt;blockquote&gt;/kick stupidperson&lt;/blockquote&gt;Source :&amp;nbsp;&lt;a href="http://www.livinginternet.com/r/ra_create.htm"&gt;http://www.livinginternet.com/r/ra_create.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-9074532365444631800?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/9074532365444631800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=9074532365444631800&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9074532365444631800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/9074532365444631800'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/05/create-your-own-channel-in-irc.html' title='Create your own channel in IRC'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-6787230674966215220</id><published>2010-05-08T23:06:00.001+02:00</published><updated>2010-05-08T23:28:03.414+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><title type='text'>Black box vs. White box testing</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Black box testing&lt;/strong&gt;&lt;/div&gt;&lt;ul style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;takes an external perspective of the test object to derive test cases. These tests can be functional or non-functional, though usually functional. The test designer selects valid and invalid input and determines the correct output. There is no knowledge of the test object's internal structure.&lt;/li&gt;&lt;/ul&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;White box testing&lt;/strong&gt;&lt;/div&gt;&lt;ul style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 1em; margin-left: 30px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;li style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;uses an internal perspective of the system to design test cases based on internal structure. It requires programming skills to identify all paths through the software. The tester chooses test case inputs to exercise paths through the code and determines the appropriate outputs. In electrical hardware testing, every node in a circuit may be probed and measured; an example is in-circuit testing (ICT).&lt;/li&gt;&lt;/ul&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;&lt;b&gt;&lt;a href="http://stackoverflow.com/questions/402161/black-box-vs-white-box-testing" style="color: #666666;"&gt;Source&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-6787230674966215220?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/6787230674966215220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=6787230674966215220&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6787230674966215220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/6787230674966215220'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/05/black-box-vs-white-box-testing.html' title='Black box vs. White box testing'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7700175256924914050</id><published>2010-05-02T00:30:00.000+02:00</published><updated>2010-05-09T00:30:53.312+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Browser war'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome'/><title type='text'>Getting your last session in Chrome</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;Under setting, choose "Options", then the "Basics" tab, and under "On startup:", you should see a choice "Restore the pages that were open last".&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7700175256924914050?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7700175256924914050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7700175256924914050&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7700175256924914050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7700175256924914050'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/05/getting-your-last-session-in-chrome.html' title='Getting your last session in Chrome'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-7333754744933787805</id><published>2010-04-20T13:13:00.000+02:00</published><updated>2010-04-20T13:13:26.655+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='xp'/><title type='text'>Setting default email program at windows xp</title><content type='html'>&lt;ul&gt;&lt;li&gt;Right-click on the &lt;b&gt;Start&lt;/b&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Select &lt;b&gt;Properties&lt;/b&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Click on &lt;b&gt;Customize...&lt;/b&gt; next to the selected &lt;b&gt;Start&lt;/b&gt; menu. At the bottom, you see &lt;b&gt;E-mail&lt;/b&gt; and you can choose the e-mail  program&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;you are done &amp;amp;&lt;b&gt; just click OK&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-7333754744933787805?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/7333754744933787805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=7333754744933787805&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7333754744933787805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/7333754744933787805'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/setting-default-email-program-at.html' title='Setting default email program at windows xp'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2742712105102153037</id><published>2010-04-20T12:52:00.000+02:00</published><updated>2010-04-20T12:52:18.073+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CMD'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Tricks'/><title type='text'>Killing programs from CMD</title><content type='html'>Killing programs from CMD in Windows without opening taks manager graphically :&lt;br /&gt;&lt;br /&gt;C:\&lt;span id="intelliTxt" name="intelliTxt"&gt;&amp;gt;&lt;/span&gt;&lt;span id="intelliTxt" name="intelliTxt"&gt;Tasklist&lt;/span&gt;&lt;br /&gt;&lt;span id="intelliTxt" name="intelliTxt"&gt;LIST OVER ALL PROGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span id="intelliTxt" name="intelliTxt"&gt;C:\&amp;gt; tskill notepad(or program ID, e.g. 1476)&lt;/span&gt;&lt;br /&gt;&lt;span id="intelliTxt" name="intelliTxt"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2742712105102153037?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2742712105102153037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2742712105102153037&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2742712105102153037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2742712105102153037'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/killing-programs-from-cmd.html' title='Killing programs from CMD'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2177985736210932579</id><published>2010-04-18T10:24:00.000+02:00</published><updated>2010-04-18T10:24:25.688+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>What is CopyGator ?</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', Arial, sans-serif; font-size: medium;"&gt;&lt;h3 style="font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;What is&amp;nbsp;&lt;span class="cg_c" style="color: #76ad4a; font-weight: bold;"&gt;Copy&lt;/span&gt;&lt;span class="cg_g" style="color: #c9c836; font-weight: bold;"&gt;Gator&lt;/span&gt;&amp;nbsp;?&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;This is a free service designed to monitor your RSS feed and find where your content has been republished in the blogosphere. We automatically notify you when a new post of yours is copied to another feed, we also build an overview page you can view to see how/when/where your content is being duplicated, quoted or plagiarized. This is an entirely free service and is powered by the feed spidering power of ://URLFAN. Learn more on how the CopyGator does what he does. or view an example of our content overview page for Gizmodo.com&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2177985736210932579?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2177985736210932579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2177985736210932579&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2177985736210932579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2177985736210932579'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/what-is-copygator.html' title='What is CopyGator ?'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-4140024396816416924</id><published>2010-04-14T23:32:00.000+02:00</published><updated>2010-04-14T23:32:20.307+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Notification Area(Sound, Network, ... manager) in Ubuntu disappeared ?</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma;"&gt;Right click on panel&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma;"&gt;Click add to panel&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma;"&gt;Add the "Notification Area" option&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-4140024396816416924?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/4140024396816416924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=4140024396816416924&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4140024396816416924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/4140024396816416924'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/notification-areasound-network-manager.html' title='Notification Area(Sound, Network, ... manager) in Ubuntu disappeared ?'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-402057086405658330</id><published>2010-04-11T17:58:00.000+02:00</published><updated>2010-04-11T17:58:52.259+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Office App'/><title type='text'>Sticky Notes, Ubuntu Desktop</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="vbclean_msgtext" id="post_message_525524" style="color: black;"&gt;Ubuntu comes in with an&amp;nbsp;integrated&amp;nbsp;Sticky Notes. You just need to right click the top or bottom bar and pick add to panel and add the sticky notes icon will be where you want it.&amp;nbsp;&lt;/div&gt;&lt;div class="vbclean_msgtext" id="post_message_525524" style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="vbclean_msgtext" id="post_message_525524" style="color: black;"&gt;After it you need to right click on the icon to make new and you can stick them to the screen. The cool thing about it is that you can go into the prefrences and ask the sticky notes to leave the notes on whichever desktop(Linux can have several desktops) that you created it(my case I have one for coding, one for surfing and one for my robotics stuffs).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;* This note is written according to Gnome 2.28.1&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-402057086405658330?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/402057086405658330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=402057086405658330&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/402057086405658330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/402057086405658330'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/sticky-notes-ubuntu-desktop.html' title='Sticky Notes, Ubuntu Desktop'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-2964727348064932512</id><published>2010-04-11T16:11:00.002+02:00</published><updated>2010-04-11T16:14:38.953+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='remote desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Teamviewer, for Linux</title><content type='html'>&lt;b&gt;Teamviewer&lt;/b&gt; can be run under Linux as well. This is not supported by &lt;b&gt;Teamviewer&lt;/b&gt;, but there are ways around it. I have been using &lt;b&gt;Teamviewer&lt;/b&gt; now for a while to administrate my/my friends computers and the result is just perfect. The program does not need any configuration at all and can be installed and used easily. More than all it is FREE of charge for non commercial use and as it&amp;nbsp;doesn't&amp;nbsp;need any setup or any other configuration,&amp;nbsp;it is much better than the MS RDP(Remote Desktop Protocol, Microsoft).&lt;br /&gt;&lt;br /&gt;The program is supported under MS Windows and Mac OSX, but there are ways around it to use it at Linux. The trick is to use a program called &lt;a href="http://en.wikipedia.org/wiki/Wine_(software)"&gt;Wine&lt;/a&gt;&amp;nbsp;which lets one to use applications developed for MS Windows under semi Unix operating systems(Linux). I have tested &lt;b&gt;Teamviewer&lt;/b&gt; 5.0 with Wine 1.0.1 and the result is that things work one way. You can connect/administrate/send and&amp;nbsp;receive&amp;nbsp;files from your Linux machine to the target computer but not&amp;nbsp;vice versa. I have tried from Ubuntu 9.10 Linux to MS Windows XP and Win 7.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s320/Screenshot.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-2964727348064932512?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/2964727348064932512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=2964727348064932512&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2964727348064932512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/2964727348064932512'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/teamviewer-for-linux.html' title='Teamviewer, for Linux'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-8437705461729312076</id><published>2010-04-11T14:49:00.003+02:00</published><updated>2010-04-11T16:20:06.190+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='remote desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Teamviewer, a better solution instead of MS remote desktop</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; line-height: 19px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; line-height: 19px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; line-height: 19px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; line-height: 19px;"&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;TeamViewer&lt;/b&gt;&amp;nbsp;is a&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Computer_software" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Computer software"&gt;computer software&lt;/a&gt;&amp;nbsp;package for remote control, desktop sharing, and file transfer between computers. The software operates with both&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Microsoft_Windows" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Microsoft Windows"&gt;Microsoft Windows&lt;/a&gt;,&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Mac_OS_X" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Mac OS X"&gt;Mac OS X&lt;/a&gt;&amp;nbsp;and iPhone(and Linux with help of Wine),&amp;nbsp;and is able to function while the computers are protected by&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Firewall_(computing)" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Firewall (computing)"&gt;firewalls&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Network_address_translation" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Network address translation"&gt;NAT&lt;/a&gt;&amp;nbsp;proxy. It is also possible to access a machine running Teamviewer with a&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Web_browser" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Web browser"&gt;web browser&lt;/a&gt;.While the main focus of the application is to facilitate desktop support and remote control of computers, collaboration and presentation features are included within the package.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;TeamViewer GmbH was founded in 2005 in&amp;nbsp;&lt;a href="http://www.blogger.com/wiki/Uhingen" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #002bb8; text-decoration: none;" title="Uhingen"&gt;Uhingen&lt;/a&gt;, Germany. According to the company's press releases, TeamViewer has over 60 million users operating in 50 countries worldwide.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;-------&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;*My comment&lt;/b&gt; : The real benefit in &lt;b&gt;Teamviewer&lt;/b&gt; is that you can use it overall. You don't need any configuration, port forwarding or anything at all. You even do not need a static IP. You just need to install &lt;b&gt;Teamviewer&lt;/b&gt; on both sides and you are done. You can make secure sessions sending,&amp;nbsp;receiving&amp;nbsp;files and controlling/fixing the target computer. Read &lt;a href="http://lapskaus-it.blogspot.com/2010/04/teamviewer-for-linux.html"&gt;my post about Teamviewer at Linux&lt;/a&gt; if you are wondering how to get it to work under Linux.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&lt;a href="http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s320/Screenshot.png" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-8437705461729312076?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/8437705461729312076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=8437705461729312076&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8437705461729312076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/8437705461729312076'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/04/teamviewer-better-solution-instead-of.html' title='Teamviewer, a better solution instead of MS remote desktop'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yFCWPawZNdA/S8HYoJ9WfaI/AAAAAAAABZw/bCCv9wARuiE/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19749885.post-5857891527545900198</id><published>2010-04-08T21:32:00.000+02:00</published><updated>2010-09-08T21:32:48.504+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows programming'/><title type='text'>Foreach statement C# &amp; Java</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Java :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: verdana, tahoma, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;pre class="example" style="background-color: #ffffdd; border-left-color: initial; border-left-style: solid; border-left-width: thin; font-family: 'Lucida Sans Typewriter', monospace; margin-bottom: 0.5em; margin-left: 1em; margin-top: 0.5em; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;double[] ar = {1.2, 3.0, 0.8};&lt;br /&gt;int sum = 0;&lt;br /&gt;for (double d : ar) {  // d gets successively each value in ar.&lt;br /&gt;    sum += d;&lt;br /&gt;}&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;C# :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;using&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;System;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;ForEachLoop&lt;br /&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;static&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;Main()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;[] names = {"Cheryl", "Joe", "Matt", "Robert"};&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;person&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;in&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, sans-serif; font-size: small;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;names)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine("{0} ", person);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;
Shahab.&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19749885-5857891527545900198?l=lapskaus-it.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lapskaus-it.blogspot.com/feeds/5857891527545900198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19749885&amp;postID=5857891527545900198&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5857891527545900198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19749885/posts/default/5857891527545900198'/><link rel='alternate' type='text/html' href='http://lapskaus-it.blogspot.com/2010/09/foreach-statement-c-java.html' title='Foreach statement C# &amp; Java'/><author><name>Shahab</name><uri>http://www.blogger.com/profile/00701259480048791887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
