<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Rayhan's blog (raynux.com)</title>
	<atom:link href="http://raynux.com/blog/wp-rss2.php" rel="self" type="application/rss+xml" />
	<link>http://raynux.com/blog</link>
	<description>Rayhan's Personal Web Blog Site</description>
	<pubDate>Sat, 20 Dec 2008 10:47:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Install Additional softwares by a single command on Ubuntu</title>
		<link>http://raynux.com/blog/?p=45</link>
		<comments>http://raynux.com/blog/?p=45#comments</comments>
		<pubDate>Thu, 20 Nov 2008 20:49:15 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Reference]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[personal]]></category>

		<category><![CDATA[Bash Script]]></category>

		<category><![CDATA[Install]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=45</guid>
		<description><![CDATA[I have created a bash script file to install almost all necessary softwares to run and work on a Ubuntu box. I have tried this script in Ubuntu 8.04 Hardy Heron and Ubuntu 8.10 Intrepid Ibex. Softwares I have placed in this script covers PHP-MySQL development and desktop applications for graphics, multimedia,  to Internet [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a bash script file to install almost all necessary softwares to run and work on a Ubuntu box. I have tried this script in Ubuntu 8.04 Hardy Heron and Ubuntu 8.10 Intrepid Ibex. Softwares I have placed in this script covers PHP-MySQL development and desktop applications for graphics, multimedia,  to Internet applications. You can also add your favourite softwares in the script.</p>
<p>File: <strong><em>RayInstall.sh</em></strong></p>
<pre><code>
# RayInstall.sh
#
# Ubuntu Intrepid &amp; Hardy
#
# A very simple Bash Script file to automate installation of necessary
# softwares for PHP-MySQL development and desktop uses in a ubuntu box
#
# This may take several hours or even days depending on your internet connection speed.
#	It tooks 8 Hours for me with about 70-130 KBps of speed
#
# @uses Aplication -&gt; Accesories -&gt; Terminal
#		Now write following command "sudo sh ./RayInstall.sh" without quotes
#		and press enter button on your keyboard
#
# @author ray@raynuxcom
# @licence GPL

#
# For PHP-MySQL Based Development
#

# Install Apache version 2 web server
apt-get -y install apache2 apache2-doc

# Install PHP with necessary modules
apt-get -y install php5 libapache2-mod-php5 php5-cli
apt-get -y install php5-curl php5-dev php5-gd php5-gmp php5-imap php5-ldap php5-mcrypt php5-mhash php5-ming php5-odbc php5-pspell php5-snmp php5-sybase php5-tidy curl libwww-perl imagemagick

# Install MySQL Database server
apt-get -y install mysql-server php5-mysql mysql-gui-tools-common

#Restart apache
/etc/init.d/apache2 restart

# Install Webmin, A web based frontend for linux box.
apt-get -y install webmin

# Install Subversion &amp; Rapidsvn a subversion gui client tools
apt-get -y install subversion
apt-get -y install rapidsvn

#Install Doxygen, An documentation tools for PHP Application
apt-get -y install doxygen doxygen-gui doxygen-doc graphviz

# Install Phpmyadmin, A web based mysql administration tools
apt-get -y install phpmyadmin

# Install Java runtime for Eclipse PDT to work properly
apt-get -y install sun-java6-bin sun-java6-jdk sun-java6-jre

# Install Eclipse PDT
# Just download the pdt-all-in-one peckage from zend site
# http://downloads.zend.com/pdt/all-in-one/pdt-1.0.3.R20080603_debugger-5.2.14.v20080602-all-in-one-linux-gtk.tar.gz
# Unpack it in a suitable location.
# run eclipse/eclipse from the unpacked folder and you are done
# Now install Subclipse plugin using eclipse update tools

#
# Graphics, 2D and 3D Modeling Softwares &amp; tools
#

# Install inkscape, An Illustrator alternative
apt-get -y install inkscape

# Install dia and graphical UML modeling tools
apt-get -y install dia

# Install Scribus, An alternative to Adobe Pagemaker
apt-get -y install scribus

# Install Cheese,  Webcam Software, a video and photo shoot application with cool effects for the GNOME desktop
apt-get -y install webcam cheese

# Install QCAD, and linux alternative to CAD Program.
apt-get -y install qcad

# Install Blender, Linux alternative for 3D Modeling
apt-get -y install blender

#
# Misc. Tools
#

# Install Wine, to run windows program
apt-get -y install wine

# Install XChm to read CHM Help file and Manual
apt-get -y install xchm

#
# Multimedia Players and codec
#

# Install GStreamer restricted codec to run mp3 and other media file
apt-get -y install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad

# XMMS2 Media player
apt-get -y install xmms2 gxmms2

# Install vlc player, An alternative media player. Can play DVD file with title
apt-get -y install vlc vlc-plugin-*

# Install GXINE, Another media player suitable for DVD Playback.
apt-get -y install gxine xine-plugin gxineplugin

# Install Amarok music player
apt-get -y install amarok

# Install k3b, A dvd burner application
apt-get -y install k3b

#
# Network and internet tools
#

# Install OpenSSH server to access your ubuntu box remotely
apt-get -y install openssh-server

#Install gnome-network-admin, not available in default ubuntu 8.10
apt-get -y install gnome-network-admin

# Install Webhttrack, Website copier tools for linux
apt-get -y install webhttrack

# Install kopete instant messenger
apt-get -y install kopete

# install Internet Explorer in Ubuntu (Experimental)
apt-get -y install wine
apt-get -y install cabextract
	#run the following command manually to install IE
# wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
# tar zxvf ies4linux-latest.tar.gz
# cd ies4linux-*
# ./ies4linux
</code>
</pre>
<p>If you are using Ubuntu on your computer and want to automate the installation process utilising this script then perform the following steps:</p>
<ul>
<li>Create a file name <em>RayInstall.sh</em> in you home folder.</li>
<li>Copy and paste the above code inside the the file and save it.</li>
<li>Open a terminal window from <em>Applications -&gt; Accessories -&gt; Terminal</em></li>
<li>Write the following command</li>
<li><code>sudo sh ./RayInstall.sh</code></li>
<li>press <em>Enter</em></li>
<li>Now it will start installing all the softwares listed in the script and you may need to provide some information during installation process when needed.</li>
</ul>
<p>This script may be helpful for newbies. If you have any comment or suggestion regarding this script please let me know as I am also a newbie in Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=45</wfw:commentRss>
		</item>
		<item>
		<title>Store and Display image from MySQL database</title>
		<link>http://raynux.com/blog/?p=47</link>
		<comments>http://raynux.com/blog/?p=47#comments</comments>
		<pubDate>Thu, 20 Nov 2008 10:09:13 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Reference]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[Image]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Upload]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=47</guid>
		<description><![CDATA[A basic approach to upload and save image to a MySQL database and then display the image from the database.
First you need to create a table in MySQL Database to store the image data. Log into you database and run the following sql command:
CREATE TABLE  `images` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`size` int(11) [...]]]></description>
			<content:encoded><![CDATA[<p>A basic approach to upload and save image to a MySQL database and then display the image from the database.</p>
<p>First you need to create a table in MySQL Database to store the image data. Log into you database and run the following sql command:<br />
<code>CREATE TABLE  `images` (<br />
`id` int(11) NOT NULL auto_increment,<br />
`name` varchar(100) default NULL,<br />
`size` int(11) default NULL,<br />
`type` varchar(20) default NULL,<br />
`content` mediumblob,<br />
PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM;</code></p>
<p>Once the table have been created, we are ready to write codes. Now create a folder in you webserver named <strong>rayImg</strong> and create image.php and upload.php files inside the folder.</p>
<p>Open the <strong>image.php</strong>, copy and paste the following code and save it.</p>
<p>File: image.php</p>
<pre><code>&lt;?php
	/**
	 * Display image form database
	 *
	 * Retrive an image from mysql database if image id is provided.
	 *
	 * @example to display a image with image id 1, place &lt;img src="image.php?id=1" &gt; in your html file.
	 *
	 * @author Md. Rayhan Chowdhury
	 * @copyright www.raynux.com
	 * @license LGPL
	 */

	// verify request id.
	if (empty($_GET['id']) || !is_numeric($_GET['id'])) {
		echo &#8216;A valid image file id is required to display the image file.&#8217;;
		exit;
	}

	$imageId = $_GET['id'];

	//connect to mysql database
	if ($conn = mysqli_connect(&#8217;localhost&#8217;, &#8216;root&#8217;, &#8216;root&#8217;, &#8216;test&#8217;)) {
		$content = mysqli_real_escape_string($conn, $content);
		$sql = &#8220;SELECT type, content FROM images where id = {$imageId}&#8221;;

		if ($rs = mysqli_query($conn, $sql)) {
			$imageData = mysqli_fetch_array($rs, MYSQLI_ASSOC);
			mysqli_free_result($rs);
		} else {
			echo &#8220;Error: Could not get data from mysql database. Please try again.&#8221;;
		}
		//close mysqli connection
		mysqli_close($conn);

	} else {
		echo &#8220;Error: Could not connect to mysql database. Please try again.&#8221;;
	}	

	if (!empty($imageData)) {
		// show the image.
		header(&#8221;Content-type: {$imageData['type']}&#8221;);
		echo $imageData['content'];
	}
?&gt;</code></pre>
<p>Now open the update.php, copy and paste the following code and save it.</p>
<p>File: upload.php</p>
<pre><code>&lt;?php
/**
 * Upload an image to mysql database.
 *
 *
 *
 * @author Md. Rayhan Chowdhury
 * @copyright www.raynux.com
 * @license LGPL
 */

// Check for post data.
if ($_POST &amp;&amp; !empty($_FILES)) {
	$formOk = true;

	//Assign Variables
	$path = $_FILES['image']['tmp_name'];
	$name = $_FILES['image']['name'];
	$size = $_FILES['image']['size'];
	$type = $_FILES['image']['type'];

	if ($_FILES['image']['error'] || !is_uploaded_file($path)) {
		$formOk = false;
		echo &#8220;Error: Error in uploading file. Please try again.&#8221;;
	}

	//check file extension
	if ($formOk &amp;&amp; !in_array($type, array(&#8217;image/png&#8217;, &#8216;image/x-png&#8217;, &#8216;image/jpeg&#8217;, &#8216;image/pjpeg&#8217;, &#8216;image/gif&#8217;))) {
		$formOk = false;
		echo &#8220;Error: Unsupported file extension. Supported extensions are JPG / PNG.&#8221;;
	}
	// check for file size.
	if ($formOk &amp;&amp; filesize($path) &gt; 500000) {
		$formOk = false;
		echo &#8220;Error: File size must be less than 500 KB.&#8221;;
	}

	if ($formOk) {
		// read file contents
		$content = file_get_contents($path);

		//connect to mysql database
		if ($conn = mysqli_connect(&#8217;localhost&#8217;, &#8216;root&#8217;, &#8216;root&#8217;, &#8216;test&#8217;)) {
			$content = mysqli_real_escape_string($conn, $content);
			$sql = &#8220;insert into images (name, size, type, content) values (&#8217;{$name}&#8217;, &#8216;{$size}&#8217;, &#8216;{$type}&#8217;, &#8216;{$content}&#8217;)&#8221;;

			if (mysqli_query($conn, $sql)) {
				$uploadOk = true;
				$imageId = mysqli_insert_id($conn);
			} else {
				echo &#8220;Error: Could not save the data to mysql database. Please try again.&#8221;;
			}

			mysqli_close($conn);
		} else {
			echo &#8220;Error: Could not connect to mysql database. Please try again.&#8221;;
		}
	}
}
?&gt;

&lt;html&gt;
	&lt;head&gt;
		&lt;title&gt;Upload image to mysql database.&lt;/title&gt;
		&lt;style type=&#8221;text/css&#8221;&gt;
			img{
				margin: .2em;
				border: 1px solid #555;
				padding: .2em;
				vertical-align: top;
			}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;?php if (!empty($uploadOk)): ?&gt;
			&lt;div&gt;
		  		&lt;h3&gt;Image Uploaded:&lt;/h3&gt;
		  	&lt;/div&gt;
			&lt;div&gt;
				&lt;img src=&#8221;image.php?id=&lt;?=$imageId ?&gt;&#8221; width=&#8221;150px&#8221;&gt;
				&lt;strong&gt;Embed&lt;/strong&gt;: &lt;input size=&#8221;25&#8243; value=&#8217;&lt;img src=&#8221;image.php?id=&lt;?=$imageId ?&gt;&#8221;&gt;&#8217;&gt;
			&lt;/div&gt;

			&lt;hr&gt;
		&lt;? endif; ?&gt;

		&lt;form action=&#8221;&lt;?=$_SERVER['PHP_SELF']?&gt;&#8221; method=&#8221;post&#8221; enctype=&#8221;multipart/form-data&#8221; &gt;
		  &lt;div&gt;
		  	&lt;h3&gt;Image Upload:&lt;/h3&gt;
		  &lt;/div&gt;
		  &lt;div&gt;
		  	&lt;label&gt;Image&lt;/label&gt;
		  	&lt;input type=&#8221;hidden&#8221; name=&#8221;MAX_FILE_SIZE&#8221; value=&#8221;500000&#8243;&gt;
			&lt;input type=&#8221;file&#8221; name=&#8221;image&#8221; /&gt;
		    &lt;input name=&#8221;submit&#8221; type=&#8221;submit&#8221; value=&#8221;Upload&#8221;&gt;
		  &lt;/div&gt;
		&lt;/form&gt;
	&lt;/body&gt;
&lt;/html&gt;</code></pre>
<p>Replace line</p>
<p><strong>mysqli_connect(&#8217;localhost&#8217;, &#8216;root&#8217;, &#8216;root&#8217;, &#8216;test&#8217;) </strong></p>
<p>with<strong></strong></p>
<p><strong>mysqli_connect(&#8217;your host&#8217;, &#8216;your username&#8217;, &#8216;your password&#8217;, &#8216;your database name&#8217;)</strong></p>
<p>in both the file and save again.</p>
<p>You are done. Open upload.php from your browser and upload you desired image and view the uploaded image.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=47</wfw:commentRss>
		</item>
		<item>
		<title>Last evening at Fantasy Kingdom</title>
		<link>http://raynux.com/blog/?p=46</link>
		<comments>http://raynux.com/blog/?p=46#comments</comments>
		<pubDate>Sun, 16 Nov 2008 02:07:15 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Travel]]></category>

		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=46</guid>
		<description><![CDATA[Jubel, my best friend at Sylhet came to Dhaka for a 2 days trip. To give him some excitements we went to Fantasy Kingdom last day. We reached there at about 5 PM. We rode on some exciting rides like roller coaster, flying bird etc. It was an exciting and enjoyable evening for both of [...]]]></description>
			<content:encoded><![CDATA[<p>Jubel, my best friend at Sylhet came to Dhaka for a 2 days trip. To give him some excitements we went to Fantasy Kingdom last day. We reached there at about 5 PM. We rode on some exciting rides like roller coaster, flying bird etc. It was an exciting and enjoyable evening for both of us.</p>
<p>Here are some photos of the tour taken by my Motorola V3i mobile phone.</p>
<p><a title="15-11-08_1919 by rayhan_wm, on Flickr" href="http://www.flickr.com/photos/raynux/3032542396/"><img src="http://farm4.static.flickr.com/3033/3032542396_efca2d7cf2.jpg" alt="15-11-08_1919" width="375" height="500" /></a></p>
<p><a title="15-11-08_1918 by rayhan_wm, on Flickr" href="http://www.flickr.com/photos/raynux/3031697491/"><img src="http://farm4.static.flickr.com/3054/3031697491_d4f1e0466a.jpg" alt="15-11-08_1918" width="375" height="500" /></a></p>
<p><a title="15-11-08_1914 by rayhan_wm, on Flickr" href="http://www.flickr.com/photos/raynux/3031708597/"><img src="http://farm4.static.flickr.com/3071/3031708597_e9f7cb2545.jpg" alt="15-11-08_1914" width="375" height="500" /></a></p>
<p><a title="15-11-08_1921 by rayhan_wm, on Flickr" href="http://www.flickr.com/photos/raynux/3032529362/"><img src="http://farm4.static.flickr.com/3209/3032529362_8d36627107.jpg" alt="15-11-08_1921" width="375" height="500" /></a></p>
<p>View all pictures: <a href="http://www.flickr.com/photos/raynux/tags/fk15nov/">http://www.flickr.com/photos/raynux/tags/fk15nov/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=46</wfw:commentRss>
		</item>
		<item>
		<title>Recovering Ubuntu or Fedora Linux after installing windows</title>
		<link>http://raynux.com/blog/?p=41</link>
		<comments>http://raynux.com/blog/?p=41#comments</comments>
		<pubDate>Sat, 20 Sep 2008 19:40:26 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Reference]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Boot]]></category>

		<category><![CDATA[GRUB]]></category>

		<category><![CDATA[Troublshooting]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=41</guid>
		<description><![CDATA[Running linux with windows in dual boot mode is not hassle free at all. Specially if you reinstall or repair windows, your linux system will disappear. As a newbie you may stop using linux or reinstall it again instead of solving the problem. In this article I will share my experience on how to recover [...]]]></description>
			<content:encoded><![CDATA[<p>Running linux with windows in dual boot mode is not hassle free at all. Specially if you reinstall or repair windows, your linux system will disappear. As a newbie you may stop using linux or reinstall it again instead of solving the problem. In this article I will share my experience on how to recover the boot option for linux. I will cover two well known linux distro ubuntu 8 and fedora 7. I will try to cover the fail safe situation here.</p>
<p>In both Fedora and Ubuntu this task includes two basic steps. These are:</p>
<ul>
<li><strong>Enter into your existing hard disk linux system.</strong></li>
<li><strong>Setup GRUB Boot Loader using GRUB program.</strong></li>
</ul>
<p><strong>a. Enter into your existing hard disk linux system.</strong></p>
<p>Fedora 7:</p>
<p>In fedora recovering grub is easy task as fedora automatically mount the existing system image to /mnt/sysimage in rescue mode.</p>
<ol>
<li>Insert the fedora installation cd to boot from cd.</li>
<li>When the boot menu appear enter the rescue mode. A message will be prompt saying mounting the existing fedora system on /mnt/sysimage, click ok.</li>
<li>In rescue mode you will be in a shell</li>
<li>Enter the following command<br />
<code>#chroot /mnt/sysimage</code></li>
<li>Now you are in your existing fedora operating system.</li>
</ol>
<p>Ubuntu 8.04 LTS:</p>
<p>In ubuntu you will have to mount the existing system image manually.</p>
<ol>
<li>Insert the ubuntu live cd and start a live session from cd.</li>
<li>open the terminal window</li>
<li>the following command will display currently mounted device or harddisk partitions<br />
<code>#df -h</code></li>
<li>get the device name for <em>/boot</em> if exists or <em>/</em> (root) partition say <em>/dev/sda9</em>.</li>
<li>enter the following command<br />
<code>#sudo mkdir ubuntu<br />
#sudo mount -t ext3 /dev/sda9 ubuntu</code></li>
<li>If you have separate <em>/usr</em> partition say <em>/dev/sda7</em> enter the following command too.<br />
<code>#sudo mount -t ext3 /dev/sda7 ubuntu/usr<br />
</code></li>
<li>Enter the following command to mount <em>/proc</em> and <em>/dev</em> and change chroot.<br />
<code>#sudo mount -t proc none ubuntu/proc<br />
#sudo mount -o bind /dev/ ubuntu/dev<br />
#sudo chroot ubuntu /bin/bash</code></li>
<li>Now you are in your existing ubuntu operating system.</li>
</ol>
<p><strong>b. Setup GRUB Boot Loader using GRUB program.</strong></p>
<p>In grub you are mainly required to find the boot device and set the root to bood device.</p>
<ol>
<li>Insert the ubuntu live cd and start a live session from cd.<br />
<code>#grub</code></li>
<li>Find the existing boot device using following command. Which will out put something like (hd0,0) or (hd0,5) say (hdX,Y).<br />
<code>#grub&gt; find /boot/grub/stage1</code></li>
<li>Use the above output in the following two commands.<br />
<code>#grub&gt; root (hdX,Y)<br />
#grub&gt; setup (hdX)<br />
#grub&gt; quit</code></li>
<li>if everything is ok then you are done. just reboot the system.</li>
</ol>
<p>This article is completely based on my current experience and I am still a newbie in linux environment. so there may have sevaral other options to do the same task.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=41</wfw:commentRss>
		</item>
		<item>
		<title>Panam City Tour- Esha Khan&#8217;s Sonargoan, Old capital</title>
		<link>http://raynux.com/blog/?p=40</link>
		<comments>http://raynux.com/blog/?p=40#comments</comments>
		<pubDate>Thu, 21 Aug 2008 19:14:00 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Bangladesh]]></category>

		<category><![CDATA[personal]]></category>

		<category><![CDATA[Tour]]></category>

		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=40</guid>
		<description><![CDATA[Sonargoan . Panam City
It was Sunday, August 17, 2008. I got up at 10:00 O&#8217;clock because it was a government holiday. Probir came to my room saying about going some where. I was not prepare for this, in a sudden I told him to go Sonargoan of Esha Khan. Then I and probir convinced Zaed [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Sonargoan . Panam City</strong></p>
<p>It was Sunday, August 17, 2008. I got up at 10:00 O&#8217;clock because it was a government holiday. Probir came to my room saying about going some where. I was not prepare for this, in a sudden I told him to go Sonargoan of Esha Khan. Then I and probir convinced Zaed to accompany us which took about 1 hour.</p>
<p>Finally we started our journey toward Sonargoan at 11:30 AM from. Because of holiday we managed to reach there at about 1 pm. It was an imaging journey as none of we ever visited the place. We were in the dream when we entered the narrow street of Panam city. All the building standing two sides of the road were about 3 hundred years old. Most of them were in danger and any time could collapse. We learned the architecture of the then era. The structure of the building was our main subject as all of we were civil engineer. All the buildings were made using lime-concrete technology. In some building steel joist was used to bear the load of slab but most of the buildings were made of lime-concrete only even in the tension zone like slab. In the tension zone they used brick blocks in 45 degree angle so that they can act as compression member to resist tension like arch do. We found visible cracks here and there in most of the buildings. It was really a good experience for us.</p>
<p>But what we found was all the buildings were decaying and emergency look after and quality renovation work is highly required. The government is doing for some renovation work which is not sufficient. We need to save it because it is our Heritage. Finally we returned home with a great memory.</p>
<p><strong>Tour Pictures</strong></p>
<p>All the pictures were taken by mobile phone.</p>
<p><a href="http://www.flickr.com/photos/raynux/2807997170/" title="1 by rayhan_wm, on Flickr"><img src="http://farm3.static.flickr.com/2048/2807997170_844553549c.jpg" alt="1" height="375" width="500"/></a> <br/>(I, Probir and our two little guide ridoy and autip.)</p>
<p><a href="http://www.flickr.com/photos/raynux/2807980574/" title="11 by rayhan_wm, on Flickr"><img src="http://farm4.static.flickr.com/3087/2807980574_fb12d8d9f3.jpg" alt="11" height="500" width="375"/></a> <br/>(I was thinking &#8230;.?)</p>
<p><a href="http://www.flickr.com/photos/raynux/2807133771/" title="10 by rayhan_wm, on Flickr"><img src="http://farm4.static.flickr.com/3058/2807133771_104803c453.jpg" alt="10" height="500" width="375"/></a> <br/>(Picture of a dangerous slabs see bricks are in 45 degree angle.)</p>
<p><a href="http://www.flickr.com/photos/raynux/2807978040/" title="13 by rayhan_wm, on Flickr"><img src="http://farm4.static.flickr.com/3121/2807978040_dfe311ac8a.jpg" alt="13" height="500" width="375"/></a> <br/>(Close view of a decaying wall made of lime concrete)</p>
<p><a href="http://www.flickr.com/photos/raynux/2807973466/" title="16 by rayhan_wm, on Flickr"><img src="http://farm4.static.flickr.com/3139/2807973466_9a86299fd3.jpg" alt="16" height="500" width="375"/></a> <br/>(Zaed, what is he doing with his guava)</p>
<p><a href="http://www.flickr.com/photos/raynux/tags/panam/" title="Photo Album of Panam Toar">View Photo Album of Panam Tour &gt;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=40</wfw:commentRss>
		</item>
		<item>
		<title>Listen MP3 on Fedora Linux box.</title>
		<link>http://raynux.com/blog/?p=37</link>
		<comments>http://raynux.com/blog/?p=37#comments</comments>
		<pubDate>Sat, 19 Jul 2008 18:03:00 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=37</guid>
		<description><![CDATA[I receives lots of call from my friends to help them fixing mp3 problem in fedora. Some of them already have internet connection to their fedora box. 
Here is a single command what can solve the problem if you have internet connection.

# yum -y install gstreamer*

This command will automatically find, download and install the GStreamer [...]]]></description>
			<content:encoded><![CDATA[<p>I receives lots of call from my friends to help them fixing mp3 problem in fedora. Some of them already have internet connection to their fedora box. </p>
<p>Here is a single command what can solve the problem if you have internet connection.</p>
<p><code><br />
# yum -y install gstreamer*<br />
</code></p>
<p>This command will automatically find, download and install the GStreamer mp3 codec for you. Then you can enjoy the mp3 song with your favorite music player.</p>
<p>You can download xmms one of the popular mp3 player on your fedora system. It is a Winamp alternative to linux. To install this software enter the following command.</p>
<p><code><br />
# yum -y install xmms*<br />
</code></p>
<p>After installing xmms you will find the menu Application -> Sound &#038; Video -> Audio Player to launch the xmms player.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=37</wfw:commentRss>
		</item>
		<item>
		<title>Varification Post for Technorati.com</title>
		<link>http://raynux.com/blog/?p=38</link>
		<comments>http://raynux.com/blog/?p=38#comments</comments>
		<pubDate>Sat, 19 Jul 2008 17:32:01 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=38</guid>
		<description><![CDATA[Technorati Profile
]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/claim/xxi4vuj976" rel="me">Technorati Profile</a></p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=38</wfw:commentRss>
		</item>
		<item>
		<title>GPRS Connection from fedora linux using my moto L6</title>
		<link>http://raynux.com/blog/?p=36</link>
		<comments>http://raynux.com/blog/?p=36#comments</comments>
		<pubDate>Sat, 19 Jul 2008 16:19:55 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Reference]]></category>

		<category><![CDATA[GPRS]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=36</guid>
		<description><![CDATA[This is how I connect to internet from fedora box using my motorola L6 GPRS modem. I use this procedure with Teletalk connection.
After a fresh fedora installation I enter the following command in the shell. This command creates a wvdial configuration file for my modem.

# wvdialconf /etc/wvdial.conf

Now I need to modify some contents of wvdial.conf [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I connect to internet from fedora box using my motorola L6 GPRS modem. I use this procedure with Teletalk connection.</p>
<p>After a fresh fedora installation I enter the following command in the shell. This command creates a wvdial configuration file for my modem.<br />
<code><br />
# wvdialconf /etc/wvdial.conf<br />
</code><br />
Now I need to modify some contents of wvdial.conf file. To do so I open the /etc/wvdial.conf using VI or other text editor. And replace the content of the file with the following text and save it.</p>
<pre>
<code>
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0
ISDN = 0
Modem Type = USB Modem
Phone = *99#
Username = A
Password = B
Stupid Mode = 1
</code>
</pre>
<p>I make sure to set  username = A, Password=B and Stupid Mode = 1 and do not modify the line<br />
<code><br />
Modem = .....<br />
</code><br />
as this is my device name (this line can very with your phone set). Now whenever I need to connect to internet I just enter the following command to the shell.<br />
<code><br />
# wvdial<br />
</code><br />
Thats all. Same way you can turn your mobile set to internet from fedora with no or little modification.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=36</wfw:commentRss>
		</item>
		<item>
		<title>I have started learning both Ruby &#038; Python</title>
		<link>http://raynux.com/blog/?p=35</link>
		<comments>http://raynux.com/blog/?p=35#comments</comments>
		<pubDate>Tue, 15 Jul 2008 17:58:38 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=35</guid>
		<description><![CDATA[Today I have started learning Python, after a successful start I have found that in Python the code block is separated by indent. That means no closing braces or ending identifier. like


def whats_on_the_telly(penguin=None):
    if penguin is None:
        penguin = []
    penguin.append(&#8221;property of [...]]]></description>
			<content:encoded><![CDATA[<p>Today I have started learning Python, after a successful start I have found that in Python the code block is separated by indent. That means no closing braces or ending identifier. like</p>
<pre>
<code>
def whats_on_the_telly(penguin=None):
    if penguin is None:
        penguin = []
    penguin.append(&#8221;property of the zoo&#8221;)
    return penguin
 &nbsp;
def another_func():
    return 1
</code>
</pre>
<p>Here, the function definition ends at after a blank line followed by another definition. I was disappointed with this features of Python and found it is confusing for a large code base for manageability. </p>
<p>As a result I moved to Ruby. After installing Ruby in my PC I started learning the basics of Ruby Language. I have found some interesting features in Ruby language. But I am not impressed with some features like the way of return statement in a function definition. </p>
<p>This is my opinion as a beginner. Yet, I want to try both of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=35</wfw:commentRss>
		</item>
		<item>
		<title>I have updated my resume.</title>
		<link>http://raynux.com/blog/?p=34</link>
		<comments>http://raynux.com/blog/?p=34#comments</comments>
		<pubDate>Thu, 10 Jul 2008 05:20:03 +0000</pubDate>
		<dc:creator>rayhan</dc:creator>
		
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://raynux.com/blog/?p=34</guid>
		<description><![CDATA[Last night I have renewed my resume. It took me about 4 hour to make it good. Here is the link to my resume.
]]></description>
			<content:encoded><![CDATA[<p>Last night I have renewed my resume. It took me about 4 hour to make it good. Here is the link to <a href="http://www.raynux.com/doc/resume.pdf">my resume</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://raynux.com/blog/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
	</channel>
</rss>
