<?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:blogger='http://schemas.google.com/blogger/2008' 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-6995795185513919756</id><updated>2026-06-29T10:32:34.809-07:00</updated><category term="C/C++"/><category term="Web"/><category term="Applications"/><category term="JQuery"/><category term="MATLAB"/><category term="OpenCV"/><category term="IOE"/><category term="Image Processing"/><category term="LOCUS"/><category term="Qt"/><category term="SQL"/><category term="SQL Server"/><category term="Softwares"/><category term="Thapathali Campus"/><category term="HTML"/><category term="Library"/><category term="Open Source"/><category term="Opencart"/><category term="Tutorials"/><category term="CSS"/><category term="Cross Platform"/><category term="MVC"/><category term="PHP"/><category term="Programming Languages"/><category term="Setup"/><category term="VB"/><category term="Virtual Modification"/><category term="vQmod"/><category term="Andriod"/><category term="Andriod Emulator"/><category term="Artificial Intelligence"/><category term="Blogging"/><category term="CakePHP"/><category term="Code::Blocks"/><category term="Customize opencart"/><category term="Database"/><category term="Debug"/><category term="Digial Divide"/><category term="E-commerce"/><category term="Electronics"/><category term="Exhibition"/><category term="Face Detection"/><category term="Javascript"/><category term="Networking"/><category term="Node.js"/><category term="OOP"/><category term="Pulchok Campus"/><category term="Robotics"/><category term="SDL"/><category term="SQL Function"/><category term="Servers"/><category term="Software Competition"/><category term="String Generator"/><category term="Web App"/><category term="projects"/><category term="socket"/><category term="telnet"/><category term="windows 7"/><category term="wxWidgets"/><title type='text'>Ashok&#39;s  Programming World</title><subtitle type='html'>This is a site dedicated to my Projects done at college level and the sharing of my knowledge in various programming field from software development to web programming.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3308570113428127250</id><published>2013-01-12T09:20:00.001-08:00</published><updated>2013-01-12T10:43:24.657-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debug"/><category scheme="http://www.blogger.com/atom/ns#" term="Opencart"/><title type='text'>Debug() function for Opencart</title><content type='html'>&lt;p&gt;Have you wondered if a single function call would be sufficient to output the array in pre-formatted way. I have been working with opencart for some months and I realize how repititive is it to repeat same lines of code to make array look nice. By the way, I am a big fan of CakePHP framework and its powerful debugging technique.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;   echo &lt;span style=&quot;color: #008000&quot;&gt;&#39;&amp;lt;pre&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;   print_r($array);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;   echo &lt;span style=&quot;color: #008000&quot;&gt;&#39;&amp;lt;/pre&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;/pre&gt;&lt;font face=&quot;Arial&quot;&gt;Whenever I need to echo any array, I needed to repeat the ‘&amp;lt;pre&amp;gt;’ so that I get readable array.&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face=&quot;Arial&quot;&gt;So, I thought of making a global function debug(), so that it takes array as argument and prints the array in a nice format.&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face=&quot;Arial&quot;&gt;For this, there is a need for making a global function, so that we can access this function whenever we require, like&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&amp;lt;?php $this-&amp;gt;debug($array); ?&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The debug function was added in the abstract class Controller after render() function at system/engine/controller.php and if you need it for model , system/engine/model.php.&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;  &lt;span style=&quot;color: #008000&quot;&gt;/*&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;   * @author Ashok Basnet&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;   * 2013-1-13&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;   * Debug function for opencart&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;   * @params array&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;   * @return true&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;   */&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;  &lt;span style=&quot;color: #0000ff&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt; debug($&lt;span style=&quot;color: #0000ff&quot;&gt;array&lt;/span&gt;){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// show calling url : Line line_number&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;    $bt = debug_backtrace();&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;    $caller = array_shift($bt);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;    echo &#39;&amp;lt;b&amp;gt;&#39;.$caller[&#39;&lt;span style=&quot;color: #0000ff&quot;&gt;file&lt;/span&gt;&#39;].&#39; : Line &#39;.$caller[&#39;line&#39;].&#39;&amp;lt;/b&amp;gt;&#39;;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;    &lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;    echo &#39;&amp;lt;pre&amp;gt;&#39;;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;    print_r($&lt;span style=&quot;color: #0000ff&quot;&gt;array&lt;/span&gt;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;    echo &#39;&amp;lt;/pre&amp;gt;&#39;;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;    return true;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;  }&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;I don’t think the core modification is a good idea, but if it can make your life easier, then why not… &lt;/pre&gt;&lt;pre&gt;&lt;img class=&quot;wlEmoticon wlEmoticon-smile&quot; style=&quot;border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none&quot; alt=&quot;Smile&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB6HGOZky8BE6Sv_pBOOJMEdOyPOAi_UkUDN6LjBq4BDv2R_7NFChuhAZlp_hyphenhyphenkNa5WVW_JQPOXzS4oOShoE1A4M5xGE_v7PJZiJCI3mmdsO6PW84eM4reuXEgSujJUlwmslOceJOZQjpE/?imgmax=800&quot;&gt; Happy Coding &lt;img class=&quot;wlEmoticon wlEmoticon-smile&quot; style=&quot;border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none&quot; alt=&quot;Smile&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB6HGOZky8BE6Sv_pBOOJMEdOyPOAi_UkUDN6LjBq4BDv2R_7NFChuhAZlp_hyphenhyphenkNa5WVW_JQPOXzS4oOShoE1A4M5xGE_v7PJZiJCI3mmdsO6PW84eM4reuXEgSujJUlwmslOceJOZQjpE/?imgmax=800&quot;&gt;&lt;/pre&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3308570113428127250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/debug-function-for-opencart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3308570113428127250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3308570113428127250'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/debug-function-for-opencart.html' title='Debug() function for Opencart'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB6HGOZky8BE6Sv_pBOOJMEdOyPOAi_UkUDN6LjBq4BDv2R_7NFChuhAZlp_hyphenhyphenkNa5WVW_JQPOXzS4oOShoE1A4M5xGE_v7PJZiJCI3mmdsO6PW84eM4reuXEgSujJUlwmslOceJOZQjpE/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3433746697446316864</id><published>2013-01-11T10:47:00.001-08:00</published><updated>2013-01-11T11:12:08.178-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Customize opencart"/><category scheme="http://www.blogger.com/atom/ns#" term="E-commerce"/><category scheme="http://www.blogger.com/atom/ns#" term="Opencart"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtual Modification"/><category scheme="http://www.blogger.com/atom/ns#" term="vQmod"/><title type='text'>vQmod installation in Opencart</title><content type='html'>&lt;p&gt;Interestingly, vQmod was originally developed for Open Cart ! But due to &quot;openess&quot; of the design, it has been used by other systems too.&lt;/p&gt; &lt;p&gt;In OpenCart (OC), extending your site&#39;s features usually results in modifying the program core codes. There are many reasons why this practise in not favorable - a major one is that it is not easily reversible. Say when you modified some codes and wanted to reinstate the original for some reason, it can be quite tedious.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt; &lt;p&gt;This is due to the nature how OC handles extensions. Its normally done by overwriting existing codes instead of using plugin or module concepts employed in WordPress or Drupal. Honestly, this has been one of my top gripes about OC.  &lt;h3&gt;&amp;nbsp;&lt;/h3&gt; &lt;h3&gt;Installing on OpenCart&lt;/h3&gt; &lt;p&gt;vQmod works on both OpenCart 1.4.x and 1.5.x  &lt;h3&gt;&lt;a name=&quot;How_to_install_using_Autoinstaller&quot;&gt;&lt;/a&gt;&lt;br&gt;How to install using Autoinstaller&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Download the latest version that has &quot;opencart&quot; in the title from  &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;http://code.google.com/p/vqmod&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://code.google.com/p/vqmod&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Using FTP, upload the &quot;vqmod&quot; folder from the zip to the root of your opencart store.  &lt;li&gt;Be sure the vqmod folder and the vqmod/vqcache folders are writable (either 755 or 777).  &lt;ul&gt; &lt;li&gt;Also be sure index.php and admin/index.php are writable.  &lt;ul&gt; &lt;li&gt;If not sure which you need, first try 755.  &lt;li&gt;If you get errors about permissions, then try 777.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Goto &lt;a href=&quot;http://www.yoursite.com/vqmod/install&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.yoursite.com/vqmod/install&lt;/a&gt;  &lt;li&gt;You should get a success message. If not, check permissions above and try again  &lt;li&gt;Load your store homepage and verify it works.  &lt;li&gt;Using FTP, verify that there are new &quot;vq&quot; files in the &quot;vqmod/vqcache&quot; folder.  &lt;li&gt;If yes, then you are ready to start downloading or creating vQmod scripts, otherwise ask for assistance.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Done!  &lt;p&gt;&amp;nbsp; &lt;p&gt;Here is the video for assist.  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/ezS1jWoMmjc?rel=0&quot; frameborder=&quot;0&quot; width=&quot;560&quot; allowfullscreen&gt;&lt;/iframe&gt; &lt;p&gt;&amp;nbsp; &lt;h3&gt;How to install Manually&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Download the latest version that has &quot;opencart&quot; in the title from  &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;http://code.google.com/p/vqmod&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://code.google.com/p/vqmod&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Using FTP, upload the &quot;vqmod&quot; folder from the zip to the root of your opencart store.  &lt;li&gt;Be sure the vqmod folder and the vqmod/vqcache folders are writable (either 755 or 777).  &lt;ul&gt; &lt;li&gt;Also be sure index.php and admin/index.php are writable.  &lt;ul&gt; &lt;li&gt;If not sure which you need, first try 755.  &lt;li&gt;If you get errors about permissions, then try 777.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Edit your &lt;strong&gt;index.php&lt;/strong&gt; file  &lt;li&gt;FIND:&lt;pre&gt;// Startup&lt;br&gt;require_once(DIR_SYSTEM . &#39;startup.php&#39;);&lt;br&gt;&lt;br&gt;// Application Classes&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/customer.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/currency.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/tax.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/weight.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/length.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/cart.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/affiliate.php&#39;);&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;REPLACE WITH:&lt;pre&gt;// vQmod&lt;br&gt;require_once(&#39;./vqmod/vqmod.php&#39;);&lt;br&gt;$vqmod = new VQMod();&lt;br&gt;&lt;br&gt;// VQMODDED Startup&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;startup.php&#39;));&lt;br&gt;&lt;br&gt;// Application Classes&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/customer.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/currency.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/tax.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/weight.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/length.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/cart.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/affiliate.php&#39;));&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Note the affiliate library file may not exist on older systems&lt;/strong&gt;. Basically any &lt;tt&gt;require_once(DIR_SYSTEM . &#39;library/xxxxxxxx.php&#39;);&lt;/tt&gt;needs to be changed to use the &lt;tt&gt;vqmod-&amp;gt;modCheck&lt;/tt&gt; above in the same format. This also applies to any additional require_once files in the next step &lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Edit your &lt;strong&gt;admin/index.php&lt;/strong&gt; file &lt;br /&gt;&lt;li&gt;FIND: &lt;pre&gt;// Startup&lt;br&gt;require_once(DIR_SYSTEM . &#39;startup.php&#39;);&lt;br&gt;&lt;br&gt;// Application Classes&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/currency.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/user.php&#39;));&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/weight.php&#39;);&lt;br&gt;require_once(DIR_SYSTEM . &#39;library/length.php&#39;);&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;REPLACE WITH:&lt;pre&gt;// vQmod&lt;br&gt;require_once(&#39;../vqmod/vqmod.php&#39;);&lt;br&gt;$vqmod = new VQMod();&lt;br&gt;&lt;br&gt;// VQMODDED Startup&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;startup.php&#39;));&lt;br&gt;&lt;br&gt;// Application Classes&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/currency.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/user.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/weight.php&#39;));&lt;br&gt;require_once($vqmod-&amp;gt;modCheck(DIR_SYSTEM . &#39;library/length.php&#39;));&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;Load your store homepage and verify it works. &lt;br /&gt;&lt;li&gt;Using FTP, verify that there are new &quot;vq&quot; files in the &quot;vqmod/vqcache&quot; folder. &lt;br /&gt;&lt;li&gt;If yes, then you are ready to start downloading or creating vQmod scripts.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;Done!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For managing vqmod from admin panel in opencart, you can download the following extension.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a title=&quot;http://www.opencart.com/index.php?route=extension/extension/info&amp;amp;extension_id=2969&amp;amp;filter_username=rph&quot; href=&quot;http://www.opencart.com/index.php?route=extension/extension/info&amp;amp;extension_id=2969&amp;amp;filter_username=rph&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.opencart.com/index.php?route=extension/extension/info&amp;amp;extension_id=2969&amp;amp;filter_username=rph&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3433746697446316864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/vqmod-installation-in-opencart.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3433746697446316864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3433746697446316864'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/vqmod-installation-in-opencart.html' title='vQmod installation in Opencart'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/ezS1jWoMmjc/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3639628709292791560</id><published>2013-01-11T10:27:00.001-08:00</published><updated>2013-01-11T10:27:18.497-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Opencart"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtual Modification"/><category scheme="http://www.blogger.com/atom/ns#" term="vQmod"/><title type='text'>Virtual File Modification System (vQmod)</title><content type='html'>&lt;p&gt;Have you ever thought of modifying the core of any framework? Then vQMod is the best way to do it.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb0Zs-X9DzHan8xP3JxsYo5VC41-mQb2EbDh-H87WjumaL5kI3OkZdm9pjO6d3G0Vv110LAJJBFp_0gvKabvm94lqFukX8vP2a5axKdRqlq89KxIl4lDRNZFB6umg79KLcNh8P6KhZvn4i/s1600-h/transparent-400x113%25255B3%25255D.png&quot;&gt;&lt;img title=&quot;transparent-400x113&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; margin: 0px 11px 0px 0px; display: inline; padding-right: 0px; border-top-width: 0px&quot; border=&quot;0&quot; alt=&quot;transparent-400x113&quot; align=&quot;left&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1N4cVZgfUErueA5eTLVS1ZkQi32_pd9m36pME5np9J65_XXR0ZXWyY1O2HcrLjHfhsjNTMPOlEErH72rGOr0tiqhck80jlu8yuj0XhQG9fXgSPyD_iRMFbMXsyDiibPY3sJ7hMkSlqTl6/?imgmax=800&quot; width=&quot;240&quot; height=&quot;68&quot;&gt;&lt;/a&gt;&quot;vQmod™&quot; (aka Virtual Quick Mod) is an override system designed to avoid having to change core files. The concept is quite simple... Instead of making changes to the core files directly, the changes are created as xml search/replace script files. These script files are parsed during page load as each &quot;source&quot; core file is loaded with the &quot;include&quot; or &quot;require&quot; php functions. The source is then patched with the script file changes, and saved to a temp file. That temp file is then substituted for the original during execution. The original source file is never altered. This results in a &quot;virtual&quot; change to the core during execution without any actual modification to the core files.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;h5&gt;&lt;u&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/u&gt;&lt;/h5&gt; &lt;ul&gt; &lt;blockquote&gt; &lt;li&gt;No actual code changes are made. All changes are &quot;virtual&quot;, hence the name.  &lt;li&gt;Modifications are stored in their own files and applied &quot;on-the-fly&quot; at runtime  &lt;li&gt;Instant Single file &quot;plug-n-play&quot;. Add the file to apply the mod, remove the file to remove the mod.  &lt;li&gt;No worries about losing custom core changes during upgrades  &lt;li&gt;Multiple modifications can be made to the same file without conflict  &lt;li&gt;Easily update or enhance customizations without having to edit any code  &lt;li&gt;Full visual of the actual changes taking place in the generated temp files for debugging  &lt;li&gt;Fails gracefully back to the original sourcefile if there is an error  &lt;li&gt;Exceptional logging option to track every change made  &lt;li&gt;Only need to modify the index.php file to add the vQmod code one time.  &lt;li&gt;Simple structured xml format. (See readme for full breakdown of xml syntax)  &lt;li&gt;Multiple options for find/replace, regex, positions, offsets, indexing, error handling, and more!&lt;/li&gt;&lt;/blockquote&gt;&lt;/ul&gt; &lt;p&gt;This system can be used for any php script, forum, shopping cart, cms, etc. Anywhere custom modifications are made for reuse. The logging option is invaluable for debugging understanding exactly what is happening.  &lt;p&gt;For example,&lt;/p&gt; &lt;h3&gt;&lt;font size=&quot;2&quot;&gt;&#39;Replace&#39; Example&lt;/font&gt;&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Create a new text file and call it &quot;replace-demo.xml&quot;  &lt;li&gt;Add the minimum required xml structure&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;strong&gt;Input&lt;br&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;$var = &lt;span style=&quot;color: #008000&quot;&gt;&#39;ABC&#39;;&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;strong&gt;Script&lt;/strong&gt;&lt;strong&gt;&lt;/pre&gt;&lt;/strong&gt;&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;&amp;lt;?xml version=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;1.0&lt;/span&gt;&quot; encoding=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;UTF-8&lt;/span&gt;&quot;?&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;&amp;lt;modification&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;        &amp;lt;id&amp;gt;Replace ABC &lt;span style=&quot;color: #0000ff&quot;&gt;with&lt;/span&gt; 123&amp;lt;/id&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;        &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;        &amp;lt;vqmver&amp;gt;1.0.8&amp;lt;/vqmver&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;        &amp;lt;author&amp;gt;xxx&amp;lt;/author&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;        &amp;lt;file name=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;path/to/myfile.php&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;                &amp;lt;operation&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;                        &amp;lt;search position=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;replace&lt;/span&gt;&quot;&amp;gt;&amp;lt;![CDATA[&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;                        $var = &lt;span style=&quot;color: #008000&quot;&gt;&#39;ABC&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;                        ]]&amp;gt;&amp;lt;/search&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;                        &amp;lt;add&amp;gt;&amp;lt;![CDATA[&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;                        $var = &lt;span style=&quot;color: #008000&quot;&gt;&#39;123&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;                        ]]&amp;gt;&amp;lt;/add&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;                &amp;lt;/operation&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #ffffff&quot;&gt;&lt;strong&gt;        &amp;lt;/file&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;&amp;lt;/modification&amp;gt;&lt;/strong&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/pre&gt;&lt;pre&gt;&lt;pre style=&quot;font-size: 12px; font-family: consolas,&#39;Courier New&#39;,courier,monospace; margin: 0em; width: 100%; background-color: #fbfbfb&quot;&gt;&lt;strong&gt;$var = &lt;span style=&quot;color: #008000&quot;&gt;&#39;123&#39;;&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;For more details : &lt;a title=&quot;http://code.google.com/p/vqmod/&quot; href=&quot;http://code.google.com/p/vqmod/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://code.google.com/p/vqmod/&lt;/a&gt;&lt;/pre&gt;&lt;pre&gt;Download the library : &lt;a title=&quot;http://code.google.com/p/vqmod/downloads/list&quot; href=&quot;http://code.google.com/p/vqmod/downloads/list&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://code.google.com/p/vqmod/downloads/list&lt;/a&gt;&lt;/pre&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3639628709292791560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/virtual-file-modification-system-vqmod.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3639628709292791560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3639628709292791560'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/virtual-file-modification-system-vqmod.html' title='Virtual File Modification System (vQmod)'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1N4cVZgfUErueA5eTLVS1ZkQi32_pd9m36pME5np9J65_XXR0ZXWyY1O2HcrLjHfhsjNTMPOlEErH72rGOr0tiqhck80jlu8yuj0XhQG9fXgSPyD_iRMFbMXsyDiibPY3sJ7hMkSlqTl6/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-583319968136284100</id><published>2013-01-04T22:19:00.001-08:00</published><updated>2013-01-04T22:19:03.132-08:00</updated><title type='text'>Youtube API at Glance</title><content type='html'>&lt;p&gt;What is API ?&lt;/p&gt; &lt;ul&gt; &lt;li&gt;API ( Application Programming Interface )  &lt;li&gt;Protocol intended to be used as an interface by software components to communicate with each other  &lt;li&gt;A set of routines, protocols, and tools for building software applications.  &lt;li&gt;A good API makes it easier to develop a program by providing all the building blocks. &lt;/li&gt;&lt;/ul&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;What is youtube API  &lt;ul&gt; &lt;li&gt;The YouTube APIs and Tools let you bring the YouTube experience to your webpage, application, or device.  &lt;li&gt;It is possible to search for videos, retrieve standard feeds, and see related content. A program can also authenticate as a user to upload videos, modify user playlists, and more &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Youtube APIs  &lt;p&gt; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;600&quot; border=&quot;0&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt;1. Player API &lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLwJR-esQHqIy1_EApfNsUHkXyy5yTjfBS6wfTACaNGytNvguEyXcAFZMwG2gVEgi1UeYXR7nbhFQ4UhsW0jZimJ0xyIDFnGFwret2aIbBdBcl_7QQI2BdvMEU0Tcv0Jg0jCkkXZG9gCpz/s1600-h/player_apis7.png&quot;&gt;&lt;img title=&quot;player_apis&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px&quot; border=&quot;0&quot; alt=&quot;player_apis&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMthg2WsiMLTZ0aA3q-x1mY4HtZS1tJRrxh4_xqMeVl7uudB3luHGa5QXOV9R27nIw3JasrmvCQmrewBvy3gdPI_MkzSz7DWDtFxcQz2KFDyj5K9dtOsCvXuiV8SbAzvl-LsKz4DY9U2vO/?imgmax=800&quot; width=&quot;64&quot; height=&quot;66&quot;&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt; &lt;p&gt;2 Data API&lt;/p&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1nJmIb96T6IrxAvEwlrcmSWQsCJckiXikC2Ovo5FZ3jbr_Yrzx4ydeB82JBpNgmHKrSQmbordH8y29EEEsqmEypJxcF7uX7hQy_pkqi_lXOv8BMN4zWbD4gnP6u4eEZQeJq3VSWjGS2Qo/s1600-h/data_api3.png&quot;&gt;&lt;img title=&quot;data_api&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px&quot; border=&quot;0&quot; alt=&quot;data_api&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJkTSXHcOCSqPZW6idJY6zF2PQCgKz3fu08zGmQYhfRgmk-Vhc3_JbkH9PXV8cK-voGm54XNMXNvZqoMC30dz655ClLqaC5ahJFFpYXzgkeFHfQJK30D-Lxqqy_IBtGr7OXRbz5BbGQvo3/?imgmax=800&quot; width=&quot;66&quot; height=&quot;68&quot;&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;strong&gt;Different Versions&lt;/strong&gt;  &lt;ul&gt; &lt;li&gt;Version 1  &lt;li&gt;Version 2 ( Recommended )  &lt;li&gt;Version 3 ( Experimental ) &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;API for android&lt;/strong&gt;  &lt;p&gt;YouTube Android Player API ( Experimental)&lt;br&gt;&lt;a href=&quot;https://developers.google.com/youtube/android/player/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://developers.google.com/youtube/android/player/&lt;/a&gt;  &lt;p&gt;&amp;nbsp; &lt;p&gt;Youtube Data API &lt;/p&gt; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;600&quot; border=&quot;0&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt;Search for Videos &lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt;Search for Playlists &lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt;Search for Channels &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt; &lt;p&gt;- Keywords (tags) &lt;br&gt;- Categories &lt;br&gt;- Query Params (metadata)&lt;/p&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt;- Keywords (tags) &lt;br&gt;- Categories&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;200&quot;&gt;- Keywords (tags) &lt;br&gt;- Categories &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;600&quot; border=&quot;0&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt; &lt;p&gt;&lt;strong&gt;Retrieve&lt;/strong&gt;  &lt;p&gt;–Videos  &lt;p&gt;–Comments  &lt;p&gt;–Captions  &lt;p&gt;–Related Videos  &lt;p&gt;–Video Responses  &lt;p&gt;–Categories  &lt;p&gt;–Keywords  &lt;p&gt;–Playlists  &lt;p&gt;–Subscriptions  &lt;p&gt;–Profiles  &lt;p&gt;–Contacts  &lt;p&gt;–Messages  &lt;p&gt;–Activity Feeds  &lt;p&gt;–Insight Data Feed  &lt;p&gt;–Favorites&lt;/p&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt; &lt;p&gt;&lt;strong&gt;Create &lt;/strong&gt; &lt;p&gt;–Videos  &lt;p&gt;–Comments  &lt;p&gt;–Captions  &lt;p&gt;–Related Videos  &lt;p&gt;–Video Responses  &lt;p&gt;–Complaint  &lt;p&gt;–Rating  &lt;p&gt;–Contact  &lt;p&gt;–Message  &lt;p&gt;–Favorite  &lt;p&gt;–Playlist  &lt;p&gt;–Subscription&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt; &lt;p&gt;&lt;strong&gt;Update &lt;/strong&gt; &lt;p&gt;–Video Metadata  &lt;p&gt;–Captions  &lt;p&gt;–Profiles  &lt;p&gt;–Playlists  &lt;p&gt;–Contacts&lt;/p&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;300&quot;&gt; &lt;p&gt;&lt;strong&gt;Delete &lt;/strong&gt; &lt;p&gt;–Video  &lt;p&gt;–Message  &lt;p&gt;–Favorite  &lt;p&gt;–Playlist  &lt;p&gt;–Subscription  &lt;p&gt;–Contact&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Getting Youtube data  &lt;p&gt;&lt;a href=&quot;http://gdata.youtube.com/feeds/api/videos/VIDEO_ID?v=2&amp;amp;alt=json&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://gdata.youtube.com/feeds/api/videos/VIDEO_ID?v=2&amp;amp;alt=json&lt;/a&gt;  &lt;p&gt;&amp;nbsp; &lt;p&gt;Suppose you want to get data for the video:-  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3tLSmU3gzUZuMy6BW0dLtf7EzDXHiQw_AJ2bulZ-Y5euTbSA9pNuhIUmhe_JJpmyrURsj60fHLAwTtTP-rO176qOOlFmk45_zS4sOdQRGq3hqJYrp18_0dSeWw-cgUQA5p4lBtFu9AVw2/s1600-h/gangam-video4.png&quot;&gt;&lt;img title=&quot;gangam video&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px&quot; border=&quot;0&quot; alt=&quot;gangam video&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQWmX_-wwWXChHe0SKS_2pMxTUTDY79NE3f4rRT1KmnX7ZtVsZ1BlUCVcj53NCWCKTOMq5zNragtJCxa9SACYeYJnu9SFTZrnGs6lmBQsHZ6OwXLUYOfesF1D5swe4TIyWucH-fiOyZNai/?imgmax=800&quot; width=&quot;624&quot; height=&quot;484&quot;&gt;&lt;/a&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;For e.g.&lt;br&gt;&lt;a href=&quot;http://gdata.youtube.com/feeds/api/videos/&quot;&gt;http://gdata.youtube.com/feeds/api/videos/&lt;/a&gt;&lt;a href=&quot;http://gdata.youtube.com/feeds/api/videos/&quot;&gt;9bZkp7q19f0v=2&amp;amp;alt=&lt;/a&gt;&lt;a href=&quot;http://gdata.youtube.com/feeds/api/videos/&quot;&gt;json&lt;/a&gt;  &lt;p&gt;alt =&amp;gt; json or xml  &lt;p&gt;Gives JSON Data as  &lt;p&gt;&amp;nbsp; &lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;{&lt;/pre&gt;&lt;pre&gt;    &lt;span class=&quot;str&quot;&gt;&quot;version&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;1.0&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;    &lt;span class=&quot;str&quot;&gt;&quot;encoding&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre&gt;    &lt;span class=&quot;str&quot;&gt;&quot;entry&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        &lt;span class=&quot;str&quot;&gt;&quot;published&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre&gt;            &lt;span class=&quot;str&quot;&gt;&quot;$t&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;2012-07-15T07:46:32.000Z&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        },&lt;/pre&gt;&lt;pre&gt;        &lt;span class=&quot;str&quot;&gt;&quot;title&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            &lt;span class=&quot;str&quot;&gt;&quot;$t&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;PSY - GANGNAM STYLE (강남스타일) M/V&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        },&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        &lt;span class=&quot;str&quot;&gt;&quot;media$group&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre&gt;            &lt;span class=&quot;str&quot;&gt;&quot;media$category&quot;&lt;/span&gt;: [&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                {&lt;/pre&gt;&lt;pre&gt;                    &lt;span class=&quot;str&quot;&gt;&quot;$t&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;Music&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                    &lt;span class=&quot;str&quot;&gt;&quot;label&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;Music&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre&gt;                    &lt;span class=&quot;str&quot;&gt;&quot;scheme&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;http://gdata.youtube.com/schemas/2007/categories.cat&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                }&lt;/pre&gt;&lt;pre&gt;            ],&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;           &lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;str&quot;&gt;&quot;media$description&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                &lt;span class=&quot;str&quot;&gt;&quot;$t&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;PSY - Gangnam Style (강남스타일) \n App Store: http://goo.gl/l9TU6\nGoogle Play: http://goo.gl/UiEn1\n\n© YG Entertainment Inc. All rights reserved.&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre&gt;    },&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            &lt;span class=&quot;str&quot;&gt;&quot;yt$duration&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre&gt;                &lt;span class=&quot;str&quot;&gt;&quot;seconds&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;253&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            }&lt;/pre&gt;&lt;pre&gt;        },&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        &lt;span class=&quot;str&quot;&gt;&quot;yt$statistics&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre&gt;            &lt;span class=&quot;str&quot;&gt;&quot;favoriteCount&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;0&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            &lt;span class=&quot;str&quot;&gt;&quot;viewCount&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;1121801092&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        },&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        &lt;span class=&quot;str&quot;&gt;&quot;yt$rating&quot;&lt;/span&gt;: {&lt;/pre&gt;&lt;pre&gt;            &lt;span class=&quot;str&quot;&gt;&quot;numDislikes&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;523231&quot;&lt;/span&gt;,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            &lt;span class=&quot;str&quot;&gt;&quot;numLikes&quot;&lt;/span&gt;: &lt;span class=&quot;str&quot;&gt;&quot;6549910&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        }&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;    }&lt;/pre&gt;&lt;pre&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It gives more data than this. Yout get title, category, stats, ratings etc. I have tried to show you few of these.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For formatting json data:-&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;http://jsonlint.com&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://jsonlint.com&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For more info&lt;br&gt;&lt;a href=&quot;https://developers.google.com/youtube/&quot; rel=&quot;nofollow&quot;&gt;https://developers.google.com/youtube&lt;/a&gt;&lt;a href=&quot;https://developers.google.com/youtube/&quot;&gt;/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/583319968136284100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/youtube-api-at-glance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/583319968136284100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/583319968136284100'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2013/01/youtube-api-at-glance.html' title='Youtube API at Glance'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMthg2WsiMLTZ0aA3q-x1mY4HtZS1tJRrxh4_xqMeVl7uudB3luHGa5QXOV9R27nIw3JasrmvCQmrewBvy3gdPI_MkzSz7DWDtFxcQz2KFDyj5K9dtOsCvXuiV8SbAzvl-LsKz4DY9U2vO/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-2575627363892307056</id><published>2012-08-07T03:07:00.001-07:00</published><updated>2012-11-11T19:42:15.434-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Artificial Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="projects"/><category scheme="http://www.blogger.com/atom/ns#" term="Pulchok Campus"/><title type='text'>jQuery implementation of Game of life!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of the earliest experiments at simulating life in technology was a simple mathematical game created by John H. Conway, first published and popularized during the early 1970&#39;s in issues of &lt;i&gt;Scientific American&lt;/i&gt;. He called it &quot;The Game of Life.&quot;  &lt;br /&gt;
The concept of the Game of Life is very simple. The game takes place over the cells in an array, like squares on a chessboard. Each cell can have an organism living inside it or not living inside it; or each cell itself can be alive or dead. Whatever frame of thought is used, each cell is described to be &quot;on&quot; or &quot;off.&quot; At the beginning of the game, a certain number of cells are filled. &lt;br /&gt;
 &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Methodology&lt;/span&gt;&lt;/h3&gt;
Then the game begins. Every clock-tick, a new generation of cells is created. A set of rules is applied to each cell in the array to determine what will happen to the cell in this next generation. The rules are as follows:  &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;If a cell is off and has three neighbors around it which are on, then the cell becomes on.  &lt;/li&gt;
&lt;li&gt;If a cell is on and has one or less neighbors around it which are on, the cell dies of loneliness (it becomes off).  &lt;/li&gt;
&lt;li&gt;If a cell is on and has more than three neighbors around it which are on, the cell dies of overcrowding.&lt;/li&gt;
&lt;/ul&gt;
Gameplay strategy  &lt;br /&gt;
The game of life is a zero player game devised by mathematician John Horton Conway and explained by Scott E Page on the Coursera website in one of the videos on model thinking. The game is a grid of cells and each cell has a &#39;on&#39; and a &#39;off&#39; state or in other words, an &#39;alive&#39; or &#39;dead&#39; state. It has simple rules that can create complex patterns over time. If a cell is alive, then it can continue to &#39;live&#39; only if it has exactly 2 or 3 neighboring cells alive, else it dies or goes &#39;off&#39;. A dead cell can come alive only if it has exactly 3 neighboring cells alive. Over time, this creates intricate patterns and even animations! Certain patterns create &#39;blinkers&#39; or even spawn into many more cells and spread across the grid.  &lt;br /&gt;
&lt;b&gt;Some screenshots&lt;/b&gt;  &lt;br /&gt;
1. Initial State&amp;nbsp;&amp;nbsp; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7hUd7rLpMi-UmVf758O738-SI_cNY6-uPrDUOi0rD3VNeXu_jgvQXsCwZWXeHFG03E1DPl5ALIkKXRvL7jDQtrrjW4pXI4Is88bpRBl5rxUdhVd8l-POf84vOGu43WtOq1ya51rEhvb7l/s1600-h/initial%252520state%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;initial state&quot; border=&quot;0&quot; height=&quot;464&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb9aSarPUyDaIGKEyln6QbvLPS4HGWbKThs6T2plO071I-fNpHvf5gv1eoh7qeWhgmFifF1gWocyUSYcnHaPlEYpZLx5seQR50VUZFtGBwJQJmZDsOGwZnklgBxmoqkOvodG3vU2hyphenhypheniUc6/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;initial state&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; Growth of Cell&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKxQ1KOVyHXwwf1Dl02iunDjqzAl791_mm3squRAgiRO3yfvjktYzQUFF4SM2mBTvEdXMtqGpdbgoJ-wwAiWRbiEMbWCRh6JAtdMRNmF-ONT7p_o6EzVeRrbc7wLyM5Ub89rpDt_j1gGwY/s1600-h/outpu%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;outpu&quot; border=&quot;0&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNNpTALdQpatvrDhdyYw0O-fBePKhGiEp_Q4H7EgBW_9ogdCmy9n1nuBzZ0Y6AohHTWFtgzRSrufTDa-6OCKMTqw8Ot2Teak3ZYfGeLWBevZZo3725SJhBkCfqTkjBggKnVm8Eh3nZpWbK/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;outpu&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;
Other interesting patterns can be developed too.&lt;br /&gt;
 Here is the &lt;a href=&quot;http://ashokbasnet.com.np/projects/gameoflife/&quot; target=&quot;_blank&quot; title=&quot;JQuery Implementation of Game of Life&quot;&gt;link&lt;/a&gt; for the JQuery Implementation.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/2575627363892307056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/08/jquery-implementation-of-game-of-life.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/2575627363892307056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/2575627363892307056'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/08/jquery-implementation-of-game-of-life.html' title='jQuery implementation of Game of life!'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb9aSarPUyDaIGKEyln6QbvLPS4HGWbKThs6T2plO071I-fNpHvf5gv1eoh7qeWhgmFifF1gWocyUSYcnHaPlEYpZLx5seQR50VUZFtGBwJQJmZDsOGwZnklgBxmoqkOvodG3vU2hyphenhypheniUc6/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-7691781395699347977</id><published>2012-08-01T21:25:00.001-07:00</published><updated>2012-08-01T21:25:57.257-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="telnet"/><category scheme="http://www.blogger.com/atom/ns#" term="windows 7"/><title type='text'>Enable telnet in windows 7</title><content type='html'>&lt;p&gt;Windows 7 doesn’t provide access to telnet client in default. More than likely this was an attempt to make Windows more secure by default, as Telnet is very insecure and whenever you have the choice you should always use SSH. However, with that being said, you can quickly re-enable Telnet by following these steps:&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;ol&gt; &lt;li&gt;Start  &lt;li&gt;Control Panel  &lt;li&gt;Programs And Features  &lt;li&gt;Turn Windows features on or off  &lt;li&gt;Check Telnet Client  &lt;li&gt;Hit OK&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;or just search for windows featuers in start menu&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjosq1YlVdAgRqQcJgVHCkaISkIt8WDnh0v3rDAKq9N6hA-RWcu67uRASJ7J1HykcQLgNuPcLNAyNea688_54Bo0ZCkXnkoO3LwdgFvDKO36wYKBwRrILAKwwyqKfvPEVA7tDDTYn7df79k/s1600-h/windows-features%25255B4%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;windows-features&quot; border=&quot;0&quot; alt=&quot;windows-features&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgYhwqNguqGIsrxb8RbFcUebL5QRtFMgSgB4xlHOXBlqg4L9zfJWRxbw5O0JwYZ2gqHxEbbAaV1JpgnkvyNUOXO1dqJ9quDCvlmCOquMCvVz7hb24OJ8pZbaXPEPhbnxzZ-L0nV-qOBYF7/?imgmax=800&quot; width=&quot;396&quot; height=&quot;657&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXMK7XrIuLPLkmgcUohe_n3pYhJD0gKtW_e8r45zYKu1ttoxwBA-cdTj06yASdX8-FXpJ379RUKSe00WcryYuhN9pkPHz_QzWbB4R5DfeulJK4z6by3_wcuzGLxsI7wCy73sVCQmdb6qsA/s1600-h/turn-on-off%25255B7%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;turn-on-off&quot; border=&quot;0&quot; alt=&quot;turn-on-off&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqdbjD3i_BhirskFcxJX-j2ZHcM5D84MT5Aodda0oWhyphenhypheng8Z48VIrvOd_tDmGKIOjYqbAnziXlNhEJ1lhd6pG-dLRG9NzcMbi1Z6CtVAgRyw0JCVfMQC14gUbcJ8Nyy42Ll2cS8rSbjzucJ/?imgmax=800&quot; width=&quot;433&quot; height=&quot;379&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;After that you can start Telnet via Command Prompt.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/7691781395699347977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/08/enable-telnet-in-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/7691781395699347977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/7691781395699347977'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/08/enable-telnet-in-windows-7.html' title='Enable telnet in windows 7'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgYhwqNguqGIsrxb8RbFcUebL5QRtFMgSgB4xlHOXBlqg4L9zfJWRxbw5O0JwYZ2gqHxEbbAaV1JpgnkvyNUOXO1dqJ9quDCvlmCOquMCvVz7hb24OJ8pZbaXPEPhbnxzZ-L0nV-qOBYF7/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3062482925748532288</id><published>2012-07-11T04:52:00.001-07:00</published><updated>2012-07-11T04:52:18.907-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Andriod"/><category scheme="http://www.blogger.com/atom/ns#" term="Andriod Emulator"/><title type='text'>Accessing localhost from Andriod Emulator</title><content type='html'>&lt;p&gt;The access of localhost in normal way can be bit tricky in Andriod SDK.&lt;/p&gt; &lt;p&gt;The normal way of accessing the localhost is :-&lt;/p&gt; &lt;p&gt;http://localhost or http://127.0.0.1&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;but when it comes to Andriod, we can’t directly access the localhost. For that use the followling address:-&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a href=&quot;http://10.0.2.2&quot;&gt;http://10.0.2.2&lt;/a&gt; or http://10.0.2.2/project-folder&lt;/b&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3062482925748532288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/07/accessing-localhost-from-andriod.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3062482925748532288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3062482925748532288'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/07/accessing-localhost-from-andriod.html' title='Accessing localhost from Andriod Emulator'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-8718369565823096046</id><published>2012-07-06T20:05:00.001-07:00</published><updated>2012-07-08T20:45:07.955-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Digial Divide"/><category scheme="http://www.blogger.com/atom/ns#" term="LOCUS"/><category scheme="http://www.blogger.com/atom/ns#" term="Software Competition"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><category scheme="http://www.blogger.com/atom/ns#" term="Web App"/><title type='text'>Reach: An approach to bridge the digital divide[LOCUS 2012]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKc3D3JNjlMPTjvUmY8dlKg1dyMTCOpSX-G_EmHUe07hUwJadF58IdF5LAwqyGArEkxedg1ja13CPA2XaAxHJSvPNHCw5UoHX7s1nlH7_gPSKrzFRbpKOdmPN9s3kZliaTHKhIO_LOufoT/s1600-h/logo-Recovered%25255B15%25255D.png&quot;&gt;&lt;img align=&quot;left&quot; alt=&quot;logo-Recovered&quot; border=&quot;0&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7_Fbu4F4BYw1uxxCOgOPOYwz6zHbRdqQu9aTi9ZPEqPrcLaCE4VclBFsNmTEmYxmOOEjSfei5S8S6Z2wzCucodT8d_IHWqAhKG6vJ1jA2On8jsD81EMKxSKvp9uL2sNMR5FKvoAQQ_G-/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; float: left; margin: 0px 18px 0px 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;logo-Recovered&quot; width=&quot;140&quot; /&gt;&lt;/a&gt;Information and&amp;nbsp; communication technologies(ICT) in&amp;nbsp; general, and the Internet and the world wide web in particular, have&amp;nbsp; made life easier by facilitating easy communication with virtually everyone, and easy access to information located&amp;nbsp; virtually anywhere in the&amp;nbsp; world. But all these communication technology are in reach of rich peoples, poor peoples are still backward in our country. Which have also widened the gap between the rich and the poor.&amp;nbsp; In other words,&amp;nbsp;&amp;nbsp; new technologies, while improving our life in many ways have created the digital divide between the village and urban people. &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Our application “Reach” tries to bridge this digital divide between them. Village people having simple mobile set can chat through sms to their family staying in foreign or city. In village there is no access of internet but in city there is access of internet and other communication facilities. “Reach” is a web chat application that user can send sms to the mobile number directly where there is no access of internet and mobile user send sms back to web .  &lt;br /&gt;
It’s a two way chat, the user having access to internet needs to signup to the web app that we developed and the mobile user can send sms to the user by typing a [keyoword] followed by [username] to 4001.  &lt;br /&gt;
CHAT Username Message to 4001.  &lt;br /&gt;
The web user gets notifications and the history is also maintained.&amp;nbsp; &lt;br /&gt;
The system block diagram is as follow:-  &lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJfqzcOe8-OEmmFpZkkgbFdrI9EiQ4TFOAlfndTztGZh2_eTxTB1v2617BXxvBdEL4YAVXWq191NbK820dv1lhRxkjmjK_r7r2oTl3hPlPUBK3gJTHgjWshdiuLPgKx2WtZ1RJ-tTmJGA6/s1600-h/system%252520block%252520diagram%25255B4%25255D.jpg&quot;&gt;&lt;img alt=&quot;system block diagram&quot; border=&quot;0&quot; height=&quot;484&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq3EIRrqP_9VEX3styHyPYbp8_N6KiRkm46ufWczPaLcIaFpdi7JaGBGGxZFlr1YkbXaofWfNYhfX1bryT5I56nPrTlrSp0AOhWMcaH48aPaL0IOS5BGMRWjkW8naKEfRqmWi6oR8UtjQ8/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;system block diagram&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;
Here are some screenshots:-&lt;br /&gt;
1. Home Screen&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBkMxkzGwFiLcUgkidEjNmIJpKD8Me4D7LaIx5B9a8p-K9GsLaGFxqyCp8gTBoxV75lTsX3799JzEjgVsCrfZqdSAcAdX3U8J_3iQ5YIxTaY25CP342VQGglV83mU1T9whtIuC7NliDK4F/s1600-h/homepage%25255B3%25255D.png&quot;&gt;&lt;img alt=&quot;homepage&quot; border=&quot;0&quot; height=&quot;359&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU4IRgGjScGXsAhj8a4Ry71bVr812Jz9Rcw4QNpU1xJ_OPXhmQLOiZKK_ELQ9sVRG1F9qPxxPH9miyzR8KB_fJOlGQGgGefDKPqOzXKqEjNo0GfgFQenzzTO5zK9y8pbzZUG3G2CbDEii3/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;homepage&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
2. Chat Interface&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU05-93ZebcRGWA7s4khqQNJDnq9yRNS-FeJbNX-dn8f4pmpygtv9qC3b0WB3HpNuYJwEYQOYnT_IPK5ng5GTChzLgeii_9fLPj_ZX6KMUnLHOpOtKASZLqZaKRh-TNIC8YGjCXkUTQoW2/s1600-h/chatfull%25255B3%25255D.png&quot;&gt;&lt;img alt=&quot;chatfull&quot; border=&quot;0&quot; height=&quot;359&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiXodTEsj7TrOUEE8EXIK-5lqZDR-KoU9-rrOSPB5MxGzlpDBOqVp-ZAvwxiNDcKZUg6GFXvMfVGJvrStuxKFywM5pZxgwCYcJTqme_Qr0X5wQ6NXSEgkNzdISdxEH63BiUUOjjogQpXr/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;chatfull&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
3. Notifications&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEq_Yf4qUBWOyDkbGGMvG_n02p1MqdXyToDELxE9_oGsSKNJvvRVEayn5oPCIKYUxBZpScSziq5WGB-xecdI1M6xm763V2Xc1roUm6iHz_mOrCx4bSuZuID6PrN7vC6wxrpJIFytnp-6Dr/s1600-h/notifications%25255B3%25255D.png&quot;&gt;&lt;img alt=&quot;notifications&quot; border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLUyB8RI8rlMlFAIu9YzDEA0qMl3XTjyVc7Vff-TTrZPQfKpyM4mlk2uVYjTSIUeYgCT6UkNb97gsI7TBrmhOWWTyXzmuz5Bg1sCvD8Q7VpAiqu2Cu-IofX4sUtkvUt8Hfe_qJ7iWGP0n9/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;notifications&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
4. Some forms&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 598px;&quot;&gt; &lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;304&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG8_Nk7JlT5LWVmA57IhPps5olBdyr8AKaKLbCBwoUrahYyCLs3Q88gnbtpx227PVRO27sn2tawzsiSigm3RzXUL06iwPx_OnkYuuKzF8Mgi81ZMXXGfOMLKYiwmbeGyVnirY-kgpyhUVp/s1600-h/login%25255B6%25255D.png&quot;&gt;&lt;img alt=&quot;login&quot; border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9-PFj-GKOXkjy3Ua0DqXKx-caPkq3_MB3FK7FDjYNyoe4V2xnjoXwSjNsga9C6qyjBHYi1kFh9_RBkRNzin5RLlyk-BMEmeGJ2D1UXb7hls9gUH72hoxspJnOISYpoFhVy0QrYBfhVuce/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;login&quot; width=&quot;289&quot; /&gt;&lt;/a&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;292&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG7iyYuIbhHhB4pGnRCPuDWt9MA4WbAyxtbrFfF2h-wCvmSDE8QHORXy8Su8f6OWQNYygQcB5voupQhUonPFaubz5ZwYZLRko5OQxhJJWvG363hnHLrtq6LpctjSLIs-1oxNruKXh6uRX0/s1600-h/register%25255B2%25255D.png&quot;&gt;&lt;img alt=&quot;register&quot; border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCYVwu51VlK8jPBX-BouuZKR0PRvl5DzzzrU62_kx8y1iynrtsHsC3D_H_OUJQWya-xI_2Z0e3zQ_g6Zb9v0uz3lAUqlrK-6FaPWPqoC95E3U1TMaQG-FjS5rUmMrrsOp0Dk8zWgFdJ0Zl/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;register&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;306&quot;&gt;Login or register&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;291&quot;&gt;Signup screen&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;307&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPSQxMpC-Hx-ido7slrRDLf7L1CSh93oJa5EkkCmVkT6U9xDvOQe7dhr1ldl5nvE3MOOR8W0LZMYlpZo-nCu08O7TleQpY1APPeVjsPAEZEOO4gUBclbslBTBBpSqaRDFC8Rdy6ft9Qlys/s1600-h/signin%25255B2%25255D.png&quot;&gt;&lt;img alt=&quot;signin&quot; border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5PVlEL0eGLrTvDGOUwhfMWr4M6acaPMLeScqeu0sRYUhn3LmaPa8zaZ1wYVSbdErgnScHbVM_hizFqJeLKjV9Mzk90LXf5Trpyc0PZnPH-oLAw6K2dyGaMjmCzzlTgPLTEXhipnsg-URC/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;signin&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;290&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik9hyphenhyphenH4YjvhcVIN5zhgX_0JoXalqQD1Cu9S6cyuqpYUtioZshVA0Ri_dv99f9F0BlyrRZ6zPNgaq4HDyEWWwnyLDBT7dqGJG2ppVqgxX2PlM4LkMDqWzKu7u9vGPUx6csNLRqDsqHb8LlA/s1600-h/addContact%25255B6%25255D.png&quot;&gt;&lt;img alt=&quot;addContact&quot; border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivkZuyzMooAuwCgzXbVq1U_enubk1FK1pUYWVuPcsLxeiJCsq-q68sHLN9UhzMxJjPMLY9Gm78WxiG7VTlhiN_kSB6UU7YPYO9sFwhQgnFTLCFqU8NdHB8pr5CMjdUtoZ3YDyFLr734LLW/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;addContact&quot; width=&quot;205&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;308&quot;&gt;Login Screen&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;289&quot;&gt;Add Contact&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
5. Mobile message sending&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeOiXLD36R5Dywu7NI9WZnJvP9Wg0SA5ugMhqnncbVqpw91KbkPzWsvTSGIZbiJrSdbrui40cU7HcwfWkwo77iD_WwB2JyljaTSrhpSXTPNkEGbawGz2W9bLGztHBK_xkxeQbtWd-LNTal/s1600-h/mobile%25255B4%25255D.jpg&quot;&gt;&lt;img alt=&quot;mobile&quot; border=&quot;0&quot; height=&quot;484&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhizr2SdBpEelsekSzx5VTasdnMqK6PlfwcHgPaOYo9AZDQi-LaNJnYM8kb32OLPR_hWndpwDDsaen5u_xm47zKJb0E_jurGnviezTLvzIIGslM02SoLo30J3tYGLfdIGh8j_DHP606l2ie/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;mobile&quot; width=&quot;511&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;background-color: #9fc5e8;&quot;&gt;1st Runner Up for Theme Based Competition @LOCUS 2012&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;A &amp;lt;base_2 &amp;gt; project:-&lt;/strong&gt;&lt;br /&gt;
Aayush Shrestha&lt;br /&gt;
Ashok Basnet&lt;br /&gt;
Bibek Subedi&lt;br /&gt;
Dinesh Subedi&lt;br /&gt;
&lt;br /&gt;
References:-&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Sparrow SMS for the SMS gateway&lt;br /&gt;&lt;a href=&quot;http://api.sparrowsms.com/&quot; title=&quot;http://api.sparrowsms.com&quot;&gt;http://api.sparrowsms.com&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/8718369565823096046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/07/reach-approach-to-bridge-digital.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/8718369565823096046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/8718369565823096046'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/07/reach-approach-to-bridge-digital.html' title='Reach: An approach to bridge the digital divide[LOCUS 2012]'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7_Fbu4F4BYw1uxxCOgOPOYwz6zHbRdqQu9aTi9ZPEqPrcLaCE4VclBFsNmTEmYxmOOEjSfei5S8S6Z2wzCucodT8d_IHWqAhKG6vJ1jA2On8jsD81EMKxSKvp9uL2sNMR5FKvoAQQ_G-/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3365280902981258640</id><published>2012-06-28T05:53:00.001-07:00</published><updated>2012-06-28T05:53:57.898-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><category scheme="http://www.blogger.com/atom/ns#" term="String Generator"/><title type='text'>Randomly generate password in SQL Server 2008</title><content type='html'>&lt;p&gt;There are lots of ways of generating random strings in SQL Server. But instead of spending much time on finding solution to random password generation, here is an easy way to do that.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 600px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;SELECT&lt;/span&gt; SUBSTRING(convert(varchar(50),NEWID()),0,8) &lt;span style=&quot;color: #0000ff&quot;&gt;as&lt;/span&gt; password&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;This generates 8 charcters long&amp;nbsp; password which is a random string.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Some results:-&lt;/p&gt;&lt;br /&gt;&lt;p&gt;673CB61&lt;/p&gt;&lt;br /&gt;&lt;p&gt;6BD26C7&lt;/p&gt;&lt;br /&gt;&lt;p&gt;7F5F1EB&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3365280902981258640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/randomly-generate-password-in-sql.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3365280902981258640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3365280902981258640'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/randomly-generate-password-in-sql.html' title='Randomly generate password in SQL Server 2008'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1122405623511699826</id><published>2012-06-28T04:00:00.001-07:00</published><updated>2012-06-28T04:11:45.242-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Using Cursor to iterate through records in sql server 2008</title><content type='html'>&lt;p&gt;Cursors are great way to loop through records in SQL specialy when you need to deal with individual records from certain table.&lt;/p&gt; &lt;p&gt;Here is a example using cursor;&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;div&gt;&lt;br clear=&quot;all&quot;&gt;&lt;/div&gt; &lt;div class=&quot;csharpcode&quot;&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 600px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;DECLARE&lt;/span&gt; @StudentID &lt;span style=&quot;color: #0000ff&quot;&gt;char&lt;/span&gt;(11);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  &lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;DECLARE&lt;/span&gt; crs CURSOR READ_ONLY&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;FOR&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;SELECT&lt;/span&gt; student_id&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;FROM students&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;OPEN crs&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;FETCH &lt;span style=&quot;color: #0000ff&quot;&gt;NEXT&lt;/span&gt; FROM crs&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;INTO @StudentID&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;WHILE&lt;/span&gt; @@FETCH_STATUS = 0&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;BEGIN&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  PRINT @StudentID&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  FETCH &lt;span style=&quot;color: #0000ff&quot;&gt;NEXT&lt;/span&gt; FROM crs&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  INTO @StudentID&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;END&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;CLOSE crs&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;DEALLOCATE crs&lt;/pre&gt;&lt;/pre&gt;&lt;pre&gt;The definitions for the terminology are :-&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;DECLARE CURSOR &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this statement defines the SELECT statement that forms the basis of the cursor. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do just about anything here that you can do in a SELECT statement. &lt;br&gt;OPEN&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement executes the SELECT statement and populates the result set. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;FETCH &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement returns a row from the result set into the variable. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can select multiple columns and return them into multiple variables. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The variable @@FETCH_STATUS is used to determine if there are any more rows. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It will contain 0 as long as there are more rows. &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We use a WHILE loop to move through each row of the result set.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;READ_ONLY clause is important in the code above.&amp;nbsp; That improves the performance of the cursor.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;CLOSE statement releases the row set&lt;/p&gt;&lt;br /&gt;&lt;p&gt;DEALLOCATE statement releases the resources associated with a cursor.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Note **&lt;/strong&gt;&lt;br&gt;&lt;font color=&quot;#ff0000&quot;&gt;Please note that cursors are the SLOWEST way to access data inside SQL Server. &lt;br&gt;The should only be used when you truly need to access one row at a time. &lt;/font&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1122405623511699826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/using-cursor-to-iterate-through-records.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1122405623511699826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1122405623511699826'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/using-cursor-to-iterate-through-records.html' title='Using Cursor to iterate through records in sql server 2008'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1218619850247631375</id><published>2012-06-26T09:18:00.001-07:00</published><updated>2012-06-26T09:18:55.486-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Function"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Conversion of Imperial to Metric System in SQL Server 2008</title><content type='html'>&lt;p&gt;There will be case when you need to convert the values in Imperial system i.e. in feet and inches to the one in metric system. The conversion logic seems simple, but when it comes to SQL Server, it takes a bit complex.&lt;/p&gt; &lt;p&gt;Here is the function which can convert imperial unit of measurement to the metric system.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;CREATE &lt;span style=&quot;color: #0000ff&quot;&gt;FUNCTION&lt;/span&gt; [dbo].[fncImperialToMetric]&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;(&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	@ImperialInput VARCHAR(50)&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;RETURNS FLOAT&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;AS&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;BEGIN&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	-- Declare the return variable here&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	DECLARE @Result FLOAT;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	DECLARE @myFeet as varchar(50);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	DECLARE @myInch as varchar(50);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @ImperialInput = &lt;span style=&quot;color: #0000ff&quot;&gt;RTRIM&lt;/span&gt;(&lt;span style=&quot;color: #0000ff&quot;&gt;ltrim&lt;/span&gt;(@ImperialInput));&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @myFeet=&#39;&#39;;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	-- SEPARATE FEET &lt;span style=&quot;color: #0000ff&quot;&gt;AND&lt;/span&gt; INCH SECTION&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	-- &lt;span style=&quot;color: #0000ff&quot;&gt;GET&lt;/span&gt; THE FEET SECTION&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt; (CHARINDEX(&#39;&#39;&#39;&#39;, @ImperialInput)-1)&amp;gt;0&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @myFeet = SUBSTRING(@ImperialInput,1,CHARINDEX(&#39;&#39;&#39;&#39;, @ImperialInput)-1);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	--&lt;span style=&quot;color: #0000ff&quot;&gt;GET&lt;/span&gt; THE INCH SECTION	&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @myInch = &lt;span style=&quot;color: #0000ff&quot;&gt;REPLACE&lt;/span&gt;(@ImperialInput,@myFeet ,&#39;&#39;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @myInch = &lt;span style=&quot;color: #0000ff&quot;&gt;REPLACE&lt;/span&gt;(@myInch,&#39;&#39;&#39;&#39; ,&#39;&#39;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @myInch = &lt;span style=&quot;color: #0000ff&quot;&gt;REPLACE&lt;/span&gt;(@myInch,&#39;&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;&#39; ,&#39;&#39;);&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @Result = cast(@myFeet as float) * 12 + CAST( @myInch as float);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;set&lt;/span&gt; @Result = cast(cast(@Result as &lt;span style=&quot;color: #0000ff&quot;&gt;int&lt;/span&gt;)* 0.0254 as numeric(6,2));&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	Return @Result;	&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Run the following SQL Query to test the results:-&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;SELECT&lt;/span&gt; [dbo].fncImperialToMetric (&#39;5&#39;&#39; 10&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;&#39;),&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  [dbo].fncImperialToMetric (&#39;5&#39;&#39; 2&#39;),&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  [dbo].fncImperialToMetric (&#39;5&#39;&#39;&#39;),&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  [dbo].fncImperialToMetric (&#39;10&#39;), &lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  [dbo].fncImperialToMetric (&#39;10&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;&#39;)&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The results are:-&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVZo7TLz6p2EKCP2XU0SBnfF8eEdfJlBH4Kho9vfh7DgR3_BfhgRSa0gxjpTUXgEnmd5_x4oCDoPzWPOD6cAijlQ8uoL1Oa0xXeFxiMBtvuCAsdLj2_KAgVmw0q6Zd18PKRRPYYOrlHV98/s1600-h/result%25255B3%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px&quot; title=&quot;result&quot; border=&quot;0&quot; alt=&quot;result&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7_yrN8Yq4-PNHIBM1sYlUhl8lMnuDfZvlnQx6MGqTB-Pg3d60eTRijqVCqdaTfc3YrtdwgMa7lj2eYYN0okEVMGxMYvj8ChMoGjfT-lxSCWbwAYN_fZF0-lGxDgJYxmfU_hY8eIp9DhdZ/?imgmax=800&quot; width=&quot;644&quot; height=&quot;149&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1218619850247631375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/conversion-of-imperial-to-metric-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1218619850247631375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1218619850247631375'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/conversion-of-imperial-to-metric-system.html' title='Conversion of Imperial to Metric System in SQL Server 2008'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7_yrN8Yq4-PNHIBM1sYlUhl8lMnuDfZvlnQx6MGqTB-Pg3d60eTRijqVCqdaTfc3YrtdwgMa7lj2eYYN0okEVMGxMYvj8ChMoGjfT-lxSCWbwAYN_fZF0-lGxDgJYxmfU_hY8eIp9DhdZ/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-5520208342678114821</id><published>2012-06-26T09:03:00.001-07:00</published><updated>2012-06-26T09:09:11.110-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Reset indentity value of Auto increment Key to 0 in SQL server 2008</title><content type='html'>&lt;p&gt;I have been searching for resetting the Auto increment value of ID Column in MSSQL Server 2008 and finally solved the problem. You can simply do the following in SQL.  &lt;p&gt;The following line resets the Identity value for the ‘MyTable’ table to 0 so that the next record added starts at&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt; DBCC CHECKIDENT(‘MyTable’, RESEED, 0)  &lt;p&gt;The truncate command can also does the trick but its not applicable if there are some foreign key constraints.  &lt;p&gt;For more information on DBCC CHECKINDENT you can refer MSDN.&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms176057.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms176057.aspx&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/5520208342678114821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/reset-indentity-value-of-auto-increment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/5520208342678114821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/5520208342678114821'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/06/reset-indentity-value-of-auto-increment.html' title='Reset indentity value of Auto increment Key to 0 in SQL server 2008'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-8457854131651699989</id><published>2012-05-07T11:32:00.001-07:00</published><updated>2012-05-07T11:34:06.699-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Face Detection"/><category scheme="http://www.blogger.com/atom/ns#" term="Image Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="MATLAB"/><title type='text'>Detect face area using Matlab</title><content type='html'>&lt;p&gt;Image processing can be used to process various objects in various ways and one for them is the face detection. The face detection system has got many applications and developing such a system is even easier by use of the Image Processing ToolBox available in MATLAB.&lt;/p&gt; &lt;p&gt;The detection of face involves various tasks. They can be summarized in three steps as:-&lt;/p&gt; &lt;ol&gt; &lt;li&gt;reading of a RGB image  &lt;li&gt;minimisation of background portion  &lt;li&gt;detection of face object&lt;/li&gt;&lt;/ol&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;Here is the code for the detection of the face area. Save it as filename.m file and execute the code in matlab.&lt;/p&gt; &lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;%%%%% Reading of a RGB image&lt;/pre&gt;&lt;pre&gt;i=imread(&lt;span class=&quot;str&quot;&gt;&#39;imagepath&#39;&lt;/span&gt;);  % &lt;span class=&quot;kwrd&quot;&gt;for&lt;/span&gt; eg. C:\P1140119.jpg&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;I=rgb2gray(i);&lt;/pre&gt;&lt;pre&gt;BW=im2bw(I);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;figure,imshow(BW)&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;%%%%% minimisation of background portion&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;[n1 n2]=size(BW);&lt;/pre&gt;&lt;pre&gt;r=floor(n1/10);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;c=floor(n2/10);&lt;/pre&gt;&lt;pre&gt;x1=1;x2=r;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;s=r*c;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;for&lt;/span&gt; i=1:10&lt;/pre&gt;&lt;pre&gt;    y1=1;y2=c;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;    &lt;span class=&quot;kwrd&quot;&gt;for&lt;/span&gt; j=1:10&lt;/pre&gt;&lt;pre&gt;        &lt;span class=&quot;kwrd&quot;&gt;if&lt;/span&gt; (y2&amp;lt;=c | y2&amp;gt;=9*c) | (x1==1 | x2==r*10)&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            loc=find(BW(x1:x2, y1:y2)==0);&lt;/pre&gt;&lt;pre&gt;            [o p]=size(loc);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            pr=o*100/s;&lt;/pre&gt;&lt;pre&gt;            &lt;span class=&quot;kwrd&quot;&gt;if&lt;/span&gt; pr&amp;lt;=100&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                BW(x1:x2, y1:y2)=0;&lt;/pre&gt;&lt;pre&gt;                r1=x1;r2=x2;s1=y1;s2=y2;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;                pr1=0;&lt;/pre&gt;&lt;pre&gt;            end&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            imshow(BW);&lt;/pre&gt;&lt;pre&gt;        end&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;            y1=y1+c;&lt;/pre&gt;&lt;pre&gt;            y2=y2+c;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;    end&lt;/pre&gt;&lt;pre&gt;    &lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt; x1=x1+r;&lt;/pre&gt;&lt;pre&gt; x2=x2+r;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;end&lt;/pre&gt;&lt;pre&gt; figure,imshow(BW)&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt; %%%%% detection of face &lt;span class=&quot;kwrd&quot;&gt;object&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;L = bwlabel(BW,8);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;BB  = regionprops(L, &lt;span class=&quot;str&quot;&gt;&#39;BoundingBox&#39;&lt;/span&gt;);&lt;/pre&gt;&lt;pre&gt;BB1=struct2cell(BB);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;BB2=cell2mat(BB1);&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;[s1 s2]=size(BB2);&lt;/pre&gt;&lt;pre&gt;mx=0;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;for&lt;/span&gt; k=3:4:s2-1&lt;/pre&gt;&lt;pre&gt;    p=BB2(1,k)*BB2(1,k+1);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;    &lt;span class=&quot;kwrd&quot;&gt;if&lt;/span&gt; p&amp;gt;mx &amp;amp; (BB2(1,k)/BB2(1,k+1))&amp;lt;1.8&lt;/pre&gt;&lt;pre&gt;        mx=p;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;        j=k;&lt;/pre&gt;&lt;pre&gt;    end&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;end&lt;/pre&gt;&lt;pre&gt;figure,imshow(I);&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;hold on;&lt;/pre&gt;&lt;pre&gt;rectangle(&lt;span class=&quot;str&quot;&gt;&#39;Position&#39;&lt;/span&gt;,[BB2(1,j-2),BB2(1,j-1),BB2(1,j),BB2(1,j+1)],&lt;span class=&quot;str&quot;&gt;&#39;EdgeColor&#39;&lt;/span&gt;,&lt;span class=&quot;str&quot;&gt;&#39;r&#39;&lt;/span&gt; )&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The sample output for the image read from my computer is shown below:-&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFpk0iNPhYdeGRRGhOuJ82b8NaILNxMkmG5RjlDQklEGhromtSbRpRBPeN60b_26OwDVdzW7vc7WzpmJtVshjo7oq699ghdfrXK0bQkEPqkxBhhW9ikQMIRFXZLh_R1ftVkdun_EUABhc7/s1600-h/fig1%25255B7%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;fig1&quot; border=&quot;0&quot; alt=&quot;fig1&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfaIKku5sYE7HkYQFpV7meqqAOJITfvpk1SQS8QVq6rPnBcJf9Xmrz88aUhh_BFOfB0roQ89N2Wy90EL4YAWZJdpLY6aWYOiwI6WsM5WOTesF8x8n3kFgQY6f_aqoqNu0BhQ6oD_hIpega/?imgmax=800&quot; width=&quot;419&quot; height=&quot;484&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh50u2_o7OLdsAYjSOpaxayK1eTWOAtcsRy_Zh3eaaNxXQFdVrmb4mXBjO6tjjgN4khh6-4E-8xambROHXBhfOJC6OAekQzw3aXHUoKp2wUGE5cM2fsugMy-SVdVQMxR__714Q21rOzdAZp/s1600-h/fig2%25255B3%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;fig2&quot; border=&quot;0&quot; alt=&quot;fig2&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtLR7y0FKtpte2QffxhoWLe_bEU3Qx0-0CHY_f_FKw2C3F2GiuYjzX9rSBkdyMlBuOHeHo8mXqb8w50pzDv5dko4OEgziEUcmC46Ybfa22qPUbLG40ylcFnzhAHXaZ__GhyPZ3dz4kKaPM/?imgmax=800&quot; width=&quot;419&quot; height=&quot;484&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiWX0hBBq5DZs3gAd65FkGoqHlpduse2C1uoDpQQKSgwnJFMb1Cu0nGZsZZL2fyppsK_Tah_LZ1igt8yYkiruHGhYOpsBa2gxspjgpUPxcI4ufApto2TzZL9mk1_s-cXMUg5JBWJkCLu-8/s1600-h/fig3%25255B3%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;fig3&quot; border=&quot;0&quot; alt=&quot;fig3&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4JHziOKjZJH6ATi2vWnutJNYOWPlT6iGiReeW5rfsEXYhV2Lr2xuEPIS9mpPYYlvjRH5rktG5H3DcDz2gFdtHu_VheY4l6Pf2TwGBTOvkGPq6K14MVRzhAh5bkRu6_xkk0Ga7dTONY17x/?imgmax=800&quot; width=&quot;419&quot; height=&quot;484&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The final output is the one with detected area of the face.&lt;br&gt;The algorithm can be extended to detect even more precisely the area of the face.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/8457854131651699989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/05/detect-face-area-using-matlab.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/8457854131651699989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/8457854131651699989'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/05/detect-face-area-using-matlab.html' title='Detect face area using Matlab'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfaIKku5sYE7HkYQFpV7meqqAOJITfvpk1SQS8QVq6rPnBcJf9Xmrz88aUhh_BFOfB0roQ89N2Wy90EL4YAWZJdpLY6aWYOiwI6WsM5WOTesF8x8n3kFgQY6f_aqoqNu0BhQ6oD_hIpega/s72-c?imgmax=800" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-6673594164088191019</id><published>2012-03-13T10:59:00.001-07:00</published><updated>2012-03-13T11:05:44.758-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Image Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="MATLAB"/><title type='text'>Extract Frames from Video MATLAB</title><content type='html'>&lt;p&gt;There may be situations when we need certain frames from video. You can extract the video frames easily in MATLAB and save to any image format that MATLAB imwrite function supports or you can process the frames directly. &lt;/p&gt; &lt;p&gt;There is a function class called ‘VideoReader’&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;OBJ = VIDEOREADER(FILENAME) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - constructs a multimedia reader object, OBJ, that can read in video data from a multimedia file.&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - FILENAME is a string specifying the name of a multimedia file.&amp;nbsp; There are no restrictions on file extensions. &lt;/p&gt; &lt;p&gt;MMREADER can also be used but&amp;nbsp; MMREADER will be removed in a future release. So better use ‘VideoReader’.&lt;/p&gt; &lt;p&gt;Here is the code to do it.&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;%vid = video which needs &lt;span style=&quot;color: #0000ff&quot;&gt;to&lt;/span&gt; be extracted&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;vid = &lt;span style=&quot;color: #008000&quot;&gt;&#39;worm_gear_set.avi&#39;;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;readerobj = VideoReader(vid);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;vidFrames = read(readerobj);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;%&lt;span style=&quot;color: #0000ff&quot;&gt;get&lt;/span&gt; number &lt;span style=&quot;color: #0000ff&quot;&gt;of&lt;/span&gt; frames&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;numFrames = &lt;span style=&quot;color: #0000ff&quot;&gt;get&lt;/span&gt;(readerobj, &lt;span style=&quot;color: #008000&quot;&gt;&#39;numberOfFrames&#39;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;for&lt;/span&gt; k = 1 : numFrames&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    mov(k).cdata = vidFrames(:,:,:,k);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    mov(k).colormap = [];&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    %imshow(mov(k).cdata);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    imagename=strcat(int2str(k), &lt;span style=&quot;color: #008000&quot;&gt;&#39;.jpg&#39;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    %save inside output folder&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;    imwrite(mov(k).cdata, strcat(&lt;span style=&quot;color: #008000&quot;&gt;&#39;output\frame-&#39;,imagename));&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #c0c0c0; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The frames extracted are saved inside the output folder which will be inside the project directory.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;You can download the project files from &lt;a title=&quot;Extract Frames from Video in MATLAB&quot; href=&quot;http://dl.dropbox.com/u/24930699/Projects/My%20Projects/Others/Extract%20Frames%20from%20Video%20in%20MATLAB.zip&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/6673594164088191019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/03/extract-frames-from-video-matlab.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6673594164088191019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6673594164088191019'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/03/extract-frames-from-video-matlab.html' title='Extract Frames from Video MATLAB'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1810522484934393121</id><published>2012-02-26T02:09:00.003-08:00</published><updated>2012-02-27T02:00:37.379-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Applications"/><category scheme="http://www.blogger.com/atom/ns#" term="Image Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="MATLAB"/><title type='text'>Number Plate Extraction using MATLAB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The number plate extraction in MATLAB can be accomplished using Image Proccessing Tools available in MATLAB. The functions provided by the Image Processing ToolBox makes it easy to process any images to extract the data from it.&lt;br /&gt;
The algorithm for extracting number plate can be summarized as:-&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;&lt;i&gt;Input Image&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;1.Capture image from webcam.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;2.Store the captured image into a image file for further processing. &lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;&lt;i&gt;Convert Image into Binary&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;1.Identify the intensity of the image.  &lt;blockquote&gt;If image intensity = high Reduce intensity  Else if intensity = low Increase intensity  Else No change.&lt;/blockquote&gt;2.Convert image into grayscale. &lt;/ol&gt;&lt;ol&gt;3.Calculate appropriate threshold value for the image. &lt;/ol&gt;&lt;ol&gt;4.Convert the image into binary image using the calculated threshold.&lt;/ol&gt;&lt;b&gt;&lt;i&gt;Detecting Number plate area&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;1.Fill small holes including numbers of Number plate so that number plate area will be large to isolate from figure. 2.Determine width and height of the image. 3.Scan each pixel of line counting number of white pixels in the following system,  &lt;blockquote&gt;If number of ‘white’ pixels &amp;lt; x; pixels become ‘black’  Else; no change  If number of ‘white’ pixels &amp;gt; y; pixels become ‘black’  Else; no change The value of x and y may be changed according the image intensity and plate area.&lt;/blockquote&gt;4. Use the step no. 3 for both horizontal and vertical direction. &lt;/ol&gt;&lt;ol&gt;5.Check number of possible areas. &lt;/ol&gt;&lt;ol&gt;6. Logically AND with binary image obtained at “Convert image into binary algorithm. &lt;/ol&gt;&lt;ol&gt;7.Crop the required area.&lt;/ol&gt;&lt;b&gt;&lt;i&gt;Segmentation&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;1.Filter the noise level present in the image. &lt;/ol&gt;&lt;ol&gt;2.Clip the plate area in such a way that only numbers of plate area extracted. &lt;/ol&gt;&lt;ol&gt;3.Separate each character from the plate.&lt;/ol&gt;&lt;b&gt;&lt;i&gt;Number Identification&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;1.Create the template file from the stored template images.&lt;/ol&gt;&lt;ol&gt;2.Resize image obtained from segmentation to the size of template. &lt;/ol&gt;&lt;ol&gt;3.Compare each character with the templates. &lt;/ol&gt;&lt;ol&gt;4.Store the best matched character. &lt;/ol&gt;&lt;b&gt;&lt;i&gt;Save to file in given format&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;1.Open a text file in write mode (append mode in case of the multiple records). &lt;/ol&gt;&lt;ol&gt;2.Store the character obtained from the number identification process to text file in given format. &lt;/ol&gt;&lt;ol&gt;3.Close the file&lt;/ol&gt;Some of the snapshots for the number plate extractions:-&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg81MsHWSy9lgnnemTyRINUJFMyp6wgilf48C_IzNB3ndu8bETO-ZdtluMnZLaqlHDCLCZUdqVKRMD4lJ0Q3SZ0lOXvDb2f0qjWcu5yvZdwq5HLSw7w7yQbXXf7x_fue8Lpz9ewy_SI7mEW/s1600-h/BA48PA54455.jpg&quot;&gt;&lt;img alt=&quot;BA48PA5445&quot; border=&quot;0&quot; height=&quot;107&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvXWXo_Zkc6fqjq-xBslL4EmFcwakCSZtO5Hndy4jzebqYgw9ks7LuXqazgnFXDGZvGzobK6MFuNAGkZqORO0v7kmyWGfQBoDuFMZMHf4vfS4DsMtxz-DUZtpa4qJgjK9eVqGqVDLH9Yd/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;BA48PA5445&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Pic 1:- Number plate that is to be extracted.&lt;br /&gt;
Open the main.m file in MATLAB.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEkcrm1-c6SIlW4laRc4OI4aoDKMeaEDMvpFdO0HnFYRHIKNatSMk8h8W0JQ1cnR0su12GJks16zJXh0v4J4BoZUbRK5SDUfeG1W9OMTU6bbGkB_AUV2PSgcJIUfG4sXxjl4KYwC_7C2g9/s1600-h/main-program-for-number-plate-extrat%25255B2%25255D.png&quot;&gt;&lt;img alt=&quot;main program for number plate extration&quot; border=&quot;0&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTtQKHgA2bHC_-3zmRp-RGfmv9Q3AwmyUNfaQ9I4ehPaMy55p7mIj4rdxmMWklY_KByfG-Ap0nnU0EbWfJaBqVBclJwpLT1oUT8LwyfZNgbi4M6RNF9m0P9f48B45x5j7CApYZ8l8hMcqw/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;main program for number plate extration&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Now run the main.m file in the MATLAB. It may prompt you to change the default directory. You can either change folder or Add to Path. Better change the directory.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2XsQMGs9zgiO3FCDpvPvfVvz6e0H1pfUsxZ82Tuyr7MrblwlPij2UgpvxjaFbWZoWuRZd9cwAJ2bgrKhxOiH-tes7xJ5qvRLpLzIRSO0cu8hmZwL3RhRgxAIxMNIfVdHS2gitrIKDF8gz/s1600-h/prompt-directory-change3.png&quot;&gt;&lt;img alt=&quot;prompt directory change&quot; border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMRWZBWkQ_Ll9vZM48aHmGYLrx0S7lyDcxr4V0IrS8av8leLYoTvaKEvSXzOKq7W7W7ztHuO5cr6y4wGAGGhPkXZzqwXs5_mB4KT9TaZDRCo8WUi0u4NbteRZ7RLA5ZdHHDr5LFa-equo7/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;prompt directory change&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
You will get a messagebox showing the extracted number plate. Message box like this:-&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcFdtfBzgbDmmyouBbtQG5dsa4iNI5cm3gYnIpF_X9X5uuQIW4JGA9-gu6_e9lLbiCRBRJmK1JHJtgXPeUsV2SK_67-Mrcz3_jsL-JO0Lh5GUPX6Wvw5MtqcfT4Wxbiz_-VCAnHvXtwKv/s1600-h/extracted-number-plate71.png&quot;&gt;&lt;img alt=&quot;extracted number plate&quot; border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLnlLbqcGzzv62xFvjPA7pF3bHoekxcx3KrTZSXvlTGIKRIvsbyM44TPKcqRx-GPLTGdNrGnmNmkyk4pEOBs7rvhbAulWXcBRVs4-x2IW4ywj8AA3TZr6x1fwBwZI8Qt0-QWcEY9VgqMUv/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;extracted number plate&quot; width=&quot;311&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
The log file ( log.txt ) is maintained to keep track of the saved number plates ( which can be used in application level ). The log file content contains the number plate with the date saved.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ0a3coCoNjp3q4ddhrBpLEUV4kOq6EJyvDm47bl2fprhwIRLqHhdBdQWbJRgFtk66U0td4e6N1b2mPXiunT7Psqf7IbInHgN-f4irdGI25E5Bn424GQh3iQjoqCZAVH54BV2_RQTAVRFd/s1600-h/log-file-content-to-store-the-number%25255B1%25255D.png&quot;&gt;&lt;img alt=&quot;log file content to store the number plates&quot; border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_xfDrwjiIl-JjBU-PaZs93sxItBE9S8Rlq_nLb1PkIaiNZiVfgiKmo3B5F-bTaokpkddQQwqVgi2UnJNS5GOOigsY6CA3HiFM0pS6nwF5ymqyAvHbuZxW8-JVY6cvnxXo-JFoHS7sFriZ/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;log file content to store the number plates&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
In main.m there are certain lines which when commented can be used to see the step by step characters extraction.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioAu-0so5kWeMZH5P7Gt7H_PfEUZgQ7_hv_EsBx9FwG8RlnGDswLtBk4GDpRWV9WH9uOXG0ursBTwBqMI3-lKrPj0AT7v2Ud8Yn7kbJlGi2HS5EKGOIUmuM4b1oRvyvdG9pSReYr5XbqU6/s1600-h/uncommenting-line-to-see-the-charact%25255B2%25255D.png&quot;&gt;&lt;img alt=&quot;uncommenting line to see the characters one bye one&quot; border=&quot;0&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqN6bDgadLohsqqMqvN7XqUU04mF9rd67U8YOblRMYGzmFIdp77SeqpoDkCSJ5Ko0gS6-PPZqpisqNNaLpPlGTdG15WI797Gv4fOM9CF4E0JLppQy30Bped4oLA7Lr-VGjmdCTV99p4Qoy/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;uncommenting line to see the characters one bye one&quot; width=&quot;644&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Feel free to ask any queries if any problem occurred. I am using MATLAB 7.12.0 (R20011a) but it should work in all version.&lt;br /&gt;
Download the whole project &lt;a href=&quot;http://dl.dropbox.com/u/24930699/Projects/My%20Projects/Others/Number%20Plate%20Extraction%20using%20MATLAB.zip&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;Number Plate Extraction using MATLAB&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
The project involving the number plate extraction :-&amp;nbsp; &lt;a href=&quot;http://www.blogger.com/projectsofashok.blogspot.com/2010/04/anprautomatic-number-plate-recognition.html&quot; target=&quot;_blank&quot;&gt;ANPR(Automatic Number Plate Recognition) Using ALR(Automatic Line Tracking Robot)&lt;/a&gt;. &amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1810522484934393121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/number-plate-extraction-using-matlab.html#comment-form' title='28 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1810522484934393121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1810522484934393121'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/number-plate-extraction-using-matlab.html' title='Number Plate Extraction using MATLAB'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvXWXo_Zkc6fqjq-xBslL4EmFcwakCSZtO5Hndy4jzebqYgw9ks7LuXqazgnFXDGZvGzobK6MFuNAGkZqORO0v7kmyWGfQBoDuFMZMHf4vfS4DsMtxz-DUZtpa4qJgjK9eVqGqVDLH9Yd/s72-c?imgmax=800" height="72" width="72"/><thr:total>28</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-836410697677420275</id><published>2012-02-23T04:01:00.001-08:00</published><updated>2012-02-23T04:29:22.430-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Node.js"/><category scheme="http://www.blogger.com/atom/ns#" term="Servers"/><title type='text'>Node.js : Introduction</title><content type='html'>&lt;p&gt;&lt;a title=&quot;Node.js&quot; href=&quot;http://nodejs.org&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;display: inline&quot; title=&quot;150px-Nodejs_logo_light&quot; alt=&quot;150px-Nodejs_logo_light&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcyGbnA6Vd9ORsaMXjcDqWO5IbfZwO_10llw3WfcD7Kad2ypBLRxaW45Fa59aCOVkZ3eMiXObhm_WRhfYeD-JzfBbevComGDfF2IKtv6SRkf3EBpZHqy5BnDl8zkJ1Muk2KhripBCJ55xb/?imgmax=800&quot; width=&quot;77&quot; height=&quot;26&quot;&gt;&lt;/a&gt;Node.js is a platform built on &lt;a href=&quot;http://code.google.com/p/v8/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Chrome&#39;s JavaScript runtime&lt;/a&gt; for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.&lt;/p&gt; &lt;p&gt;Node.js was created by &lt;a href=&quot;http://en.wikipedia.org/w/index.php?title=Ryan_Dahl&amp;amp;action=edit&amp;amp;redlink=1&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Ryan Dahl&lt;/a&gt; starting in 2009&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Traditional Web Servers&lt;/strong&gt;  &lt;p&gt;The “traditional” mode of web servers has always been one of the &lt;em&gt;thread-based&lt;/em&gt; model. You launch Apache or any other web server and it starts receiving connections. When it receives a connection, it holds that connection open until it has performed the request for the page or whatever other transaction was sent. If it make take a few microseconds to retrieve a page from disk or write results to a database, the web server is &lt;em&gt;blocking&lt;/em&gt; on that input/output operation. (This is referred to as “&lt;em&gt;blocking I/O&lt;/em&gt;“.) To scale this type of web server, you need to launch additional copies of the server (referred to as “thread-based” because each copy typically requires another operating system thread). &lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;&lt;strong&gt;Node.js Event Driven Mechanism&lt;/strong&gt;  &lt;p&gt;In contrast, Node.js uses an &lt;em&gt;event-driven&lt;/em&gt; model where the web server accepts the request, spins it off to be handled, and &lt;em&gt;then goes on to service the &lt;strong&gt;next&lt;/strong&gt; web request&lt;/em&gt;. When the original request is completed, it gets back in the processing queue and when it reaches the front of the queue the results are sent back (or whatever the next action is). This model is highly efficient and scalable because the web server is basically always accepting requests because it’s not waiting for any read or write operations. (This is referred to as “&lt;em&gt;non-blocking I/O&lt;/em&gt;” or “&lt;em&gt;event-driven I/O&lt;/em&gt;“.)  &lt;p&gt;To put it a bit more concretely, consider this process:  &lt;ol&gt; &lt;li&gt;You use your web browser to make a request for “/mypage.html” on a Node.js web server.  &lt;li&gt;The Node server accepts your request and calls a function to retrieve that file from disk.  &lt;li&gt;While the Node server is waiting for the file to be retrieved, it services the &lt;em&gt;next&lt;/em&gt; web request.  &lt;li&gt;When the file is retrieved, there is a &lt;em&gt;callback function&lt;/em&gt; that is inserted in the Node servers queue.  &lt;li&gt;The Node server executes that function which in this case would render the “/mypage.html” page and send it back to your web browser.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Here is a video on youtube&amp;nbsp; by Ryan Dahl on node.js.&lt;/p&gt; &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/jo_B4LTHi3I&quot; frameborder=&quot;0&quot; width=&quot;560&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt; &lt;p&gt;You can have further information and download link from the node,hs official site. &lt;a href=&quot;http://nodejs.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://nodejs.org&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/836410697677420275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/nodejs-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/836410697677420275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/836410697677420275'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/nodejs-introduction.html' title='Node.js : Introduction'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcyGbnA6Vd9ORsaMXjcDqWO5IbfZwO_10llw3WfcD7Kad2ypBLRxaW45Fa59aCOVkZ3eMiXObhm_WRhfYeD-JzfBbevComGDfF2IKtv6SRkf3EBpZHqy5BnDl8zkJ1Muk2KhripBCJ55xb/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3962759320845651232</id><published>2012-02-23T03:03:00.001-08:00</published><updated>2012-02-23T03:03:37.058-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Image Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="MATLAB"/><title type='text'>MATLAB and Image Processing</title><content type='html'>&lt;p&gt;Matlab contains a huge resources for image processing. It has Image Processing Toolbox which can be used to process any kind of image files.Image Processing Toolbox™ provides a comprehensive set of reference-standard algorithms and graphical tools for image processing, analysis, visualization, and algorithm development. You can perform image enhancement, image deblurring, feature detection, noise reduction, image segmentation, spatial transformations, and image registration. Many functions in the toolbox are multithreaded to take advantage of multicore and multiprocessor computers.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;Below is the screenshot to access the Image Processing Toolbox of the MATLAB. You can view deoms and other help section to get started with Image Processing in MATLAB.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Ix6D6KRWwTQEavFCYWTZiJ867cWG3pfdc6Pq26JUJPCtmV2B__uxwG5gfe-TsIYcY58A-J0XjS1QCOLb6ySPOOIdzZLVu33egJaPbpfB2HEiavtd__pQPuEPORne3xiNOIc_3sS5tLnq/s1600-h/2-23-2012-4-29-37-PM3.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;2-23-2012 4-29-37 PM&quot; border=&quot;0&quot; alt=&quot;2-23-2012 4-29-37 PM&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9eXXAM120uMFWX7AFdYeaK-LUZaxIn8ZxPs58NLhNW-_jl9lxl2y0fPBNrqLOzHOiQ_uw_KHZuOyIXSrToRAlCovlysH7ScYAJgqX8Ve8Np8IpLD2qzTxONCMXo6T3IeK4pgGEZ5eK1sq/?imgmax=800&quot; width=&quot;419&quot; height=&quot;484&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;h3&gt;Key Features&lt;/h3&gt; &lt;ul&gt; &lt;li&gt;Image enhancement, filtering, and deblurring  &lt;li&gt;Image analysis, including segmentation, morphology, feature extraction, and measurement  &lt;li&gt;Spatial transformations and image registration  &lt;li&gt;Image transforms, including FFT, DCT, Radon, and fan-beam projection  &lt;li&gt;Workflows for processing, displaying, and navigating arbitrarily large images  &lt;li&gt;Modular interactive tools, including ROI selections, histograms, and distance measurements  &lt;li&gt;ICC color management  &lt;li&gt;Multidimensional image processing  &lt;li&gt;Image-sequence and video display  &lt;li&gt;DICOM import and export&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Help Section in MATLAB is a great way to get started. Screenshot for the help section for the Image Processing Toolbox is :-&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb1_FjmGoesLx0fr0eN0tbFSgHO3zr9HCZzfwdlFdkK9VhHI83mcj4H8W1gs35pLEXoYylO6rLm2YAhOTP4Wj7TpkqsqHjPMRNytxCq8aLLCvJ_gOJdL8tVERdnAIhhUDm9ILbQ9MiR92m/s1600-h/2-23-2012%2525204-43-19%252520PM%25255B3%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;2-23-2012 4-43-19 PM&quot; border=&quot;0&quot; alt=&quot;2-23-2012 4-43-19 PM&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixsABG4AexCE4cKkkeq6nd1FG2SChk5MZr1S59MtDrmRiJpenSCL_PSzA9akUkX4wNugA-sUlFAkrI_0PCT2x8A7w2YiF1Yjb5Oa7BY9XwBkTpTda223Y3IEvAhO_c8GDJldQPOjGp-fNH/?imgmax=800&quot; width=&quot;644&quot; height=&quot;484&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;More tutorials on image processing will be published. Stay tuned.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3962759320845651232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/matlab-and-image-processing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3962759320845651232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3962759320845651232'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/matlab-and-image-processing.html' title='MATLAB and Image Processing'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9eXXAM120uMFWX7AFdYeaK-LUZaxIn8ZxPs58NLhNW-_jl9lxl2y0fPBNrqLOzHOiQ_uw_KHZuOyIXSrToRAlCovlysH7ScYAJgqX8Ve8Np8IpLD2qzTxONCMXo6T3IeK4pgGEZ5eK1sq/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-6680986872494079929</id><published>2012-02-23T02:25:00.001-08:00</published><updated>2012-02-23T02:25:01.565-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>Model View Controller ( MVC ) Architecture</title><content type='html'>&lt;p&gt;MVC Framework is a software architecture used in software engineering. Model View Controller (MVC) pattern creates applications that separate the different aspects of the application (input logic, business logic, and UI logic), while providing a loose coupling between these elements.&lt;/p&gt; &lt;p&gt;The model manages the behaviour and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller). In event-driven systems, the model notifies observers (usually views) when the information changes so that they can react.&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;&lt;br&gt;The view renders the model into a form suitable for interaction, typically a user interface element. Multiple views can exist for a single model for different purposes. A view port typically has a one to one correspondence with a display surface and knows how to render to it. &lt;/p&gt; &lt;p&gt;The controller receives user input and initiates a response by making calls on model objects. A controller accepts input from the user and instructs the model and a view port to perform actions based on that input.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidklftqSsFV-bTfnhUunacRGPLurO1Eyc3IoKilcI0eCt13mPB0tRLiXi_tP9w9LUVVy-9ZthAeWV6RS2vjvMdxCMNSz4JsgpFKZIXAqsa0P_PtoevNnn9dNSUL9O9OpQw6EeAw2Zeq2A/s1600-h/mvc_thumb%25255B2%25255D%25255B9%25255D.png&quot;&gt;&lt;img style=&quot;display: inline&quot; title=&quot;mvc_thumb[2]&quot; alt=&quot;mvc_thumb[2]&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit4aIZPMBecqGrRjWBYTJ_M9iNnLvitx1hKTytSTQPtexRC3wuyRpSebAlfRBr5pM6OmFRKnyJv6hmy_hyAE7OwVSmhNkfWEPP4CiAafIw7twzZZYvj20wKl8rEEzVXoTylysZPDDd4j4/?imgmax=800&quot; width=&quot;593&quot; height=&quot;480&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;An MVC application may be a collection of model/view/controller triads, each responsible for a different UI element. The Swing GUI system, for example, models almost all interface components as individual MVC systems. &lt;/p&gt; &lt;p&gt;Though MVC comes in different flavors, control flow is generally as follows: &lt;br&gt;The user interacts with the user interface in some way (i.e. View). &lt;br&gt;The controller handles the input event from the user interface, often via a registered handler or callback, and converts the event into an appropriate user action, understandable for the model. &lt;br&gt;The controller notifies the model of the user action, possibly resulting in a change in the model&#39;s state. (For example, the controller updates the user&#39;s shopping cart). &lt;br&gt;A view queries the model in order to generate an appropriate user interface (for example the view lists the shopping cart&#39;s contents). The view gets its own data from the model. In some implementations, the controller may issue a general instructio n to the view to render itself. In others, the view is automatically notified by the model of changes in state (Observer) that require a screen update. &lt;br&gt;The user interface waits for further user interactions, which restarts the control flow cycle. &lt;/p&gt; &lt;p&gt;Some of the famous MVC Framework implementations in different language:-&lt;br&gt;PHP&lt;br&gt;CakePHP &lt;br&gt;Zend Framework&lt;br&gt;CodeIgniter&lt;br&gt;Symfony Framework&lt;/p&gt; &lt;p&gt;Ruby on Rails&lt;/p&gt; &lt;p&gt;JAVA&lt;br&gt;Spring Framework&lt;br&gt;Struts&lt;br&gt;JSF&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/6680986872494079929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/model-view-controller-mvc-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6680986872494079929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6680986872494079929'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2012/02/model-view-controller-mvc-architecture.html' title='Model View Controller ( MVC ) Architecture'/><author><name>Ashok Basnet</name><uri>http://www.blogger.com/profile/09198110293089374867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit4aIZPMBecqGrRjWBYTJ_M9iNnLvitx1hKTytSTQPtexRC3wuyRpSebAlfRBr5pM6OmFRKnyJv6hmy_hyAE7OwVSmhNkfWEPP4CiAafIw7twzZZYvj20wKl8rEEzVXoTylysZPDDd4j4/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1655544231119635011</id><published>2011-07-22T03:35:00.001-07:00</published><updated>2011-07-22T04:05:44.757-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Applications"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Exhibition"/><category scheme="http://www.blogger.com/atom/ns#" term="LOCUS"/><title type='text'>LOCUS 2011 : Projects ( C.yber and IoeCamPlus)</title><content type='html'>&lt;p&gt;This year locus, we have showcased two projects , one from previous year locus project and another C++ project . &lt;/p&gt; &lt;p&gt;You can have look at them at following link:-&lt;/p&gt; &lt;p&gt;1. &lt;a href=&quot;http://projectsofashok.blogspot.com/2010/09/cyber-locus-2010-project.html&quot; target=&quot;_blank&quot;&gt;C.yber&lt;/a&gt;&lt;/p&gt; &lt;p&gt;2. &lt;a href=&quot;http://projectsofashok.blogspot.com/2011/07/ioecamplus-v20-realeased.html&quot; target=&quot;_blank&quot;&gt;IoeCamPlus : v2.0ß&lt;/a&gt;&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;Some screenshots :-&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4rbF90_36thMq3SJ7j5-iZXlj7OxVIhYfZHmyp0HNNXrkF3A63WLzzOjMoyiQXxxY2bvKi8PEYTQT-c8o-n23Pwf9bWuQu_mXq4uC0YDpYPXBUcIY1EA3oGb8hH1hxe1o2jiMy45Z6iA/s1600-h/cyber%25255B4%25255D.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;cyber&quot; border=&quot;0&quot; alt=&quot;cyber&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJGqT1o6Xof8pboO2zVx92fS2-pYojpHtNnnNFsAPQkHJzm8DcRmOAEwPCZjhawq9tON-LWGH0npCvtNr1R6FU3U17Z9S9Qq552HlkQPCoZUjRC8CusVQq10Sq1KnxQzK4BDCxzqv2i3A/?imgmax=800&quot; width=&quot;644&quot; height=&quot;456&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY9oFUecU6c8L_COd5BdsiSVRTOsxZaukJ1WgV3nn02B0mm83YDW5HkSdhhAitDLgPwf9bkkmF4PvuCAJUFhuyY2wLwSeJqGqMRfBhmh0fqpNxsvihvE_5W1QHMWdETXAy3IQpFigJOaM/s1600-h/camplus%25255B4%25255D.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;camplus&quot; border=&quot;0&quot; alt=&quot;camplus&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6NPRTd57POyWN8_gEOX_A3uJoodqcphXVUbhyphenhyphenZkFO0jWo6QN4Zo4qjKla6onB49ylFH5i_kw37cBZMEp9ILmqEpn7Xu-k9QQtPDzEN5285fll1hOwJ-vT159Pzibi9b83i2vFrqD8gIU/?imgmax=800&quot; width=&quot;644&quot; height=&quot;456&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1655544231119635011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/locus-2011-projects-cyber-and.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1655544231119635011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1655544231119635011'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/locus-2011-projects-cyber-and.html' title='LOCUS 2011 : Projects ( C.yber and IoeCamPlus)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJGqT1o6Xof8pboO2zVx92fS2-pYojpHtNnnNFsAPQkHJzm8DcRmOAEwPCZjhawq9tON-LWGH0npCvtNr1R6FU3U17Z9S9Qq552HlkQPCoZUjRC8CusVQq10Sq1KnxQzK4BDCxzqv2i3A/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-6989332732405361833</id><published>2011-07-22T02:45:00.001-07:00</published><updated>2011-07-22T02:45:44.006-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Applications"/><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Cross Platform"/><category scheme="http://www.blogger.com/atom/ns#" term="IOE"/><category scheme="http://www.blogger.com/atom/ns#" term="LOCUS"/><category scheme="http://www.blogger.com/atom/ns#" term="Open Source"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>IoeCamPlus : v2.0ß realeased</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;IoeCamPlus is a cross platform webcam application With the problems faced with &lt;/font&gt;&lt;a href=&quot;http://projectsofashok.blogspot.com/2011/04/ioecamplus-iii-part-ioe-project.html&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;IoeCamPlusv1.0&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;, the 2nd version of IoeCamPlus is released.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Updates in the IoeCamPlusv2.0ß :-&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Image saving problem in v1.0 is solved.&lt;/font&gt;  &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;new dll files installation updated.&lt;/font&gt;  &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Painter added for images browsed.&lt;/font&gt;  &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Error handling in case of missing camera hardware added etc.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;You can download the source and installation file:-&lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/24930699/Projects/My%20Projects/LOCUS/locus%202011%20-%20IoeCanPlus2.0%C3%9F/IoeCamPlusv2.0%C3%9F.zip&quot; target=&quot;_blank&quot;&gt;Installation Package&lt;/a&gt;&lt;/font&gt;  &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/24930699/Projects/My%20Projects/LOCUS/locus%202011%20-%20IoeCanPlus2.0%C3%9F/code.zip&quot; target=&quot;_blank&quot;&gt;Complete Source code&lt;/a&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Your feedbacks are important for us to improve the IoeCamPlus. So do comment….&lt;/font&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/6989332732405361833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/ioecamplus-v20-realeased.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6989332732405361833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/6989332732405361833'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/ioecamplus-v20-realeased.html' title='IoeCamPlus : v2.0ß realeased'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-4630711519287194260</id><published>2011-07-14T22:44:00.001-07:00</published><updated>2011-07-14T22:44:04.840-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogging"/><category scheme="http://www.blogger.com/atom/ns#" term="Setup"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Writing blogs offline using Live Writer</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh6ljHaTvWGqLZrFxfA_Yl6zoCDnHfgMuXv91LLSyNMKF0HEXJMxYYi7W29TKe72ttRA6_grk8DFzGdMTBPPKlT3pv2aOlfK-Uvm0YeTrOOtp8b9zp5rsfFJnjrOJT02Zn9WBf1qeyd9k/s1600-h/keyboard-shortcuts-for-live-writer-2011%25255B80%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 0px 11px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;keyboard-shortcuts-for-live-writer-2011&quot; border=&quot;0&quot; alt=&quot;keyboard-shortcuts-for-live-writer-2011&quot; align=&quot;left&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8aINIpi-aal1Fx8tPIYhWKGAzsTi5K7zDxb8ZG4phPRTmCsiD8Kp147cIL_F1UZXZh3gEKzC-Yi348gbreCkWOUuDq0BDsDJ820yflOZr-3Qd307dPhfXPpIAHzMeWB5iHMoHEXlgfng/?imgmax=800&quot; width=&quot;177&quot; height=&quot;118&quot;&gt;&lt;/a&gt;&lt;strong&gt;Blogging&lt;/strong&gt; is one of my key interest and those who are blogging in bloggers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sites like blogspot, wordpress, etc. might be facing problems with the blog editor i.e. working online. I have been using Windows Live Writer for from 2009 and it is really a great tool for blogging. There are cool features that you are going to love about live writer. Blogging will be fun with live writer.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;font color=&quot;#a5a5a5&quot;&gt;I have noted down some key features in Live Writer that I have observed.&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;The blogs can be saved offline and edited any time you want. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Multiple blogs accounts can be integrated so that you can switch to your blog on fly. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Its IDE is cool. You will not feel difficult with its IDE since it is somewhat like Office package. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Theme can be pulled at any time and refreshed if it is changed. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Categories can be set and post date can also be set before posting. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;You can insert pictures, hyperlinks, videos and many more within live writer. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;You can preview your blogs and view source code by using tabs at bottom of the live wirter software. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;Different plugins are there which can be very useful like Source code ( for putting codes in the post. &lt;/font&gt; &lt;li&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;After you have done editing and ready to be published , you can click publish icon at top.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;The following screenshots will guide you through the steps for setting up the live writer. The live writer I am usign is Live Writer 2011 and the following guide can be useful for any blogs. Here I have used my blogger blog http://&lt;/font&gt;&lt;a title=&quot;http://computer-engineering-in-nepal.blogspot.com/&quot; href=&quot;http://http://computer-engineering-in-nepal.blogspot.com/&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;http://computer-engineering-in-nepal.blogspot.com/&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;1. Download the &lt;/font&gt;&lt;a href=&quot;http://explore.live.com/windows-live-essentials?os=other&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;live writer&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN3nqy5Z4HuDjcButF5sEdD4Thd0DTYLxSvOeJkina7F3En76yZHIOfSpKRxZlrTrQg5IqFsPXsxaPwARIpmBq1VtLEnC86CLpT2YnYJC-Kl3UK6x28Ilw3Ym5pIKoksPZAgCkqyvauOI/s1600-h/download-live5.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px; padding-top: 0px&quot; title=&quot;download-live&quot; border=&quot;0&quot; alt=&quot;download-live&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzaEje8iDqWlK0OykTc0fOIF4B9hbBOsl5jN0mDtbMvzLTra_nVKUCgdq637MuFmkPN8RsxQ71gJz37vGk1u-WhEokhGC8DaARjwIpB9U6jeEwGp9rHPVHhd69W2Eb9B4L9n4ktx1S1Ng/?imgmax=800&quot; width=&quot;644&quot; height=&quot;350&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;2. After installing the live writer you will be asked to fill a form for the blog account.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqNBhyphenhyphenA74rZXyC72CSOgBZw0eVlLMR_lJoHVHV3z1HSW-Bjd-5XKkOoqQY_AVOJjjSeEs7GyJ2MCC3Z3BKESAESRMKsTxdypDo0WeNONCaRITS7pQNQJToOhAJHTyJ9Vs3aP7hkiwrXiA/s1600-h/install-16.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-1&quot; border=&quot;0&quot; alt=&quot;install-1&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Ax74FQ7yfrPXSVKhG0J9pWBohELvEZyOLtECVoD-wRatSaBXZn3t2a6QpnLzMV4uerIY8OxMrQ_ZeVkmUJ0O9eFjF8xHj5f1W0WJNLlgcA6hpW1ZDJyOLO46X4k95WUDQ8a7Z0qjLsY/?imgmax=800&quot; width=&quot;455&quot; height=&quot;391&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;3. If you have your own blog , go to other services for blogger. You can choose wordpress directly from the option if you have a wordpress blog.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuRStr8lY5VaUxT-vK4j3Dx1vuPPl8HE9uq3v3z1eR-A-R6-iehUpnExQvGwA63H4co-2XYE0yrWIqEZfl5jTwde0p8opJk_CfNlrp05PlsbgMSwlCLOpah26DZvQCi_8zpGLzS1ahz-c/s1600-h/install-23.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-2&quot; border=&quot;0&quot; alt=&quot;install-2&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRtUfH8FirSsr_c7zUc6vvY4ja4QNoyKtkMvFAltJr-qdf-JnVAxLkTEx1uTCO1sEYYVl-Ty8DEEoCdwsPHZ6bLahd1MsCsXYZEfeFJl5RMCih138dNTNebHBQOdOA7yiiGJwpiDzBgm4/?imgmax=800&quot; width=&quot;455&quot; height=&quot;391&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;3. Click Next and the following form appears where you can fill up your blog details.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKmcaQd61Ebylv5nNog1OcP0q6spAVD2rFYVY63C6p8xozNwE4ZQu-TY1iJg7zh7_SHU8WzhB1bZ-jcZeVybn0fYV3iiecAKaQFLLBdWmW7Gz-enNDL3LcF-q8ObvuI0Zo6Q_iALWABtM/s1600-h/install-33.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-3&quot; border=&quot;0&quot; alt=&quot;install-3&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm7KJbWdNEts3uOTCuA7hzUkzvMftkwSvbttBLa5OCs6nkDzDSzM1N9-uM65PJX3ag02UA07-jtTrQjg6NMRURi7l5yZRzxisq-KDu-vNQTcX5npRJs6YxTJnigj0ZKX3TWwk_kh16hNg/?imgmax=800&quot; width=&quot;455&quot; height=&quot;393&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;4. Fill up the form.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCAGEvZCxGIMDYPbHgAftaa8bzQ6ptU4JhxmwN9PWnTNfNOuR3USsiu4K_vjl9B8t76m-jtQtLOexeMW5ni1svFksxV58tyTWKHWaetjHN4mVvBGa8yb2Ow4JkEGLsKzg2n9md4PyeCUQ/s1600-h/install-53.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-5&quot; border=&quot;0&quot; alt=&quot;install-5&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjYN_vLgDL8_ve-kSQ7fQmZq-nLBi2Qwfqp7kJU4M7RcNZjmRysQ5-CGqderH3frHGPmuKPvwE6ATeZlUQCA6sd_weaVcXKCVo7-do9dd0-shpg_S3rlTcQFrCBai-36HCrWn5D37j8X8/?imgmax=800&quot; width=&quot;456&quot; height=&quot;391&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;5. Note:- if you have proxy, set the proxy by cliking the link &lt;em&gt;&lt;strong&gt;Set Proxy…&lt;/strong&gt;&lt;/em&gt; . and click &lt;em&gt;&lt;strong&gt;Manually configure setting. &lt;/strong&gt;&lt;/em&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-sKqQTjf2YUaO23F4k65hb_AD7zcwc6B8MqHYiBP220FiXmGx2appX85OXlyMwtUZniQf1-Lkbs_xtwcrN57Ho_axIvWbyRF0mggWM6-3Y-1llu48OqRS9_qP2PtLFGYwQ0JLJe5Z2sE/s1600-h/install-104.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-10&quot; border=&quot;0&quot; alt=&quot;install-10&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikSg0z6cERD3p0cb6ujmE6IrVGbcB0Gt86IkZUSSKLxw8or1W88qIWzdO7bu-1ih-v12EdaLVfzSNZh6S9eFs7DBQFLhrQt7Dp77_azwFVeVwoWZEz14vgGsHrcisJH65Tmfjeo1O16Go/?imgmax=800&quot; width=&quot;644&quot; height=&quot;429&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;6. Now the blog will set up message appears and click Finish button.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgga42L0QsORzSBpOqYcnMi0QgiN9Wv5LVi-Dq3uLp6j_CRy9BSKgTCs6KNYn91Wbz5nDXwNPzhl6FqgpI5AIi1qz251AE5WsXEEfIjQPNOq-Osza-d0APLyJG85Z763q4VWFRLbl4adf8/s1600-h/install-113.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-11&quot; border=&quot;0&quot; alt=&quot;install-11&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHsFeot-nrIcqZ4yEuyNbI0nodJocUYczNLe10jG4ZB-nXI3e3XMg7UqXtD9P3Gv7E8nlTAw1LuQ7D0ePxtYY_mNFXkdQmxR9uc9Y8OwxGsFRMe895kthcAJUI8AF-ep9Tvolh53eqsMo/?imgmax=800&quot; width=&quot;455&quot; height=&quot;389&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;7. The live writer will pull the blog, its theme and you can get started.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbZr5i9F0SLhZXMSL8zF3P2UkX1gkJwR7mXuv30YjurftWZeJFXBwbe3FXuf_-CSK2McQFfV9UG_gbHMHpP8AUyP4MykXq2Q1_OqU-xiJfYKHCyaRKFciu2IwiMat6RyAGaMWzMwo9Eys/s1600-h/install-83.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;install-8&quot; border=&quot;0&quot; alt=&quot;install-8&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi10bvwZp0yRrAaCm7t8QHeZIPKdT0tUthB3HxgPv3yCP71beO-2EJUDe79gphSqMno0IVxNUOCQtYPOqiXXz3YWuwgDd8wf11HvW47XFL7UTKohZnEU45ktOqp89j7_HGTTVcS_gb5LBo/?imgmax=800&quot; width=&quot;455&quot; height=&quot;392&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;8. Now here is the final outcome.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFMgq-chEBLVVJPL8F2jByJeyHreJ1POfVCsz8sdy_FsjqzENx8c15VPxAdfc5S4is6XPqdg9lZyam5RvIcDAbDQ4XTCKy6U06Uxn-CzU9GfkhGF_FR7iMocfAItKAFCB9OFxD5CW0Ug/s1600-h/final3.jpg&quot;&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBzzz0lE4GCTtuVzAIWQ0bzYBzFkGNGXigkTdhMFoqFk9HENp4UFr1XRBFUJE-nme0IL_l1RFXeS69T-viTew1o_Wjg0bGMsQQGe34lSZDLX9c3uFdGFjWl4dE0KYjbpdrm01b713aCSo/s1600-h/final-13.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;final-1&quot; border=&quot;0&quot; alt=&quot;final-1&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-02BDrUfHf78rGneysjj_QXgw1QtZer7yVPT1Jjjt_uivdGte2pXnDfnUgvg22feMRFT1K2oBysi8AuE8ALejHBSycso4wHMU4zxcwUg4s4H0jOa-2Ny1kVFeQ9ZhXi77wRAwCBS7Krs/?imgmax=800&quot; width=&quot;644&quot; height=&quot;347&quot;&gt;&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;9. You can start writing blogs offline and publish it whenever you are online. The preview and source button at bottom of the live writer can be useful to view the blog before publishing and editing the source.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;font color=&quot;#0000ff&quot;&gt;Preview&lt;/font&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV5suN40BJ-SWGqiZ69QcWciJAYi6Z-ZsUP8KbrlgMtXvxSji0GsV6QVfFnl6haCGIYJr6gHN1jYZxjKy8r0wmpLIuzLIV1fn7bD65H6toJUvhgTlfSWG5A3muiVdgalIypdMaXBsliyo/s1600-h/preview6.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;preview&quot; border=&quot;0&quot; alt=&quot;preview&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpNLXKAe3kI6tSL2rDp4-ZwBdQk_lJboq8gxA4rpPdQqGgO2BsvR0XdQTZ0ugCfxI32WV-aqLyB8qhPYqD0LYWArgD8mkHoUlXz1UYQ6G8QJTcezmzLv1fh1gbUuO8BScoeITdPZJfllA/?imgmax=800&quot; width=&quot;644&quot; height=&quot;348&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#a5a5a5&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;font color=&quot;#0000ff&quot;&gt;Source code&lt;/font&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitDeSZfF83DbUbkV1jsgPHIMP8kTqLH6kQdvOUyMhfk9ySAlpD1bsPa68A8o1ngy-g3w15jD2ICaHJSLXWiQLlxzHtdWNQUfPJneY6_7GQiwoE7k2C_AdQv31l1eUFsNKqluypXst7UGY/s1600-h/source3.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;source&quot; border=&quot;0&quot; alt=&quot;source&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqqpBvhHQOuDt-JMcoBt8ragDazuz6P98GBqwQAdhPW8NzGzVPS_Btbdh6DtG_MPkoDOwn4pInrE2i7hWkDLyaSMspRUZIbo93OIMfbnD8yMqc0I2C15X1RHt8vl4_1arbAyo81O3N1T0/?imgmax=800&quot; width=&quot;644&quot; height=&quot;349&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;10. You can add plugins by downloading them from the internet and installing plugin.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKAhr7_qGzVNVaN_bGF37mhzfMUw-gSPUQHyI3Aod2FZjsDjMNu7YRi2DgThmHq__Qdfyf-jctq5dyyumMk54v2cLaagyEJyzfNB5ErxqDLPLY9ldbTFcx3b6njOsOSH8FYddLCsa8LIg/s1600-h/plugins3.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;plugins&quot; border=&quot;0&quot; alt=&quot;plugins&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWfkiPQFsHjGpyInp8q-qd9wmZlwfExWpdM1fJBnfzCo3AA8vVOW0081Q4J40m0fwEqhtxDHBHAuVRVFPXHTn4GB2vaCIdLqCV0GhQnFMwlNSFLTJQODIbAv-7sa_oF37SrI5ZNTYCnbg/?imgmax=800&quot; width=&quot;644&quot; height=&quot;106&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;11. You can manage multiple blogs also.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgumxA0GOAlmoNjIOKtFNmf0t8Si6X3sgURs1lCCT2Oy6Qi_YVmP2tTv8Xc2SQopUggfXNVW6_AwIF91WAG1w2I3_Gp5LIDRQ3VVIDlno-KaxWx7UHfhOFq2Y6DNpJPfaS66JQiJ3eU5ag/s1600-h/multiple-blogs4.jpg&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;multiple-blogs&quot; border=&quot;0&quot; alt=&quot;multiple-blogs&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_dQ7wDIlRPW44WQHnG1E2Jwh3iocnattpV1QvcSImnfUaKPowmb5VgYDuGeu3bp6GpbsJ3-QvPvrPO3FJ3UfzI6yV9i-rnu9dVFYc_BkkWATQSI8p5yH_BrQcOIeXV3rIBGhWfPPa9pI/?imgmax=800&quot; width=&quot;644&quot; height=&quot;174&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Happy blogging&amp;nbsp; &lt;img style=&quot;border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none&quot; class=&quot;wlEmoticon wlEmoticon-smile&quot; alt=&quot;Smile&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc-V3M8oYHLMD5_9w-21beKjnVAbWhRvaHqV7e9mJxoceeuGd68VNqBITvyo-RTlA_K5XzVWoWNPW7g0nMG9Pr7JxIzaFWwX0ECiw7FMAsrLXICNQ63BigymNQS0bSA0KsabLglgFfGJE/?imgmax=800&quot;&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/4630711519287194260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/writing-blogs-offline-using-live-writer.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/4630711519287194260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/4630711519287194260'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/writing-blogs-offline-using-live-writer.html' title='Writing blogs offline using Live Writer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8aINIpi-aal1Fx8tPIYhWKGAzsTi5K7zDxb8ZG4phPRTmCsiD8Kp147cIL_F1UZXZh3gEKzC-Yi348gbreCkWOUuDq0BDsDJ820yflOZr-3Qd307dPhfXPpIAHzMeWB5iHMoHEXlgfng/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1336752154155893463</id><published>2011-07-14T11:56:00.001-07:00</published><updated>2011-07-14T11:56:41.480-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="socket"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><title type='text'>Networking programming in C</title><content type='html'>&lt;font color=&quot;#666666&quot;&gt;Networking has become an integral part of our everyday life and we are in some way connected to others. It has revolutionized the way we are living. Many times we need our application to write some data into a file, stored on a remote machine connected through a network, display some message in desktop of remote machine or simply exchange messages across the machines connected to the network.&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#666666&quot;&gt;C is an intermediate programming language which is very powerful in terms it is a high level language as well as it is able to access the hardware&amp;nbsp; very efficiently and effectively. Computer Network means a collection of computers connected either by some means of wire or wireless technology to share data, resources etc. So network programming is important to learn and be able to understand how networks can be programmatically controlled.&lt;/font&gt;&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUgJnB_1Y6vPuOTKGZnrtUWCCUZv2fLcgrGs4aEzmY9rITHararR4kCH0mlEmW9AxFI7Dy_moxcDKRig_BPXX3s_kSTvlZJWK7Cee77Rw6X2hW7F4Rq63OXvw0qw_Hbt1SnfMCv6HMtpY/s1600-h/image%25255B5%25255D.png&quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg75XDWYYowVTrycQf-UYTXsET7DX3b5tiD3hizz7AHK7u0H8wP98PvPD2ZELZdgvxva6GIq6XWy-Rn5H9R7-dkfVzgq4nauGJFdO3xWkpVIn5u0VkZU3ZPEkEZ0AKNqQUwKACquNUNuCA/?imgmax=800&quot; width=&quot;341&quot; height=&quot;219&quot;&gt;&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;/font&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1336752154155893463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/networking-programming-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1336752154155893463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1336752154155893463'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/networking-programming-in-c.html' title='Networking programming in C'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg75XDWYYowVTrycQf-UYTXsET7DX3b5tiD3hizz7AHK7u0H8wP98PvPD2ZELZdgvxva6GIq6XWy-Rn5H9R7-dkfVzgq4nauGJFdO3xWkpVIn5u0VkZU3ZPEkEZ0AKNqQUwKACquNUNuCA/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-3488919102285296277</id><published>2011-07-08T03:49:00.001-07:00</published><updated>2011-07-10T01:13:17.576-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>JQuery Tutorial–II : Basic CSS Selectors</title><content type='html'>&lt;p&gt;Selectors in JQuery is used to select specific document objects like &amp;lt;body&amp;gt;, &amp;lt;h1&amp;gt;, &amp;lt;p&amp;gt;, &amp;lt;a&amp;gt; and many more. It’s use has made writing JQuery very easier and get the required DOM to have control over it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size=&quot;4&quot;&gt;Using Basic CSS Selectors&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Any DOM element may have their unique ID or group of selctors may have&amp;nbsp; a common class for styling. The ID selects unique element from the HTML DOM and class is applied for a wide selection. For eg.&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;p id=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;myParagraph&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  This is the paragraph &lt;span style=&quot;color: #0000ff&quot;&gt;with&lt;/span&gt; ID attribute.&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;p &lt;span style=&quot;color: #0000ff&quot;&gt;class&lt;/span&gt;=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;ourParagraph&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  This is first the paragraph &lt;span style=&quot;color: #0000ff&quot;&gt;with&lt;/span&gt; Class attribute.&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;p &lt;span style=&quot;color: #0000ff&quot;&gt;class&lt;/span&gt;=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;ourParagraph&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  This is second paragraph &lt;span style=&quot;color: #0000ff&quot;&gt;with&lt;/span&gt; Class attribute.&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;For accessing these ids and classes of paragraph it can be done as :- &lt;/p&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  $(&#39;p#myParagraph&#39;).click(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;alert&lt;/span&gt;(&#39;You clicked ID&#39;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  });&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  $(&#39;p.ourParagraph&#39;).click(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;     &lt;span style=&quot;color: #0000ff&quot;&gt;alert&lt;/span&gt;(&#39;You clicked Class&#39;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  });&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The p#myParagraph selects the paragraph with ID of myParagraph and p.myParagraph slects all the paragraph with class of ourParagraph.Each id value must be used only once within a document. If more than one element has been assigned the same id, queries that use that id will only select the first matched element in the DOM.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br&gt;For applying styles to page elements, group of selection methods that work across all&lt;br&gt;browsers can be applied. Those methods include selection by an element’s ID, CSS class name,&lt;br&gt;tag name, and the DOM hierarchy of the page elements.&lt;br&gt;Here are some examples to give you a quick refresher.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;a - This selector matches all link (&amp;lt;a&amp;gt;) elements. &lt;br /&gt;&lt;li&gt;#specialID—This selector matches elements that have an id of specialID. &lt;br /&gt;&lt;li&gt;.specialClass—This selector matches elements that have the class of specialClass. &lt;br /&gt;&lt;li&gt;a#specialID.specialClass—This selector matches links with an id of specialID&lt;br&gt;and a class of specialClass.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;These basic selectors are powerful, but sometimes we need even finer-grained&lt;br&gt;control over which elements we want to match. jQuery meets this challenge and&lt;br&gt;steps up to the plate with even more advanced selectors.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/3488919102285296277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/jquery-tutorialii-basic-css-selctors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3488919102285296277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/3488919102285296277'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/jquery-tutorialii-basic-css-selctors.html' title='JQuery Tutorial–II : Basic CSS Selectors'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-1928561520190415477</id><published>2011-07-02T23:20:00.001-07:00</published><updated>2011-07-04T05:21:20.994-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorials"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>JQuery Tutorial - I : Getting Started</title><content type='html'>&lt;p&gt;JQuery is very great tool for accessing the DOM(Document Object Model) elements is any webpage. JQuery is really a cool Javascript. In this tutorial I am going to show you how to use Jquery to make life easier without having to know all the Javascript lengthy codes or statements.&lt;/p&gt; &lt;p&gt;First of all u need is the Jquery file downloaded from the JQuery site or a link of Google code repository for JQuery. U can either download the development version for testing purposes or min version for depolyment purpose. After u download, create a webpage of ur choice and put your jquery.file into the folder.&lt;/p&gt; &lt;p&gt;I will be teaching you some events handling with the simple JQuery selectors. Lets get started. Lets create a page called &lt;strong&gt;&lt;em&gt;&lt;u&gt;index.html.&lt;/u&gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;JQuery Tutorial I - Getting Started&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;JQuery Tutorial I- Getting Stared&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;Show&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;br&lt;/span&gt; &lt;span style=&quot;color: #0000ff&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;This is JQuery Tutorial demonstrating the use of JQuery and its easiness to access and manipulate the DOM elements.&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p align=&quot;center&quot;&gt;&lt;strong&gt;index.html&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here I have just created a index.html with simple HTML tags.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now the in the &amp;lt;head&amp;gt; … &amp;lt;/head&amp;gt; section of the HTML , insert the Javascript code i.e. our JQuery code as shown below:&lt;br&gt;&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;jquery.js&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Test whether or not the JQuery is working by alerting some information.&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	$(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		&lt;span style=&quot;color: #0000ff&quot;&gt;alert&lt;/span&gt;(&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;Page successfully loaded.&lt;/span&gt;&quot;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	});&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now time for some cools stuffs with selectors…. Lets control the paragraph property by&amp;nbsp; using link selectors to change the visibility of the paragraph.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Lets alert when a href is clicked. U can do this simply by following JQuery..&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	$(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		$(&#39;a&#39;).click(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;			&lt;span style=&quot;color: #0000ff&quot;&gt;alert&lt;/span&gt;(&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;A href was clicked.&lt;/span&gt;&quot;);&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		});&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	});&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;You can also change the visibility using toggle () function which shows and hides alternatively.&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	$(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		$(&#39;a&#39;).click(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;			$(&#39;p&#39;).toggle();  &lt;span style=&quot;color: #008000&quot;&gt;// shows and hide with clicks alerternately&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;		});&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;	});&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;In this way JQuery can be easily integrated into your website and there are lot more possibilites with JQuery and its selectors. In next Tutorial we will be dealing with different CSS selecors…. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;U can download the above tutorial from &lt;a href=&quot;http://dl.dropbox.com/u/24930699/Blogging/projectsofashok/JQuery%20Tutorials/Part%20I.rar&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;..&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/1928561520190415477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/jquery-tutorial-i-getting-started.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1928561520190415477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/1928561520190415477'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/07/jquery-tutorial-i-getting-started.html' title='JQuery Tutorial - I : Getting Started'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995795185513919756.post-4365675878399906886</id><published>2011-06-29T12:50:00.001-07:00</published><updated>2011-06-29T13:42:33.686-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>JQuery : Introduction</title><content type='html'>&lt;p&gt;&lt;a href=&quot;http://lh5.ggpht.com/-lXcf1YT9izs/TguBpeUgdqI/AAAAAAAAALo/O2U5Hd84Et4/s1600-h/jquery_normal%25255B2%25255D.gif&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; margin: 4px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;jquery_normal&quot; border=&quot;0&quot; alt=&quot;jquery_normal&quot; align=&quot;left&quot; src=&quot;http://lh4.ggpht.com/-HkNu0He8O_Y/TguB4s8mP0I/AAAAAAAAALs/CYf0v3QS78w/jquery_normal_thumb.gif?imgmax=800&quot; width=&quot;54&quot; height=&quot;54&quot;&gt;&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://jquery.com&quot; target=&quot;_blank&quot;&gt;JQuery&lt;/a&gt; is a lightweight JavaScript framework developed by John Resig. &lt;/p&gt; &lt;p&gt;&amp;nbsp; JQuery is a lightweight &quot;write less, do more&quot; JavaScript library.  &lt;p&gt;The jQuery library contains the following features:  &lt;ul&gt; &lt;li&gt;HTML element selections  &lt;li&gt;HTML element manipulation  &lt;li&gt;CSS manipulation  &lt;li&gt;HTML event functions  &lt;li&gt;JavaScript Effects and animations  &lt;li&gt;HTML DOM traversal and modification  &lt;li&gt;AJAX  &lt;li&gt;Utilities &lt;/li&gt;&lt;/ul&gt; &lt;a name=&#39;more&#39;&gt;&lt;/a&gt; &lt;h4&gt;Adding the jQuery Library to Your Pages&lt;/h4&gt; &lt;p&gt;The jQuery library is stored as a single JavaScript file ( u can get a copy of it from the &lt;a href=&quot;http://jquery.com&quot; target=&quot;_blank&quot;&gt;JQuery site&lt;/a&gt;), containing all the jQuery methods. It can be added to a web page with the following mark-up:&lt;br&gt;&lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;&lt;p&gt;  1: &amp;lt;head&amp;gt;&lt;/p&gt;&lt;p&gt;  2: &amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot; src=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;jquery.js&lt;/span&gt;&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  3: &amp;lt;/head&amp;gt; &lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;You can use the alternate version of the JQuery by referring to the site..&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  1: &amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot; &lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  2:      src=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;=&lt;/span&gt;&quot;http:&lt;span style=&quot;color: #008000&quot;&gt;//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  3: &amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, &quot;Courier New&quot;, courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;To start using JQuery, &lt;/p&gt;&lt;pre style=&quot;border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px&quot;&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  1: &amp;lt;script type=&quot;&lt;span style=&quot;color: #8b0000&quot;&gt;text/javascript&lt;/span&gt;&quot;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  2: $(&lt;span style=&quot;color: #0000ff&quot;&gt;document&lt;/span&gt;).ready(&lt;span style=&quot;color: #0000ff&quot;&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  3:       &lt;span style=&quot;color: #008000&quot;&gt;//Your JQuery code&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  4: }};&lt;br /&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f8f7f9; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px&quot;&gt;  5: &amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The JQuery loads the functions after only when all the DOM elements get loaded. &lt;img style=&quot;border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none&quot; class=&quot;wlEmoticon wlEmoticon-smile&quot; alt=&quot;Smile&quot; src=&quot;http://lh3.ggpht.com/-rNVFxU9jEHo/TguCC_YMhXI/AAAAAAAAALw/WHi1-cILXK8/wlEmoticon-smile%25255B2%25255D.png?imgmax=800&quot;&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;font size=&quot;3&quot;&gt;jQuery Syntax&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The jQuery syntax is tailor made for &lt;b&gt;selecting&lt;/b&gt; HTML elements and perform some &lt;b&gt;action&lt;/b&gt; on the element(s). &lt;br /&gt;&lt;p&gt;Basic syntax is: &lt;b&gt;&lt;font color=&quot;#c0504d&quot;&gt;$(selector).action()&lt;/font&gt;&lt;/b&gt; &lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;A dollar sign to define jQuery &lt;br /&gt;&lt;li&gt;A (selector) to &quot;query (or find)&quot; HTML elements &lt;br /&gt;&lt;li&gt;A jQuery action() to be performed on the element(s) &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Examples: &lt;br /&gt;&lt;p&gt;$(this).hide() - hides current element &lt;br /&gt;&lt;p&gt;$(&quot;p&quot;).hide() - hides all paragraphs &lt;br /&gt;&lt;p&gt;$(&quot;p.test&quot;).hide() - hides all paragraphs with class=&quot;test&quot; &lt;br /&gt;&lt;p&gt;$(&quot;#test&quot;).hide() - hides the element with id=&quot;test&quot; &lt;br /&gt;  </content><link rel='replies' type='application/atom+xml' href='http://projectsofashok.blogspot.com/feeds/4365675878399906886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://projectsofashok.blogspot.com/2011/06/jquery-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/4365675878399906886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995795185513919756/posts/default/4365675878399906886'/><link rel='alternate' type='text/html' href='http://projectsofashok.blogspot.com/2011/06/jquery-introduction.html' title='JQuery : Introduction'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-HkNu0He8O_Y/TguB4s8mP0I/AAAAAAAAALs/CYf0v3QS78w/s72-c/jquery_normal_thumb.gif?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry></feed>