<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Rakibul Hasan's Web Blog</title><link>http://rhasan082.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rhasan082" /><description>blog of personal info, interests, technical info</description><language>en</language><managingEditor>noreply@blogger.com (Rakibul Hasan)</managingEditor><lastBuildDate>Sun, 27 Nov 2011 15:57:31 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">6</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="rhasan082" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>blog of personal info, interests, technical info</itunes:subtitle><item><title>Running Windows XP in Ubuntu using Virtual Box</title><link>http://rhasan082.blogspot.com/2008/05/running-windows-xp-in-ubuntu-using.html</link><category>Virtual Box</category><category>Ubuntu</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Sun, 25 May 2008 23:53:04 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-7754552200899951760</guid><description>Today I have Installed Virtual Box in my Ubuntu 7.10. It has two advantages:&lt;br /&gt;1) I can now run Windows Xp without rebooting the system.&lt;br /&gt;2) Can run some windows applications that seems necessary. &lt;br /&gt;       For example, while checking cross browser compatibility of web pages with different browser it reduces a lot of pain. &lt;br /&gt;       Running ASP.NET here from Ubuntu !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="font-weight:bold;"&gt;Installation:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I have followed the exact instruction given in &lt;a href="http://taufanlubis.wordpress.com/2008/03/24/virtual-box-in-ubuntu-%E2%80%93-install-windows-xp/"&gt;http://taufanlubis.wordpress.com/2008/03/24/virtual-box-in-ubuntu-%E2%80%93-install-windows-xp/&lt;/a&gt;&lt;br /&gt;It is an excellent tutorial for installing Windows Xp in Ubuntu Box&lt;br /&gt;&lt;br /&gt;&lt;div style="font-weight:bold;"&gt;Sharing Folders:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Here I am describing how to share/access  a file or folder of Ubuntu in Virtual Machin (XP).&lt;br /&gt;&lt;br /&gt;1) before running the Virtual machine(XP in this case) select your virtual drive and click ‘Settings‘ and then goto to ‘Shared Folders' and add a folder from your Ubuntu. For example if you want to get access of your /home/user_name/Download/WinProgram directory, just add this folder in shared folders. This will give your folder a name (usually 'WinProgram'). &lt;br /&gt;2) Start your VM, wait for XP to be fully loaded&lt;br /&gt;3) The newly loaded window( Windows Xp) has a top menu 'devices'. From here install the Virtual Box Guest Additions. You may need to download the .iso in this case&lt;br /&gt;3) Now from Windows command prompt run the following command  &lt;span style="font-style:italic;"&gt;net use x: \\vboxsrv\WinProgram&lt;/span&gt;. This will create a drive x in windows and will mount the shared folder named WinProgram of Virtual box in Xp.&lt;br /&gt;In this way you can access as much directories of Ubuntu as you need from XP.&lt;br /&gt;&lt;br /&gt;&lt;div style="font-weight:bold;"&gt;Installing Program for XP:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Yet to come...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-7754552200899951760?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-26T12:53:04.050+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Putting css, js, image in CodeIgniter</title><link>http://rhasan082.blogspot.com/2008/04/putting-css-js-image-in-codeigniter.html</link><category>PHP</category><category>CodeIgniter</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Thu, 03 Apr 2008 01:31:52 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-7101012792603137265</guid><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;I have the structure like :
&lt;br /&gt;   +system
&lt;br /&gt;       - application
&lt;br /&gt;       - resources
&lt;br /&gt;           + css
&lt;br /&gt;           -  image
&lt;br /&gt;               + test.jpg
&lt;br /&gt;           - javascript
&lt;br /&gt;               + test.js
&lt;br /&gt;     
&lt;br /&gt;+index.php
&lt;br /&gt;
&lt;br /&gt;Now in
&lt;br /&gt;========config.php=======
&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;$config['resource_url'] = 'system/application/resources/'; // relative to base_url
&lt;br /&gt;// all the resource related folder will be kept in resource folder
&lt;br /&gt;$config['image_folder']  = 'image';
&lt;br /&gt;$config['js_folder']  = 'javascript';
&lt;br /&gt;$config['css_folder']  = 'css';
&lt;br /&gt;
&lt;br /&gt;============== &lt;/b&gt;helper/my_helper.php ==============
&lt;br /&gt;
&lt;br /&gt;&lt;b&gt; config -&gt; item('base_url'). $CI -&gt; config -&gt; item('resource_url');
&lt;br /&gt;      $img_folder = $CI -&gt; config -&gt; item('image_folder') . '/';
&lt;br /&gt;      $js_folder = $CI -&gt; config -&gt; item('js_folder') . '/';
&lt;br /&gt;      $css_folder = $CI -&gt; config -&gt; item('css_folder') . '/';
&lt;br /&gt;    
&lt;br /&gt;      switch ($resrcType) {
&lt;br /&gt;   case 'css':
&lt;br /&gt;   case 'CSS':          
&lt;br /&gt;       return $resource_url . $css_folder. $resrcName;
&lt;br /&gt;   case 'js':
&lt;br /&gt;   case 'JS':
&lt;br /&gt;   case 'javascript':          
&lt;br /&gt;   case 'Javascript':          
&lt;br /&gt;       return $resource_url . $js_folder. $resrcName;
&lt;br /&gt;   case 'image':
&lt;br /&gt;   case 'Image':
&lt;br /&gt;   case 'img':          
&lt;br /&gt;   case 'Img':          
&lt;br /&gt;       return $resource_url . $img_folder. $resrcName;
&lt;br /&gt;   }
&lt;br /&gt;  }
&lt;br /&gt;}
&lt;br /&gt;
&lt;br /&gt;if (! function_exists('base_tag'))
&lt;br /&gt;{
&lt;br /&gt;  // the url is a relative url w.r.to base_url
&lt;br /&gt;  // if url != empty then make sure ist has trailing slash
&lt;br /&gt;  function base_tag($url = '') {
&lt;br /&gt;      $CI =&amp;amp; get_instance();
&lt;br /&gt;      return '&lt;xmp&gt;&amp;amp;amp;amp;lt;base href=""&amp;amp;amp;amp;gt; config -&amp;amp;amp;amp;gt; item('base_url').$url. '" /&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;xmp&amp;amp;amp;amp;gt;';&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;   }&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;}&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;?&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;================ &amp;amp;amp;amp;lt;/b&amp;amp;amp;amp;gt;viewpage.php ===============&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;xmp&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;b&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;?php echo base_tag(); ?&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;script type="text/javascript" src=""&amp;amp;amp;amp;gt;" /&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;Click &amp;amp;amp;amp;lt;a href="javascript:luck();"&amp;amp;amp;amp;gt;here dude&amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;Here is my logo &amp;amp;amp;amp;lt;img src="" /&amp;amp;amp;amp;gt;" alt="ci_logo" /&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt;&lt;/xmp&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/b&gt;&lt;b&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/b&gt;&lt;b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-7101012792603137265?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-03T14:31:52.902+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Case sensitivity of MySQL</title><link>http://rhasan082.blogspot.com/2008/01/case-sensitivity-of-mysql.html</link><category>MySQL</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Sat, 05 Jan 2008 21:29:45 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-964044808239500888</guid><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Whenever I develop projects  with  MySQL I don't get errors with my code in localhost(in windows XP - MySQL 5.1 )  But get errors in hosting server (MySQL 4.1.22) when I upload files. After some researching I get the following information from the online manual of MySQL - "The case sensitivity of the underlying operating system plays a part in the case sensitivity of database and table names. This means database and table names are not case sensitive in Windows, and case sensitive in most varieties of Unix."  &lt;br/&gt;&lt;br/&gt;So best way to use same case while developing . Instead of using 'myTable'  we  may  use  'mytable' or  'my_table'. (I prefer 2nd one). Thus code will be portable for any operating system. For more details follow the link below :&lt;br/&gt;&lt;br/&gt;&lt;a href='http://dev.mysql.com/doc/refman/5.1/en/identifier-case-sensitivity.html'&gt;http://dev.mysql.com/doc/refman/5.1/en/identifier-case-sensitivity.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-964044808239500888?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-06T11:29:45.764+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>My favourite Firefox add-ons and extenstions</title><link>http://rhasan082.blogspot.com/2008/01/my-favourite-firefox-add-ons-and.html</link><category>Firefox</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Sat, 05 Jan 2008 09:25:31 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-1089047747817359240</guid><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;b&gt;Browsing Purpose:&lt;br/&gt;&lt;/b&gt;1) Adblock Plus - Blocks unsafe contents of a site while browsing&lt;br/&gt;2) NoScript - Prevent unsafe script execution&lt;br/&gt;3) Cooliris - Preview page without loading the page&lt;br/&gt;and may also have&lt;br/&gt;4) ScribeFire - Helpful for blogger writer.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Web Development:&lt;/b&gt;&lt;br/&gt;1) Firebug&lt;br/&gt;2) HTML validator&lt;br/&gt;3) Web Developer&lt;br/&gt;4) YSlow&lt;br/&gt;and may also have&lt;br/&gt;5) FirePHP&lt;br/&gt;6) FireFTP&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-1089047747817359240?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-05T23:25:31.919+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Create different profile in Firefox</title><link>http://rhasan082.blogspot.com/2008/01/create-different-profile-in-firefox.html</link><category>Firefox</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Sat, 05 Jan 2008 09:06:04 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-686413549657798656</guid><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;Firefox has many extensions and add-on which are very much helpful for web development. But browsing  and developing in the same browser will slow down Firefox. Because for web developing we need to install many extensions which are actually not necessary for browsing and again for safe browsing we may need some add-on and extensions which are not required  for  web development. So my suggestion is to create different profile - one for browsing(default profile) and another for web development(let it's name WebDev). Here I am describing steps to create  new profile for  Firefox.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows XP:&lt;/b&gt;&lt;br /&gt;1) From the start menu Run -&gt; firefox -ProfileManager. As with parameter ProfileManager a new window will appear.&lt;br /&gt;2) click 'Create Profile' and following the instruction enter a name for the new profile. Let it's name 'WebDev'. And click finish button to successfully create the profile. The newly created profile will be saved in 'C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\'&lt;br /&gt;3) But now you can not run both profile  (default, WebDev) in different Firefox instance. To make sure you can run Firefox with different profile in different ff browser we need to create two  shortcuts of Firefox for two profiles. Now right click on shortcut for 'default' profile and edit the target from "C:\Program Files\Mozilla Firefox\firefox.exe" to "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote  -P default.&lt;br /&gt;Similarly for WebDev profile edit the target from "C:\Program Files\Mozilla Firefox\firefox.exe" to&lt;br /&gt;"C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote  -P WebDev.&lt;br /&gt;&lt;br /&gt;Now click on both shortcut and enjoy Firefox with different settings, add-ons, extensions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Linux:&lt;/b&gt;&lt;br /&gt;Yet to come....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-686413549657798656?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-05T23:06:04.044+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Speed up Firefox</title><link>http://rhasan082.blogspot.com/2008/01/speed-up-firefox.html</link><category>Firefox</category><author>noreply@blogger.com (Rakibul Hasan)</author><pubDate>Sat, 05 Jan 2008 09:09:38 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-33621100.post-8012164046765499179</guid><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;We can change our default firefox settings and thus speed up the performance.&lt;br /&gt;Type “about:config” into the address bar and hit return and edit the following entries :&lt;br /&gt;&lt;br /&gt;1) Set “&lt;b&gt;network.http.pipelining&lt;/b&gt;” to “&lt;i&gt;true&lt;/i&gt;”.&lt;br /&gt;2) Set “&lt;b&gt;network.http.proxy.pipelining&lt;/b&gt;” to “&lt;i&gt;true&lt;/i&gt;”.&lt;br /&gt;Normally the browser will make one request to a web page at a time.&lt;br /&gt;When you enable pipelining it will make several at once, which really&lt;br /&gt;speeds up page loading.&lt;br /&gt;3) Set “&lt;b&gt;network.http.pipelining.maxrequests&lt;/b&gt;” to some number like 30. This means it will make 30 requests at once.&lt;br /&gt;4) right-click anywhere and select New-&gt; Integer. Name it “&lt;b&gt;nglayout.initialpaint.delay&lt;/b&gt;” and set its&lt;br /&gt;value to “0″. This value is the amount of time the browser waits before&lt;br /&gt;it acts on information it receives.&lt;br /&gt;5) right-click anywhere and select New-&gt;Boolean. Name it “ &lt;b&gt;content.interrupt.parsing&lt;/b&gt;” and set its&lt;br /&gt;value to “true″. This preference controls whether the application will interrupt parsing&lt;br /&gt;a page to respond to UI events. It does not exist by default.&lt;br /&gt;6)  and many more ..... see the following links for more details.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://howto.helpero.com/howto/Speed-Up-Firefox_31.html"&gt;http://howto.helpero.com/howto/Speed-Up-Firefox_31.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html"&gt;http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33621100-8012164046765499179?l=rhasan082.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-05T23:09:38.303+06:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><media:rating>nonadult</media:rating></channel></rss>

