<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7804530867150518586</id><updated>2012-02-16T10:47:38.235+06:00</updated><category term='Marketting'/><category term='Freedom'/><category term='Microsoft'/><category term='Human Machine Interaction'/><category term='Email'/><category term='Technology'/><category term='HowTo'/><category term='Thumbrules'/><category term='CodeIgniter'/><category term='Anonymous'/><category term='dojo-0.4.3-Tree'/><category term='Windows'/><category term='Security'/><category term='url rewriting'/><category term='HMI'/><category term='Web'/><category term='Node.js'/><category term='Origami'/><category term='Flash'/><category term='Interesting'/><category term='css'/><category term='Opensource'/><category term='Parser'/><category term='.htaccess'/><category term='Video'/><category term='Dot Net'/><category term='Bypassing'/><category term='mongoDB'/><category term='Day Light Saving'/><category term='Mobile'/><category term='Social'/><category term='jQuery'/><category term='Internet'/><category term='MySQL'/><category term='php'/><category term='Can-Spam'/><category term='Music'/><category term='SAPI'/><category term='Web2.0'/><category term='Tips'/><category term='Fun'/><category term='Java'/><category term='Computer Vision'/><category term='SOAP'/><category term='C#'/><category term='Business'/><category term='dojo-0.4.3'/><category term='Tomcat'/><category term='Webservice'/><category term='Cloud Coumputing'/><category term='SEO'/><category term='Agile'/><category term='MTA'/><category term='Linux'/><category term='Socket'/><category term='Tools'/><category term='Bangladesh'/><category term='Hacking'/><category term='Free'/><category term='JavaScript'/><category term='Information'/><title type='text'>Stranger's WhiteBox</title><subtitle type='html'>In Search of the Perfect Light
to Feel the Colors
in the Dark !!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-278261129982365978</id><published>2012-02-12T12:03:00.000+06:00</published><updated>2012-02-12T12:34:24.897+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Dynamically add a group of fields using jQuery</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Its not a so tough thing, tough. Just wanted to keep a record and add a tip :)&amp;nbsp;Following&amp;nbsp;is the code I am using:&lt;br /&gt;&lt;br /&gt;&lt;iframe allowfullscreen="allowfullscreen" frameborder="0" src="http://jsfiddle.net/Fc3ET/7/embedded/" style="height: 300px; width: 100%;"&gt;&lt;/iframe&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br /&gt;I was facing a problem, when the groups of fields grows &amp;nbsp;more then the view area for each click to create&amp;nbsp;the window jumps to the top of the page; To resolve, to remain where I was creating the new fields I just added one line &lt;i&gt;return false&lt;/i&gt;&amp;nbsp;as the last line of the click even.&lt;br /&gt;Instead of remaining the same place if you want to scroll to some where else you can use the following jQuery plugin:&lt;br /&gt;&lt;a href="http://flesler.blogspot.com/2007/10/jqueryscrollto.html"&gt;&lt;b&gt;&lt;i&gt;scrollTo&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-278261129982365978?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/278261129982365978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2012/02/dynamically-add-group-of-fields-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/278261129982365978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/278261129982365978'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2012/02/dynamically-add-group-of-fields-using.html' title='Dynamically add a group of fields using jQuery'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-6854003413270456300</id><published>2012-02-08T13:43:00.000+06:00</published><updated>2012-02-08T13:51:49.201+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Manipulating Auto Increment values in MySql</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Set the MySql variables &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/replication-options-master.html#sysvar_auto_increment_increment"&gt;auto_increment_increment&lt;/a&gt; and &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/replication-options-master.html#sysvar_auto_increment_offset"&gt;auto_increment_offset&lt;/a&gt; variables.&lt;/li&gt;&lt;li&gt;Play with the Auto_Increment in Information schema.&lt;/li&gt;&lt;/ol&gt;To start with an AUTO_INCREMENT value other than 1, you can set that value with &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/create-table.html"&gt;CREATE TABLE&lt;/a&gt; or &lt;a href="http://dev.mysql.com/doc/refman/5.0/en/alter-table.html"&gt;ALTER TABLE&lt;/a&gt;, like this:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;ALTER TABLE tbl AUTO_INCREMENT = 100;&lt;/blockquote&gt;&lt;span id="internal-source-marker_0.8659802309703082"&gt;&lt;span style="background-color: white;"&gt;&lt;b&gt;&lt;span style="background-color: white; font-family: Verdana; font-size: 13px; font-style: italic; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt;It is not possible to confine the effects of these two variables to a single table, and thus they do not take the place of the sequences offered by some other database management systems; these variables control the behavior of all AUTO_INCREMENT columns in all tables on the MySQL server. If the global value of either variable is set, its effects persist until the global value is changed or overridden by setting the session value, or until &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/mysqld.html"&gt;mysqld&lt;/a&gt; is restarted. If the local value is set, the new value affects AUTO_INCREMENT columns for all tables into which new rows are inserted by the current user for the duration of the session, unless the values are changed during that session.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-6854003413270456300?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/6854003413270456300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2012/02/manipulating-auto-increment-values-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6854003413270456300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6854003413270456300'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2012/02/manipulating-auto-increment-values-in.html' title='Manipulating Auto Increment values in MySql'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7105028181532924203</id><published>2011-12-20T23:33:00.000+06:00</published><updated>2011-12-26T10:20:46.802+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Unload/Uninstall Trend Micro Office Scan client 10.5</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="Trend Micro.svg" src="http://upload.wikimedia.org/wikipedia/en/thumb/4/45/Trend_Micro.svg/250px-Trend_Micro.svg.png" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I wonder why to block the everything instead of trying to grow the culture for trust and reliability and ownership ? I wonder why this freaking &lt;i&gt;Trend Micro's Office Scan&lt;/i&gt; to narrow down the accesses ?! I was ok with it untill when they locked access to my external devices which is really essential for me to back all my things up. After couple of google here is the solution I got to &lt;i&gt;Unload(disable)&lt;/i&gt;&amp;nbsp;or &lt;i&gt;Uninstall&lt;/i&gt;&amp;nbsp;Trend Micro Client where a prompt comes up for a &lt;i&gt;password.&lt;/i&gt;&lt;br /&gt;&lt;span style="text-align: left;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;span style="text-align: left;"&gt;&lt;li&gt;Go to the &lt;i&gt;..\Trend Micro\OfficeScan Client&lt;/i&gt; directory.&amp;nbsp;Usually, it would be:&amp;nbsp;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="text-align: left;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="text-align: left;"&gt;C:\Program files\Trend Micro\Officescan Client\&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="text-align: left;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;span style="text-align: left;"&gt;&lt;li&gt;Locate and open the &lt;i style="font-weight: bold;"&gt;Ofcscan.ini&lt;/i&gt;[this is the file where all the configuration setting for the OfficeScan client is stored ]&amp;nbsp;file using any text editor.  You may use notepad to edit.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Find&amp;nbsp;&lt;b&gt;[INI_CLIENT_SECTION]&lt;/b&gt; section.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Change the value of the Uninstall_Pwd to&amp;nbsp;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="text-align: left;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="text-align: left;"&gt;!CRYPT!523F7DC2E525044E2800FCDEA7E5D78B70C0A4165387060525E3EE66D5D2D2F460EA361E712B5F871FD473C7A6C&lt;/span&gt;&lt;/blockquote&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Change the value of the Unload_Pwd to&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="text-align: left;"&gt;!CRYPT!523F7DC2E525044E2800FCDEA7E5D78B70C0A4165387060525E3EE66D5D2D2F460EA361E712B5F871FD473C7A6C&lt;/span&gt;&lt;/blockquote&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Save and close the file.&lt;/li&gt;&lt;li&gt;Right click on the &lt;i&gt;Officescan client&lt;/i&gt; on your system tray then click on &lt;i&gt;Unload Officescan&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Once it prompts you for the password type &lt;b&gt;&lt;i style="background-color: black;"&gt;trendmicro&lt;/i&gt;&lt;/b&gt; as the password.&lt;/li&gt;&lt;/ul&gt;You should be able to see your officescan client on the system disappear. Now you are free from all the blocking imposed by this tool. I can access my external devices... o la la :D&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Note:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;If you can't save the &lt;b&gt;&lt;i&gt;Ofscan.ini&lt;/i&gt;&amp;nbsp;&lt;/b&gt;file [windows 7] open the editor &lt;i&gt;as administrator&lt;/i&gt;&amp;nbsp;- right mouse on the editor program and click &lt;i&gt;run as administrator&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;If&amp;nbsp;&lt;i&gt;Client_Allow_Uninstall /&amp;nbsp;Client_Allow_Unload&amp;nbsp;&lt;/i&gt;set to &lt;i&gt;0&lt;/i&gt;&amp;nbsp;make it &lt;i&gt;1.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;If&amp;nbsp;&lt;i&gt;UnloadProtect&lt;/i&gt;&amp;nbsp;is set to &lt;i&gt;1&amp;nbsp;&lt;/i&gt;make it &lt;i&gt;0.&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7105028181532924203?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7105028181532924203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/12/unloaduninstall-trend-micro-office-scan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7105028181532924203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7105028181532924203'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/12/unloaduninstall-trend-micro-office-scan.html' title='Unload/Uninstall Trend Micro Office Scan client 10.5'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-1770092032050460576</id><published>2011-12-07T15:50:00.001+06:00</published><updated>2011-12-17T16:58:16.808+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Agile'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>My Instant Continuous Integration environment for development</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Q0SUSrJSQN4/Tuxu3ve4KJI/AAAAAAAAAW8/Lvx2qMxuk-U/s1600/ci_cicle.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-Q0SUSrJSQN4/Tuxu3ve4KJI/AAAAAAAAAW8/Lvx2qMxuk-U/s320/ci_cicle.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;A simplest dev environment for continuous integration for a dev team [considering a &lt;b&gt;&lt;i&gt;php &lt;/i&gt;&lt;/b&gt;project with &lt;b&gt;&lt;i&gt;mysql&lt;/i&gt;&lt;/b&gt; db] :&lt;br /&gt;1. Install &lt;a href="http://www.visualsvn.com/server/"&gt;&lt;b&gt;&lt;i&gt;Visual SVN server&lt;/i&gt;&lt;/b&gt;&lt;/a&gt; - its for windows and easy to install and manage SVN server.&lt;br /&gt;2. Create a post commit hook for the repo; to do that - In the VisualSVN Server GUI Tool:&lt;br /&gt;-Select your repository&lt;br /&gt;-Right click Properties Select the Hooks tab&lt;br /&gt;-Select the Post-commit hook&lt;br /&gt;-Click the Edit button.&lt;br /&gt;-Enter a line like this into the textbox: &lt;br /&gt;&lt;blockquote class="tr_bq"&gt;c:\program files\visualsvn server\bin\svn.exe" export https://svn.yourserver.com:4433/svn/YourRepository/Websites/YourWebsite/ C:\inetpub\wwwroot\YourWebsite --quiet --non-interactive --force --username youruser --password yourpassword&lt;/blockquote&gt;-Click Ok.&lt;br /&gt;3. Now for the DB Sync follow the steps in the following article : [However, you might need some modification to meet your need]&lt;br /&gt;&lt;a href="http://www.decodephp.com/2008/09/29/svn-and-mysql-schema-synchronization/"&gt;http://www.decodephp.com/2008/09/29/svn-and-mysql-schema-synchronization/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Surely, You can add more flavor to this environment, like you can add a script to run each day so that it grabs all the commit logs and emails to the test team and/or stack holders or may to the entire team - so that everybody remains better informed.&lt;br /&gt;&lt;br /&gt;Hope this will help us a to remain synced in an &lt;b&gt;&lt;i&gt;Agile &lt;/i&gt;&lt;/b&gt;team.&lt;br /&gt;Those who is not aware of the term &lt;i&gt;Continuous Integration,&lt;/i&gt;&amp;nbsp;you can check this &lt;a href="http://en.wikipedia.org/wiki/Continuous_integration"&gt;wikipedia link&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-1770092032050460576?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/1770092032050460576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/12/my-instant-continuous-integration.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1770092032050460576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1770092032050460576'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/12/my-instant-continuous-integration.html' title='My Instant Continuous Integration environment for development'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Q0SUSrJSQN4/Tuxu3ve4KJI/AAAAAAAAAW8/Lvx2qMxuk-U/s72-c/ci_cicle.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4939110785810410276</id><published>2011-11-13T13:05:00.001+06:00</published><updated>2011-12-20T23:40:32.112+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opensource'/><category scheme='http://www.blogger.com/atom/ns#' term='HowTo'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mongoDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Installing php driver for MongoDB</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;img alt="PHP" src="http://static.php.net/www.php.net/images/php_snow_2008.gif" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="font-size: x-large;"&gt;&amp;amp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;img alt="mongoDB" height="82" src="http://media.mongodb.org/logo-mongodb.png" width="200" /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This is the post where I will configure php to work with mongoDB. On &lt;a href="http://strangerzlog.blogspot.com/2011/11/starting-mongodb-and-php-on-ubuntu.html"&gt;my previous post&lt;/a&gt; I have put the teps I followed to install &lt;i&gt;mongoDB&lt;/i&gt;&amp;nbsp;on my Ubuntu [&lt;i&gt;TurnKey Linux&lt;/i&gt;] running on VirtualBox.&lt;br /&gt;&lt;b&gt;1.Run:&lt;/b&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;sudo pecl install mongo&lt;/blockquote&gt;&lt;b&gt;2.Open your &lt;i&gt;php.ini file&lt;/i&gt; and add to it:&lt;/b&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;extension=mongo.so&lt;/blockquote&gt;It is recommended to add this to the section with the other "extensions", but it will work from anywhere within the php.ini file.&lt;br /&gt;&lt;b&gt;3.Restart your web server (Apache, nginx, etc.) for the change to take effect.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;Note:&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;pecl requires that &lt;a href="http://pear.php.net/"&gt;pear&lt;/a&gt; be installed. For those using apt-get, you may need to run the following:&lt;/i&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt;sudo apt-get install php5-dev php5-cli php-pear&lt;/i&gt;&lt;/blockquote&gt;However, you can download the source for the driver and can compile it manually :&lt;br /&gt;&lt;blockquote&gt;shell&amp;gt; tar -xzvf mongo-1.2.6.tar.gz&lt;br /&gt;shell&amp;gt; cd mongo-1.2.6&lt;br /&gt;shell&amp;gt; phpize&lt;br /&gt;shell&amp;gt; ./configure&lt;br /&gt;shell&amp;gt; make&lt;br /&gt;shell&amp;gt; make install&lt;/blockquote&gt;Check with the &lt;i&gt;phpinfo&lt;/i&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-1X-iaH1q0eI/Tr9vZU_AyLI/AAAAAAAAAWw/1mHiVSbfxL4/s1600/mongoCheck.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-1X-iaH1q0eI/Tr9vZU_AyLI/AAAAAAAAAWw/1mHiVSbfxL4/s1600/mongoCheck.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4939110785810410276?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4939110785810410276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/php-to-mongodb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4939110785810410276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4939110785810410276'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/php-to-mongodb.html' title='Installing php driver for MongoDB'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-1X-iaH1q0eI/Tr9vZU_AyLI/AAAAAAAAAWw/1mHiVSbfxL4/s72-c/mongoCheck.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4945753173247422408</id><published>2011-11-13T12:40:00.001+06:00</published><updated>2011-12-20T23:42:13.071+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opensource'/><category scheme='http://www.blogger.com/atom/ns#' term='HowTo'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mongoDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Starting MongoDB and php on Ubuntu</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Installing &lt;/span&gt;&lt;a href="http://www.mongodb.org/" style="font-size: x-large;"&gt;MongoDB&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; on Ubuntu:&lt;/span&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;/ul&gt;&lt;b&gt;1. Add 10gen package to &lt;i style="text-align: left;"&gt;source.list&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;The 10gen package contains the latest mongoDB version, append below line to the end of the file “&lt;i&gt;/etc/apt/sources.list&lt;/i&gt;”&lt;br /&gt;&lt;blockquote class="tr_bq" style="text-align: left;"&gt;deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen&lt;/blockquote&gt;For example, you can vim the “source.list” and append the 10gen package like this :&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;$ sudo vim /etc/apt/sources.list&lt;/blockquote&gt;&lt;i&gt;File : /etc/apt/sources.list&lt;/i&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;#...content omitted ...&lt;br /&gt;## This software is not part of Ubuntu, but is offered by third-party&lt;br /&gt;## developers who want to ship their latest software.&lt;br /&gt;deb http://extras.ubuntu.com/ubuntu natty main&lt;br /&gt;deb-src http://extras.ubuntu.com/ubuntu natty main&lt;br /&gt;&amp;nbsp;#mongo repo ##########&lt;br /&gt;deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;2.&amp;nbsp;Update package&lt;/b&gt;&lt;br /&gt;Update the modified &lt;i&gt;“/etc/apt/sources.list&lt;/i&gt;” :&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;sudo apt-get update&lt;/blockquote&gt;Now, a new “mongodb-10gen – An object/document-oriented database” is available for install.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &lt;b&gt;3. Add GPG Key&lt;/b&gt;&lt;/div&gt;10gen package required GPG key, import it :&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10&lt;/blockquote&gt;&lt;div&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;4. Install mongodb-10gen&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Everything is ready, now you can Install the mongoDB package :&lt;/div&gt;&lt;div&gt;&lt;blockquote class="tr_bq"&gt;sudo apt-get install mongodb-10gen&lt;/blockquote&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; 5. Post-InstallationVerification&lt;/b&gt;&lt;/div&gt;Now, mongoDB is installed, started, and auto start mongoDB script is generated to “/etc/init/mongo” and “/etc/init.d/mongo“. In addition, all mongoDB files are copied to “/usr/bin” folder.&lt;br /&gt;&lt;br /&gt;The main configuration file “mongodb.conf” is located at “/etc/mongodb.conf“, change the values to customize your mongoDB server.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;File : mongodb.conf&lt;/i&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;# mongodb.conf&lt;br /&gt;# Where to store the data.&lt;br /&gt;# Note: if you run mongodb as a non-root user (recommended) you may&lt;br /&gt;# need to create and set permissions for this directory manually,&lt;br /&gt;# e.g., if the parent directory isn't mutable by the mongodb user.&lt;br /&gt;dbpath=/var/lib/mongodb&lt;br /&gt;#where to log&lt;br /&gt;logpath=/var/log/mongodb/mongodb.log   logappend=true&lt;br /&gt;#port = 27017&lt;br /&gt;#......&lt;/blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;6. Verification&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;To verify it, just connect it with “mongo”&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;$ mongo&lt;br /&gt;MongoDB shell version: 1.8.1connecting to: test&lt;br /&gt;&amp;gt;&lt;/blockquote&gt;on&lt;a href="http://strangerzlog.blogspot.com/2011/11/php-to-mongodb.html"&gt; my next post&lt;/a&gt; I will try to connect php with this mongoDB.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4945753173247422408?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4945753173247422408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/starting-mongodb-and-php-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4945753173247422408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4945753173247422408'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/starting-mongodb-and-php-on-ubuntu.html' title='Starting MongoDB and php on Ubuntu'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2924734050148089681</id><published>2011-11-04T18:34:00.002+06:00</published><updated>2011-11-04T18:34:32.987+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Parser'/><category scheme='http://www.blogger.com/atom/ns#' term='Email'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Parsing Email with PHP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I was working for a &lt;i&gt;Email Advertisement&lt;/i&gt;&amp;nbsp;tool,recently. And the first thing I was put to work with is to develop a parser that parses and incoming email and decides whether it is a &lt;i&gt;bounced back&lt;/i&gt;&amp;nbsp;email. After couple of googling I got some &lt;i&gt;fare enough&lt;/i&gt;&amp;nbsp;solution that I wanted to use for the solution. The steps I followed for the solution are adopted from the following :&lt;br /&gt;&lt;a href="http://forums.theplanet.com/index.php?showtopic=89873"&gt;HOWTO: Email Bounce handling with PHP, Exim &amp;amp; CPanel, Catch bounces from non-deliverable emails&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And the very basic parser I wrote can be downloaded from the following location:&lt;br /&gt;&lt;a href="http://www.4shared.com/file/Q1D3BhCP/bouncemanager.html"&gt;&lt;i&gt;Download the email parser for bounce management&lt;/i&gt;&lt;/a&gt;&lt;br /&gt;[Bascially It's a &lt;i&gt;codeIgniter&lt;/i&gt;&amp;nbsp;controller, but you can use it as you wanna use it]&lt;br /&gt;&lt;br /&gt;However, I had to go some more details parsing, later to decide the type of &lt;i&gt;bounce&lt;/i&gt;&amp;nbsp;or the reason for the &lt;i&gt;bounce.&lt;/i&gt;First I tried parsing the log file for the exim [&lt;i&gt;exim_mainlog &lt;/i&gt;file] and then parsing the entire body of the bounced back emails. I will share two more posts on them in this series.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2924734050148089681?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2924734050148089681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/parsing-email-with-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2924734050148089681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2924734050148089681'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/11/parsing-email-with-php.html' title='Parsing Email with PHP'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7532870402250831564</id><published>2011-10-03T10:23:00.000+06:00</published><updated>2011-12-08T22:46:13.408+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Hack a Blackberry 9700 Bold to access internet without BlackBerry data service</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://st2.gsmarena.com/vv/pics/blackberry/BlackBerry-Bold-9700.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="170" src="http://st2.gsmarena.com/vv/pics/blackberry/BlackBerry-Bold-9700.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;[I kept this post for long as Draft; thought I shud l publish; ]&lt;br /&gt;Playing with the Blackberry 9700 from Sujoy who was not using it because it cost a lot to enable Blackberry service with the Operators who are offering BB services.&lt;br /&gt;&lt;div&gt;So I picked it up just to see why should such a device left unused just because some kinda service is not available or bcz its expensive. Following are the things what I am currently doing with it :&lt;/div&gt;&lt;div&gt;&lt;b&gt;Setting the Internet connection without the Blackberry data service :&lt;/b&gt;&lt;br /&gt;First of all you have to set up your tcp settings. In your BlackBerry menu go to =&amp;gt; Options - Advanced Options - TCP and enter your APN information for your GSM Service.You can ask your customer care for the APN information.When you finish the settings you need a browser to surf the net. The best one is&amp;nbsp;&lt;a href="http://www.operamini.com/download"&gt;Opera Mini Browser.&lt;/a&gt; You download the Opera Browser to your BlackBerry and in the Opera Browser menu you go through automatic network setup. Once the Opera Browser finds out your settings you are ready to surf the net from you BlackBerry for free. (Excluding standart connection charges- for the GPRS/Edge from your GSM service provider)&lt;/div&gt;&lt;div&gt;Happy, browsing then without paying the BB service :P.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7532870402250831564?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7532870402250831564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/10/hack-blackberry-9700-bold-to-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7532870402250831564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7532870402250831564'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/10/hack-blackberry-9700-bold-to-access.html' title='Hack a Blackberry 9700 Bold to access internet without BlackBerry data service'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-1485990840631582835</id><published>2011-07-02T13:38:00.000+06:00</published><updated>2011-09-18T15:12:06.120+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Web2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Node.js'/><title type='text'>Node.js : Simple push from server to browser</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here you go a test that a &lt;i&gt;tasted &lt;/i&gt;while&amp;nbsp;playing with &lt;i&gt;Nodejs.&lt;/i&gt;I must say that it is a great fun playing with &lt;i&gt;Nodejs.&lt;/i&gt;I always love to create real time environment for the web. Here is a little example of it. With this piece of code you'll be able to monitor any changes in a file in &lt;i&gt;real time&lt;/i&gt;&amp;nbsp;directly from your browser. Nothing too &lt;i&gt;efficient&lt;/i&gt;&amp;nbsp;but still a very good start.&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;iframe frameborder="0" height="550" src="http://player.vimeo.com/video/16170925?title=0&amp;amp;byline=0&amp;amp;portrait=0&amp;amp;color=12e62b" width="800"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;My flavor&lt;/i&gt; : On this video you will see &lt;i&gt;Pedro &lt;/i&gt;is using a log file. Instead, I used a simple text file and updated the file manually.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-v87_kVbuI20/Tg7TAV-zisI/AAAAAAAAAUc/8m0BBeQSqdM/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="253" src="http://3.bp.blogspot.com/-v87_kVbuI20/Tg7TAV-zisI/AAAAAAAAAUc/8m0BBeQSqdM/s640/Untitled.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;Issue I faced &lt;/i&gt;: Din work for me on &lt;i&gt;google chrome &lt;/i&gt;but was good on firefox. After investigation here seems a little convincing reason :&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/6068820/node-js-problems-with-response-write"&gt;http://stackoverflow.com/questions/6068820/node-js-problems-with-response-write&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For getting started with &lt;i&gt;&amp;nbsp;&lt;b&gt;Node.js&lt;/b&gt;, &lt;/i&gt;&amp;nbsp;You'll get a complete set of video tutorials at the following location :&lt;br /&gt;&lt;a href="http://nodetuts.com/"&gt;http://nodetuts.com/&lt;/a&gt;&amp;nbsp;[the video I have shared here is the second episode from the series]&lt;br /&gt;&lt;br /&gt;Happy Techifying the world :) &amp;nbsp;&amp;nbsp;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-1485990840631582835?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/1485990840631582835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/07/nodejs-simple-push-to-browser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1485990840631582835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1485990840631582835'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/07/nodejs-simple-push-to-browser.html' title='Node.js : Simple push from server to browser'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-v87_kVbuI20/Tg7TAV-zisI/AAAAAAAAAUc/8m0BBeQSqdM/s72-c/Untitled.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3290459990955022550</id><published>2011-07-02T12:57:00.000+06:00</published><updated>2011-10-03T10:34:10.802+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Simple Hacks for windows using regedit</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Following is a list of some interesting restrictions, which can be made in Windows 2000, XP, 2003, Vista, 2008 and 7. Like you can restrict Display properties, task bar properties, folder options, etc. All tricks are based on Registry editing. So I'll tell the key name and the value, that you have to create for the restriction. If the key is not present, then simply create it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.) Restrict Display Properties:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System&lt;br /&gt;create DWORD value NoDispCPL and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.) Restrict Taskbar Properties:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoSetTaskbar and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3.) Restrict Folder Options:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoFolderOptions and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4.) Restrict Locking/Unlocking the taskbar:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value LockTaskbar and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5.) Restrict Active Desktop:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoActiveDesktop and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;6.) Restrict adding/deleting items from Toolbars:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoToolbarCustomize and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;7.) Restrict adding/deleting toolbars:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoBandCustomize and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;8.) Restrict right-click in Start Menu:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value NoChangeStartMenu and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;9.) Restrict Desktop Cleanup Wizard:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value No Desktop Clean up Wizard and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;10.) Restrict notification at low disk space:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value No Low Disk Space Checks and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;11.) Restrict Taskbar Context Menu:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;create DWORD value No Tray Context Menu and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;12.) Restrict Programs to run:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer\DisallowRun&lt;br /&gt;create String value with any name, like 1 and set its value to the program's EXE file.&lt;br /&gt;e.g., If you want to restrict msconfig, then create a String value 1 and set its value to msconfig.exe. If you want to restrict more programs, then simply create more String values with names 2, 3 and so on and set their values to the program's exe.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;13.) Restrict Registry Editor:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System&lt;br /&gt;create DWORD value Disable Registry Tools and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;14.) Restrict Task Manager:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System&lt;br /&gt;create DWORD value Disable TaskMgr and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;15.) Restrict Writing to USB Drives:&lt;/b&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\ ControlSet \Control\ Storage Device Policies&lt;br /&gt;Create DWORD value Write Protect and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;16.) Restrict New option in context menu:&lt;/b&gt;&lt;br /&gt;HKEY_CLASSES_ROOT\Directory\Background\ shellex\ Context Menu Handlers\New&lt;br /&gt;And delete the value of Default, e.g., empty it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;17.) Restrict Send To in context menu:&lt;/b&gt;&lt;br /&gt;HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenu Handlers\Send To&lt;br /&gt;And delete the value of Default, e.g., empty it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;18.) Restrict Balloon Tips:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\Advanced&lt;br /&gt;Create DWORD value EnableBalloonTips and set its value to 0&lt;br /&gt;&lt;br /&gt;&lt;b&gt;19.) Restrict Users to enable New XP StartMenu:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;Create DWORD value No Simple Start Menu and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;20.) Restrict Command Prompt:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System&lt;br /&gt;Create DWORD value Disable CMD and set its value to 2&lt;br /&gt;&lt;br /&gt;&lt;b&gt;21.) Restrict Drives in My Computer:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;In right-side pane, create a new DWORD value No View On Drive and change its value as following:&lt;br /&gt;&lt;br /&gt;3 : To Restrict A and B drives only.&lt;br /&gt;4 : To Restrict C drive only.&lt;br /&gt;7 : To Restrict A, B, and C drives only.&lt;br /&gt;8 : To Restrict D drive only.&lt;br /&gt;F : To Restrict A, B, C, and D drives only.&lt;br /&gt;03FFFFFF : To Restrict all drives.&lt;br /&gt;&lt;br /&gt;And if you want more specific restrictions, like you want to restrict a combination of other drives, then you can use decimal no. instead of hexadecimal no. Following is a list for all drives decimal no.:&lt;br /&gt;&lt;br /&gt;A: 1&lt;br /&gt;B: 2&lt;br /&gt;C: 4&lt;br /&gt;D: 8&lt;br /&gt;E: 16&lt;br /&gt;F: 32&lt;br /&gt;G: 64&lt;br /&gt;H: 128&lt;br /&gt;I: 256&lt;br /&gt;J: 512&lt;br /&gt;K: 1024&lt;br /&gt;L: 2048&lt;br /&gt;M: 4096&lt;br /&gt;N: 8192&lt;br /&gt;O: 16384&lt;br /&gt;P: 32768&lt;br /&gt;Q: 65536&lt;br /&gt;R: 131072&lt;br /&gt;S: 262144&lt;br /&gt;T: 524288&lt;br /&gt;U: 1048576&lt;br /&gt;V: 2097152&lt;br /&gt;W: 4194304&lt;br /&gt;X: 8388608&lt;br /&gt;Y: 16777216&lt;br /&gt;Z: 33554432&lt;br /&gt;ALL: 67108863&lt;br /&gt;&lt;br /&gt;So if you want to disable a combination of drives, just sum their numbers and give the same value to NoViewOnDrive. e.g., for restricting C, D, E and F drives, give the value: 4+8+16+32 = 60&lt;br /&gt;&lt;i&gt;NOTE:&lt;/i&gt; You can also hide the drives using No Drives DWORD value. The location and its value remain same as the above trick.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;22.) Restrict RUN in New XP Start Menu:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;Create DWORD value No Run and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;b&gt;23.) Restrict Control Panel:&lt;/b&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer&lt;br /&gt;Create DWORD value No Control Panel and set its value to 1&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;blockquote&gt;NOTE: If you want to remove the restriction, then simply delete the DWORD value or set its value to 0&lt;/blockquote&gt;&lt;div&gt;So, that's some simple hacks that you can try to fight the battle against any virus, worms, trojan horse, malware or spyware or even your &lt;i&gt;naive&lt;/i&gt;&amp;nbsp;system admin :P Have fun :) .&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3290459990955022550?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3290459990955022550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/07/simple-hacks-using-regedit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3290459990955022550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3290459990955022550'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/07/simple-hacks-using-regedit.html' title='Simple Hacks for windows using regedit'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-279863330814055508</id><published>2011-06-23T15:15:00.000+06:00</published><updated>2011-06-23T15:15:29.304+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='SAPI'/><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Fun with SAPI</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Following vb script pronounces what you write- I tried on my win7 box and I thought it's fun to get started with SAPI. Write the code on &lt;i&gt;Notepad&lt;/i&gt;&amp;nbsp;and save the file with&amp;nbsp;extension .&lt;i&gt;vbs&lt;/i&gt;. Then clicking the vb script file will show you the following window - write what you want to listen on the text box and press ok, did you hear that ? :P&amp;nbsp;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Wt_O7iavKLw/TgMD98rQ2wI/AAAAAAAAASM/kuK1yQRYLw8/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="165" src="http://2.bp.blogspot.com/-Wt_O7iavKLw/TgMD98rQ2wI/AAAAAAAAASM/kuK1yQRYLw8/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have some more idea based on it; do you ? Will share once I can create some more fun with it :)&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-279863330814055508?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/279863330814055508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/06/fun-with-sapi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/279863330814055508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/279863330814055508'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/06/fun-with-sapi.html' title='Fun with SAPI'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Wt_O7iavKLw/TgMD98rQ2wI/AAAAAAAAASM/kuK1yQRYLw8/s72-c/Capture.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2103518192357492268</id><published>2011-06-08T15:39:00.000+06:00</published><updated>2011-07-02T11:42:41.661+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Web2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Node.js'/><title type='text'>Free hosting and services for Node.js</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="margin-left: 1em; margin-right: 1em;"&gt;&lt;a href="http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s1600/logo.png" imageanchor="1" style="clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="52" src="http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s200/logo.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;If you wanna start playing with &lt;i style="font-weight: bold;"&gt;Node.js&lt;/i&gt;&amp;nbsp;the best way I think is burning a box with Ubuntu or CentOS and start with installing and creating simple &lt;i&gt;hello world &lt;/i&gt;&amp;nbsp;servers. But if the box is instantly not available to you and you are dieing of &lt;i&gt;testing (!! or tasting !!)&lt;/i&gt;&amp;nbsp;this incredible technology (it is already being called the future of web !!) then there are some good folks who have come up with the solutions where you can experiment with your thirst for &lt;i style="font-weight: bold;"&gt;Node.js&lt;/i&gt;.&lt;br /&gt;As I always try to check &lt;i&gt;how it works &lt;/i&gt;first - instead&lt;br /&gt;of starting from the &lt;i&gt;root&lt;/i&gt;&amp;nbsp;of it - I was looking for free&lt;br /&gt;hosting that comes up with &lt;b&gt;&lt;i&gt;Node.js&lt;/i&gt;&lt;/b&gt; already built in and easy-to-utilize. Here I am going to share the list of them and my experience and/or what others think of them :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-6NCUkfjm9AI/Te9BvHCKikI/AAAAAAAAAR8/TeiXghubH_g/s1600/Capture.PNG" imageanchor="1" style="clear: right; display: inline !important; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="110" src="http://1.bp.blogspot.com/-6NCUkfjm9AI/Te9BvHCKikI/AAAAAAAAAR8/TeiXghubH_g/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;Nodester : &lt;/b&gt;Fair enough. Just registered will update the review soon. Ref link :&amp;nbsp;&lt;a href="http://nodester.com/"&gt;http://nodester.com/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-WfG-_-1n-aM/Te9C8iqby7I/AAAAAAAAASA/Nq9NiD-LS40/s1600/Capture.PNG" imageanchor="1" style="clear: right; display: inline !important; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="80" src="http://4.bp.blogspot.com/-WfG-_-1n-aM/Te9C8iqby7I/AAAAAAAAASA/Nq9NiD-LS40/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/-vkw97tmDaPU/Te9E-67G6eI/AAAAAAAAASE/Ar16QhfkEjc/s1600/Capture.PNG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="78" src="http://3.bp.blogspot.com/-vkw97tmDaPU/Te9E-67G6eI/AAAAAAAAASE/Ar16QhfkEjc/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;li&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;Nodejitsu. :&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;(Seems the folks are fond of Martial Arts :P )&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Still not open for public. Request only. I have requested for a Coupon- don get the response yet- but seems good enough. Ref link :&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://nodejitsu.com/"&gt;http://nodejitsu.com/&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Joyent Node: &lt;/b&gt;I kinda like there url :&amp;nbsp;&lt;a href="http://no.de/"&gt;http://no.de&lt;/a&gt;. Just requested for a coupon and waiting for the response. will update with my experience soon.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-DV8qh39-tkU/TfNbWM140-I/AAAAAAAAASI/Dgmj_NDHR9w/s1600/Capture.PNG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="94" src="http://3.bp.blogspot.com/-DV8qh39-tkU/TfNbWM140-I/AAAAAAAAASI/Dgmj_NDHR9w/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;Duostack : &lt;/b&gt;Free for the first instance of your app. Ref link :&amp;nbsp;&lt;a href="https://www.duostack.com/"&gt;https://www.duostack.com/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/ul&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2103518192357492268?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2103518192357492268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/06/free-hosting-and-services-for-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2103518192357492268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2103518192357492268'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/06/free-hosting-and-services-for-nodejs.html' title='Free hosting and services for Node.js'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s72-c/logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2183513153701213666</id><published>2011-05-30T13:36:00.000+06:00</published><updated>2011-06-07T11:29:29.248+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Node.js'/><title type='text'>Playing with Node.js</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s1600/logo.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="84" src="http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s320/logo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;I was watching a lot of noises speaking high about an incredible technology - a server framework : &lt;b&gt;&lt;i&gt;&lt;a href="http://www.nodejs.org/"&gt;Node.js&lt;/a&gt;.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;I was looking for a chance to play with it and this is what I was doing for the last two hours :&lt;br /&gt;&lt;b&gt;Installing Node.js on CentOS box :&lt;/b&gt;&lt;br /&gt;1. You will need gc++ if you wanna compile from the source ; so if you don have it just do :&lt;br /&gt;&lt;blockquote&gt;yum install gc-c++&lt;/blockquote&gt;2. You will need python; if you don have it already just do :&lt;br /&gt;&lt;blockquote&gt;yum install python&lt;/blockquote&gt;3. Now download the Node.js source available as tarball from the website :&amp;nbsp;&lt;b&gt;&lt;i&gt;&lt;a href="http://www.nodejs.org/"&gt;Node.js&lt;/a&gt;.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;4. Extract the tarball, cd within the directory and sequncially do the following :&lt;br /&gt;&lt;blockquote&gt;./configure&lt;/blockquote&gt;&lt;blockquote&gt;make&lt;/blockquote&gt;&lt;blockquote&gt;make install&lt;/blockquote&gt;5. Hurrah, most possibly you are done ;) You wanna check ? just do :&lt;br /&gt;&lt;blockquote&gt;node --version&lt;/blockquote&gt;possibly you are seeing the installed node version :)&lt;br /&gt;&lt;br /&gt;On the next post I will try to create couple of example apps to play even more with Node.js.So, Stay tuned :P&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2183513153701213666?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2183513153701213666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/05/playing-with-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2183513153701213666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2183513153701213666'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/05/playing-with-nodejs.html' title='Playing with Node.js'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-q1cqabQ-vlg/TeNItIBIkHI/AAAAAAAAAR4/3xTXk6_rcrE/s72-c/logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-9017488550066619069</id><published>2011-04-06T13:55:00.000+06:00</published><updated>2011-05-23T12:49:59.476+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Installing ffmpeg and other extensions and tools to use with php</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-3w13AE21u3I/TdoDfcnp9QI/AAAAAAAAAR0/HkNWuYG9N7c/s1600/ffmpeg-logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="80" src="http://4.bp.blogspot.com/-3w13AE21u3I/TdoDfcnp9QI/AAAAAAAAAR0/HkNWuYG9N7c/s320/ffmpeg-logo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Installing FFMpeg&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;yum install ffmpeg ffmpeg-devel&lt;/blockquote&gt;If you get package not found, then you will need to add few lines in the yum repository for dag packages installation. Create a file named&lt;b&gt;&lt;i&gt; dag.repo&lt;/i&gt;&lt;/b&gt; in &lt;b&gt;&lt;i&gt;/etc/yum.repos.d&lt;/i&gt;&lt;/b&gt; with the following contents on it&lt;br /&gt;&lt;blockquote&gt;[dag]&lt;br /&gt;name=Dag RPM Repository for Red Hat Enterprise Linux&lt;br /&gt;baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag&lt;br /&gt;gpgcheck=1&lt;br /&gt;enabled=1&lt;/blockquote&gt;then&lt;br /&gt;&lt;blockquote&gt;yum install ffmpeg ffmpeg-devel&lt;/blockquote&gt;If everything is fine, then the installation should proceed smoothly. If not you will get something like warning GPG public key missing .&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small; font-weight: normal;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small; font-weight: normal;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Common Errors&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;To fix rpmforge GPG key warning:&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;/blockquote&gt;For more information refer to &lt;a href="http://dag.wieers.com/rpm/FAQ.php#B4"&gt;this faq &lt;/a&gt;depending on Centos version&lt;br /&gt;&lt;b&gt;Missing Dependency Error:&lt;/b&gt;&lt;br /&gt;If you get missing dependency error like shown below, in the middle of ffmpeg installation&lt;br /&gt;&lt;blockquote&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package ffmpeg&lt;br /&gt;Error: Missing Dependency: libtheora.so.0(libtheora.so.1.0) is needed by package ffmpeg&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package ffmpeg&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package imlib2&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package a52dec&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package imlib2&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package gsm&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package x264&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package xvidcore&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package lame&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package a52dec&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package faad2&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package x264&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package lame&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package xvidcore&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package faac&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package faad2&lt;br /&gt;Error: Missing Dependency: libgif.so.4 is needed by package imlib2&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package faac&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package gsm&lt;br /&gt;Error: Missing Dependency: libpng12.so.0(PNG12_0) is needed by package imlib2&lt;br /&gt;Error: Missing Dependency: rtld(GNU_HASH) is needed by package libmp4v2&lt;br /&gt;Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package libmp4v2&lt;/blockquote&gt;then most commonly you have GLIB 2.3 installed instead of GLIB 2.4 version. To check the current GLIB version installed on your server. just use&lt;br /&gt;&lt;blockquote&gt;yum list glib*&lt;/blockquote&gt;and it should list the latest GLIB package version.&lt;br /&gt;&lt;br /&gt;The reason i was getting this error was my rpmforge packages was pointed to centos 5 versions instead of centos 4.6.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;To fix dependency error:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To fix this error, you might need to check your rpmforge packages compatible to the release of your existing CentOS version. &lt;br /&gt;Check the file /etc/yum.repos.d/rpmforge.repo and it should look like for Centos 4.6(Final). If you have lines like http://apt.sw.be/redhat/el5/en/mirrors-rpmforge you might need to make changes to therpmforge.repos like shown below&lt;br /&gt;&lt;br /&gt;Note: Backup the original rpmforge.repo file before you edit its content.&lt;br /&gt;&lt;blockquote&gt;[rpmforge]&lt;br /&gt;name = Red Hat Enterprise $releasever - RPMforge.net - dag&lt;br /&gt;#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag&lt;br /&gt;mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge&lt;br /&gt;#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge&lt;br /&gt;enabled = 1&lt;br /&gt;protect = 0&lt;br /&gt;gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag&lt;br /&gt;gpgcheck = 1&lt;/blockquote&gt;To know what linux type and version you are running&lt;br /&gt;&lt;blockquote&gt;cat /etc/redhat-release&lt;/blockquote&gt;Once this is done, do again yum install ffmpeg.&lt;br /&gt;This trick resolved the problem in my linux box running Centos 4.6 and this is the only way i found to install ffmpeg using yum. &lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;To check the FFmpeg working:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Finally, check the ffmpeg whether it is working or not.&lt;br /&gt;&lt;blockquote&gt;ffmpeg&lt;br /&gt;ffmpeg -formats&lt;br /&gt;ffmpeg --help&lt;/blockquote&gt;// This lists path of mpeg, its modules and other path information&lt;br /&gt;&lt;blockquote&gt;ffmpeg -i Input.file Output.file&lt;/blockquote&gt;To check what audi/video formats are supported&lt;br /&gt;&lt;blockquote&gt;ffmpeg -formats &amp;gt; ffmpeg-format.txt&lt;/blockquote&gt;Open the &lt;i&gt;ffmpeg-formats.txt&lt;/i&gt; to see the output&lt;br /&gt;D means decode&lt;br /&gt;E means encode&lt;br /&gt;V means video &lt;br /&gt;A means audio&lt;br /&gt;T = Truncated&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Install FFMPEG-PHP Extension&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href="http://ffmpeg-php.sourceforge.net/"&gt;FFmpeg-php&lt;/a&gt; is a very good extension and wrapper for PHP which can pull useful information about video through API interface. Inorder to install it you will need to download the source file and then compile and install extension in your server. You can download the source tarball : &lt;a href="http://ffmpeg-php.sourceforge.net/"&gt;http://ffmpeg-php.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;wget /path/to/this/file/ffmpeg-php-0.6.0.tbz2&lt;/blockquote&gt;&lt;blockquote&gt;tar -xjf ffmpeg-0.6.0.tbz2&lt;/blockquote&gt;&lt;blockquote&gt;phpize&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;/blockquote&gt;&lt;b&gt;Common Errors&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. If you get command not found error for phpize, then you will need to do yum install php-devel&lt;br /&gt;2. If you get error like "ffmpeg headers not found" while configuring the source.&lt;br /&gt;configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option&lt;br /&gt;then it means you have not installed ffmpeg-devel packages.&lt;br /&gt;To Fix: Just install&lt;b&gt; ffmpeg-devel&lt;/b&gt; using&lt;br /&gt;&lt;blockquote&gt;yum install ffmpeg-devel&lt;/blockquote&gt;3. If you get an error like shared libraries not found problem and the program halts in the middle, then you must specify the ffmpeg installed path explicitly to the ./configure.&lt;br /&gt;&lt;blockquote&gt;configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option&lt;/blockquote&gt;To Fix:&lt;br /&gt;1. First find out the ffmpeg path with ffmpeg --help command. The prefix default path should be like /usr/local/cpffmpeg&lt;br /&gt;2. Configure the FFmpeg-php with --with-ffmpeg option&lt;br /&gt;&lt;blockquote&gt;./configure --with-ffmpeg=/usr/local/cpffmpeg&lt;/blockquote&gt;That should resolve the problem!&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Issue that I faced while installing the ffmpeg-php of version 0.6.0 :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;blockquote&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’:&lt;br /&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)&lt;br /&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once&lt;br /&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.)&lt;br /&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_ffmpeg_frame’:&lt;br /&gt;/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)&lt;br /&gt;make: *** [ffmpeg_frame.lo] Erreur 1&lt;/blockquote&gt;&lt;div&gt;&lt;b&gt;Fix to this issue :&lt;/b&gt;&lt;/div&gt;Just open the ffmpeg_frame.c file and replace the PIX_FMT_RGBA32 with PIX_FMT_RGB32. With vi you can do it as :&lt;br /&gt;&lt;blockquote&gt;vi ffmpeg_frame.c&lt;br /&gt;:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32&lt;br /&gt;:w&lt;/blockquote&gt;&lt;div&gt;However I just opened it on a text editor on my windows and applied &lt;i&gt;find and replace ;)&lt;/i&gt;&lt;br /&gt;&lt;div&gt;After the replacement is done you have surely you have to do the configure and make and make install as :&lt;/div&gt;&lt;blockquote&gt;phpize&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;/blockquote&gt;&lt;div&gt;[before performing a make this time it is recommended you do a &lt;i&gt;make clean&lt;/i&gt;]&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Editing &lt;i&gt;php.ini&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Once you have done that without any problems then you will see the php extension file &lt;i&gt;&lt;b&gt;/usr/lib/php/modules/ffmpeg.so&lt;/b&gt;&lt;/i&gt; and you will need mention that extension in php.ini file&lt;br /&gt;&lt;blockquote&gt;vi /etc//php.ini&lt;/blockquote&gt;Put the below two lines at the end of the php.ini file&lt;br /&gt;&lt;blockquote&gt;[ffmpeg]&lt;br /&gt;extension=ffmpeg.so&lt;/blockquote&gt;Then restart the server &lt;b&gt;service httpd restart. &lt;/b&gt;In my case I had a server from godaddy and I had to do the following to restart the webserver :&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;/usr/sbin/apachectl graceful&lt;/blockquote&gt;To check whether ffmpeg enabled with php, point your browser to test.php file. It should show the confirmation of installed ffmpeg php extension&lt;br /&gt;&lt;blockquote&gt;// #test.php&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phpinfo()&lt;br /&gt;?&amp;gt;&lt;/blockquote&gt;This is what you are suppose to get :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-j4E4kFLqXI0/TZweWkrIWlI/AAAAAAAAARk/jU6Tkm9LiuM/s1600/Capture.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="291" src="http://3.bp.blogspot.com/-j4E4kFLqXI0/TZweWkrIWlI/AAAAAAAAARk/jU6Tkm9LiuM/s640/Capture.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;If any case the ffmpeg does not show in the phpinfo() test make sure that php.ini path to ffmpeg.so is correct. Still the problem occurs, the reason could be you might be using older versions of ffmpeg-php which is buggy. Just download the latest version of ffmpeg-php source then compile it.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Installing Mplayer + Mencoder&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;To know more about &lt;a href="http://www.mplayerhq.hu/"&gt;Mplayer&lt;/a&gt;&lt;br /&gt;Just issue the following yum commands to install the rest of the packages.&lt;br /&gt;&lt;blockquote&gt;yum install mplayer mencoder&lt;/blockquote&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Installing FlvTool2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Flvtool2 is a flash video file manipulation tool. It can calculate metadata and can cut and edit cue points for flv files.&lt;br /&gt;If you are on Centos 5 try &lt;b&gt;yum install flvtool2&lt;/b&gt;&amp;nbsp;[worked fine with me] with dag repository and if you get package not found you will need to manually download and compile the flvtool2. You can download latest version of flvtool2 here: &lt;a href="http://rubyforge.org/projects/flvtool2/"&gt;http://rubyforge.org/projects/flvtool2/&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;wget &lt;url-link&gt;&lt;br /&gt;ruby setup.rb config&lt;br /&gt;ruby setup.rb setup&lt;br /&gt;sudo ruby setup.rb install&lt;/url-link&gt;&lt;/blockquote&gt;If you get command not found error, it probably means that you dont have ruby installed.&lt;br /&gt;&lt;blockquote&gt;yum install ruby&lt;/blockquote&gt;Thats it! Once ffmpeg works fine with php extension, download a sample video, convert to .flv format in the command line and plug it to &lt;a href="http://flowplayer.org/"&gt;flowplayer&lt;/a&gt; to see it work on your web browser. Try also to download the video file offline and see whether the converted flv file works well with both audio and video. &lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;Now following is how you might wanna play with this beautiful tool/toolset :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;This is how ffmpeg actually works :&lt;br /&gt;&lt;br /&gt;Here is a some tutorials to play with ffmepg.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-LG2OlQxXtmo/TdHyQ1NuJRI/AAAAAAAAARo/vIhAf5wOCus/s1600/flowchart.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="290" src="http://2.bp.blogspot.com/-LG2OlQxXtmo/TdHyQ1NuJRI/AAAAAAAAARo/vIhAf5wOCus/s320/flowchart.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.phpro.org/tutorials/Video-Conversion-With-FFMPEG.html"&gt;http://www.phpro.org/tutorials/Video-Conversion-With-FFMPEG.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reference :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://adminsdiary.com/linux/ffmpeg-and-related-modules-installation"&gt;http://adminsdiary.com/linux/ffmpeg-and-related-modules-installation&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-9017488550066619069?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/9017488550066619069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/04/installing-ffmpeg-and-other-extensions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/9017488550066619069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/9017488550066619069'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/04/installing-ffmpeg-and-other-extensions.html' title='Installing ffmpeg and other extensions and tools to use with php'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-3w13AE21u3I/TdoDfcnp9QI/AAAAAAAAAR0/HkNWuYG9N7c/s72-c/ffmpeg-logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5234563068883305357</id><published>2011-03-30T10:35:00.000+06:00</published><updated>2011-03-30T13:46:38.136+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Web2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Konami Code : Fun way to show up some secret information (!!)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQpvvIRkaLjaECvLLC_H95PjFFRkqDt9hvBpfNbU4d3IpQgmJp8&amp;amp;t=1" /&gt;&lt;/div&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;"&lt;i style="font-weight: bold;"&gt;The Konami Code&lt;/i&gt;, known in Japan as the Konami Command(コナミコマンド Konami Komando), is a cheat code that appears in many Konami video games, although the code also appears in some non-Konami games."&lt;br /&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;To get more information you can check the best of the bests information source &lt;a href="http://en.wikipedia.org/wiki/Konami_Code" style="font-style: italic; font-weight: bold;"&gt;wikipedia pages&lt;/a&gt;&lt;b style="font-style: italic;"&gt;. &lt;/b&gt;And to get more&amp;nbsp;interested seeing who else on the web are utilizing this fun way to publish (!!) information please visit :&amp;nbsp;&lt;a href="http://konamicodesites.com/"&gt;http://konamicodesites.com/&lt;/a&gt;&amp;nbsp;[you have to try the Konami Code to get the list though :| ]&lt;br /&gt;I thought why not I secretly&amp;nbsp;&lt;i&gt;embed&lt;/i&gt;&amp;nbsp;my information into whatever I develop. So there came the jQuery solution for it. I basically merged two of the plugins from jQuery.&lt;br /&gt;There are a number of Konami code plugins online - you can grab any of them - But make sure that the one you are trying works for all browser [the browser compatibility as they say :P I found couple of them not compatible to some browsers]&lt;i&gt;&amp;nbsp;. &lt;/i&gt;Following are couple of them that you can check :&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;a href="http://www.gethifi.com/blog/konami-code-jquery-plugin-pointlessly-easy"&gt;http://www.gethifi.com/blog/konami-code-jquery-plugin-pointlessly-easy&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://github.com/davidcoallier/jquery-konami"&gt;https://github.com/davidcoallier/jquery-konami&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.trovster.com/lab/plugins/cheat-code/"&gt;http://www.trovster.com/lab/plugins/cheat-code/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;And then to show up the information nicely I have plugged in the jQuery notification plugin &lt;b&gt;&lt;i&gt;&lt;a href="http://www.myjqueryplugins.com/jNotify"&gt;jNotify&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;BTW, I'm gonna submit my code soon [sorry I don have a clean copy of my work right now :S] Till then stay tuned and help &lt;i&gt;thyself &lt;/i&gt;:P&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5234563068883305357?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5234563068883305357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/03/konami-code-fun-way-to-show-up-some.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5234563068883305357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5234563068883305357'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/03/konami-code-fun-way-to-show-up-some.html' title='Konami Code : Fun way to show up some secret information (!!)'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4234352665948911673</id><published>2011-03-30T10:19:00.000+06:00</published><updated>2011-03-30T10:21:18.460+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeIgniter'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>iGoogle like interface using CodeIgniter and jQuery</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;img alt="iGoogle-like Interface" src="http://maxcdn.webappers.com/img/2008/11/igoogle-like-interface.png" /&gt;&lt;br /&gt;&lt;br /&gt;I was asked to develop an interface that would look like iGoogle webtop. And as always do I instantly started googling and this post is the result of what I got and what I lastly went for.&lt;br /&gt;I googled and I got some solutions already there :&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;a href="http://picok.liip.ch/"&gt;Picok&lt;/a&gt;&amp;nbsp;: Which I got hectic to configure and modify [as I was in hurry I din check it very well thought but I think it has some potential]&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.trilancer.com/jpolite2/"&gt;jPolite&lt;/a&gt;&amp;nbsp;: I loved this solution but thought might be little tricky to implement the&amp;nbsp;back end.I strongly suggest if you have some time please look at this solution.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;But finally I actually decided to go with a simpler solution starting from an interface developed utilizing jQuery and creating a &lt;i&gt;Codeigniter&lt;/i&gt; back end for it.&lt;/div&gt;&lt;div&gt;How to create the UI, you will get the complete article from &lt;b&gt;&lt;i&gt;&lt;a href="http://net.tutsplus.com/tutorials/javascript-ajax/inettuts/"&gt;net.tuts+&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp;. However, to get the Codeigniter version you can download it from the following location. I am telling you the implementation is not a rocket science so far, but I have a plan to extend it and may be will create a complete opensource project some day.&lt;/div&gt;&lt;div&gt;Till then wait or &lt;b&gt;&lt;a href="http://cid-b81b64921048daa0.office.live.com/self.aspx/codes/prmanager.zip"&gt;Download &lt;/a&gt;&lt;/b&gt;and start one by yourself :)&lt;/div&gt;&lt;div&gt;Please comment some other opensource reference if you got any.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4234352665948911673?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4234352665948911673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/03/igoogle-like-interface-using.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4234352665948911673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4234352665948911673'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/03/igoogle-like-interface-using.html' title='iGoogle like interface using CodeIgniter and jQuery'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-8731464617287761666</id><published>2011-01-20T11:20:00.000+06:00</published><updated>2011-01-20T12:07:01.560+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Can-Spam'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Email'/><category scheme='http://www.blogger.com/atom/ns#' term='Marketting'/><category scheme='http://www.blogger.com/atom/ns#' term='Social'/><category scheme='http://www.blogger.com/atom/ns#' term='MTA'/><title type='text'>How to deploy DKIM email authentication in 4 steps</title><content type='html'>DKIM is an emerging e-mail authentication standard supported by Yahoo, Google and others ISPs, as well as a growing number of Email Service Providers that was developed by the Internet Engineering Task Force. DKIM allows an organization to cryptographically sign outgoing e-mail to verify that it sent the message. Deploying DKIM for your company is pretty straightforward. If you are managing all of your own email servers and outbound email, including sales, marketing and transactional emails, there are 4 steps. If you are using an ESP there are 2 very simple steps that take about 10 minutes. Here’s the rundown.&lt;br /&gt;DKIM provides email authentication and often complements Email authorization. Email authorization is implemented using 'Sender Policy Framework' ("SPF") and/or SenderID. I'll explain how to configure SenderID/SPF in a related posting.&lt;br /&gt;&lt;b&gt;Configuring DKIM (Companies Managing their Own MTAs)&lt;/b&gt;&lt;br /&gt;If you are hosting your own email servers, your company needs to take these 4 steps to deploy the emerging DomainKeys Identified Mail (DKIM) standard:&lt;br /&gt;&lt;div style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;b&gt;Step #1:&lt;/b&gt;&lt;br /&gt;Figure out all the domains that are allowed to send outbound mail on its behalf. Often this includes multiple corporate domains as well as third-party e-mail Service Providers (like Pinpointe). This is often the hardest step - especially for large organizations&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;.&lt;/span&gt;&lt;/div&gt;&lt;b&gt;Step #2:&lt;/b&gt;&lt;br /&gt;Next you’ll use an online wizard to create the DKIM public / private key pairing and the policy record. The ‘public’ key is a key that will be placed in your public-facing DNS record along with what’s called a ‘policy record’.&lt;br /&gt;The ‘private’ key is a long key that is installed on the MTA/Email sending system(s). When you send an email, the outgoing email server (or the outgoing server of your Email Service Provider, such as Pinpointe), adds the&lt;br /&gt;Here are two online wizards you can use to create the public/private key pair and the policy record. You just enter your sending domain and a ’selector’ - which is kind of like a password key (if you use an ESP - the ESP does all this for you):&lt;br /&gt;&lt;a href="http://www.socketlabs.com/services/dkwiz"&gt;http://www.socketlabs.com/services/dkwiz&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.port25.com/support/support_dkwz.php"&gt;http://www.port25.com/support/support_dkwz.php&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Step #3:&lt;/b&gt;&lt;br /&gt;Create DNS text records that include DKIM information for every domain that is used to send e-mail. These records will be inserted in your public facing DNS record for each sending domain. If you don’t know how to insert / modify your DNS entry, you can find a description in our description of setting up an SPF record - the process is pretty much the same:&lt;br /&gt;&lt;a href="http://www.pinpointe.com/blog/install-an-spf-record-to-improve-email-delivery"&gt;http://www.pinpointe.com/blog/install-an-spf-record-to-improve-email-delivery&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Step #4:&lt;/b&gt;&lt;br /&gt;Upgrade your emails servers and/or software to support DKIM. (Note - In the Email world, Email servers are often called “message transfer agents” or “MTAs”).” MTAs are the last component of a messaging system to touch outbound e-mail. That’s where DKIM signatures are attached.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Steps to Implement DKIM With an Email Service Provider :&lt;/b&gt;&lt;br /&gt;If you are using an ESP, the process is trivial:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step #1&lt;/b&gt; - Ensure you have access to your domain’s DNS Entry (see step #2 above)&lt;br /&gt;&lt;b&gt;Step #2&lt;/b&gt; - Call your ESP. Your ISP can provide you the key information and policy entries for your DNS entry.&lt;br /&gt;&lt;div&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/7804530867150518586-8731464617287761666?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/8731464617287761666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/01/dkim-is-emerging-e-mail-authentication.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8731464617287761666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8731464617287761666'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/01/dkim-is-emerging-e-mail-authentication.html' title='How to deploy DKIM email authentication in 4 steps'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4087708665319058458</id><published>2011-01-15T19:51:00.000+06:00</published><updated>2011-05-16T15:05:13.576+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeIgniter'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Running CodeIgniter from shell on Cronjobs</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://codeigniter.com/images/design/ci_logo2.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="85" src="http://codeigniter.com/images/design/ci_logo2.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;I am actually tuklifying from the CodeIgniter wiki - just adding my&amp;nbsp;experience - things I faced and solution to the issue.&lt;br /&gt;&lt;b&gt;Steps :&lt;/b&gt;&lt;br /&gt;1.Make a directory for your cron scripts. I just used &lt;b&gt;&lt;i&gt;scripts&lt;/i&gt;&lt;/b&gt; and put it in the same directory that my &lt;b&gt;&lt;i&gt;CI system&lt;/i&gt;&lt;/b&gt; folder is in.&lt;br /&gt;2. Copy the &lt;b&gt;&lt;i&gt;index.php&lt;/i&gt;&lt;/b&gt; file from your DOCUMENT_ROOT (the script that normally initiates a connection to CI from a web browser) to the scripts directory, and rename it to something meaningful, such as &lt;b&gt;&lt;i&gt;mailsender.php&lt;/i&gt;&lt;/b&gt;.&lt;br /&gt;3. Add the following line at the very first line of the &lt;i style="font-weight: bold;"&gt;mailsender.php&lt;/i&gt;:&lt;br /&gt;&lt;blockquote&gt;#!/usr/local/bin/php -q&lt;/blockquote&gt;4. Edit this file and make some slight adjustments. First, we don’t want the script to timeout during execution, so somewhere toward the top we add:&lt;br /&gt;&lt;blockquote&gt;set_time_limit(0);&lt;/blockquote&gt;5. Set the path to the system folder, if it isn’t correct:&lt;br /&gt;&lt;blockquote&gt;$system_folder&amp;nbsp;=&amp;nbsp;"../system";&lt;/blockquote&gt;6. We need to let CI know what controller/method we want to access, and any other URI variables we need. Normally this happens in the URL, so we emulate it by setting PATH_INFO manually:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$_SERVER['PATH_INFO'] = '/mailprocessor/sendmail';&lt;/blockquote&gt;&lt;blockquote&gt;$_GET = ''; // Required for some installations&lt;/blockquote&gt;However, if the config uri protocol is set to REQUEST_URI, then CI doesn’t use PATH_INFO, so instead, emulate REQUEST_URI manually:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$_SERVER['REQUEST_URI'] = '/mailprocessor/sendmail';&lt;/blockquote&gt;7. You create a &lt;b&gt;&lt;i&gt;mailprocessor.php&lt;/i&gt;&lt;/b&gt; controller (in the &lt;i&gt;application/controllers&lt;/i&gt; dir) with a &lt;b&gt;&lt;i&gt;sendmail&lt;/i&gt;&lt;/b&gt; method, and make it do what it needs to do, load libraries/models/etc, execute them, then exit. What you don’t want to happen is output anything. &lt;i&gt;Just make sure you don’t echo any content to stdout (echo, loading views, etc.)&lt;/i&gt; If you are sending emails, you would load a view file, but return the contents to a variable instead of displaying it (pass true as third param), then run through normal procedures for sending emails.&lt;br /&gt;One thing to be aware of regarding security, you probably don’t want anyone accessing&amp;nbsp;&lt;b&gt;&lt;i&gt;/mailprocessor/sendmail&lt;/i&gt;&lt;/b&gt;&amp;nbsp;from a web browser[In my case I don put the scripts on the web directory- so no need to worry about ], so in the mailprocessor.php controller constructor, you may want to do some kind of check to make sure we are coming from a cron script. Probably the easiest method would be to test the SCRIPT_FILENAME variable:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;if($_SERVER['SCRIPT_FILENAME']&amp;nbsp;!=&amp;nbsp;'mailsender.php')&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 18px; white-space: nowrap;"&gt;&amp;nbsp;&amp;nbsp;exit;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;8.Once everything looks good, add your crontab entry to execute the script, and there you have it!&amp;nbsp;Sample cronjob [from cPanel &amp;nbsp;can easy do that- you just need to put the script location to run]:&lt;br /&gt;&lt;blockquote&gt;# execute cronjob every day at 2am&lt;/blockquote&gt;&lt;blockquote&gt;00 02 * * * /HOME/&lt;i&gt;myusername&lt;/i&gt;/misc/scripts/mailsender.php&lt;/blockquote&gt;&lt;b&gt;My addition :&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;8. You need to edit the &lt;b&gt;BASEPATH &lt;/b&gt;on the &lt;i&gt;&lt;b&gt;mailsender.php.&lt;/b&gt;&amp;nbsp;&lt;/i&gt;&amp;nbsp;You need to put the &lt;i&gt;absolute path &lt;/i&gt;instead of &lt;i&gt;relative path.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://codeigniter.com/wiki/Category:Advanced::CronScript/"&gt;Original post &lt;/a&gt;- You will get some other alternative ways to do the things :)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Update-05/16/2011: &lt;/b&gt;On version 2, &lt;i&gt;CodeIgniter&lt;/i&gt; has implemented a feature to run sccript from CLI. :)&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4087708665319058458?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4087708665319058458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2011/01/running-codeigniter-from-shell-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4087708665319058458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4087708665319058458'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2011/01/running-codeigniter-from-shell-on.html' title='Running CodeIgniter from shell on Cronjobs'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-1038065353420787305</id><published>2010-12-07T15:54:00.000+06:00</published><updated>2010-12-07T15:54:10.580+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Socket'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Multi-Threaded Socket programming using C# : first step for a chat application</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YcXqlSh10gg/TP4DSFbLP8I/AAAAAAAAAQY/LNbkWD38AKA/s1600/chat.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/_YcXqlSh10gg/TP4DSFbLP8I/AAAAAAAAAQY/LNbkWD38AKA/s320/chat.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Just arranged some code to create a server and a client application that can talk over&amp;nbsp;separate&amp;nbsp;threads. The code &amp;nbsp;is not that efficient, yet, the programs can be used as the very basic for writing your own chat servers and clients (I din try though :P)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.4shared.com/file/GtZ20SSg/SocketTests.html"&gt;Download &lt;/a&gt;&lt;/b&gt;and play with the code by yourself and feel free to comment.&lt;br /&gt;[The code is in VB.Net; I'm no more a VB coder though :S I had to prepare it for one of my cousins.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-1038065353420787305?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/1038065353420787305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/12/multi-threaded-socket-programming-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1038065353420787305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1038065353420787305'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/12/multi-threaded-socket-programming-using.html' title='Multi-Threaded Socket programming using C# : first step for a chat application'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YcXqlSh10gg/TP4DSFbLP8I/AAAAAAAAAQY/LNbkWD38AKA/s72-c/chat.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3452727954435293543</id><published>2010-11-20T15:42:00.000+06:00</published><updated>2010-11-20T16:56:46.857+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat'/><title type='text'>Liferay : Installing on Tomcat as a non-root webapp context and using MySql</title><content type='html'>Started playing with liferay. Want to create an intranet application for a group of companies.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Liferay &lt;/b&gt;: Quoting from the liferay website,&lt;i&gt;"Liferay Portal is an enterprise web platform for building business solutions that deliver immediate results and long-term value. Get the benefits of packaged applications and an enterprise application framework in a single solution." &lt;/i&gt;&lt;br /&gt;Liferay portal includes :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Content &amp;amp; Document Management&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;Web Publishing and Shared Workspaces&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;Enterprise Collaboration&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;Social Networking and Mashups&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;Enterprise Portals and Identity Management&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;Here I am going to share the resource and procedure I followed to setup Liferay community edition locally on my PC. [BTW, I am using windows 7]&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Requirements :&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;JDK 1.6 [I think you know where you'll get it :) ]&lt;/li&gt;&lt;li&gt;&lt;a href="http://tomcat.apache.org/download-60.cgi"&gt;Tomcat6&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.5/liferay-portal-6.0.5.war/download"&gt;Liferay 6.0.5 Community Edition WAR bundle&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.5/liferay-portal-dependencies-6.0.5.zip/download"&gt;Liferay Portal Dependencies 6.0.5&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Two extra libraries to copy at tomcat lib directory &lt;i style="font-weight: bold;"&gt;&lt;a href="http://www.java2s.com/Code/Jar/JKL/jta.jar.htm"&gt;jta.jar&lt;/a&gt; &lt;/i&gt;and &lt;b&gt;&lt;i&gt;&lt;a href="http://www.java2s.com/Code/Jar/GHI/mail.jar.htm"&gt;mail.jar&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;b&gt;Procedures :&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Unzip &lt;i&gt;Liferay 6.0.5 WAR bundle&lt;/i&gt; file and copy all content into &lt;b&gt;%TOMCAT_HOME%/webapps/liferay&lt;/b&gt; folder.[certainly you'll need to create the &lt;i&gt;liferay &lt;/i&gt;folder within webapp folder :)]&lt;/li&gt;&lt;li&gt;Unzip and copy all &lt;i&gt;Liferay Portal dependencies 6.0.5&lt;/i&gt;&amp;nbsp;to &lt;b&gt;%TOMCAT_HOME%/lib/ext &lt;/b&gt;[if the &lt;i&gt;ext&lt;/i&gt; directory is not there, please do create it]&lt;/li&gt;&lt;li&gt;Include the &lt;i&gt;ext &lt;/i&gt;in your catalina properties ; update the following line on&amp;nbsp;&lt;b&gt;%TOMCAT_HOME%/conf/catalina.properties :&amp;nbsp;&lt;/b&gt;&lt;br /&gt;common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar&lt;b&gt;,${catalina.home}/lib/ext/*.jar&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Copy the two libraries (jta.jar and mail.jar) to &lt;b&gt;%TOMCAT_HOME%/lib/ext&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Create &lt;b&gt;liferay.xml&lt;/b&gt; file into &lt;b&gt;%TOMCAT_HOME%/conf/Catalina/localhost&lt;/b&gt; folder. It looks like this:&lt;br /&gt;&lt;br /&gt;&amp;lt;Context path="/liferay" crossContext="true"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Resource&lt;br /&gt;name="jdbc/LiferayPool"&lt;br /&gt;auth="Container"&lt;br /&gt;type="javax.sql.DataSource"&lt;br /&gt;driverClassName="com.mysql.jdbc.Driver"&lt;br /&gt;url="jdbc:mysql://localhost:3306/liferaydb?useUnicode=true&amp;amp;amp;characterEncoding=UTF-8"&lt;br /&gt;username="root"&lt;br /&gt;password=""&lt;br /&gt;maxActive="20"&lt;br /&gt;/&amp;gt;  &lt;br /&gt;&lt;br /&gt;&amp;lt;/Context&amp;gt;&lt;br /&gt;&lt;br /&gt;In my case, DB user is “root” with empty password. You must create an empty DB in MySQL, for example “liferaydb”. Please also note the bold text.&lt;/li&gt;&lt;li&gt;Create &lt;b&gt;portal-ext.properties&lt;/b&gt; into &lt;b&gt;%TOMCAT_HOME%/webapps/liferay/WEB-INF/classses&lt;/b&gt; folder. It looks like this: &lt;br /&gt;&lt;br /&gt;&lt;b&gt;jdbc.default.jndi.name=jdbc/LiferayPool&lt;br /&gt;portal.ctx=/liferay&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;/b&gt;If you are using MySQL as database server instead of HSQL, you must copy &lt;i&gt;mysql jdbc lib&lt;/i&gt; into &lt;b&gt;%TOMCAT_HOME%/lib/ext&lt;/b&gt; folder.&lt;/li&gt;&lt;li&gt;Run startup.bat/sh, you will see in console when liferay creates and populates the portal database automatically. Now, you can open browser window and enter the folow URL &lt;i&gt;http://localhost:8080/liferay&lt;/i&gt;. Use &lt;i&gt;test@liferay.com&lt;/i&gt;&amp;nbsp;and &lt;i&gt;test&lt;/i&gt;&amp;nbsp;as user and password respectively.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Resources :&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Liferay"&gt;Wikipedia&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.liferay.com/"&gt;Liferay website&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.liferay.com/community"&gt;Community support&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3452727954435293543?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3452727954435293543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/11/liferay-installing-on-tomcat-as-non.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3452727954435293543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3452727954435293543'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/11/liferay-installing-on-tomcat-as-non.html' title='Liferay : Installing on Tomcat as a non-root webapp context and using MySql'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7679930486124759810</id><published>2010-10-05T17:18:00.000+06:00</published><updated>2010-10-08T01:27:38.102+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Anonymous'/><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='Free'/><category scheme='http://www.blogger.com/atom/ns#' term='Bypassing'/><category scheme='http://www.blogger.com/atom/ns#' term='Freedom'/><title type='text'>Surf the net anonymously</title><content type='html'>In my office I am 'protected'(!) under a firewall and I can't access even the forum post that I think might contain the solution of the problems I am stuck to for hours.&lt;br /&gt;I asked the network guy and he seems to be not interested leaving me 'unsafe'.&lt;br /&gt;So I had to find my own way. I looked for some proxies like the most widely used one from &lt;i&gt;ultrasoft &lt;/i&gt;or else. But I failed with them. Finally, I got two of them that are open source projects and helped me breath properly :&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_YcXqlSh10gg/TKsG1mToojI/AAAAAAAAAP8/NKzpaW5pk1k/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_YcXqlSh10gg/TKsG1mToojI/AAAAAAAAAP8/NKzpaW5pk1k/s1600/Capture.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;b&gt;TOR:&amp;nbsp;&lt;/b&gt;" Tor is a system intended to enable online anonymity, composed of client software and a network of servers which can mask information about users' locations and other factors which might identify them. Use of this system makes it more difficult to trace internet traffic to the user, including visits to Web sites, online posts, instant messages, and other communication forms. It is intended to protect users' personal freedom, privacy, and ability to conduct confidential business, by keeping their internet activities from being monitored. The software is open-sourceand the network is free of charge to use."&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Tor_(anonymity_network)"&gt;I am&amp;nbsp;referring&amp;nbsp;from wiki.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://en.wikipedia.org/wiki/Tor_(anonymity_network)"&gt;&lt;/a&gt;&lt;b&gt;How TOR Works :&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_YcXqlSh10gg/TKsIKq9CLLI/AAAAAAAAAQA/aibdm_QXMtE/s1600/htw1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://3.bp.blogspot.com/_YcXqlSh10gg/TKsIKq9CLLI/AAAAAAAAAQA/aibdm_QXMtE/s320/htw1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;a href="http://4.bp.blogspot.com/_YcXqlSh10gg/TKsEFH-eP-I/AAAAAAAAAPw/co2xgzu-Pfc/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt; &lt;/span&gt;&lt;/a&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_YcXqlSh10gg/TKsIkVYt7jI/AAAAAAAAAQE/GMvcH0laqhU/s1600/htw2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://4.bp.blogspot.com/_YcXqlSh10gg/TKsIkVYt7jI/AAAAAAAAAQE/GMvcH0laqhU/s320/htw2.png" width="320" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsFsK_tjlI/AAAAAAAAAP4/p-ALBQyYKAw/s1600/CaptureJAp.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_YcXqlSh10gg/TKsImvHhYBI/AAAAAAAAAQI/MYwvz2FbBFc/s1600/htw3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://1.bp.blogspot.com/_YcXqlSh10gg/TKsImvHhYBI/AAAAAAAAAQI/MYwvz2FbBFc/s1600/htw3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsFsK_tjlI/AAAAAAAAAP4/p-ALBQyYKAw/s1600/CaptureJAp.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsFsK_tjlI/AAAAAAAAAP4/p-ALBQyYKAw/s1600/CaptureJAp.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;[Picture Courtesy: TOR web site]&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;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="70" src="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsFsK_tjlI/AAAAAAAAAP4/p-ALBQyYKAw/s320/CaptureJAp.PNG" style="clear: left; float: left;" width="320" /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;JAP/JonDonym : "Java Anon Proxy, also known as JAP or JonDonym, is a proxy system designed to allow browsing the Web with revocable pseudonymity. It was originally developed as part of a project of the Technische Universität Dresden, the Universität Regensburg and Privacy Commissioner of Schleswig-Holstein. The client-software is written in the Java programming language."&lt;/div&gt;&lt;div&gt;&lt;a href="http://en.wikipedia.org/wiki/Java_Anon_Proxy"&gt;Still I am quoting from wiki.&lt;/a&gt;&lt;br /&gt;&lt;b&gt;How JAP Works :&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsJVYO6eiI/AAAAAAAAAQM/CjHS_0NW55Y/s1600/jap2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="237" src="http://2.bp.blogspot.com/_YcXqlSh10gg/TKsJVYO6eiI/AAAAAAAAAQM/CjHS_0NW55Y/s320/jap2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Picture courtesy: JAP website]&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;br /&gt;As both of them are FREE. you can DOWNLOAD them&amp;nbsp;from their websites&amp;nbsp;and can start using them instantly &amp;nbsp;:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.torproject.org/"&gt;http://www.torproject.org&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://anonymous-proxy-servers.net/en/index.html"&gt;http://anonymous-proxy-servers.net/en/index.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7679930486124759810?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7679930486124759810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/10/surf-net-anonymously.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7679930486124759810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7679930486124759810'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/10/surf-net-anonymously.html' title='Surf the net anonymously'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YcXqlSh10gg/TKsG1mToojI/AAAAAAAAAP8/NKzpaW5pk1k/s72-c/Capture.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5150382002031479715</id><published>2010-03-08T15:29:00.000+06:00</published><updated>2010-03-08T15:29:53.824+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Agile'/><title type='text'>Agile Tool Hacking</title><content type='html'>I was looking for some straight forward tool guide for the Agile development. And I have got the light in the following presentation.&lt;br /&gt;&lt;div id="__ss_1903881" style="width: 425px;"&gt;&lt;strong style="display: block; margin: 12px 0 4px;"&gt;&lt;a href="http://www.slideshare.net/smithcdau/agile-tool-hacking-taking-your-agile-development-tools-to-the-next-level" title="Agile Tool Hacking - Taking Your Agile Development Tools To The Next Level"&gt;Agile Tool Hacking - Taking Your Agile Development Tools To The Next Level&lt;/a&gt;&lt;/strong&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=craigsmithpaulking-agiletoolhacking-takingyouragiledevelopmenttoolstothenextlevel-090825083450-phpapp02&amp;stripped_title=agile-tool-hacking-taking-your-agile-development-tools-to-the-next-level" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=craigsmithpaulking-agiletoolhacking-takingyouragiledevelopmenttoolstothenextlevel-090825083450-phpapp02&amp;stripped_title=agile-tool-hacking-taking-your-agile-development-tools-to-the-next-level" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;div style="padding: 5px 0 12px;"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/smithcdau"&gt;Craig Smith&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5150382002031479715?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5150382002031479715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/03/agile-tool-hacking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5150382002031479715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5150382002031479715'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/03/agile-tool-hacking.html' title='Agile Tool Hacking'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-8504978664250881315</id><published>2010-01-28T15:15:00.000+06:00</published><updated>2010-01-28T15:34:50.869+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Sending Valid Emails from Website</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_YcXqlSh10gg/S2FZw2en71I/AAAAAAAAAOQ/A3VCh_yjEiE/s1600-h/emailIcon.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 166px; height: 160px;" src="http://2.bp.blogspot.com/_YcXqlSh10gg/S2FZw2en71I/AAAAAAAAAOQ/A3VCh_yjEiE/s200/emailIcon.png" alt="" id="BLOGGER_PHOTO_ID_5431721321378082642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;E-mails are one of the key elements of a website/web application. They are used in contact forms, sign-ups, notifications, newsletters, etc. &lt;p&gt;It is a common experience that &lt;strong&gt;sometimes e-mails sent from websites go to the junk folders or never reach&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;Although it is not always possible to detect the reasons for this, there are several things that we can do to minimize the risk. Here they are:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;Send E-mails Through A Valid E-mail Server With Authentication&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;This is the most important one which you may be automatically offering all the tips below.&lt;/p&gt; &lt;p&gt;It is &lt;strong&gt;mostly a good idea to send website e-mails through the e-mail server&lt;/strong&gt; that will require authentication rather than the web server's SMTP server. Servers that are specifically set to send e-mails generally have Reverse DNS &amp;amp; SPF records, support greylisting ,etc.&lt;/p&gt; &lt;p&gt;Every scripting language offers methods to send e-mails with authentication.&lt;/p&gt; &lt;p&gt;On the other hand, sometimes, using e-mail servers are not enough as you may need to send lots of e-mails but the hosting provider may be applying limits, etc. In such cases, &lt;strong&gt;if you'll be sending e-mails through your web server, make sure to check these all&lt;/strong&gt;:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Reverse DNS (rDNS)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;As every domain resolves to an IP address, optionally, IPs can resolve to domain names which is called &lt;strong&gt;reverse DNS&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;Many spammers use non-existing or dynamic e-mails without reverse DNS records. E-mail servers generally check if the sender IP has a reverse DNS record or not.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to add reverse DNS records?&lt;/strong&gt;: reverse resolving uses the pointer DNS record type (PTR record) which you should be asking your hosting provider to create it (&lt;a href="http://www.zoneedit.com/lookup.html" target="_blank"&gt;check if it exists&lt;/a&gt;).&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;SPF Records&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Sender Policy Framework&lt;/strong&gt; is being used by more &amp;amp; more e-mail providers everyday (Gmail, Hotmail &amp;amp; Yahoo uses it) as a criteria to detect if a message is spam or not.&lt;/p&gt; &lt;p&gt;It simply allows the owner of a domain to specify their mail sending policy, (like which mail servers they use to send mail from their domain).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;SPF records&lt;/strong&gt; are DNS TXT records which an &lt;a href="http://www.openspf.org/" target="_blank"&gt;online setup wizard&lt;/a&gt; can help you creating it (you'll need to create new DNS records).&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Using A SMTP Server That Supports Greylisting&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;A very powerful spam prevention method used by mail servers is called &lt;strong&gt;greylisting&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;When you send an e-mail, the server receiving it can say to your SMTP server:  "send it to me again in x minutes" which is mostly not supported by the methods spammers use.&lt;/p&gt; &lt;p&gt;So, you need a smart SMTP server who can understand this command (IIS SMTP can not) that will re-send the e-mails when requested.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;No Bulk Mailing&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;Both the SMTP server you'll be sending e-mails &amp;amp; the servers that will receive them generally have rules to define an IP/e-mail as spammer who sends x number of mails in y seconds.&lt;/p&gt; &lt;p&gt;So, if you have a large userbase to send e-mail, it will be a good idea to &lt;strong&gt;send them in intervals&lt;/strong&gt;.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;No Sending Of E-mails In Alphabetical Order&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;Again, if you'll be sending e-mails to a large userbase, &lt;strong&gt;don't send them in alphabetical order of e-mails&lt;/strong&gt; as mail servers can mark them as a dictionary attack.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Check If The Server IP Is Blacklisted&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;Blacklists are systems, that are used by most of the e-mail service providers, that has bot or human e-mail accounts which analyze the common e-mail traffic &amp;amp; &lt;strong&gt;can blacklist IPs according to e-mails sent from them&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;The server you're using to send e-mails can be shared by many other users. And, &lt;strong&gt;a spam that is sent by anyone on that server can lead to a "blocking"&lt;/strong&gt; by e-mail blacklists which will damage the communication of every account on it.&lt;/p&gt; &lt;p&gt;You can check if you IP is blacklisted &lt;a href="http://www.myiptest.com/staticpages/index.php/check-Blacklisted-IP-DNSBL" target="_blank"&gt;from&lt;/a&gt; &lt;a href="http://www.mxtoolbox.com/blacklists.aspx" target="_blank"&gt;different&lt;/a&gt; &lt;a href="http://whatismyipaddress.com/staticpages/index.php/is-my-ip-address-blacklisted" target="_blank"&gt;resources&lt;/a&gt;.&lt;/p&gt;I'll be updating if I get and experience any other tips for it.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.webresourcesdepot.com/tips-for-sending-valid-e-mails-from-websites/"&gt;&lt;span style="font-weight: bold;"&gt;Original post&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-8504978664250881315?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/8504978664250881315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/01/sending-valid-emails-from-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8504978664250881315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8504978664250881315'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/01/sending-valid-emails-from-website.html' title='Sending Valid Emails from Website'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YcXqlSh10gg/S2FZw2en71I/AAAAAAAAAOQ/A3VCh_yjEiE/s72-c/emailIcon.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4172249105103637028</id><published>2010-01-16T19:30:00.000+06:00</published><updated>2011-07-06T15:37:03.473+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opensource'/><category scheme='http://www.blogger.com/atom/ns#' term='Free'/><title type='text'>Open Source Twitter/Microblogging script</title><content type='html'>Website Cloning is not new thing for us, we have seen many website clones become visible after original concept becomes popular. ne of the most popular trends on the web today is something called "Micro-Blogging". Made famous byTwitter.com, Micro-blogging is the best and most  &lt;span class="IL_AD" id="IL_AD6"&gt;simple solution&lt;/span&gt; to answering the everyday question, "What are you doing?".&lt;br /&gt;&lt;br /&gt;Many people are trying to create Twitter clone websites. I have seen people asking on forums and websites for Twitter clone scripts. in this post we roundups the 8 best and free Open Source Twitter clone scripts build your owner micro blogging platform.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Laconica twitter clone&lt;/b&gt; | &lt;a href="http://identi.ca/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://laconi.ca/trac/" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Laconica is a open source twitter clone. It's not full published yet but it will work like twitter and you're able to run it on your own site. There's already a version running: http://identi.ca/&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Laconica twitter clone" height="255" mce_src="/images/albums/918-1/laconica.jpg" src="http://visionwidget.com/images/albums/918-1/laconica.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. &lt;a href="http://www.jaiku.com/" mce_="" rel="nofollow" target="_blank"&gt;Jaiku &lt;/a&gt;micro-blogging client goes open source&lt;/b&gt; | &lt;a href="http://williamlong.jaiku.com/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://code.google.com/p/jaikuengine/" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;JaikuEngine is a social microblogging platform that runs on AppEngine. JaikuEngine powers Jaiku.com. For the mobile client source, see: Jaiku Mobile client&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Jaiku micro-blogging client goes open source" height="279" mce_src="/images/albums/918-1/jaiku.jpg" src="http://visionwidget.com/images/albums/918-1/jaiku.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Jisko open-source microblogging platform&lt;/b&gt; | &lt;a href="http://jisko.net/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://jisko.org/" mce_="" rel="nofollow" target="_blank"&gt;Donwload&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Jisko" height="270" mce_src="/images/albums/918-1/jisko.jpg" src="http://visionwidget.com/images/albums/918-1/jisko.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4. PageCookery&lt;/b&gt; | &lt;a href="http://www.pagecookery.com/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://www.pagecookery.com/downloads/MB_0-5-1_090909.zip" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pagecookery Microblog tag and list of Pagecookery Microblog sites.&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="PageCookery" height="264" mce_src="/images/albums/918-1/Microblog.jpg" src="http://visionwidget.com/images/albums/918-1/Microblog.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5. Mini Twitter Private&lt;/b&gt; | &lt;a href="http://www.bioscripts.net/minitwitter/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://downloads.sourceforge.net/project/minitt/beta/0.4/beta.zip?use_mirror=voxel" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Your business needs a private twitter. You can add several twitters account and use this twitter as a buckup of all your twitter accounts, and as a private twitter for all the members of your business. Sometimes you wont show &lt;span class="IL_AD" id="IL_AD4"&gt;all the things you are&lt;/span&gt; doing.&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Mini Twitter Private" height="274" mce_src="/images/albums/918-1/mini-twitter.jpg" src="http://visionwidget.com/images/albums/918-1/mini-twitter.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;6. Echowaves - Twitter Clone&lt;/b&gt; | &lt;a href="http://www.echowaves.com/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://github.com/dmitryame/echowaves/tree/master" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ruby on Rails Open Source Twitter Clone Script. This is a group chat &lt;span class="IL_AD" id="IL_AD5"&gt;social network&lt;/span&gt; application. You can start conversations and connect wih other users while discussing it. It is possible to make a conversation read-only for presenting a content too.&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Echowaves - Twitter Clone" height="227" mce_src="/images/albums/918-1/echowaves.jpg" src="http://visionwidget.com/images/albums/918-1/echowaves.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;7. Floopo Free Twitter Clone&lt;/b&gt; | &lt;a href="http://demo.floopo.com/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="http://www.floopo.com/" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Floopo enables to to create a micro blog (or what some would call a twitter clone) in just minutes. It comes with all the features you would expect but also includes some very cool features. For more details on the full list of feature see Micro blog features.&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="Floopo Free Twitter Clone" height="235" mce_src="/images/albums/918-1/Floopo.jpg" src="http://visionwidget.com/images/albums/918-1/Floopo.jpg" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;8. sweetter Better Implementation of Twitter&lt;/b&gt; | &lt;a href="http://sweetter.net/" mce_="" rel="nofollow" target="_blank"&gt;Demo &lt;/a&gt;| &lt;a href="https://launchpad.net/sweetter" mce_="" rel="nofollow" target="_blank"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sweetter is an opensource Twitter-like service (or Twitter clone, might better describe the service). It’s microblogging combined with Pligg style voting. So you can write whatever you want—about that pie you ate, or about a new site you found—however, if the crowd doesn’t like your posts, you can lose karma points.&lt;br /&gt;&lt;br /&gt;&lt;div mce_style="text-align: center;" style="text-align: center;"&gt;&lt;img alt="sweetter" height="302" mce_src="/images/albums/918-1/sweetter.jpg" src="http://visionwidget.com/images/albums/918-1/sweetter.jpg" width="500" /&gt;&lt;/div&gt;9. &lt;span style="font-weight: bold;"&gt;Sharetronix&lt;/span&gt;| &lt;a href="http://sharetronix.com/opensource/demo/home"&gt;Demo &lt;/a&gt;| &lt;a href="http://sharetronix.com/opensource/"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sharetronix Twitter Clone Script is the newest Twitter clone script that I have come across. In the past, I had discussed about 24 twitter clone scripts both free and paid using which you could make a Twitter like site yourself. This a new addition to the 24 which makes it now 25 twitter lone scripts on the blog. As Twitter grows more and more we will be seeing more such kind of scripts. I will surely keep you all updated.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.clonestop.com/uploads/posts/2010-01/1262382098_sharetronix.jpg" onclick="return hs.expand(this)"&gt;&lt;img alt="Sharetronix open source twitter clone script" class="aligncenter" height="327" src="http://www.clonestop.com/uploads/posts/2010-01/thumbs/1262382098_sharetronix.jpg" title="Sharetronix open source twitter clone script" width="520" /&gt;&lt;/a&gt;&lt;/div&gt;Sharetronix Opensource is a multimedia microblogging platform. It helps people in a community, company, or group to exchange short messages over the Web. Very similar to Twitter, users can easily connect with each other with open or private threads.&lt;br /&gt;&lt;h3&gt;&lt;/h3&gt;&lt;br /&gt;10.&lt;span style="font-weight: bold;"&gt;Yonkly – Open Source Twitter&lt;/span&gt; | &lt;a href="http://www.emadibrahim.com/2008/05/29/yonkly-source-code/"&gt;Download&lt;/a&gt; &lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;strong&gt;&lt;a href="http://yonkly.com/" target="_blank" title="Yonkly Twitter Clone Script"&gt;Yonkly&lt;/a&gt; &lt;/strong&gt;is build on Asp.net MVC framework is another &lt;strong&gt;&lt;/strong&gt;Free Open Source Twitter Clone and &lt;strong&gt;&lt;/strong&gt;Microblogging script as well as web service.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;strong&gt;Features of Yonkly :&lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Based on ASP.net MVC framework makes it really fast;Very Easy to setup and take very less time;Supports Timeline and Groups;Message Search like many other features;Active Developer community.&lt;/div&gt;&lt;h3&gt;&lt;img alt="Yonkly Twitter Clone Script" class="alignnone size-full wp-image-605" src="http://www.blogsdna.com/wp-content/uploads/2008/07/yonkly-twitter-clone-script1.png" title="Yonkly Twitter Clone Script" /&gt;&lt;/h3&gt;&lt;div class="MsoNormal"&gt;Size of &lt;strong&gt;Yonkly Twitter Clone script&lt;/strong&gt; is Just &lt;strong&gt;1.3MB&lt;/strong&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; line-height: 17px;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;11&lt;/span&gt;. &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Motion : &lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://www.typepad.com/go/motion/"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;a href="http://www.typepad.com/go/motion/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #00a0e3; text-decoration: underline;" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;img alt="TypePad Motion" height="90" src="http://www.webresourcesdepot.com/wp-content/uploads/image/typepad-motion.jpg" style="border-bottom-color: rgb(234, 233, 233); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(234, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(234, 233, 233); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(234, 233, 233); border-top-style: solid; border-top-width: 1px; margin-bottom: 8px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;" width="480" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;TypePad Motion&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;enables publishers and marketers to create vibrant, branded communities that deepen loyalty and increase page views while giving you total control of your brand.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;It is based on Pownce &amp;amp; MovableType Motion and built with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Django&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;12. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Blur.it : &lt;a href="http://blurt.it/"&gt;Download&lt;/a&gt;:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;strong&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;a href="http://blurt.it/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #00a0e3; text-decoration: underline;" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;img alt="Blurt" height="90" src="http://www.webresourcesdepot.com/wp-content/uploads/image/blurt.jpg" style="border-bottom-color: rgb(234, 233, 233); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(234, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(234, 233, 233); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(234, 233, 233); border-top-style: solid; border-top-width: 1px; margin-bottom: 8px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;" width="480" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Blurt.it&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;is a fresh microblogging application that requires&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;PHP/MySQL&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;to run.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-size: 12px; line-height: 17px; margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Very similar to Twitter, users can easily connect with each other with open or private threads.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;div style="margin-bottom: 12px; margin-left: 0px; margin-right: 0px; margin-top: 12px;"&gt;&lt;strong&gt;&lt;div style="font-size: 12px; line-height: 17px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;If you are interested in creating a complete social networking web space you can choose any of the Opensource scripts from the following list : &lt;/span&gt;&lt;/div&gt;&lt;/strong&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://strangerzlog.blogspot.com/2009/10/open-source-social-networking-software.html"&gt;Open Source Social Networking Software&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4172249105103637028?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4172249105103637028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2010/01/open-source-twittermicroblogging-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4172249105103637028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4172249105103637028'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2010/01/open-source-twittermicroblogging-script.html' title='Open Source Twitter/Microblogging script'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-6835093145646627708</id><published>2009-11-03T16:20:00.000+07:00</published><updated>2009-11-24T17:17:52.359+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><category scheme='http://www.blogger.com/atom/ns#' term='.htaccess'/><title type='text'>How to htaccess: Password Protecting Your Pages</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Scenarios:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;You're building a new site, but you only want yourself (and maybe a select few) to be able to view the work-in-progress.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You have an area of your site that you never want the general public to have access to - for example, your web stats or private pages.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You have some paid (subscription) content on your site that only subscribers should be able to access.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;Apache lets you password protect individual files, folders, or your entire site fairly easily. Read on to find out how it's done.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;What to do:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;To add password protection to your pages, you need to do the following two things:&lt;/p&gt;  &lt;ol&gt;&lt;li&gt;Create a text file on your server that will store your username and password.&lt;/li&gt;&lt;li&gt;Create a special file called &lt;code class="filename"&gt;.htaccess&lt;/code&gt; in the folder you want to protect.&lt;/li&gt;&lt;/ol&gt;  &lt;p&gt;That's it! Now let's take a look at how to do each step.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;How to do:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Creating the Password file:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The first step is to create a simple text file that will store your username and password, separated by a colon (&lt;code&gt;:&lt;/code&gt;). The small catch is that the password must be &lt;em&gt;encrypted&lt;/em&gt;. Luckily, there are many free web-based utilities that will encrypt the password for you. Try one of these:&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.4webhelp.net/us/password.php"&gt;4WebHelp's online .htpasswd encryption tool&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://shop.alterlinks.com/htpasswd/htpasswd.php"&gt;Alterlinks .htaccess password generator&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htmlite.com/HTA006a.php"&gt;htmlite's htpasswd encryption page&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;Simply enter your desired username and password in one of these pages and submit the form. You'll get back a string similar to the following:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre class="samp"&gt;bt:3kgHAH7CKtZAw&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;Now, open up your favourite text editor (e.g. Notepad or TextEdit), then copy and paste the username/password string into the editor. Save the file and call it &lt;code class="filename"&gt;.htpasswd&lt;/code&gt;.  &lt;p&gt;Next, upload this file to your website. Make sure you place it outside the Web root of your site if possible, as you don't want just anyone to be able to view the file! For example, place it above your &lt;code class="filename"&gt;public_html&lt;/code&gt; or &lt;code class="filename"&gt;htdocs&lt;/code&gt; folder. (Having said this, Apache is often set up by default to block web-based access to files beginning with &lt;code class="filename"&gt;.ht&lt;/code&gt;. Better safe than sorry though!)&lt;/p&gt;  &lt;p&gt;If you can't place your &lt;code class="filename"&gt;.htpasswd&lt;/code&gt; file outside your Web root, name it something that's not easily guessable - for example, &lt;code class="filename"&gt;.htxuymwp&lt;/code&gt; - so that people won't be able to find it easily. (In addition, it helps to start the filename with &lt;code class="filename"&gt;.ht&lt;/code&gt;; as mentioned earlier, Apache usually blocks access to files starting with &lt;code class="filename"&gt;.ht&lt;/code&gt;.)&lt;/p&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Alternative&lt;/span&gt;&lt;/span&gt;: Creating the password file using htpasswd&lt;br /&gt;If you have SSH access to your web server (or you're running Apache on a local machine), you can encrypt your password and add it to your password file in one go by using the htpasswd utility that comes with Apache. Simply SSH to your server or open up a terminal window on your local machine, cd to the folder where you want to create your password file, and type:&lt;p&gt;&lt;/p&gt;  &lt;kbd&gt; &lt;/kbd&gt;&lt;blockquote&gt;htpasswd -c .htpasswd fred &lt;/blockquote&gt;  &lt;p style="margin-top: 20px;"&gt;(where &lt;kbd&gt;fred&lt;/kbd&gt; is the username you want to use). You'll be prompted to enter and retype your password, then the &lt;code class="filename"&gt;.htpasswd&lt;/code&gt; file will be created for you.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Creating the .htaccess file :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Now that you have created and uploaded your password file, you need to tell Apache to use it to protect your page(s) or site. This is what your &lt;code class="filename"&gt;.htaccess&lt;/code&gt; file will do.  &lt;p&gt;Open your text editor again, create a new file, and save it as &lt;code class="filename"&gt;.htaccess&lt;/code&gt;.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Protecting a folder&lt;/span&gt;:  To password protect a folder on your site, you need to put the following code in your .htaccess file:&lt;pre class="code"&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;AuthUserFile &lt;var&gt;/full/path/to/.htpasswd&lt;/var&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "My Secret Folder"&lt;br /&gt;Require valid-user&lt;/blockquote&gt;&lt;/pre&gt;&lt;p&gt;&lt;var&gt;/full/path/to/.htpasswd&lt;/var&gt; should be the full path to the &lt;code class="filename"&gt;.htpasswd&lt;/code&gt; file that you uploaded earlier. The full path is the path to the file from the Web server's volume root - for example, &lt;code class="filename"&gt;/home/username/.htpasswd&lt;/code&gt; or &lt;code class="filename"&gt;C:\wwwroot\username\.htpasswd&lt;/code&gt;. (If you're not sure of the full path to your site or home directory, ask your Web hosting company for this info.)&lt;/p&gt;  &lt;p&gt;The above &lt;code class="filename"&gt;.htaccess&lt;/code&gt; file will password protect all files in the folder that it is placed in, and all sub-folders under that folder too. So if you wanted to password protect your entire site, you would place the &lt;code class="filename"&gt;.htaccess&lt;/code&gt; file in your Web root folder.&lt;/p&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/h3&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Protecting a file:&lt;/span&gt;  To password protect just a single file in a folder, use the following .htaccess file:&lt;p&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;AuthUserFile /full/path/to/.htpasswd&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "Restricted Access"&lt;br /&gt;&lt;files&gt;Require valid-user&lt;/files&gt;&lt;/blockquote&gt;&lt;/pre&gt;This will password protect just the mypage.html file in the folder where you put the .htaccess file.&lt;br /&gt;&lt;h3&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Uploading the .htaccess file  &lt;/li&gt;&lt;/ul&gt;Once you've created your .htaccess file, upload it to your website, placing it in the folder (or folder containing the file) that you want to protect.&lt;p&gt;&lt;/p&gt;   &lt;h2&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-weight: bold;"&gt;Utilization&lt;/span&gt;:&lt;br /&gt;Now use your Web browser to visit the folder or file that you've protected. You should see a password dialog like the one shown at the start of this tutorial. Type in the username and (unencrypted) password that you chose earlier, and you should be given access to your folder or file!&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;: with this type of password protection, you continue to have access to the password protected stuff until you restart your browser.&lt;/p&gt;   &lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;You have got issues?  &lt;/span&gt;&lt;br /&gt;If you can't access your stuff and the dialog keeps popping up, check that you entered the username and password correctly. If it still doesn't work, check the path to your .htpasswd file on the server - make sure the path specified in the AuthUserFile directive is correct. Also make sure that both the .htpasswd and .htaccess files are readable by the Web server user (chmod 644 should do the trick for UNIX/Linux/FreeBSD servers).&lt;p&gt;&lt;/p&gt;  &lt;p&gt;If the password protection isn't working (i.e. you can still access your stuff without needing to enter a username/password), check that you uploaded your &lt;code class="filename"&gt;.htaccess&lt;/code&gt; file to the right folder. Also check that your web server supports &lt;code class="filename"&gt;.htaccess&lt;/code&gt; password protection (it needs to be an Apache server, and your server admin needs to have enabled the &lt;code&gt;AuthConfig&lt;/code&gt; override for your site).&lt;/p&gt;   &lt;h2&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-weight: bold;"&gt;Password protecting more stuff  &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;If you want to password protect other folders (that aren't under the currently protected folder), simply copy your .htaccess file to the new folder to be protected.&lt;/li&gt;&lt;li&gt;To password protect more than one file in the same folder, just create more  blocks within the same .htaccess file - for example:  &lt;/li&gt;&lt;/ul&gt;&lt;pre class="code"&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;AuthUserFile /full/path/to/.htpasswd&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "My Secret Page"&lt;br /&gt;&lt;br /&gt;&amp;lt;Files "mypage.html"&amp;gt;&lt;br /&gt;Require valid-user&lt;br /&gt;&amp;lt;/Files&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Files "myotherpage.html"&amp;gt;&lt;br /&gt;Require valid-user&lt;br /&gt;&amp;lt;/Files&amp;gt;&lt;br /&gt;&lt;files&gt;&lt;br /&gt;&lt;/files&gt;&lt;/blockquote&gt;&lt;/pre&gt;   &lt;h2&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-weight: bold;"&gt;Adding more usernames and passwords &lt;/span&gt;&lt;br /&gt;You're not restricted to just one username/password. If you want to add other usernames and passwords, simply repeat the "Creating the password file" procedure above, but add each new username/password line to your existing .htpasswd file, e.g.:&lt;p&gt;&lt;/p&gt;  &lt;pre class="code"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;code&gt;arif:p29cmnwl4a0et&lt;br /&gt;stranger:vwp45xakfh89&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Alternatively, if you're using &lt;code class="filename"&gt;htpasswd&lt;/code&gt; to create your passwords, as described earlier, then you can add extra users with the command:&lt;/p&gt;  &lt;kbd&gt; &lt;/kbd&gt;&lt;blockquote&gt;htpasswd .htpasswd stranger&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;  &lt;p style="margin-top: 20px;"&gt;(where stranger is the username you want to add). Make sure you don't include the &lt;code&gt;-c&lt;/code&gt; option when adding additional users, or &lt;code class="filename"&gt;htpasswd&lt;/code&gt; will attempt to create a new password file!&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://httpd.apache.org/docs/1.3/mod/mod_auth.html"&gt;Apache &lt;code&gt;mod_auth&lt;/code&gt; documentation&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-6835093145646627708?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/6835093145646627708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/11/how-to-htaccess-password-protecting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6835093145646627708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6835093145646627708'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/11/how-to-htaccess-password-protecting.html' title='How to htaccess: Password Protecting Your Pages'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3123124361062019087</id><published>2009-10-23T17:00:00.000+07:00</published><updated>2009-10-23T17:07:55.041+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Trimming with Javascript</title><content type='html'>I simple but effective implementation of javascript for trimming extra spaces  from a string. A good use of it could be on form validation.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The custom trim function :&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;function trim (str) {&lt;br /&gt;    var    str = str.replace(/^\s\s*/, ''),&lt;br /&gt;        ws = /\s/,&lt;br /&gt;        i = str.length;&lt;br /&gt;    while (ws.test(str.charAt(--i)));&lt;br /&gt;    return str.slice(0, i + 1);&lt;br /&gt;}&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Typical use of trim :&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;function validate()&lt;br /&gt;{&lt;br /&gt;    val = document.getElementById("txt").value;&lt;br /&gt;    retval = trim12(val);&lt;br /&gt;    alert(retval);&lt;br /&gt;&lt;br /&gt;}&lt;/blockquote&gt;Surely if you use any rich javascript library a trim method should come with it. Have fun :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3123124361062019087?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3123124361062019087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/trimming-with-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3123124361062019087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3123124361062019087'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/trimming-with-javascript.html' title='Trimming with Javascript'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4523016309744342174</id><published>2009-10-08T15:59:00.000+07:00</published><updated>2009-10-15T18:43:29.342+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cloud Coumputing'/><title type='text'>Clouds in the net</title><content type='html'>I'm always a web addict and the thing that amaze me these days is the clouds in the net. So, I thought why don I list all of the clouds that I went through and think pretty interesting :)&lt;br /&gt;You can have a look at them. Happy clouding :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://skydrive.live.com/"&gt;&lt;span style="font-weight: bold;"&gt;Skydrive&lt;/span&gt;&lt;/a&gt;: 25GB[started with 5GB !!] of free file storage and sharing cloud service brought by microsoft live.&lt;br /&gt;&lt;a href="http://www.mesh.com/"&gt;&lt;span style="font-weight: bold;"&gt;Live Mesh&lt;/span&gt;&lt;/a&gt;: Brought by microsoft live for synching files and folders from your your devices and making them available over one another plus over an webdesktop.&lt;br /&gt;&lt;a href="http://www.eyeos.org/"&gt;&lt;span style="font-weight: bold;"&gt;eyeOS: &lt;/span&gt;&lt;/a&gt;Opensource Cloud desktop. The first cloud that I got amazed of the one that inspired me in next generation web application development.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://docs.google.com/"&gt;Google Docs&lt;/a&gt;:&lt;/span&gt;Document sharing cloud on the net that use to store and share and collaboration on creating a document.&lt;br /&gt;&lt;a href="http://www.thinkgos.com/"&gt;&lt;span style="font-weight: bold;"&gt;gOS&lt;/span&gt;&lt;/a&gt;: Connecting all the open services online on a thin client over a light weight linux OS. I guess the same approach is being adopted by Google OS.&lt;br /&gt;&lt;a href="http://clouddb.com/"&gt;&lt;span style="font-weight: bold;"&gt;CloudDB&lt;/span&gt;&lt;/a&gt;: As the name says it is a cloud for databases. And the service is free - at least to some extent&lt;br /&gt;&lt;br /&gt;[To be continuted...]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4523016309744342174?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4523016309744342174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/clouds-in-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4523016309744342174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4523016309744342174'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/clouds-in-net.html' title='Clouds in the net'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-8812287424709873864</id><published>2009-10-08T13:53:00.000+07:00</published><updated>2009-10-08T19:35:40.999+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opensource'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Some Popular Youtube Clone - Video Portal Scripts</title><content type='html'>For those of you who may be interested in setting up a niche video website based on the Youtube video sharing Social Media model - there are plenty of php scripts out there that will basically allow you to easily setup a Youtube clone website. I have worked with a lot of them - specifically the top popular ones, and this post is a brief review of video sharing scripts. These scripts can be installed on solo websites or within a sub-domain or folder within your current existing website. While there are now plenty of Video Share scripts out their (many of them just re-writes and refurbished clones of original ones), the scripts I review below are the ones that are on the top of the list. &lt;p&gt;&lt;strong&gt;&lt;a href="http://phpmotion.com/" target="_blank"&gt;PHPmotion&lt;/a&gt;&lt;/strong&gt; -&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://downloads.phpmotion.com/fileupload/files/mpec4pv24r0400tk.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 149px; height: 146px;" src="http://downloads.phpmotion.com/fileupload/files/mpec4pv24r0400tk.png" alt="" border="0" /&gt;&lt;/a&gt;This is a free, opensource script and a good startig point if you do not have the money, but would like to experiment to see what kind of traffic your video niche portal can attract. I would not recommend it to anyone who is serious. It works well, but the design templates and the functionality is not that great. But, if you are on a shoestring budget and all you want to do is throw up something quickly and cheap - you can try this. &lt;strong&gt;Score: 7/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://clip-share.com/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="http://clip-share.com/" target="_blank"&gt;Clip-Share&lt;/a&gt;&lt;/strong&gt; - One of the initial players in this space. Has amazing graphical and layout templates that can be purchased in addition to the 4 basic templates that come pre-packaged. This is a solid script and a highly recommended choice for the serious. They sell 2 different versions - a Lite version at $99 and a Pro version at $199. You can purchase additional Web2.0 look-and-feel design template for $100 each. The template files can easily be customized as you wish. I had no problem whatsoever with their support and they were prompt to answer and get back to me with solutions to the problems I faced. If you have the budget go for this one. Recently GodTube.com that uses their script gota funding round of $30 million. &lt;strong&gt;Score: 9/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.rayzz.net/" target="_blank"&gt;Rayyz.net&lt;/a&gt;&lt;/strong&gt; - This script is not just for video sharing. It is a complete Social Media website that has has video, photo, music, files, articles, games, blogs and community networking built into the dash board. If you’re looking for a more than just video and a full fledged script of Social Networking around various media - then take a look at this script. Athough, I have not personally tested this script or worked with it - it seems to be alright. the price is a bit steep at $418. If you are serious about setting up a Social Netowrking site around media sharing content, it would be better if you installed &lt;a href="http://boonex.us/" target="_blank"&gt;Boonex&lt;/a&gt; (which has a free version). However, dont strike out Rayzz from your list - as it is quite powerful in its own way (it focuses more on the Social Media sharing tools and aspect than the Social Networking aspect, which is what Boonex does). &lt;strong&gt;Score 6.5/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.attachmax.com/" target="_blank"&gt;Attachmax&lt;/a&gt;&lt;/strong&gt; - This script will allow users to download the videos in addition to viewing them streamed. The script comes with a basic database of videos so you can have pre-populated content on your site. While the layout and graphic design may suit some people, I thought the script was pretty average and not too focused. At $$ , this may be a good buy to some of you. &lt;strong&gt;Score: 6/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://alstrasoft.com/videoshare.htm" target="_blank"&gt;Alstrasoft Video Share Enterprise&lt;/a&gt;&lt;/strong&gt; - Stay far far away from this one. Its got holes in it and the people behind it have a very bad reputation. I don’t want to bash them too much, but just do a search on Google with their name and you will see what other disgruntled people are saying on various forums. At $300 this is a complete waste of money (even though I would not pay even $10 for it). You have been warned!&lt;strong&gt; Score: 0/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://isoftscripts.com/" target="_blank"&gt;MediaMax Script&lt;/a&gt;&lt;/strong&gt; - This script is a recent re-branding of &lt;em&gt;Video Watch Pro&lt;/em&gt;. They have videos, pitcure, audio and social networking too - built into this script. The site and demo looks pretty impressive at $299 and they even have a Google Adsense flash video integration - which will allow you to earn more money within the flahs player. I have read elsewhere that their customer service is not up to mark - but this is not from a confirmed source. I think - you are good to go if you like their look and feel and functionality. Quite impressive. &lt;strong&gt;Score: 8/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://vshare.in/" target="_blank"&gt;VShare&lt;/a&gt;&lt;/strong&gt; - This is the script with the highest value-for-money at $10 !! The features are very advanced and their are plenty of them. I was quite taken by surprise to see the amount of features this script had packed into it - such as, alternate video server uploading, youtube direct embedding etc. The only drawback was the graphical template… it looked a bit ordinary. So, if you have the time and resources to alter template files - then i recommend this script highly. Although there are a few vendors on their site forums who are selling laternate templates, I am yet to see one which is “professional looking”. Also, I’d like to point out that their support and forums are extremely good and I got answers very quickly. Install this script if you have the ability to dabble around with the template and improve its basic look. &lt;strong&gt;Score: 9/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.ostube.de/en/ostube" target="_blank"&gt;osTube&lt;/a&gt;&lt;/strong&gt; - This script is a media sharing model and offers Video, Photo, Audio, Documents, Community and Blogs. The pre-packaged templates look quite impressive and the functionality and video player look good. I don’t have any idea what it costs - but you should test drive their free version, which has limited features, before you buy their paid versions. They are definitely the most impressive “media sharing” scripts out their from what I can see. May not have as many functions as Rayzz (above), but definitely a better and sleeker dashboard - although I dont know how the engine is under the hood. On what i’ve seen and assuming this script works well, I give them - &lt;strong&gt;Score: 8/10&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.phpsugar.com/" target="_blank"&gt;PHPmelody&lt;/a&gt;&lt;/strong&gt; -&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.phpsugar.com/images/img_pm_demo_frontend.gif.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 146px; height: 161px;" src="http://www.phpsugar.com/images/img_pm_demo_frontend.gif.png" alt="" border="0" /&gt;&lt;/a&gt; If you’re looking to setup a Music Videos website, then this is script is fantastic. It does not allow you and your visitors to directly upload videos to the site - but one can embed videos from Youtube - which is a fantastic feature, as not only does it save bandwidth and server resources but it also allows you to quickly add content. They also have a neat “keyword” based search that the admin can use to find videos on Youtube and add them with one click! The script comes pre-packaged with thousands of pre-populated music videos - if you want to get content included right away. A breeze to install, and definitely worth the price at $39 with additional layout templates at $10 to $19. Support is excellent and prompt. &lt;strong&gt;Score: 10/10&lt;/strong&gt; &lt;em&gt;if you are creating a Music Video website.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.vidiscript.com/" style="font-weight: bold;" target="_blank"&gt;VidiScript&lt;/a&gt; - This one is a free script and it looked pretty decent (front end) - with ability to show pre-roll ads, insert text banner ads inside video player, a decent flash player, and two not-so-good light and dark templates (that can always be improved by you). VidiScript not only supports Videos, but now also supports Audio, Photo and Flash Game uploads. I dont know how stable this script is and how it will hold up for a busy site, but… hey… its free! and so definitely worth a try. &lt;span style="font-weight: bold;"&gt;Score: 8/10&lt;/span&gt; (based on what I saw in the front end demo)&lt;/p&gt;&lt;p&gt;&lt;a style="font-weight: bold;" href="http://clip-bucket.com/" target="_blank"&gt;Clip-Bucket&lt;/a&gt; too. Its free and open sourced. I am not sure how secure it is and how it performs when measured up with the scripts above, as I had a quick look at the front end, but did not install it or use it on a site of my own. I must say for free price, the templates, the player the look and feel are HIGHLY professional and  the folks behind it have done a great job in making a very neat user interface and front end. By the looks of it - this is going to be a killer video sharing script … and will probably put behind vhsare and phpmotion - if the backend lives up to the quality of the front end.&lt;/p&gt;&lt;p&gt;&lt;a style="font-weight: bold;" href="http://www.videoswiper.com/" target="_blank"&gt;Mass video populator&lt;/a&gt;: It claims that it will allow you to mass populate and add videos to your video site (all scripts above are supported), in a few clicks. The price, I believe is the only downside as they have gone in for a bulk pricing, which works out to around 10 cents a video - steep I thought, for someone who wants to add say 1000 videos. Its a web based remote service.&lt;/p&gt;&lt;p&gt;&lt;a style="font-weight: bold;" href="http://www.videowatchpro.com/" target="_blank"&gt;VideoWatchPro&lt;/a&gt;: It is not that great, and scores around 5/10, from a brief look. I havent seen it in depth - but it doesn’t look to be anything worth spending more time on.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt; I suggest that you pick and choose from the scripts above and if you are selecting one not listed above you do your homework well - as their are many clones and copies of pre-existing scripts out their with holes in them. Start doing your research on this page of hotscripts.com - that lists a whole bunch of &lt;a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/Multimedia/index.html" target="_blank"&gt;media sharing php scripts&lt;/a&gt;, and also make sure you visit forums such as &lt;a href="http://www.programmingtalk.com/" target="_blank"&gt;Programming Talk&lt;/a&gt; to read reviews posted by other customers.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-8812287424709873864?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/8812287424709873864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/some-popular-youtube-clone-video-portal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8812287424709873864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8812287424709873864'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/some-popular-youtube-clone-video-portal.html' title='Some Popular Youtube Clone - Video Portal Scripts'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7623876287015414443</id><published>2009-10-06T16:16:00.000+07:00</published><updated>2011-07-06T15:47:26.700+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opensource'/><category scheme='http://www.blogger.com/atom/ns#' term='Free'/><title type='text'>Open Source Social Networking Software</title><content type='html'>&lt;h4 style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;a href="http://www.pligg.com/"&gt;&lt;img alt="Top 10 Open-Source Platforms that Allow You to Build Your Own Social Network" height="218" src="http://dzineblog.com/wp-content/uploads/2010/03/opensourceplatforms/socialform-10.jpg" width="320" /&gt;&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.mixxt.com/" style="clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://www.mixxt.com/" style="clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="Top 10 Open-Source Platforms that Allow You to Build Your Own Social Network" height="217" src="http://dzineblog.com/wp-content/uploads/2010/03/opensourceplatforms/socialform-5.jpg" width="320" /&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/h4&gt;&lt;h4&gt;&lt;a href="http://www.pligg.com/"&gt;Pilgg :&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Pligg was created as a social networking CMS. While most content management systems are designed for only a handful of authors, Pligg CMS was designed to manage a site with an unlimited number of authors. All of these registered users are in control of the website’s content. It is a user driven CMS that relies on independent authors’ content and participation to manage news articles.&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;a href="http://www.mixxt.com/"&gt;Mxxt :&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Mixxt is a intelligently designed open source platform that helps you build your very own social network at rapid development speeds. Develop, manage, and run your own community with ease and the help of forums, wikis, a custom design, the addition of photos, and a private network that’s dedicated to your community. You’ll also be able to work alongside other members to build and grow your community.&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4&gt;&lt;a href="http://project.askspree.de/" rel="nofollow"&gt;spree&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://project.askspree.de/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/spree.gif" style="height: 112px; width: 148px;" /&gt;&lt;/a&gt; &lt;br /&gt;spree is an expert search engine where users ask questions to find other participating users, who are knowledgeable in that area and willing to help.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/socialnetwork/" rel="nofollow"&gt;iSocial&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/socialnetwork/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/isocial.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;iSocial is a free social networking CMS software that allows you to create your own Friendster and Orkut like sites. Use bookmarks, dating and create groups with just one mouse click.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.mahara.org/" rel="nofollow"&gt;Mahara&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.mahara.org/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/mahara.png" /&gt;&lt;/a&gt; &lt;br /&gt;Mahara is fully featured electronic portfolio, weblog, resume builder, and social networking system for connecting users and creating online communities.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/galeriayogurt/" rel="nofollow"&gt;Yogurt&lt;/a&gt;&lt;/h4&gt;This is a Social Network module for xoops CMS. You have seen Facebook, Orkut, Myspace , try Yogurt for Xoops!  &lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/vmukti/" rel="nofollow"&gt;VMukti&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/vmukti/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/vmukti.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;VMukti is a Unified Social Collaborative conferencing engine. Allows access through personalized, mashable web-interface. Core features:- Video conferencing, Audio conferencing, IP Telephony, Desktop sharing, Chat, Whiteboard, Presentation &amp;amp; More.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.broadbandmechanics.com/" rel="nofollow"&gt;The PeopleAggregator&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.broadbandmechanics.com/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/tpa.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;The PeopleAggregator is a next-generation social networking system that goes beyond the idea of social networks as mating games, and attempts to use open standards, network inter-connectivity and massive flexibility.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://appleseed.sourceforge.net/" rel="nofollow"&gt;Appleseed&lt;/a&gt;&lt;/h4&gt;Appleseed is (augmented) social networking software, ie Friendster, only distributed. Sites running Appleseed will interoperate, and form the 'Appleseed Social Network.' Development is focused on privacy and security, as well as ease of configuration.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://developer.mugshot.org/wiki/Mugshot_Project" rel="nofollow"&gt;Mugshot Project&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://en.wikipedia.org/wiki/Mugshot_%28website%29" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/ms.png" /&gt;&lt;/a&gt; &lt;br /&gt;Mugshot was a social networking website created by Red Hat. Unlike most other social networking websites (which are concerned with advertising), it offered a desktop client and web widgets. Mugshot was meant to facilitate real-world interactions with friends, and make one's normal computer use more social. It provided the functionality of a social network aggregator.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.getboo.com/project.php" rel="nofollow"&gt;GetBoo&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.getboo.com/project.php" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/getboo.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Web 2.0 bookmarking system, both social (with tags) and private (with folders). Import and export your bookmarks from Firefox, IE, Mozilla, Netscape. Admin management section, translations, groups, bookmarklets, Firefox extension, RSS feeds, and more!&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/akarru/" rel="nofollow"&gt;Akarru&lt;/a&gt;&lt;/h4&gt;Akarru is a social bookmarking engine, is used to build social bookmarkings sites, like www.blogmemes.com.  Users posts links and promote links to front page using voting system.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/scuttle/" rel="nofollow"&gt;Scuttle&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/scuttle/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/scuttle.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Web-based social bookmarking system. Allows multiple users to store, share and tag their favourite links online.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/semanticscuttle/" rel="nofollow"&gt;SemanticScuttle&lt;/a&gt;&lt;/h4&gt;SemanticScuttle is a social bookmarking tool (based on Scuttle) experimenting new features as hierarchical tags, collaborative descriptions or OpenID authentification.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.barnraiser.org/" rel="nofollow"&gt;AROUNDMe&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.barnraiser.org/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/am.png" /&gt;&lt;/a&gt; &lt;br /&gt;Create collaborative social websites (like Ning, Myspace, Yahoo or Google groups). Each group can create a multiple web pages.  They get a drop in guestbook, blog, forum and wiki. Each group is fully customizable using xHTML, CSS, Javascript and PHP.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://code.google.com/p/clonesumating/" rel="nofollow"&gt;Clonesumating&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://code.google.com/p/clonesumating/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/csmlogo.gif" /&gt;&lt;/a&gt; &lt;br /&gt;Clonesumating is the open source version of the code that runs CONSUMATING.COM. It features many state of the art social networking functions including user profiles, user tagging, matching and discovery based on quirky tag combinations, group activities such as weekly photo contests and blog questions, an event calendar, RSS feeds for everything, etc. It is written primarily in mod_perl.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.bevolunteer.org/trac/" rel="nofollow"&gt;BeWelcome Rox&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.bevolunteer.org/trac/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/bwr.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Get to know the global village and other cultures, share your place. BW Rox is the platform driving www.bewelcome.org and other social networks, aiming to bring people together in real life. Organize your travel or stay abroad, travelblog, meetings, ...&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.icecoreopen.org/web/icecore_guest" rel="nofollow"&gt;ICEcore&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.icecoreopen.org/web/icecore_guest" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/icecore.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;ICEcore open team collaboration software uses social networking to unify team workspaces w/ real-time web conferencing.  Collaboration for knowledge networking, program management, communities-of-practice, telework, ...&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/memephage/" rel="nofollow"&gt;Memephage&lt;/a&gt;&lt;/h4&gt;Memephage is an automated web log (blog). It passively gathers and summarizes links from various places.  Currently: IRC, social MUDs, e-mail, and web browsers. Uses the POE multitasking and networking framework for Perl.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.interactole.org/spaces/space.php?space_key=1" rel="nofollow"&gt;InteractOLE&lt;/a&gt;&lt;/h4&gt;A platform for the delivery and support of online learning. It differs from many other elearning platforms in that its aim is to concentrate on the social/interactive aspects of teaching and learning rather than the delivery of content to students.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://elgg.org/" rel="nofollow"&gt;Elgg&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://elgg.org/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/elgg.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Elgg is an open source social networking platform developed for LAMP (Linux, Apache, MySQL, PHP) which encompasses weblogging, file storage, RSS aggregation, personal profiles, FOAF functionality and more.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/communitynews/" rel="nofollow"&gt;CommunityNews&lt;/a&gt;&lt;/h4&gt;CommunityNews uses social bookmarking and bayesian techinques to provide periodic postings to blogs. Users can vote for or against RSS sources ti increase the chances that the source is used again. Spam filtering (bayesian) is provided by spam bayes.  &lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/openpne/" rel="nofollow"&gt;OpenPNE&lt;/a&gt;&lt;/h4&gt;OpenPNE is a Social Networking Service Engine written in PHP. It has many features(friend control,friend invitation,diary,blog feeds,message box,etc).&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.shokk.com/blog/articles/category/monkeychow/" rel="nofollow"&gt;MonkeyChow&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.shokk.com/blog/articles/category/monkeychow/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/mc.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Feed Aggregator Reader (branched from FeedOnFeeds) with Social Bookmarks (del.icio.us, Blogger, Newsvine, Technorati, mailto),  Article Starring, Feed Tagging, OPML, Article Search, Reblogging and Refeeding, Aging, and Edit feed attributes.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/newscloud/" rel="nofollow"&gt;NewsCloud&lt;/a&gt;&lt;/h4&gt;NewsCloud is an open source media platform for citizen journalism and the social news network hosted at NewsCloud.com. &lt;br /&gt;&lt;h4&gt;&lt;a href="http://feedmelinks.com/portal" rel="nofollow"&gt;Feed Me Links&lt;/a&gt;&lt;/h4&gt;Feed Me Links stores your bookmarks online so you can get to them anywhere. Import your favorites and share your links with friends. Add tags to organize your links. Discover new things.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/worldspace/" rel="nofollow"&gt;WorldSpace&lt;/a&gt;&lt;/h4&gt;WorldSpace is a user-extensible shared virtual environment, aimed at being a next-generation social networking system.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/opennetwork/" rel="nofollow"&gt;Social Networking POC&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/opennetwork/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/snpoc.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;A networking site on the lines of Orkut.Right now we plan to build it on Jboss seam and use a Java content management system like apache Jackrabbit as the backend. It would be more of a POC than an actual commercial app.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://zoints.com/community-owners.z" rel="nofollow"&gt;Zoints&lt;/a&gt;&lt;/h4&gt;Zoints is intimately aware that online communities are the most important aspect of the internet. Our free software solutions are designed to help solve the three major problems forum owners face: Member acquisition, Member retention and Profitability.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/earth-life-sim/" rel="nofollow"&gt;earth-life-simulation&lt;/a&gt;&lt;/h4&gt;A simulation of the world, there will be a global map representation and players can choose a country or civilization and develop it's social, political and military existence.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.phpizabi.net/" rel="nofollow"&gt;PHPizabi&lt;/a&gt;&lt;/h4&gt;PHPizabi is one of the most powerful social networking platforms on the planet. With literally thousands of websites powered by PHPizabi including everything from simple friends sites to the most complex networking super sites out there.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/ozcode/" rel="nofollow"&gt;Ozcode&lt;/a&gt;&lt;/h4&gt;Ozcode is the source code behind Ozmozr.com, a microformat-aware RSS aggregator, social networking, resource sharing, identity aggregation and presentation site.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/tallstreet/" rel="nofollow"&gt;TallStreet&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/tallstreet/"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/ts.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;TallStreet.com is a new search engine concept where users make investments, with fictional money, in their favourite websites and the rankings are determined entirely by the users.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jamss.sourceforge.net/" rel="nofollow"&gt;Jamss&lt;/a&gt;&lt;/h4&gt;Jamss is a social news site based off of Digg.com. Jamss allows for peer submission and review of web articles and can be adapted to fit a variety of themes. Jamss runs on PHP/MySQL.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.boonex.com/products/dolphin/" rel="nofollow"&gt;Dolphin&lt;/a&gt;&lt;/h4&gt;Dolphin is open-source and free, although there is a cost associated with removing the company�s links from your site.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/ospo/" rel="nofollow"&gt;Ospo&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/ospo/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/ospo.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Ospo is an opensource social portal project. It use standard function (add, remove friends, top10), forums integration, music module (artists directory with albums, songs), shoutcast integration, blog (add, delete, modify, view) and so on.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/astrospaces/" rel="nofollow"&gt;AstroSPACES&lt;/a&gt;&lt;/h4&gt;AstroSPACES is the world's first open source social networking solution. Coded from scratch, it is highly efficient and very easy to use.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://flightfeather.sourceforge.net/" rel="nofollow"&gt;FlightFeather&lt;/a&gt;&lt;/h4&gt;FlightFeather's goal is "social networking for everyone". This means that anyone should have a chance to run a popular social networking site -- on minimal hardware, and without wasting bandwidth.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sourceforge.net/projects/snoss/" rel="nofollow"&gt;SNOSS&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://sourceforge.net/projects/snoss/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/snoss.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Social Networking Open Source Software, an open source social networking framework, written in PHP, Javascript and MySQL with an AJAX UI.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.opensocialnetwork.es/" rel="nofollow"&gt;OpenSocialNetwork&lt;/a&gt;&lt;/h4&gt;OpenSocialNetwork is a social network of open source. Its main task is to create a social network releasing the source code.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://s3b.sourceforge.net/" rel="nofollow"&gt;S3B&lt;/a&gt;&lt;/h4&gt;S3B - Social Semantic Search and Browsing - is a middleware that delivers a set of search and browsing components that can be used in J2EE web applications to deliver user-oriented features based on semantic descriptions and social networking.&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.patrick-opitz.com/projects/facelift/" rel="nofollow"&gt;Facelift&lt;/a&gt;&lt;/h4&gt;&lt;a href="http://www.patrick-opitz.com/projects/facelift/" rel="nofollow"&gt;&lt;img src="http://www.vivalogo.com/vl-resources/images/fl.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;Facelift is a visualization and analysis software for online social networking services. It displays a given community as a node-link diagram and provides several search / filtering functions as well as cluster analysis features.&lt;br /&gt;&lt;a href="http://www.anahitapolis.com/" mce_="" rel="nofollow" style="font-weight: bold;" target="_blank"&gt;Anahita Social Engine&lt;/a&gt; - Anahita is a scalable social networking platform that is built as Joomla extensions using the Nooku framework.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;img alt="Anahita Social Engine" mce_src="http://i686.photobucket.com/albums/vv227/haiwasnm/anahita-social-engine.jpg" src="http://i686.photobucket.com/albums/vv227/haiwasnm/anahita-social-engine.jpg" style="height: 90px; width: 142px;" title="Anahita Social Engine" /&gt;&lt;/div&gt;&lt;a href="http://www.communityengine.org/" mce_="" rel="nofollow" style="font-weight: bold;" target="_blank"&gt;Community Engine&lt;/a&gt; - Community Engine is an open source plugin for Ruby on Rails applications that provides the common features of social networking applications&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;img alt="Community Engine" mce_src="http://i686.photobucket.com/albums/vv227/haiwasnm/community-engine-rails.jpg" src="http://i686.photobucket.com/albums/vv227/haiwasnm/community-engine-rails.jpg" style="border: 1px solid black; height: 101px; width: 169px;" title="Community Engine" /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;b&gt;&lt;a href="http://www.oxwall.org/"&gt;Oxwall&lt;/a&gt;&amp;nbsp;-&lt;/b&gt;Oxwall is unbelievably flexible and easy to use PHP/MySQL community software platform.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://1.bp.blogspot.com/_YcXqlSh10gg/TPCa6Kelv5I/AAAAAAAAAQQ/MEU3pEuzcPA/s1600/oxwall.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="110" src="http://1.bp.blogspot.com/_YcXqlSh10gg/TPCa6Kelv5I/AAAAAAAAAQQ/MEU3pEuzcPA/s320/oxwall.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&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/7804530867150518586-7623876287015414443?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7623876287015414443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/open-source-social-networking-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7623876287015414443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7623876287015414443'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/10/open-source-social-networking-software.html' title='Open Source Social Networking Software'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YcXqlSh10gg/TPCa6Kelv5I/AAAAAAAAAQQ/MEU3pEuzcPA/s72-c/oxwall.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7626871648355766512</id><published>2009-09-14T13:12:00.000+07:00</published><updated>2009-11-03T16:19:23.528+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SEO'/><category scheme='http://www.blogger.com/atom/ns#' term='.htaccess'/><category scheme='http://www.blogger.com/atom/ns#' term='url rewriting'/><title type='text'>SEO friendly URL redirection</title><content type='html'>There are couple of things that one should maintain while redirecting urls not to let the site rank fall down on the search ranks.&lt;br /&gt;Lets first learn about some redirects and then we'll see how to implement them on different servers and/or environment.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Redirection&lt;/span&gt; : In the HTTP protocol used by the World Wide Web, a redirect is a response with a status code beginning with 3 that induces a browser to go to another location. The HTTP standard defines several status codes for redirection:&lt;p&gt;&lt;/p&gt;         &lt;ul&gt;&lt;li&gt;300 multiple choices (e.g. offer different languages)&lt;/li&gt;&lt;li&gt;301 moved permanently&lt;/li&gt;&lt;li&gt;302 found (e.g. temporary redirect)&lt;/li&gt;&lt;li&gt;303 see other (e.g. for results of cgi-scripts)&lt;/li&gt;&lt;li&gt;307 temporary redirect&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Dealing the redirection&lt;/span&gt; :&lt;ul&gt;&lt;li&gt;html:&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;HTTP/1.1 301 Moved Permanently&lt;br /&gt;Location: http://www.example.org/&lt;br /&gt;Content-Type: text/html&lt;br /&gt;Content-Length: 174&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Moved&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;h1&amp;gt;Moved&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;This page has moved to &amp;lt;a href="http://www.example.org/"&amp;gt;http://www.example.org/&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;CF : Put the following code on the Application.cfm/cfc or on the home page&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&amp;lt;cfheader statuscode="301" statustext="Moved Permanently" /&amp;gt;&lt;br /&gt;&amp;lt;cfheader name="location" value="http://www.new-url.com"; /&amp;gt;&lt;br /&gt;&amp;lt;cfabort /&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Apache server : Put the following lines on the .htaccess file &lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;Redirect ^oldpage.html http://www.example.com/newpage.html [R=301,L]&lt;br /&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;php&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;References&lt;/span&gt; :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/URL_redirection"&gt;Wiki&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7626871648355766512?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7626871648355766512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/09/seo-friendly-url-redirection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7626871648355766512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7626871648355766512'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/09/seo-friendly-url-redirection.html' title='SEO friendly URL redirection'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3512444491928815223</id><published>2009-09-09T15:45:00.000+07:00</published><updated>2009-09-09T16:06:38.001+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Word Counter</title><content type='html'>I don write code for long time. I wrote this program just to count an essay ;) So not a very big deal actually.&lt;br /&gt;What I have practiced here :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Openfiledialog&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; : How to open and select a file&lt;/span&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;OpenFileDialog fDialog = new OpenFileDialog();&lt;br /&gt;           fDialog.Title = "File to read";&lt;br /&gt;           fDialog.Filter = "txt files|*.txt";&lt;br /&gt;           fDialog.InitialDirectory = @"C:\Documents and Settings\roni\Desktop\Temp";&lt;br /&gt;&lt;br /&gt;           if (fDialog.ShowDialog() == DialogResult.OK)&lt;br /&gt;               //MessageBox.Show(fDialog.FileName.ToString());&lt;br /&gt;&lt;/blockquote&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Reading a file:&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;StringBuilder newFile = new StringBuilder();&lt;br /&gt;string filestring = File.ReadAllText(@"C:\p_keydump.txt");&lt;br /&gt;filestring = filestring.Replace("\r\n", ",");&lt;/blockquote&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Count the number of words is the file.&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;countedWords = strText.Split('  ').Length;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;&lt;a style="font-weight: bold;" href="http://ourgroup.isgreat.org/myshares/WordCount.rar"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3512444491928815223?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3512444491928815223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/09/c-word-counter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3512444491928815223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3512444491928815223'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/09/c-word-counter.html' title='C# Word Counter'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2335961404980302315</id><published>2009-08-13T19:33:00.000+07:00</published><updated>2009-08-13T19:45:25.489+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Webservice'/><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='SOAP'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Invoking webservice using php</title><content type='html'>Yah, I just finished primary work for an online application. Basically I just learned how to use SOAP to access a webservice using php.&lt;br /&gt;PHP 5 has introduced &lt;span style="font-style: italic;"&gt;SoapClient&lt;/span&gt; class to do such things. Following is the code that I used :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;?php&lt;br /&gt;$wsdl_url =  "http://urltowebservice.wsdl";&lt;br /&gt;$client     = new SoapClient($wsdl_url);&lt;br /&gt;$params = array('pasrm1'=&amp;gt;7, 'param2'=&amp;gt;'EN');&lt;br /&gt;try {&lt;br /&gt;       $objectResult = $client-&amp;gt;SomeMethod($params);&lt;br /&gt;       echo $objectResult-&amp;gt;ResponseResult;&lt;br /&gt;} catch (SoapFault $exception) {&lt;br /&gt;       echo $exception;&lt;br /&gt;}&lt;br /&gt;//var_dump($client-&amp;gt;__getFunctions());&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2335961404980302315?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2335961404980302315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/08/invoking-webservice-using-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2335961404980302315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2335961404980302315'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/08/invoking-webservice-using-php.html' title='Invoking webservice using php'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2693892734652770723</id><published>2009-07-21T20:49:00.000+07:00</published><updated>2009-07-21T21:13:39.670+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Php page/URL redirect with header() function</title><content type='html'>If you are a php developer then you must know how to redirect a page from current page using php &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;header() &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;function. And example script should look like as follows :&lt;br /&gt;&lt;blockquote&gt;&amp;lt;?php&lt;br /&gt;header("Location: http://www.myurl.abc");&lt;br /&gt;echo "I don know what to do next";&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;The only thing that you should take care of is that NOTHING should be printed before the &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;header() &lt;/span&gt;&lt;/span&gt;function call.&lt;br /&gt;Now if you need  to call this header function in the middle of any of your html design- what to do ? Simple call &lt;span style="font-weight: bold; font-style: italic;"&gt;ob_start()&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;at the very first line of your page then call have all your html tags,call your &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;header() &lt;/span&gt;&lt;/span&gt; function and &lt;span style="font-style: italic; font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and call &lt;span style="font-weight: bold; font-style: italic;"&gt;ob_end_flush() &lt;/span&gt;immidiately after header() function call. The code should look like as follows :&lt;br /&gt;&lt;blockquote&gt;&amp;lt;?php&lt;br /&gt;ob_start();&lt;br /&gt;//Your html and or other code to print html&lt;br /&gt;echo "A line before header() call";&lt;br /&gt;header("Location: http://www.url");&lt;br /&gt;ob_end_flush();&lt;br /&gt;?&amp;gt; &lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;a href="http://us2.php.net/manual/en/function.ob-start.php"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.php.net/manual/en/function.header.php"&gt;header()&lt;/a&gt;&lt;br /&gt;&lt;a href="http://us2.php.net/manual/en/function.ob-start.php"&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.php.net/manual/en/function.ob-start.php"&gt;ob_start()&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.php.net/manual/en/function.ob-end-flush.php"&gt;ob_end_flush()&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2693892734652770723?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2693892734652770723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/07/php-pageurl-redirect-with-header.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2693892734652770723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2693892734652770723'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/07/php-pageurl-redirect-with-header.html' title='Php page/URL redirect with header() function'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4700689822354412718</id><published>2009-07-20T17:51:00.000+07:00</published><updated>2009-11-03T16:19:47.935+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SEO'/><category scheme='http://www.blogger.com/atom/ns#' term='.htaccess'/><category scheme='http://www.blogger.com/atom/ns#' term='url rewriting'/><title type='text'>Five useful URL rewriting rules</title><content type='html'>&lt;p align="justify"&gt;If you are looking for the examples of URL rewriting then this post might be useful for you. In this post, five useful examples of URL rewriting using .htacess are depicted.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;span id="more-42"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p align="justify"&gt;Now let’s look at the examples&lt;/p&gt; &lt;p&gt;&lt;strong&gt;1)Rewriting product.php?id=12 to  product-12.html&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;It is a simple redirection in which .php extension is hidden from the browser’s address bar and dynamic url (containing “?” character) is converted into a static URL.&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RewriteEngine on&lt;br /&gt;RewriteRule ^product-([0-9]+)\.html$ product.php?id=$1&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;2) Rewriting product.php?id=12 to  product/ipod-nano/12.html&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;SEO expert always suggest to display the main keyword in the URL. In the following URL rewriting technique you can display the name of the product in URL.&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RewriteEngine on&lt;br /&gt;RewriteRule ^product/([a-zA-Z0-9_-]+)/([0-9]+)\.html$ product.php?id=$2&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;3) Redirecting non www URL to www URL&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;span&gt;&lt;span&gt;If you type yahoo.com in browser it will be redirected to www.yahoo.com. If you want to do same with your website then put the following code to .htaccess file. What is benefit of this kind of redirection?? Please check the post about&lt;/span&gt;&lt;/span&gt; &lt;a href="http://roshanbh.com.np/2007/12/301-redirect-in-php-and-htaccess.html" title="301 redirect in PHP"&gt;SEO friendly redirect (301) redirect in php and .htaccess.&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{HTTP_HOST} ^optimaxwebsolutions\.com$&lt;br /&gt;RewriteRule (.*) http://www.optimaxwebsolutions.com/$1 [R=301,L]&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;4) Rewriting yoursite.com/user.php?username=xyz to yoursite.com/xyz&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt; &lt;span&gt;&lt;span&gt;Have you checked zorpia.com.If you type http://zorpia.com/youruserid in browser you can see &lt;span style="font-style: italic;"&gt;youuserid's&lt;/span&gt; profile over there. If you want to do the same kind of redirection i.e http://yoursite.com/xyz to http://yoursite.com/user.php?username=xyz then you can add the following code to the .htaccess file.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RewriteEngine On&lt;br /&gt;RewriteRule ^([a-zA-Z0-9_-]+)$ user.php?username=$1&lt;br /&gt;RewriteRule ^([a-zA-Z0-9_-]+)/$ user.php?username=$1&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;5) Redirecting the domain to a new subfolder of inside public_html.&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;Suppose the you’ve redeveloped your site and all the new development reside inside the “new” folder of inside root folder.Then the new development of the website can be accessed like “test.com/new”. Now moving these files to the root folder can be a hectic process so you can create the following code inside the .htaccess file and place it under the root folder of the website. In result, www.test.com point out to the files inside “new” folder.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;  &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{HTTP_HOST} ^test\.com$ [OR]&lt;br /&gt;RewriteCond %{HTTP_HOST} ^www\.test\.com$&lt;br /&gt;RewriteCond %{REQUEST_URI} !^/new/&lt;br /&gt;RewriteRule (.*)   /new/$1  &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4700689822354412718?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4700689822354412718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/07/five-useful-urll-rewriting-rules.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4700689822354412718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4700689822354412718'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/07/five-useful-urll-rewriting-rules.html' title='Five useful URL rewriting rules'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5575045745876402419</id><published>2009-06-19T17:46:00.000+06:00</published><updated>2009-06-19T18:05:54.610+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Day Light Saving'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='Bangladesh'/><title type='text'>Fix-it from Microsoft for Bangladesh 2009 Daylight Saving Time</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_YcXqlSh10gg/Sjt_AN2z1bI/AAAAAAAAADo/6ikPG_sH5vg/s1600-h/microsoft.gif"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 132px; height: 25px;" src="http://1.bp.blogspot.com/_YcXqlSh10gg/Sjt_AN2z1bI/AAAAAAAAADo/6ikPG_sH5vg/s320/microsoft.gif" alt="" id="BLOGGER_PHOTO_ID_5349008624128873906" border="0" /&gt;&lt;/a&gt;Owao... M$ seems to be pretty interested providing patch for BD windows users !! :D Check the following notice :&lt;br /&gt;&lt;br /&gt;Notice: Optional Fix-it Available for Bangladesh 2009 Daylight Saving Time&lt;br /&gt;As reported in the Bangladesh Government’s Gazette, Bangladesh has announced the introduction of Daylight Saving Time (DST).  The start of DST for 2009 is on June 19th at 11:00 PM.&lt;br /&gt;Microsoft has produced an automated workaround (called a fix-it) to implement the DST Start time change for Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008. The Fix it solution is a MSI file so it is deployed as  any other MSI based software package.&lt;br /&gt;If interested in downloading this workaround please refer to &lt;a href="http://support.microsoft.com/kb/972423"&gt;KB972423&lt;/a&gt; titled:”An optional update is available to update the Daylight Saving Time for Bangladesh for the year 2009 for Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008 based computers”&lt;br /&gt;For other Windows versions, please refer to &lt;a href="http://support.microsoft.com/kb/914387"&gt;KB 914387&lt;/a&gt; “How to configure daylight saving time for Microsoft Windows operating systems” on how to update the time zone registry key.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://blogs.technet.com/dst2007/archive/2009/06/12/notice-optional-fix-it-available-for-bangladesh-2009-daylight-saving-time.aspx"&gt;Original post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://ourgroup.isgreat.org/myshares/microsoftfixit50280.msi"&gt;Download the patch from my shares&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5575045745876402419?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5575045745876402419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/06/microsoft-fix-it-for-bangladesh-2009.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5575045745876402419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5575045745876402419'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/06/microsoft-fix-it-for-bangladesh-2009.html' title='Fix-it from Microsoft for Bangladesh 2009 Daylight Saving Time'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YcXqlSh10gg/Sjt_AN2z1bI/AAAAAAAAADo/6ikPG_sH5vg/s72-c/microsoft.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7043736860063887824</id><published>2009-06-12T15:38:00.000+06:00</published><updated>2009-06-12T15:43:39.931+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Music'/><title type='text'>The Climb</title><content type='html'>&lt;object width="500" height="315"&gt;&lt;param name="movie" value="http://www.youtube.com/v/NG2zyeVRcbs&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/NG2zyeVRcbs&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="450" height="315"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;small&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;Songwriters:&lt;/b&gt; Alexander, J; Mabe, J;&lt;/small&gt; &lt;br /&gt;&lt;br /&gt;I can almost see it&lt;br /&gt;That dream I am dreaming&lt;br /&gt;But there's a voice inside my head saying&lt;br /&gt;"You'll never reach it"&lt;br /&gt;&lt;br /&gt;Every step I'm taking&lt;br /&gt;Every move I make feels&lt;br /&gt;Lost with no direction&lt;br /&gt;My faith is shaking&lt;br /&gt;&lt;br /&gt;But I gotta keep trying&lt;br /&gt;Gotta keep my head held high&lt;br /&gt;&lt;br /&gt;There's always gonna be another mountain&lt;br /&gt;I'm always gonna wanna make it move&lt;br /&gt;Always gonna be a uphill battle&lt;br /&gt;Sometimes I'm gonna have to lose&lt;br /&gt;&lt;br /&gt;Ain't about how fast I get there&lt;br /&gt;Ain't about what's waiting on the other side&lt;br /&gt;It's the climb&lt;br /&gt;&lt;br /&gt;The struggles I'm facing&lt;br /&gt;The chances I'm taking&lt;br /&gt;Sometimes might knock me down&lt;br /&gt;But no, I'm not breaking&lt;br /&gt;&lt;br /&gt;I may not know it&lt;br /&gt;But these are the moments that&lt;br /&gt;I'm gonna remember most, yeah&lt;br /&gt;Just gotta keep going&lt;br /&gt;&lt;br /&gt;And I, I got to be strong&lt;br /&gt;Just keep pushing on&lt;br /&gt;&lt;br /&gt;'Cause there's always gonna be another mountain&lt;br /&gt;I'm always gonna wanna make it move&lt;br /&gt;Always gonna be a uphill battle&lt;br /&gt;Sometimes I'm gonna have to lose&lt;br /&gt;&lt;br /&gt;Ain't about how fast I get there&lt;br /&gt;Ain't about what's waiting on the other side&lt;br /&gt;It's the climb, yeah!&lt;br /&gt;&lt;br /&gt;There's always gonna be another mountain&lt;br /&gt;I'm always gonna wanna make it move&lt;br /&gt;Always gonna be an uphill battle&lt;br /&gt;Somebody's gonna have to lose&lt;br /&gt;&lt;br /&gt;Ain't about how fast I get there&lt;br /&gt;Ain't about what's waiting on the other side&lt;br /&gt;It's the climb, yeah!&lt;br /&gt;&lt;br /&gt;Keep on moving, keep climbing&lt;br /&gt;Keep the faith, baby&lt;br /&gt;It's all about, it's all about the climb&lt;br /&gt;Keep the faith, keep your faith, whoa&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7043736860063887824?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7043736860063887824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/06/climb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7043736860063887824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7043736860063887824'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/06/climb.html' title='The Climb'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-1076076572231637122</id><published>2009-05-18T18:34:00.000+06:00</published><updated>2012-02-01T12:44:15.049+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer Vision'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='HMI'/><category scheme='http://www.blogger.com/atom/ns#' term='Human Machine Interaction'/><title type='text'>Computer Vision and Artificial Inteligence</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://3.bp.blogspot.com/_YcXqlSh10gg/SnrU_HrK8YI/AAAAAAAAAEY/1hBywVpRqcs/s1600-h/hmd.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5366836086822334850" src="http://3.bp.blogspot.com/_YcXqlSh10gg/SnrU_HrK8YI/AAAAAAAAAEY/1hBywVpRqcs/s320/hmd.jpg" style="cursor: pointer; float: left; height: 250px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;I's studying computer vission for couple of days and as a open source fan follwing are the libraries that I though I should work with :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;AForge.Net: &lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;span style="font-style: italic;"&gt;AForge.NET&lt;/span&gt; is a C# framework designed for developers and researchers in the fields of Computer Vision and Artificial Intelligence - image processing, neural networks, genetic algorithms, machine learning, robotics, etc.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;OpenCV:&lt;/span&gt; &lt;span style="font-style: italic;"&gt;OpenCV&lt;/span&gt; is a computer vision library originally developed by Intel. It is free for commercial and research use under a BSD license. The library is cross-platform, and runs on Windows, Mac OS X, Linux, PSP, VCRT (Real-Time OS on Smart camera) and other embedded devices. It focuses mainly on real-time image processing, as such, if it finds Intel's Integrated Performance Primitives on the system, it will use these commercial optimized routines to accelerate itself. Released under the terms of the BSD license, OpenCV is open source software.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;EmguCV:&lt;/span&gt;&lt;span style="font-style: italic;"&gt;EmguCV&lt;/span&gt; is a cross platform .Net wrapper to the Intel OpenCV image processing library. Allowing OpenCV functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython etc. The wrapper can be compiled in Mono and run on Linux / Mac OS X.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.aforgenet.com/framework/"&gt;AForge.Net&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://opencv.willowgarage.com/wiki/"&gt;OpenCV&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.emgu.com/wiki/index.php/Main_Page"&gt;EmguCV&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-1076076572231637122?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/1076076572231637122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/05/computer-vision-and-artificial.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1076076572231637122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1076076572231637122'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/05/computer-vision-and-artificial.html' title='Computer Vision and Artificial Inteligence'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YcXqlSh10gg/SnrU_HrK8YI/AAAAAAAAAEY/1hBywVpRqcs/s72-c/hmd.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3027687748307323340</id><published>2009-04-30T16:19:00.000+06:00</published><updated>2009-04-30T19:48:16.338+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Socket'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net'/><title type='text'>Dot Net Socket Programming-2 : Asynchronous Socket Client</title><content type='html'>I just 'CTRL+C and CTRL+V'ed from client socket code on MSDN samples. The following code should be self explanatory. If I get enough time I'd write a brief description of it though.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;using System;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Net.Sockets;&lt;br /&gt;using System.Threading;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;// State object for receiving data from remote device.&lt;br /&gt;public class StateObject&lt;br /&gt;{&lt;br /&gt;  // Client socket.&lt;br /&gt;  public Socket workSocket = null;&lt;br /&gt;  // Size of receive buffer.&lt;br /&gt;  public const int BufferSize = 1024;&lt;br /&gt;  // Receive buffer.&lt;br /&gt;  public byte[] buffer = new byte[BufferSize];&lt;br /&gt;  // Received data string.&lt;br /&gt;  public StringBuilder sb = new StringBuilder();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class AsynchronousClient&lt;br /&gt;{&lt;br /&gt;  // The port number for the remote device.&lt;br /&gt;  private const int port = 5656;&lt;br /&gt;&lt;br /&gt;  // ManualResetEvent instances signal completion.&lt;br /&gt;  private static ManualResetEvent connectDone =new ManualResetEvent(false);&lt;br /&gt;  private static ManualResetEvent sendDone =new ManualResetEvent(false);&lt;br /&gt;  private static ManualResetEvent receiveDone =new ManualResetEvent(false);&lt;br /&gt;&lt;br /&gt;  // The response from the remote device.&lt;br /&gt;  private static String response = String.Empty;&lt;br /&gt;&lt;br /&gt;  private static void StartClient()&lt;br /&gt;  {&lt;br /&gt;      // Connect to a remote device.&lt;br /&gt;      try&lt;br /&gt;      {&lt;br /&gt;          // Establish the remote endpoint for the socket.&lt;br /&gt;          IPHostEntry ipHostInfo = Dns.Resolve("localhost");&lt;br /&gt;          IPAddress ipAddress = ipHostInfo.AddressList[0];&lt;br /&gt;          IPEndPoint ep = new IPEndPoint(ipAddress, port);&lt;br /&gt;&lt;br /&gt;          // Create a TCP/IP socket.&lt;br /&gt;          Socket client = new Socket(AddressFamily.InterNetwork,&lt;br /&gt;              SocketType.Stream, ProtocolType.Tcp);&lt;br /&gt;&lt;br /&gt;          // Connect to the remote endpoint.&lt;br /&gt;          client.BeginConnect(ep,&lt;br /&gt;              new AsyncCallback(ConnectCallback), client);&lt;br /&gt;          connectDone.WaitOne();&lt;br /&gt;&lt;br /&gt;          // Send test data to the remote device.&lt;br /&gt;          Send(client, "Data Send to local server.");&lt;br /&gt;          sendDone.WaitOne();&lt;br /&gt;&lt;br /&gt;          // Receive the response from the remote device.&lt;br /&gt;          Receive(client);&lt;br /&gt;          receiveDone.WaitOne();&lt;br /&gt;&lt;br /&gt;          // Write the response to the console.&lt;br /&gt;          Console.WriteLine("Response received : {0}", response);&lt;br /&gt;&lt;br /&gt;          // Release the socket.&lt;br /&gt;          client.Shutdown(SocketShutdown.Both);&lt;br /&gt;          client.Close();&lt;br /&gt;&lt;br /&gt;      }&lt;br /&gt;      catch (Exception e)&lt;br /&gt;      {&lt;br /&gt;          Console.WriteLine(e.ToString());&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  private static void ConnectCallback(IAsyncResult ar)&lt;br /&gt;  {&lt;br /&gt;      try&lt;br /&gt;      {&lt;br /&gt;          // Retrieve the socket from the state object.&lt;br /&gt;          Socket client = (Socket)ar.AsyncState;&lt;br /&gt;&lt;br /&gt;          // Complete the connection.&lt;br /&gt;          client.EndConnect(ar);&lt;br /&gt;&lt;br /&gt;          Console.WriteLine("Socket connected to {0}",client.RemoteEndPoint.ToString());&lt;br /&gt;&lt;br /&gt;          // Signal that the connection has been made.&lt;br /&gt;          connectDone.Set();&lt;br /&gt;      }&lt;br /&gt;      catch (Exception e)&lt;br /&gt;      {&lt;br /&gt;          Console.WriteLine(e.ToString());&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  private static void Receive(Socket client)&lt;br /&gt;  {&lt;br /&gt;      try&lt;br /&gt;      {&lt;br /&gt;          // Create the state object.&lt;br /&gt;          StateObject state = new StateObject();&lt;br /&gt;          state.workSocket = client;&lt;br /&gt;&lt;br /&gt;          // Begin receiving the data from the remote device.&lt;br /&gt;          client.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0,&lt;br /&gt;              new AsyncCallback(ReceiveCallback), state);&lt;br /&gt;      }&lt;br /&gt;      catch (Exception e)&lt;br /&gt;      {&lt;br /&gt;          Console.WriteLine(e.ToString());&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  private static void ReceiveCallback(IAsyncResult ar)&lt;br /&gt;  {&lt;br /&gt;      try&lt;br /&gt;      {&lt;br /&gt;          // Retrieve the state object and the client socket&lt;br /&gt;          // from the asynchronous state object.&lt;br /&gt;          StateObject state = (StateObject)ar.AsyncState;&lt;br /&gt;          Socket client = state.workSocket;&lt;br /&gt;&lt;br /&gt;          // Read data from the remote device.&lt;br /&gt;          int bytesRead = client.EndReceive(ar);&lt;br /&gt;&lt;br /&gt;          if (bytesRead &gt; 0)&lt;br /&gt;          {&lt;br /&gt;              // There might be more data, so store the data received so far.&lt;br /&gt;              state.sb.Append(Encoding.ASCII.GetString(state.buffer, 0, bytesRead));&lt;br /&gt;&lt;br /&gt;              // Get the rest of the data.&lt;br /&gt;              client.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0,new AsyncCallback(ReceiveCallback), state);&lt;br /&gt;          }&lt;br /&gt;          else&lt;br /&gt;          {&lt;br /&gt;              // All the data has arrived; put it in response.&lt;br /&gt;              if (state.sb.Length &gt; 1)&lt;br /&gt;              {&lt;br /&gt;                  response = state.sb.ToString();&lt;br /&gt;              }&lt;br /&gt;              // Signal that all bytes have been received.&lt;br /&gt;              receiveDone.Set();&lt;br /&gt;          }&lt;br /&gt;      }&lt;br /&gt;      catch (Exception e)&lt;br /&gt;      {&lt;br /&gt;          Console.WriteLine(e.ToString());&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  private static void Send(Socket client, String data)&lt;br /&gt;  {&lt;br /&gt;      // Convert the string data to byte data using ASCII encoding.&lt;br /&gt;      byte[] byteData = Encoding.ASCII.GetBytes(data);&lt;br /&gt;&lt;br /&gt;      // Begin sending the data to the remote device.&lt;br /&gt;      client.BeginSend(byteData, 0, byteData.Length, 0,new AsyncCallback(SendCallback), client);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  private static void SendCallback(IAsyncResult ar)&lt;br /&gt;  {&lt;br /&gt;      try&lt;br /&gt;      {&lt;br /&gt;          // Retrieve the socket from the state object.&lt;br /&gt;          Socket client = (Socket)ar.AsyncState;&lt;br /&gt;&lt;br /&gt;          // Complete sending the data to the remote device.&lt;br /&gt;          int bytesSent = client.EndSend(ar);&lt;br /&gt;          Console.WriteLine("Sent {0} bytes to server.", bytesSent);&lt;br /&gt;&lt;br /&gt;          // Signal that all bytes have been sent.&lt;br /&gt;          sendDone.Set();&lt;br /&gt;      }&lt;br /&gt;      catch (Exception e)&lt;br /&gt;      {&lt;br /&gt;          Console.WriteLine(e.ToString());&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public static int Main(String[] args)&lt;br /&gt;  {&lt;br /&gt;      StartClient();&lt;br /&gt;      Console.ReadLine();&lt;br /&gt;      return 0;&lt;br /&gt;  }&lt;br /&gt;}&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3027687748307323340?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3027687748307323340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/dot-net-socket-programming-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3027687748307323340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3027687748307323340'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/dot-net-socket-programming-2.html' title='Dot Net Socket Programming-2 : Asynchronous Socket Client'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-7396306526238906826</id><published>2009-04-30T14:47:00.000+06:00</published><updated>2009-04-30T15:11:04.792+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Socket'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net'/><title type='text'>Dot Net Socket Programming-1 : Asynchronous Socket Server</title><content type='html'>To use &lt;span style="font-style: italic;"&gt;socket&lt;/span&gt; &lt;span style="font-style: italic;"&gt;asynchronously&lt;/span&gt; Microsoft has provide very helpful technology in .Net. We just use some inbuilt functions with ‘Begin-End’ scenario with three word ‘Accept, Send &amp;amp; Receive’. These functions are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span style="font-style: italic;"&gt;BeginAccept() - EndAccept()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;BeginReceive() - EndReceive()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;BeginSend() - EndSend()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These functions, when invoked,  create &amp;amp; start internal threads and each works on a separate thread and continue working. So it doesn’t hamper main thread. Also inter-thread communication is maintained by ‘&lt;span style="font-style: italic;"&gt;ManualResetEvent&lt;/span&gt;’. ManualResetEvent object handles the communication over its three functions :&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Reset()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Set ()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;WaitOne().&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;For this example, we going to make use of transfer of some string data. So we are going to use ‘&lt;span style="font-style: italic;"&gt;StringBuilder&lt;/span&gt;’ for string operation instead of simple ‘string’ class. Both class does same work, but ‘StringBuilder’ is very fast than ‘string’, but you can go with ‘string’ for this example.&lt;br /&gt;&lt;br /&gt;The exact codes we are going to use is given below. Beore the tag line I'm gonna add some of my notes- you can give that a look as well.&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&lt;/em&gt;using System;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Net.Sockets;&lt;br /&gt;using System.Text;&lt;br /&gt;using System.Threading;&lt;br /&gt;&lt;br /&gt;// State object for reading client data asynchronously&lt;br /&gt;public class StateObject&lt;br /&gt;{&lt;br /&gt;// Client socket.&lt;br /&gt;public Socket workSocket = null;&lt;br /&gt;// Size of receive buffer.&lt;br /&gt;public const int BufferSize = 1024;&lt;br /&gt;// Receive buffer.&lt;br /&gt;public byte[] buffer = new byte[BufferSize];&lt;br /&gt;// Received data string.&lt;br /&gt;public StringBuilder sb = new StringBuilder();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class AsynchronousSocketListener&lt;br /&gt;{&lt;br /&gt;// Thread signal.&lt;br /&gt;public static ManualResetEvent allDone = new ManualResetEvent(false);&lt;br /&gt;&lt;br /&gt;public AsynchronousSocketListener()&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void StartListening()&lt;br /&gt;{&lt;br /&gt;// Temp storage for incoming data.&lt;br /&gt;byte[] recvDataBytes = new Byte[1024];&lt;br /&gt;&lt;br /&gt;// Make endpoint for the socket.&lt;br /&gt;//IPAddress serverAdd = Dns.Resolve("localhost"); - That line was wrong&lt;br /&gt;//'baaelSiljan' has noticed it and then I've modified that line, correct line will be as:&lt;br /&gt;IPHostEntry ipHost = Dns.Resolve("localhost");&lt;br /&gt;IPAddress serverAdd = ipHost.AddressList[0];&lt;br /&gt;&lt;br /&gt;IPEndPoint ep = new IPEndPoint(serverAdd, 5656);&lt;br /&gt;&lt;br /&gt;// Create a TCP/IP socket for listner.&lt;br /&gt;Socket listenerSock = new Socket(AddressFamily.InterNetwork,&lt;br /&gt;SocketType.Stream, ProtocolType.Tcp);&lt;br /&gt;&lt;br /&gt;// Bind the socket to the endpoint and wait for listen for incoming connections.&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;listenerSock.Bind(ep);&lt;br /&gt;listenerSock.Listen(10);&lt;br /&gt;&lt;br /&gt;while (true)&lt;br /&gt;{&lt;br /&gt;// Set the event to nonsignaled state.&lt;br /&gt;allDone.Reset();&lt;br /&gt;&lt;br /&gt;// Start an asynchronous socket to listen for connections.&lt;br /&gt;Console.WriteLine("Waiting for Client...");&lt;br /&gt;listenerSock.BeginAccept(&lt;br /&gt;new AsyncCallback(AcceptCallback),&lt;br /&gt;listenerSock);&lt;br /&gt;&lt;br /&gt;// Wait until a connection is made before continuing.&lt;br /&gt;allDone.WaitOne();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;catch (Exception e)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine(e.ToString());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Console.WriteLine("\nPress ENTER to continue...");&lt;br /&gt;Console.Read();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void AcceptCallback(IAsyncResult ar)&lt;br /&gt;{&lt;br /&gt;// Signal the main thread to continue.&lt;br /&gt;allDone.Set();&lt;br /&gt;&lt;br /&gt;// Get the socket that handles the client request.&lt;br /&gt;Socket listener = (Socket)ar.AsyncState;&lt;br /&gt;Socket handler = listener.EndAccept(ar);&lt;br /&gt;&lt;br /&gt;// Create the state object.&lt;br /&gt;StateObject state = new StateObject();&lt;br /&gt;state.workSocket = handler;&lt;br /&gt;handler.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0,&lt;br /&gt;new AsyncCallback(ReadCallback), state);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void ReadCallback(IAsyncResult ar)&lt;br /&gt;{&lt;br /&gt;String content = String.Empty;&lt;br /&gt;&lt;br /&gt;// Retrieve the state object and the handler socket&lt;br /&gt;// from the asynchronous state object.&lt;br /&gt;StateObject state = (StateObject)ar.AsyncState;&lt;br /&gt;Socket handler = state.workSocket;&lt;br /&gt;&lt;br /&gt;// Read data from the client socket.&lt;br /&gt;int bytesRead = handler.EndReceive(ar);&lt;br /&gt;&lt;br /&gt;if (bytesRead &gt; 0)&lt;br /&gt;{&lt;br /&gt;// There might be more data, so store the data received so far.&lt;br /&gt;state.sb.Append(Encoding.ASCII.GetString(&lt;br /&gt;state.buffer, 0, bytesRead));&lt;br /&gt;&lt;br /&gt;// Check for end-of-file tag. If it is not there, read&lt;br /&gt;// more data.&lt;br /&gt;content = state.sb.ToString();&lt;br /&gt;if (content.IndexOf("") &gt; -1)&lt;br /&gt;{&lt;br /&gt;// All the data has been read from the&lt;br /&gt;// client. Display it on the console.&lt;br /&gt;Console.WriteLine("Read {0} bytes from socket. \n Data : {1}",&lt;br /&gt;content.Length, content);&lt;br /&gt;// Echo the data back to the client.&lt;br /&gt;Send(handler, content);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;// Not all data received. Get more.&lt;br /&gt;handler.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0,&lt;br /&gt;new AsyncCallback(ReadCallback), state);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private static void Send(Socket handler, String data)&lt;br /&gt;{&lt;br /&gt;// Convert the string data to byte data using ASCII encoding.&lt;br /&gt;byte[] byteData = Encoding.ASCII.GetBytes(data);&lt;br /&gt;&lt;br /&gt;// Begin sending the data to the remote device.&lt;br /&gt;handler.BeginSend(byteData, 0, byteData.Length, 0,&lt;br /&gt;new AsyncCallback(SendCallback), handler);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private static void SendCallback(IAsyncResult ar)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;// Retrieve the socket from the state object.&lt;br /&gt;Socket handler = (Socket)ar.AsyncState;&lt;br /&gt;&lt;br /&gt;// Complete sending the data to the remote device.&lt;br /&gt;int bytesSent = handler.EndSend(ar);&lt;br /&gt;Console.WriteLine("Sent {0} bytes to client.", bytesSent);&lt;br /&gt;&lt;br /&gt;handler.Shutdown(SocketShutdown.Both);&lt;br /&gt;handler.Close();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;catch (Exception e)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine(e.ToString());&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public static int Main(String[] args)&lt;br /&gt;{&lt;br /&gt;StartListening();&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;}&lt;em&gt;&lt;eof&gt;&lt;/eof&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Notes:&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Why am I using Asynchronous socket and not synchronous socket ? Because using asynchronous socket we can transfer data over different threads and data can transfer more smoothly. If anyone tries to send large data without any multi-threading model then he will see that when data is being transfered, his program might look like ‘crashed’. However surely there are some advantages of Synchronous sockets over Asynchronous one.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Always keep in mind here system is using default thread pool which by default handles maximum 25 threads; which may be problematic in large application, but for small application it should be fine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It’s using internal multi-threading technology which is comparatively slower than raw threading program.&lt;/li&gt;&lt;/ol&gt;Feeling interested ? ' Be right back with other articles for Socket programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-7396306526238906826?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/7396306526238906826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/dot-net-socket-programming-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7396306526238906826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/7396306526238906826'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/dot-net-socket-programming-1.html' title='Dot Net Socket Programming-1 : Asynchronous Socket Server'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-8880036144203061166</id><published>2009-04-30T12:38:00.000+06:00</published><updated>2009-04-30T13:04:03.254+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>How To : Styling a file type input</title><content type='html'>Of all form fields, the file upload field is by far the worst when it comes to styling. Explorer Windows offers some (but not many) style possibilities, Mozilla slightly less, and the other browsers none at all. The "Browse" button, especially, is completely inaccessible to CSS manipulation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Solution&lt;/span&gt;  &lt;p&gt;Fortunately, reader &lt;a href="http://michaelmcgrady.com/"&gt;Michael McGrady&lt;/a&gt; invented a very neat trick that allows us to (more or less) style file upload fields. The credits for the solution presented on this page are wholly his, I only added the position: relative, a few notes and tests, and ported it entirely to JavaScript.&lt;/p&gt;&lt;br /&gt;McGrady's technique is elegant in its simplicity:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;    Take a normal &amp;lt;input type="file"&amp;gt; and put it in an element with position: relative.&lt;/li&gt;&lt;li&gt;    To this same parent element, add a normal &amp;lt;input&amp;gt; and an image, which have the correct styles. Position these elements absolutely, so that they occupy the same place as the &amp;lt;input type="file"&amp;gt;.&lt;/li&gt;&lt;li&gt; Set the z-index of the &amp;lt;input type="file"&amp;gt; to 2 so that it lies on top of the styled input/image.&lt;/li&gt;&lt;li&gt; Finally, set the opacity of the &amp;lt;input type="file"&amp;gt; to 0. The &amp;lt;input type="file"&amp;gt; now becomes effectively invisible, and the styles input/image shines through, but you can still click on the "Browse" button. If the button is positioned on top of the image, the user appears to click on the image and gets the normal file selection window.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;      (Note that you can't use visibility: hidden, because a truly invisible element is unclickable, too, and we need the &amp;lt;input type="file"&amp;gt; to remain clickable)&lt;br /&gt;&lt;br /&gt;Until here the effect can be achieved through pure CSS. However, one feature is still lacking.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;       When the user has selected a file, the visible, fake input field should show the correct path to this file, as a normal &amp;lt;input type="file"&amp;gt; would. It's simply a matter of copying the new value of the &amp;lt;input type="file"&amp;gt; to the fake input field, but we need JavaScript to do this.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Therefore this technique will not wholly work without JavaScript. For reasons I'll explain later, I decided to port the entire idea to JavaScript. If you're willing to do without the visible file name you can use the pure CSS solution. I'm not sure if this would be a good idea, though.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;The HTML/CSS Structure&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;I've decided on the following HTML/CSS approach:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="margin-right: -574px;"&gt;div.fileinputs {&lt;br /&gt;position: relative;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;div.fakefile {&lt;br /&gt;position: absolute;&lt;br /&gt;top: 0px;&lt;br /&gt;left: 0px;&lt;br /&gt;z-index: 1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;input.file {&lt;br /&gt;position: relative;&lt;br /&gt;text-align: right;&lt;br /&gt;-moz-opacity:0 ;&lt;br /&gt;filter:alpha(opacity: 0);&lt;br /&gt;opacity: 0;&lt;br /&gt;z-index: 2;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;div class="fileinputs"&amp;gt;&lt;br /&gt;&amp;lt;input type="file" class="file" /&amp;gt;&lt;br /&gt;&amp;lt;div class="fakefile"&amp;gt;&lt;br /&gt;&amp;lt;input /&amp;gt;&lt;br /&gt;&amp;lt;img src="search.gif" /&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class="fileinputs"&gt;&lt;div class="fakefile"&gt;&lt;div&gt;&lt;div class="fakefile"&gt;&lt;div class="fakefile"&gt;For original article check at &lt;a href="http://www.quirksmode.org/dom/inputfile.html"&gt;www.quirksmode.org&lt;/a&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-8880036144203061166?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/8880036144203061166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/how-to-styling-file-type-input.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8880036144203061166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/8880036144203061166'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/04/how-to-styling-file-type-input.html' title='How To : Styling a file type input'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2050154942672067277</id><published>2009-03-31T15:28:00.000+06:00</published><updated>2009-04-30T13:06:43.662+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>How To : Put  HTML Code in your post</title><content type='html'>How to put HTML code in blogspot post or blogger post actually is a topic that out of date. Since many of my friends still ask me how to do that, I guess it’s better if I write the trick here. And here we go the trick.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open &lt;a href="http://centricle.com/tools/html-entities/" target="_blank"&gt;http://centricle.com/tools/html-entities/&lt;/a&gt; on your browser.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Copy your HTML code that you want to post and start encode there.&lt;/li&gt;&lt;li&gt;If it’s finished, now move to your posting area.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Make sure you choose the “edit HTML” options&lt;br /&gt;&lt;/li&gt;&lt;li&gt;then simply paste the encoded code that you have from centricle.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After that, you can continue edit your post or simply publish it.&lt;/li&gt;&lt;/ol&gt;Happy blogging then :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2050154942672067277?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2050154942672067277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/how-to-put-html-code-in-your-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2050154942672067277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2050154942672067277'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/how-to-put-html-code-in-your-post.html' title='How To : Put  HTML Code in your post'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-1888606543740215563</id><published>2009-03-30T19:30:00.000+06:00</published><updated>2009-03-31T17:42:30.215+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>How To : SEO friendly URLs</title><content type='html'>When you are working with web portals SEO is almost a must now a days. And when you are working for SEO, seo friendly URL is what you should take care of. Again when you are playing with php and Apache following are the ways that you can utilize :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Using Apache mod_rewrite&lt;/span&gt;:&lt;/li&gt;&lt;/ul&gt;There is some debate as to whether or not this is actually a front controller design, since no index.php file is utilized. However, I thought it would be worthwhile to demonstrate how URL rewrites work at the highest level before moving onto advanced solutions. Remember, this is not the preferred approach, but it is a good primer. The following is an example of one-to-one relationship URL rewrites in an .htaccess. If you have less than a dozen pages on a small Web site, this can be a useful quick fix.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;ifmodule mod_rewrite.c&amp;gt;&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteRule ^our-services/strategic-consulting$ /our_services.php?id=1 [L]&lt;br /&gt;RewriteRule ^our-services/web-design$ /our_services.php?id=2 [L]&lt;br /&gt;RewriteRule ^our-services/web-development$ /our_services.php?id=3 [L]&lt;br /&gt;&amp;lt;/ifmodule&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;The IfModule conditional directive wraps a section of rewrite rules, and ensures that they will only get executed on a server that has mod_rewrite capabilities. If the module did not exist, and there was no conditional directive, users will receive an HTTP Error 500 - Internal Server Error. It is good practice to always use this directive.&lt;/p&gt; &lt;p&gt;According to the documentation, “The RewriteEngine directive enables or disables the runtime rewriting engine.” RewriteEngine can be declared multiple times within .htaccess, which can actually help with debugging. The directive can be turned on or off, and instead of commenting out or deleting a line during testing, it is best to use RewriteEngine Off. In the example there is only the need to turn the rewrite engine on once.&lt;/p&gt; &lt;p&gt;The RewriteRule directive is one of the most powerful aspects of mod_rewrite. I invite you to bookmark and eventually read the &lt;a href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule" class="inline"&gt;official documentation for RewriteRule&lt;/a&gt;. There are too many facets to this directive to cover them all, so I will mention just a few.&lt;/p&gt; &lt;ol&gt;&lt;li&gt;RewriteRule uses pattern substitution through regular expressions. So, the more you know about regular expressions, the more powerful your rewrite rules can become.&lt;/li&gt;&lt;li&gt;Each rule begins with RewriteRule, and multiple rules can be applied to a single URL string before the page request is passed along to a PHP (or other) file.&lt;/li&gt;&lt;li&gt;Definition order is important. Top down is the order of execution. You cannot skip rules unless they are commented out.&lt;/li&gt;&lt;li&gt;The first portion of a rule is the pattern to match. The caret anchor (^) designates the beginning of a pattern match (start of line). The dollar anchor ($) designates the end of a pattern match (end of line). (This is the URL that the user typed into the address bar.)&lt;/li&gt;&lt;li&gt;The second portion of the rule designates the file path that should actually handle the request behind the scenes if, and only if, a pattern match was found in the first portion of the rule. You can use regular expression groups and backreferences to pass information from the first portion of the URL to the second portion of the URL. More on that later.&lt;/li&gt;&lt;li&gt;The final portion of the rule is a flag. It provides additional flexibility without the use of further pattern substitutions. The flag in the example above is “last rule”, and states that if a match was found, no further rules should be processed. The request is then forwarded on to the application. Multiple flags can be separated by a comma, all of them contained between a single set of brackets.&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Writing own PHP engine for URL translation:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;&lt;/strong&gt;Step 1.&lt;br /&gt;In your .htaccess file (If you don't have one, then create a new one in the folder where your index.php resides) add the following:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&amp;lt;FilesMatch "index"&amp;gt;&lt;br /&gt;  ForceType application/x-httpd-php&lt;br /&gt;&amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;This simply tells your apache server to treat "index" in the url as "index.php". If you are using a server other than apache, then you will need to configure it to do this.&lt;br /&gt;&lt;br /&gt;Step 2.&lt;br /&gt;Implement the class below so that an instance is create each time index.php is executed. What this does is it takes the special url www.mysite.com/index/menuID_28-type_article and&lt;br /&gt;splits it into www.mysite.com/index/ and menuID_28-type_article strings, then it creates an array:&lt;br /&gt;array['menuID'] = 28&lt;br /&gt;array['type'] = article&lt;br /&gt;You cannot use $_GET['paramName'], instead call getItem($key) method in UrlFilter passing the name of the parameter you want, for exaple: $this-&gt;urlFilter -&gt; getItem("menuID").&lt;br /&gt;You can use any number of parameters, and name them as you wish, all you have to do is use the getItem() method and you got yourself nice URLs. Ofcourse you will need to build your links correctly for this to work, use getOriginalUrl() for this, then add your parameters to it: /param_value-param2_value2-param3_value3  and so on...&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;// constructs search friendly urls and create correct url paths for links and images&lt;br /&gt;class UrlFilter {&lt;br /&gt;var $origUrl;&lt;br /&gt;var $numOfItems;&lt;br /&gt;var $itemsMap;&lt;br /&gt;&lt;br /&gt;function UrlFilter()&lt;br /&gt;{&lt;br /&gt;$this-&gt;processURI();&lt;br /&gt;$this-&gt;constructBaseUrl();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function processURI()&lt;br /&gt;{&lt;br /&gt;$array = explode("index", $_SERVER['PHP_SELF']);&lt;br /&gt;$newUrl = str_replace("/", "", $array[count($array)-1]);&lt;br /&gt;$array = explode("-", $newUrl);&lt;br /&gt;$num = count($array);&lt;br /&gt;$this-&gt;numOfItems = $num;&lt;br /&gt;$url_array = array();&lt;br /&gt;&lt;br /&gt;$items = explode("-", $newUrl);&lt;br /&gt;$num = count($items);&lt;br /&gt;for ($i = 0 ; $i &lt; $num ; $i++) {             $item = explode("_", $items[$i]);             $this-&gt;itemsMap[$item[0]] = $item[1] ;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function constructBaseUrl()&lt;br /&gt;{&lt;br /&gt;// need to construct the original url&lt;br /&gt;$array = explode("index", $_SERVER['PHP_SELF']);&lt;br /&gt;$num = count($array);&lt;br /&gt;$this-&gt;origUrl = "";&lt;br /&gt;for ($i = 0; $i &lt; $num-1 ; $i++) {             $this-&gt;origUrl = $this-&gt;origUrl . $array[$i];&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function getItem($key)&lt;br /&gt;{&lt;br /&gt;if (array_key_exists($key, $this-&gt;itemsMap)) {&lt;br /&gt;    return $this-&gt;itemsMap[$key];&lt;br /&gt;} else {&lt;br /&gt;    return null;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function getOriginalUrl()&lt;br /&gt;{&lt;br /&gt;return $this-&gt;origUrl . "index";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function getBaseUrl()&lt;br /&gt;{&lt;br /&gt;return $this-&gt;origUrl;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-1888606543740215563?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/1888606543740215563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/how-to-seo-friendly-urls.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1888606543740215563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/1888606543740215563'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/how-to-seo-friendly-urls.html' title='How To : SEO friendly URLs'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-9088383756001661686</id><published>2009-03-24T20:44:00.000+06:00</published><updated>2009-07-15T17:18:26.944+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Web2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Cloud Coumputing'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Cloud coumputing : new era in internet technology</title><content type='html'>I'm too addicted to web2.0 concept and  I's listening about Amazon clouds for couple of days and then started searching for what actually it signifies. This post actually is to depict the very basic of cloud computing :&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;                                                                               &lt;p&gt;After couple googling wikipedia satisfied me with an actual and to-the-point definition,&lt;span style="font-style: italic;"&gt;"Cloud computing&lt;/span&gt; is Internet ("cloud") based development and use of computer technology ("computing"). It is a style of computing in which dynamically scalable and often virtualised resources are provided as a service over the Internet.Users need not have knowledge of, expertise in, or control over the technology infrastructure "in the cloud" that supports them.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The concept incorporates infrastructure as a service (IaaS), platform as a service (PaaS) and software as a service (SaaS) as well as Web 2.0 and other recent (ca. 2007–2009) technology trends which have the common theme of reliance on the Internet for satisfying the computing needs of the users. Examples of SaaS vendors include Salesforce.com, NetSuite.com and Google Apps which provide common business applications online that are accessed from a web browser, while the software and data are stored on the servers.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The term cloud is used as a metaphor for the Internet, based on how the Internet is depicted in computer network diagrams, and is an abstraction for the complex infrastructure it conceals."&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Ok I got the very basic idea; then I searched on youtube.com and this is what I though I should include :&lt;br /&gt;&lt;br /&gt;&lt;object height="285" width="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/QJncFirhjPg&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;border=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/QJncFirhjPg&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="285" width="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="285" width="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XVb41AVL05k&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;border=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/XVb41AVL05k&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="285" width="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Finally I'd like to add some of the cool cloud application that I I think really neat :&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.google.com/apps/"&gt;Google app&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.eyeos.com/"&gt;eyeOS&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;I'd love to continue writing on cloud computing as I have just decided I will work more on this new concept. Let me know if you have got some more information that I have missed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-9088383756001661686?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/9088383756001661686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/cloud-coumputing-new-era-in-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/9088383756001661686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/9088383756001661686'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/03/cloud-coumputing-new-era-in-internet.html' title='Cloud coumputing : new era in internet technology'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2841978499079506789</id><published>2009-02-04T16:59:00.000+06:00</published><updated>2009-02-10T23:22:03.404+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Music'/><category scheme='http://www.blogger.com/atom/ns#' term='Bangladesh'/><title type='text'>"Bondho Janala"</title><content type='html'>&lt;object width="320" height="265"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-EfKqIMW2RI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/-EfKqIMW2RI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;span style="color: rgb(51, 0, 51);font-family:Century Gothic;" &gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;"Bondho Janala"&lt;br /&gt;Title Song of the album by&lt;br /&gt;&lt;a href="http://www.shironamhin.com/"&gt;S H I R O N A M H I N&lt;/a&gt;&lt;br /&gt;Album- Bondho Janala&lt;br /&gt;lyric and tune: Zia&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Arekbar dure jete chai, rim jhim shudurpur&lt;br /&gt;Obak roud bheja topto dupur&lt;br /&gt;Arekbar tomader, laal neel rong anonde&lt;br /&gt;Ekla rastay ek chilte roddur&lt;br /&gt;Shara bela bondho janala....&lt;br /&gt;Arekbar jete chai laal neel laal shudurpur&lt;br /&gt;&lt;br /&gt;Jodi tomader onek shobdo amar janalay&lt;br /&gt;Soto soto anonder sporshe angule rekhe jay&lt;br /&gt;Jodi shohosro shobder utshob theme jay&lt;br /&gt;Shara bela bondho janala....&lt;br /&gt;&lt;br /&gt;Jodi tomader laal neel golpo&lt;br /&gt;Amar shorire&lt;br /&gt;Kono ekla rastay obak vromone&lt;br /&gt;Jodi ichcher neel rong akash chuye jay&lt;br /&gt;Shara bela bondho janala....&lt;/blockquote&gt;&lt;span style="color: rgb(51, 0, 51);font-family:Century Gothic;" &gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;!-- google_ad_section_end --&gt;   &lt;div style="display: block; clear: both; color: rgb(51, 0, 51);"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2841978499079506789?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2841978499079506789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/02/bondho-janala.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2841978499079506789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2841978499079506789'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/02/bondho-janala.html' title='&quot;Bondho Janala&quot;'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5756973686660590029</id><published>2009-02-01T18:46:00.000+06:00</published><updated>2009-02-02T15:17:42.619+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Curly use of cURL in php</title><content type='html'>I's interested in cURL in php since when Rashim was looking for something to get the yahoo weather feed as it is. He made it using cURL and I just loved it- amazed with versatile use of cURL.&lt;br /&gt;&lt;br /&gt;I's looking for a way to get the all the statistics and searching facilities for expired or deleted domain names. And finally I decided to use cURL to search from some free service providers on the net although the usual approach I got is to store the names performing some scheduled search from who-is servers.&lt;br /&gt;Anyway, here I'm gonna share all I've been playing with cURL :&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Getting required html content from a website using cURL :&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;?php&lt;br /&gt;$url = "http://www.example.com/domains/detailedStatistics";&lt;br /&gt;$ch = curl_init($url);&lt;br /&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;$curl_scraped_page = curl_exec($ch);&lt;br /&gt;curl_close($ch);&lt;br /&gt;$regex = '~&lt;table width="582" border="0" cellspacing="2" cellpadding="2"&gt;(.*?)&lt;/table&gt;~s';&lt;br /&gt;preg_match($regex,$curl_scraped_page,$match);&lt;br /&gt;//var_dump($match);&lt;br /&gt;echo "Detailed domain statistics:&lt;/br&gt;";&lt;br /&gt;echo "&lt;/br&gt;&lt;strong&gt;". $match[0]."&lt;/strong&gt;&lt;/br&gt;";&lt;br /&gt;&lt;br /&gt;?&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Searching on a website using cURL and parsing the html to get desired result:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I used a html form to post input values to a searcher file. The code on the searcher file looked like :&lt;br /&gt;&lt;blockquote&gt;&lt;?php&lt;br /&gt;//A Beautiful html dom parser&lt;br /&gt;include('./simple_html_dom.php');&lt;br /&gt;$cat = explode("?",$_SERVER['REQUEST_URI']);&lt;br /&gt;&lt;br /&gt;$url = "http://www.example.com/Domain_Name_Search_Results.aspx?".$cat[1];&lt;br /&gt;&lt;br /&gt;$ch = curl_init($url);&lt;br /&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;$curl_scraped_page = curl_exec($ch);&lt;br /&gt;curl_close($ch);&lt;br /&gt;&lt;br /&gt;// find all tabele tags with id=results&lt;br /&gt;$html = str_get_html($curl_scraped_page);&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;$thetable = $html-&gt;find('table[class=BlackLeftRight]',0);&lt;br /&gt;foreach($thetable-&gt;find('img') as $img)&lt;br /&gt;    {&lt;br /&gt;        $img-&gt;outertext = "";&lt;br /&gt;    }&lt;br /&gt;echo "&lt;table align="'center'"&gt;".$thetable-&gt;innertext."&lt;/table&gt;" ;&lt;br /&gt;   &lt;br /&gt;?&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;That's it :) Happy curling then :)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.php.net/curl"&gt;PHP cURL manual&lt;/a&gt;&lt;br /&gt;&lt;a href="http://simplehtmldom.sourceforge.net/"&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://simplehtmldom.sourceforge.net/"&gt;Simple dom parser&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5756973686660590029?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5756973686660590029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/02/curly-use-of-curl-in-php.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5756973686660590029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5756973686660590029'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/02/curly-use-of-curl-in-php.html' title='Curly use of cURL in php'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4101296495603570842</id><published>2009-01-19T15:04:00.000+06:00</published><updated>2009-01-19T15:05:21.683+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Information'/><title type='text'>Interesting Trivia</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;No piece of normal-size paper can be folded in half more than 7 times.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The first product to have a bar code scanned was Wrigley's gum.  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Earth is the only planet not named     after a pagan God. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A Boeing 747s wingspan is longer than the Wright brother's first flight.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The new 787 Boeing   was revealed on 7/8/07 or July 8th, 07.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Germans tried   to copy Coca-Cola and came up with the drink Fanta.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Every day is about   55 billionths of a second longer than the day before it&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Venus is the only planet that rotates clockwise.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The largest potato   was grown in Lebanon by Khalil Semhat near Tyre.  The spud was 11.3   kilos (24.9 pounds)&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Footprints of   astronauts who landed on the moon should last at least 10 million years   since the moon has no atmosphere.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The national   orchestra of Monaco (a nation in Europe) has more individuals than its army.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Earthworms have   five hearts&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Himalayan gogi   berry contains, weight for weight, more iron than steak, more beta carotene   than carrots, more vitamin C than oranges. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Paraguay and   Moldova are the only countries with national flags with different emblems on   the obverse and reverse sides.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Fingerprints of   koalas are similar (in pattern, shape and size) to the fingerprints of   humans&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Genetically-engineered babies were born first in 2001.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;If an Amish man   has a beard, he is married.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;If a native   Hawaiian woman places the flower on her right ear, she is available.    (The bigger the flower, the more desperate)&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Apples, not caffeine, are more efficient at waking you up in the     morning.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Pope Pius II wrote   an erotic book "Historia de duobos amantibus" in 1444.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;SCUBA divers   cannot pass gas at depths of 33 feet or below&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Pele has always   hated his nickname, which he says sounds like "baby-talk in Portuguese".&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;As of 2006, 200 million blogs were left without updates&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Urban birds have developed a short, fast "rap style" of   singing, different from their rural counterparts.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The lion costume in the film Wizard of Oz was made from   real lions.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Fathers tend to determine the height of their child,   mothers their weight.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The Pope's been known to wear red Prada shoes.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Donald Rumsfeld was both the youngest and the oldest   defense secretary in US history.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Coco Chanel started the trend for sun tans in 1923 when   she got accidentally burnt on a cruise.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Up to 25% of hospital keyboards carry the MRSA infection.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In ancient Greece, children of wealthy families were   dipped in olive oil at birth to keep them hairless throughout their lives.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Ghandi didn't allow his wife to take penicillin to save   her life from pneumonia but took quinine to save himself from malaria.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Sex workers (Prostitutes) in Roman times charged the   equivalent price of eight glasses of red wine.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;As of 2006, more than one in eight people in the United   States show signs of addiction to the internet.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;More than 90% of plane crashes have survivors.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The Mona Lisa used to hang on the wall of Napoleon’s   bedroom.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Barbie's full name is Barbie Millicent Roberts.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Eating a packet of crisps a day is equivalent to drinking   five liters of cooking oil a year.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Plant seeds that have been stored for more than 200 years   can be coaxed into new life.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;For every 10 successful attempts to climb Mount Everest   there is one fatality. (As of 2006)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Watching television can act as a natural painkiller for   children&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Forty-one percent of English women have punched or kicked   their partners, according to a study.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The more panels a football has - and therefore the more   seams - the easier it is to control in the air.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Music can help reduce chronic pain by more than 20% and   can alleviate depression by up to 25%.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The egg came first.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Modern teenagers are better behaved than their   counterparts of 20 years ago, showing "less problematic behavior" involving   sex, drugs and drink. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Britain is still paying off debts that predate the   Napoleonic wars because it's cheaper to do so than buy back the bonds on   which they are based. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In Bhutan government policy is based on Gross National   Happiness; thus most street advertising is banned, as are tobacco and   plastic bags. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The best-value consumer purchase in terms of the price   and usage is an electric kettle.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Camel's milk, which is widely drunk in Arab countries,   has 10 times more iron than cow's milk.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Iceland has the highest concentration of broadband users   in the world.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Native Hawaiian women were not allowed to cook.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The age limit for marriage in France was, until recently,   15 for girls, but 18 for boys. The age for girls was raised to 18 in 2006.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The brain is soft and gelatinous - its consistency is   something between jelly and cooked pasta.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The Himalayas cover one-tenth of the Earth's surface.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A "lost world" exists in the Indonesian jungle that is   home to dozens of hitherto unknown animal and plant species.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The two most famous actors who portrayed the “Marlboro   Man” in the cigarette ads died of lung cancer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;All US Presidents have worn glasses. Some just didn't like being seen wearing them in public.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;" dir="ltr"&gt;&lt;span style="font-size:85%;"&gt;The Mona   Lisa has no eyebrows. It was the fashion in Renaissance Florence to shave   them off. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;" dir="ltr"&gt;&lt;span style="font-size:85%;"&gt;Walt Disney was afraid of mice.  &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The first known   marketer of the flushing toilet was Thomas Crapper. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The average bed is home to over 6 billion dust mites.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The cigarette   lighter was invented before the match.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The average   chocolate bar has 8 insect legs in it. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The average   American consumes 1.2 pounds of spider eggs a year and eat 2.5 pounds of   insect parts a year.  (This fact and the one prior to it have been   judged as urban legends by many)&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Right-handed   people live, on average, nine years longer than left-handed people do.    (Makes you think about ambidextrous people)  This fact is based on a   study that had errors in it, thus it might not be a fact.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Its impossible to   smoke oneself to death with weed. You won\'t be able to retain enough motor   control and consciousness to do so after such a large amount. &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Every drop of   seawater contains approximately 1 billion gold atoms.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The US national   anthem actually has three verses, but everyone just knows the first one.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;During World War   II, IBM built counting machines the Nazis used to manage their   death/concentration camps.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;During World War   II, the British Intelligence used the Colossus Machines (precursor to   computers) at Bletchley Park to help decode the enigma code of the Nazis.  &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The first Computer   was ENIAC, short for Electronic Numerical Integrator And Computer, unveiled   on February 14, 1946  (Thanks D.B. of AU)&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The total combined   weight of the worlds ant population is heavier than the weight of the human   population.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The deadliest war   in history excluding World War II was a civil war in China in the 1850s in   which the rebels were led by a man who thought he was the brother of Jesus   Christ.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Just about 3   people are born every second, and about 1.3333 people die every second. The   result is about a 2 and 2/3 net increase of people every second. Almost 10   people more live on this Earth now, than before you finished reading this.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Happy Birthday   (the song) is copyrighted.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The number of   people alive on earth right now is higher than the number of all the people   that have died. Ever.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Men with a certain   rare medical condition can breastfeed   babies&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There is a rare   condition called Exploding Head Syndrome which you have probably never heard   of.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Scientists have   determined that fungi are more closely related to human beings and animals   than to other plants.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In some (maybe   all) Asian countries, the family name is written&lt;br /&gt;first and the individual name written second   &lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Abe Lincoln bought   50 cents worth of cocaine in 1860&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A German World War   II submarine was sunk due to malfunction of the toilet.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Washington State   has the longest single beach in the United States.Long Beach, WA&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The largest living   thing on the face of the Earth is a mushroom underground in Oregon, it   measures three and a half miles in diameter.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;  &lt;span lang="ES-TRAD"&gt;The town of Los Angeles, California, was originally   named &lt;/span&gt;"&lt;span lang="ES-TRAD"&gt;El Pueblo&lt;/span&gt;  &lt;span lang="ES-TRAD"&gt;la   Nuestra Senora de Reina de los Angeles de la Porciuncula&lt;/span&gt;"&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;9 out of 10 people   believe Thomas Edison invented the light bulb.This isn't true; Joseph Swan   did.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Honey is the only   food that does not spoil. Honey found in the tombs of Egyptian pharaohs has   been tasted by archaeologists and found edible.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Population of   the world can live within the state boundaries of Texas.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Plastic lawn flamingos outnumber real flamingos in the U.S.A.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Ernest Vincent Wright wrote a novel with over 50,000 words, none of which containing the letter "e."&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Tourists visiting   Iceland should know that tipping at a restaurant is not considered an insult!   Despite the expensive food, tipping is welcome as in any other country.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The largest pumpkin weighed 377 pounds.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The largest cabbage weighed 144 pounds.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Pinocchio was made of pine.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Alfred Hitchcock had no belly button for it was eliminated during surgery.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A quarter has 119 grooves around the edge.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A dime has 118 ridges around the edge.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Cranberry Jell-0 is the only kind that contains real fruit.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The plastic things on the end of shoelaces are called aglets.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Maine is the toothpick capital of the world.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;New Jersey has a spoon museum with over 5,400 spoons from almost all the states.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There was once a town in West Virginia called "6."&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The parking meter was invented in North Dakota.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Napoleon made his battle plans in a sandbox.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Roman Emperor Caligula made his horse a senator.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The green stuff on the occasional freak potato chip is chlorophyll.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Neil Armstrong stepped on the moon with his left foot first.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There are 333 toilet paper squares on a toilet paper roll.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Eiffel Tower has 2,500,000 rivets in it.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;"Jaws" is the most common name for a goldfish.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;On an average work day, a typist's fingers travel 12.6 miles.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Every minute in the U.S. six people turn 17.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Ten tons of space dust falls on the Earth every day.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;On average, a 4-year-old child asks 437 questions a day.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Blue and white are the most common school colors.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Swimming pools in Phoenix, Arizona, pick up 20 pounds of dust a year.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In a normal lifetime an American will eat 200 pounds of peanuts and 10,000 pounds of meat.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A new book is published every 13 minutes in America.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;America's best selling ice cream flavor is vanilla.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Every year the sun loses 360 million tons.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Because of Animal Crackers, many kids until they reach the age of ten, believe a bear is as tall as a giraffe.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Gulf Stream could carry a message in a bottle at an average of 4 miles per hour.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The bulls-eye on a dartboard must be 5 feet 8 inches off the ground.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The doorbell was invented in 1831.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The electric shaver was patented on November 6, 1928.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Japan is the largest exporter of frog's legs.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There are seven points on the Statue of Liberty's crown.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Napoleon was terrified of cats.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The first Lifesaver flavor was peppermint.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The typical American eats 263 eggs a year.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The parking meter was invented by C.C. Magee in 1935.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The oldest known vegetable is the pea.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Jack is the most common name in nursery rhymes.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The avocado has the most calories of any fruit.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The first zoo in the USA was in Philadelphia.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;France has the highest per capita consumption of cheese.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The shortest English word that contains the letters A, B, C, D, E, and F is "feedback."&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The state of California raises the most turkeys out of all of the states.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;George Washington Carver invented peanut butter.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Iceland was the first country to legalize abortion in 1935.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The dumbest domesticated animal is the turkey.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Russia has the most movie theaters in the world.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The most fatal car accidents occur on Saturday.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Eiffel Tower has 1792 steps.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The mongoose was barred live entry into the U.S. in 1902.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Goldfish swallowing started at Harvard in 1939.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Dry fish food can make goldfish constipated.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The stall closest to the door in a bathroom is the cleanest, because it is the least used.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Toilet paper was invented in 1857.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Alaska could hold the 21 smallest States.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Before Prohibition, Schlitz Brewery owned more property in Chicago than anyone else, except the Catholic church.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;If you put a raisin in a glass of champagne, it will keep floating to the top and sinking to the bottom.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Kermit the Frog is left-handed.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Nondairy creamer is flammable.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The car in the foreground on the back of a $10 bill is a 1925     Hupmobile.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;If you can see a rainbow you must have your back to the sun.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The reason firehouses have circular stairways is from the days of yore when the engines were pulled by horses. The horses were stabled on the ground floor and figured out how to walk up straight staircases.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;It's rumored that sucking on a copper penny will cause a breathalyzer to read 0. Myth Busters on the Discovery Channel proved this wrong.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The ship, the Queen Elizabeth 2, should always be written as QE2. QEII is the actual queen.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The correct response to the Irish greeting, "Top of the morning to you," is "and the rest of the day to yourself."&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Columbia University is the second largest landowner in New York City, after the Catholic Church.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;When the University of Nebraska Cornhuskers play football at home to a sellout crowd, the stadium becomes the state's third largest city.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Ohio is listed as the 17th state in the U.S., but technically it is Number 47. Until August 7, 1953, Congress forgot to vote on a resolution to admit Ohio to the Union.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;When Saigon fell, the signal for all Americans to evacuate was Bing Crosby's "White Christmas" being played on the radio.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The pet ferret was domesticated more than 500 years before the house cat.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The dome on Monticello, Thomas Jefferson's home, conceals a billiards room. In Jefferson's day, billiards were illegal in Virginia.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The most common speed limit sign in the United States is 25 m.p.h.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;At any one time, there are 100 million phone conversations going on in the United States.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The world's record for continuous pogo stick jumping is 41 hours.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Ottoman Empire once had seven emperors in seven months. They died of (in order): burning, choking, drowning, stabbing, heart failure, poisoning and being thrown from a horse.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;You can make edible cheese from the milk of 24 different mammals.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Sir Isaac Newton, who invented Calculus, had trouble with names to the point where he would forget his brothers' names.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In medieval Thailand, they had moveable type printing presses. The type was made from baked oxen dung.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;By law, employees do not have to wash hands after sneezing.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The average American consumes enough caffeine in one year to kill a horse.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;More American workers (18%) call sick on Friday than any other day of the week. Tuesday has the lowest percent of absenteeism (11%).&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Enough beer is poured every Saturday across America to fill the Orange Bowl.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;A newborn expels its own body weight in waste every 60 hours.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Whales die if their echo system fails.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Florida's beaches lose 20 million cubic yards of sand annually.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Naturalists use marshmallows to lure alligators out of swamps.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;It takes a ton of water to make a pound of refined sugar.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Weevils are more resistant to poisons in the morning than at night.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Cacao, the main ingredient of chocolate is the most pest-ridden tree in the jungle.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In deep space most lubricants will disappear.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;America once issued a 5-cent bill.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The average person can live 11 days without water.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In 1221 the   daughter of Genghis Khan ordered the killing of the entire population of the   city of Nishapur (about 60,000) in one hour.  The order came after her   husband killing. (Moguls claim that 1.7 million were killed)&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There are 35 million digestive glands in the stomach.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;In 1800 on 50 cities on earth had a population of more than 100,000.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;More steel in the US is used to make bottle caps than to manufacture automobile bodies.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;It is possible for any American citizen to give whatever name he or she chooses to any unnamed mountain or hill in the United States.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;King Henry III of France, Louis XVI of France and Napoleon all suffered from     ailurophobia--fear of cats.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Before 1850 golf balls were made of leather and stuffed with feathers.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Clocks made before 1687 had only one hand, and hour hand.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The motto of the American people, "In God We Trust," was not adopted as the national slogan until 1956.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;More Americans have died in automobile accidents than have died in all the wars ever fought by the United States.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The ampersand (&amp;amp;) was once a letter of the English alphabet.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The principality of Monaco consists of 370 acres.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;There are more than 40,000 characters in Chinese script.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;During the time of Peter the Great, any Russian man who had a beard was required to pay a special tax.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The first couple to be shown in bed together on prime time television was Fred and Wilma Flintstone.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Coca-Cola was originally green.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Every day more money is printed for Monopoly than the U.S. treasury.&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;The Hawaiian alphabet has 12 letters   (I was thankfully corrected by a friend: The Hawai'ian alphabet has 13   letters, A, E, I, O, U, H, K, L, M, N, P, W, ' (which is called an okina).&lt;/span&gt;  &lt;/p&gt;&lt;/li&gt;&lt;li&gt;  &lt;p style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;span style="font-size:85%;"&gt;Men can read smaller print than women; women can hear better.&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4101296495603570842?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4101296495603570842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/interesting-trivia.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4101296495603570842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4101296495603570842'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/interesting-trivia.html' title='Interesting Trivia'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3466536111215230508</id><published>2009-01-12T12:13:00.000+06:00</published><updated>2009-01-12T12:27:57.064+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips'/><title type='text'>Custom Background Image for Windows Explorer</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;"Windows Explorer Background Images&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;... Ever get confused which hard drive you are working in? Well, the Windows Explorer can put different backgrounds on them to help you remember. Just create a file at the root of your drive called desktop.ini and place the following in it:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[ExtShellFolderViews]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{BE098140-A513-11D0-A3A4-00C04FD706EC}={BE098140-A513-11D0-A3A4-00C04FD706EC}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[{BE098140-A513-11D0-A3A4-00C04FD706EC}]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Attributes=1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;IconArea_Image=background.gif&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Next, find a washed-out image or create a light color in MSPAINT and put it there called background.gif. (be sure to make the file type a GIF too) Open Windows Explorer and see your creation! ... "&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is kind of neat... It is a very quick and simple way to customize a folder, including a drive's root folder.&lt;br /&gt;&lt;br /&gt;Some notes:&lt;br /&gt;1. The change is not recursive. So the background image does not show in subfolders.&lt;br /&gt;2. The background.gif will tile.&lt;br /&gt;3. Windows Explorer doesn't need to be restarted for this change to take effect (i.e. the desktop.ini is read each time the folder is displayed)&lt;br /&gt;&lt;br /&gt;For a little more information on the Desktop.ini, check out, &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/custom.asp"&gt;Customizing Folders with Desktop.ini&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3466536111215230508?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3466536111215230508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/windows-explorer-background-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3466536111215230508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3466536111215230508'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/windows-explorer-background-images.html' title='Custom Background Image for Windows Explorer'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-3181961947827582963</id><published>2009-01-08T18:51:00.000+06:00</published><updated>2011-05-16T13:52:08.413+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Origami'/><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Hexaflexagon</title><content type='html'>I have some interests in playing with papers - I love all those origami people does. I surfed youtube and found this very common but funny origami :)&lt;br /&gt;&lt;br /&gt;&lt;object width="320" height="265"&gt;&lt;param name="movie" value="http://www.youtube.com/v/_0i1ZcphgfA&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/_0i1ZcphgfA&amp;hl=en&amp;fs=1&amp;color1=0x234900&amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-3181961947827582963?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/3181961947827582963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/hexaflexagon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3181961947827582963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/3181961947827582963'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/hexaflexagon.html' title='Hexaflexagon'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-6924616356531082888</id><published>2009-01-08T18:38:00.000+06:00</published><updated>2009-01-08T18:44:37.922+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Information'/><title type='text'>Interesting Triva</title><content type='html'>Well, Bipu forwarded some interesting info to me yesterday I thought why don I share 'em with all :)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Coca-Cola was originally green.&lt;/li&gt;&lt;li&gt;Every day more money is printed for Monopoly than for the US Treasury.&lt;/li&gt;&lt;li&gt;Smartest dogs: 1)border collie; 2)poodle; 3)golden retriever&lt;/li&gt;&lt;li&gt;Dumbest: afghan&lt;/li&gt;&lt;li&gt;Hawaiian alphabet has 12 letters.&lt;/li&gt;&lt;li&gt;Men can read smaller print than women; women can hear better.&lt;/li&gt;&lt;li&gt;Chances that an American lives within 50 miles of where he/she grew up: 1 in 2&lt;/li&gt;&lt;li&gt;Amount American Airlines saved in 1987 by eliminating one olive from each salad served first class: $40,000&lt;/li&gt;&lt;li&gt;City with the most Rolls Royces per capita: Hong Kong&lt;/li&gt;&lt;li&gt;State with the highest percentage of people who walk to work: Alaska&lt;/li&gt;&lt;li&gt;Chances of a white Christmas in New York: 1 in 4&lt;/li&gt;&lt;li&gt;Portion of US annual rainfall that falls in April: 1/12&lt;/li&gt;&lt;li&gt;Percentage of Africa that is wilderness: 28&lt;/li&gt;&lt;li&gt;Percentage of North America that is wilderness: 38&lt;/li&gt;&lt;li&gt;Estimated percentage of American adults who go on a diet each year: 44&lt;/li&gt;&lt;li&gt;Barbie's measurements if she were life size: 39-23-33&lt;/li&gt;&lt;li&gt;Percentage of Americans who say that God has spoken to them: 36&lt;/li&gt;&lt;li&gt;Percentage of Americans who regularly attend religious services: 43&lt;/li&gt;&lt;li&gt;City with the highest per capita viewership of TV evangelists: Washington, DC.&lt;/li&gt;&lt;li&gt;Percentage of American men who say they would marry the same woman if they had it to do all over again: 80&lt;/li&gt;&lt;li&gt;Percentage of American women who say they would marry the same man: 50&lt;/li&gt;&lt;li&gt;Percentage of men who say they are happier after their divorce or separation: 58&lt;/li&gt;&lt;li&gt;Percentage of women who say they are happier: 85&lt;/li&gt;&lt;li&gt;Number of different familial relationships for which Hallmark makes cards: 105&lt;/li&gt;&lt;li&gt;Cost of raising a medium-sized dog to the age of eleven: $6,400&lt;/li&gt;&lt;li&gt;Average number of people airborne over the US any given hour: 61,000.&lt;/li&gt;&lt;li&gt;Percentage of Americans who have visited Disneyland or Disney World: 70&lt;/li&gt;&lt;li&gt;Average life span of a major league baseball: 7 pitches.&lt;/li&gt;&lt;li&gt;Portion of ice cream sold that is vanilla: 1/3&lt;/li&gt;&lt;li&gt;Portion of potatoes sold that are French-fried: 1/3&lt;/li&gt;&lt;li&gt;Percentage of Americans that eat at McDonald's each day: 7&lt;/li&gt;&lt;li&gt;Percentage of bird species that are monogamous: 90&lt;/li&gt;&lt;li&gt;Percentage of mammal species that are: 3&lt;/li&gt;&lt;li&gt;Number of US states that claim test scores in their elementary schools are above national average: 50&lt;/li&gt;&lt;li&gt;Portion of Harvard students who graduate with honors: 4/5&lt;/li&gt;&lt;li&gt;Chances that a burglary in the US will be solved: 1 in 7&lt;/li&gt;&lt;li&gt;Portion of land in the US owned by the government: 1/3&lt;/li&gt;&lt;li&gt;Only President to remain a bachelor: James Buchanan&lt;/li&gt;&lt;li&gt;Only first lady to carry a loaded revolver: Eleanor Roosevelt&lt;/li&gt;&lt;li&gt;Only president to win a Pulitzer: John F. Kennedy, for "Profiles in courage"&lt;/li&gt;&lt;li&gt;Only president awarded a patent: Abraham Lincoln, for a system of buoying vessels over shoals&lt;/li&gt;&lt;li&gt;Only food that does not spoil: honey&lt;/li&gt;&lt;li&gt;Only person to win $64,000 Challenge and $64,000 Question: Dr. Joyce Brothers (her subject was boxing)&lt;/li&gt;&lt;li&gt;Only bird that can fly backwards: Hummingbird&lt;/li&gt;&lt;li&gt;Only continent without reptiles or snakes: Antarctica&lt;/li&gt;&lt;li&gt;Only animal besides human that can get sunburn: Pig&lt;/li&gt;&lt;li&gt;Ostriches stick their heads in the sand to look for water.&lt;/li&gt;&lt;li&gt;An eagle can kill a young deer and fly away with it.&lt;/li&gt;&lt;li&gt;In the Caribbean there are oysters that can climb trees.&lt;/li&gt;&lt;li&gt;Polar bears are left-handed.&lt;/li&gt;&lt;li&gt;Intelligent people have more zinc and copper in their hair.&lt;/li&gt;&lt;li&gt;Eskimos never gamble.&lt;/li&gt;&lt;li&gt;The world's youngest parents were 8 and 9 and lived in China in 1910.&lt;/li&gt;&lt;li&gt;The youngest pope was 11 years old.&lt;/li&gt;&lt;li&gt;Mark Twain didn't graduate from elementary school.&lt;/li&gt;&lt;li&gt;Proportional to their weight, men are stronger than horses.&lt;/li&gt;&lt;li&gt;Pilgrims ate popcorn at the first Thanksgiving dinner.&lt;/li&gt;&lt;li&gt;Your nose and ears never stop growing.&lt;/li&gt;&lt;li&gt;Jupiter is bigger than all the other planets combined.&lt;/li&gt;&lt;li&gt;Hot water is heavier than cold.&lt;/li&gt;&lt;li&gt;The parachute was invented by da Vinci in 1515.&lt;/li&gt;&lt;li&gt;They have square watermelons in Japan. They stack better.&lt;/li&gt;&lt;li&gt;Starfish have eight eyes--one at the end of each leg.&lt;/li&gt;&lt;li&gt;Iceland consumes more Coca-Cola per capita than any other nation.&lt;/li&gt;&lt;li&gt;First novel ever written on a typewriter was "Tom Sawyer."&lt;/li&gt;&lt;li&gt;There are more collect calls on Father's Day than any other day of the year.&lt;/li&gt;&lt;li&gt;Heinz Catsup leaving the bottle travels at 25 miles per year.&lt;/li&gt;&lt;li&gt;It is possible to lead a cow upstairs but not downstairs.&lt;/li&gt;&lt;li&gt;Men get hiccups more often than woman.&lt;/li&gt;&lt;li&gt;Armadillos can be housebroken. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-6924616356531082888?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/6924616356531082888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/interesting-triva.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6924616356531082888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/6924616356531082888'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2009/01/interesting-triva.html' title='Interesting Triva'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-4705242779105179541</id><published>2008-06-26T18:28:00.000+06:00</published><updated>2008-06-26T18:47:38.199+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='dojo-0.4.3'/><title type='text'>dojo event system</title><content type='html'>dojo has a beautiful(I'd love to say too beautiful) event management system.I needed to override the default 'move' event of the TreeRPCControllerV3 as I wanted to get the 'deffered' object (another beautiful thing in dojo :)-I'd love to write about it some other day) returned by each of the 'move' while DnDing a node.And after reading couple of pages at dojo-book I got the solution-dojo event;I connected the RPCController's 'move' event using 'around' advice with a custom function that gets a default argument(a method invocation object) with some params and a proceed() method.&lt;br /&gt;I'd love to copy from dojo book:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;In addition to being able to call any function or method after any other function or method call, connect() can be used to call listeners before the source function is called. In Aspect Oriented Programming terminology, this is called "before advice" while the previous examples have all be "after advice". The terminology is confusing, but for a lack of anything less mind-bending or better accepted, we adopt it for the advanced cases that connect() supports.&lt;br /&gt;&lt;br /&gt;Here's how we'd ensure that "bar" gets alerted before "foo" when exampleObj.foo() is called:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;dojo.event.connect("before", exampleObj, "foo", exampleObj, "bar");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you can see, we just perpended our previous call to connect() with the word "before". In the other cases, the word "after" was the implied first argument, which we could have added if we wanted, but typing more isn't something any of us want, and most of the time "after" is what you want anyway.&lt;br /&gt;&lt;br /&gt;The same connection using kwConnect() looks like:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;dojo.event.kwConnect({&lt;br /&gt;   type:       "before",&lt;br /&gt;   srcObj:     exampleObj,&lt;br /&gt;   srcFunc:    "foo",&lt;br /&gt;   targetObj:  exampleObj,&lt;br /&gt;   targetFunc: "bar"&lt;br /&gt;});&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before and after advice give us tools to handle a huge range of problems, but what about when the listener and the source functions don't have the same call signatures? Or what about when you want to change the behavior of a function from someone else's code but don't want to change their code? If we take the view that any function call in our environment is an event, then shouldn't we also have an "event object" for each of them? When using dojo.event.connect(), this is exactly what happens under the covers, and we can get access to it via "around advice". Long story short, around advice allows you to wrap any function and manipulate both it's inputs and outputs. This'll let us change both the calling signatures of functions and change arguments for listeners (among other things).&lt;br /&gt;&lt;br /&gt;Unlike the other advice types, around advice requires a little bit more cooperation from the author of the around advice function, but since you'll probably only be using it in situations where you know that you want to explicitly change a behavior, this is isn't really a problem. This example take a function foo() which takes 2 arguments and provides a default value for the second argument if one isn't passed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;function foo(arg1, arg2){&lt;br /&gt;   // ...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function aroundFoo(invocation){&lt;br /&gt;   if(invocation.args.length &lt; 2){&lt;br /&gt; // note that it's a real array, not a pseudo-arr         invocation.args.push("default for arg2");     }     &lt;br /&gt;var result = invocation.proceed();&lt;br /&gt; // we could change the result here     return result; }&lt;br /&gt; dojo.event.connect("around", "foo", "aroundFoo");  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The aroundFoo() function must take only a single argument. This argument is the method-invocation object. This object has some useful properties (like args) and one method, proceed(). proceed() calls the wrapped function with the arguments packed in the args array and returns the result. At this point, you can further manipulate the result before returning it. If you don't return the result of proceed(), it will appear to the caller as though the wrapped function didn't return a value. At any point you could call another function to do things like log timing information.  Once this connection is made, every time foo() is called aroundFoo() will check it's argument and insert a default value for arg2. Around advice is kind of like goto in C and C++: if you don't know better you can make huge messes, but when you really need it, you really need it.  Despite the power of around advice, it's not very often that globally changing a function signature or return value is the best plan. More often, you'll just want to smooth over the differences in calling signatures between two functions that are being connected. As you might have come to expect by now, Dojo provides a solution for this type of impedance matching problem too.  The solution is before-around and after-around advice. These advice types apply a supplied around advice function to the listener in a connection. They only apply the around advice when the listener function is being called from the connected-to source. Put another way, it's connection-specific argument and return value manipulation.  To access before-around and after-around advice, just pass in another object/name pair to a normal "before" or "after" connection, like this:&lt;br /&gt;&lt;br /&gt; &lt;span style="font-size:85%;"&gt;var obj1 = {     twoArgFunc: function(arg1, arg2){        &lt;br /&gt;// function expects two arguments     }&lt;br /&gt;};&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size:85%;"&gt;var obj2 = {     oneArgFunc: function(arg1){        &lt;br /&gt;// this function expects a two-element array          // as its only parameter&lt;br /&gt; } };  &lt;/span&gt;&lt;br /&gt;// we'd probably connect the functions somewhere else. Perhaps in a // different file entirely. &lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;function aroundFunc(invocation){&lt;br /&gt; var tmpArgs = [                      invocation.args[0],                      invocation.args[1]                   ];&lt;br /&gt; invocation.args = tmpArgs;    &lt;br /&gt;return invocation.proceed();&lt;br /&gt;}&lt;/span&gt; &lt;br /&gt;// after-around advice&lt;br /&gt;&lt;span style="font-size:85%;"&gt;dojo.event.connect( obj1, "twoArgFunc",                      obj2, "oneArgFunc",                     "aroundFunc");  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Each function now gets what it expects, and the code calling obj1.twoArgFunc() never need be the wiser that any of this is happening. &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-4705242779105179541?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/4705242779105179541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/dojo-event-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4705242779105179541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/4705242779105179541'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/dojo-event-system.html' title='dojo event system'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-2268170939604400094</id><published>2008-06-18T17:20:00.000+06:00</published><updated>2008-06-18T17:40:48.786+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><title type='text'>DOCTYPE for XHTML documnets</title><content type='html'>Recently I faced a problem while playing with dojo tree.The DnD within the tree was not functioning properly.I spent all the day to fix the problem and was getting frustrated as  I couldn't figure out what was I missing. At the end of the day I suddenly could remember some buddy on the net wrote  that  DOCTYPE tag that we often overlook while beeing busy with some other stuffs is very important while playing with  DHTML/XHTML documents.&lt;br /&gt;So if you are a good web2.0 player be sure you are not missing your DOCTYPE tag on the very first line of you page :)&lt;br /&gt;A sample DOCTYPE tag should look like:&lt;br /&gt;&lt;pre&gt;&lt;blockquote&gt;&lt;!DOCTYPE html&lt;br /&gt;PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"&lt;br /&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Reference:&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.w3schools.com/tags/tag_DOCTYPE.asp"&gt;&lt;span&gt;http://www.w3schools.com/tags/tag_DOCTYPE.asp&lt;/span&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.w3schools.com/Xhtml/xhtml_dtd.asp"&gt;http://www.w3schools.com/Xhtml/xhtml_dtd.asp&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-2268170939604400094?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/2268170939604400094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/doctype-for-xhtml-documnets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2268170939604400094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/2268170939604400094'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/doctype-for-xhtml-documnets.html' title='DOCTYPE for XHTML documnets'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-838108304826228624</id><published>2008-06-18T17:14:00.000+06:00</published><updated>2008-06-26T12:16:52.160+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='dojo-0.4.3'/><title type='text'>dojo-0.4.3 lfx bouncing effect</title><content type='html'>I's looking for a bouncing effect for a panel-as I wanted to stick to dojo - I dug into dojo animation and dojo lfx-and finally managed myself to do it.Nothing so tough though-I just wanted to share ;)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Download&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://ranjan.rahman.googlepages.com/lfx_blouncing_test.rar"&gt;Sample code for dojo-0.4.3_lfx_bouncing&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-838108304826228624?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/838108304826228624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/dojo-043-lfx-bouncing-effect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/838108304826228624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/838108304826228624'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/dojo-043-lfx-bouncing-effect.html' title='dojo-0.4.3 lfx bouncing effect'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5886817269471127627</id><published>2008-06-15T20:20:00.000+06:00</published><updated>2008-06-20T01:09:35.555+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='dojo-0.4.3-Tree'/><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><title type='text'>TreeV3 on dojo  0.4.3</title><content type='html'>Just completed playing with dojo(v-0.4.3) treeV3.I used it for a DnD-able task lists with RPC call to server-Where user can Delete-Edit and Create new or subtasks and can have expandable-collapsible task details pane.&lt;br /&gt;This one would be  a  0.1 version  of my work with  treeV3-I'll post updates later-with details to my code and dojo api used.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download&lt;/span&gt;&lt;br /&gt;&lt;a href="http://ranjan.rahman.googlepages.com/TreeV3_test_4.rar"&gt;Download sample code&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5886817269471127627?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5886817269471127627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/treev3-on-dojo-043.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5886817269471127627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5886817269471127627'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2008/06/treev3-on-dojo-043.html' title='TreeV3 on dojo  0.4.3'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7804530867150518586.post-5904563407565965664</id><published>2008-05-25T12:29:00.000+06:00</published><updated>2008-05-25T12:39:12.470+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business'/><category scheme='http://www.blogger.com/atom/ns#' term='Thumbrules'/><title type='text'>Ten Rules of Thumb for Business Success</title><content type='html'>The best known blogger in France, Loïc Le Meur has ten rules for achieving success in business. I got it posted at one of my favorite site[&lt;a href="http://www.anvari.org/"&gt;anvari.org&lt;/a&gt;] and found it quite interesting and copied it all here:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Don’t wait for a revolutionary idea. It will never happen. Just focus on a simple, exciting, empty space and execute as fast as possible&lt;/li&gt;&lt;li&gt;Share your idea. The more you share, the more you get advice and the more you learn. Meet and talk to your competitors.&lt;/li&gt;&lt;li&gt;Build a community. Use blogging and social software to make sure people hear about you.&lt;/li&gt;&lt;li&gt;Listen to your community. Answer questions and build your product with their feedback.&lt;/li&gt;&lt;li&gt;Gather a great team. Select those with very different skills from you. Look for people who are better than you.&lt;/li&gt;&lt;li&gt; Be the first to recognize a problem. Everyone makes mistakes. Address the issue in public, learn about and correct it.&lt;/li&gt;&lt;li&gt;Don’t spend time on market research. Launch test versions as early as possible. Keep improving the product in the open.&lt;/li&gt;&lt;li&gt;Don’t obsess over spreadsheet business plans. They are not going to turn out as you predict, in any case.&lt;/li&gt;&lt;li&gt;Don’t plan a big marketing effort. It’s much more important and powerful that your community loves the product.&lt;/li&gt;&lt;li&gt;Don’t focus on getting rich. Focus on your users. Money is a consequence of success, not a goal.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7804530867150518586-5904563407565965664?l=strangerzlog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://strangerzlog.blogspot.com/feeds/5904563407565965664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://strangerzlog.blogspot.com/2008/05/ten-rules-of-thumb-for-business-success.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5904563407565965664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7804530867150518586/posts/default/5904563407565965664'/><link rel='alternate' type='text/html' href='http://strangerzlog.blogspot.com/2008/05/ten-rules-of-thumb-for-business-success.html' title='Ten Rules of Thumb for Business Success'/><author><name>M. Arifur Rahman</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_YcXqlSh10gg/SDj_IJ5P7wI/AAAAAAAAAAo/7h5th_hp8-0/S220/me+alone.jpg'/></author><thr:total>0</thr:total></entry></feed>
