<?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-7954055</id><updated>2012-01-26T20:13:33.433+06:00</updated><category term='linux'/><category term='facebook'/><category term='mail'/><category term='math'/><category term='macos'/><category term='wiki'/><category term='grub'/><category term='office'/><category term='javascript'/><category term='personal'/><category term='news'/><category term='php'/><category term='security'/><category term='apple'/><category term='latex'/><category term='example'/><category term='codeigniter'/><category term='bsd'/><category term='graphics'/><category term='gtk'/><category term='my developed'/><category term='qdisc'/><category term='blog'/><category term='networking'/><category term='openoffice'/><category term='wipe'/><category term='publishing'/><category term='encryption'/><category term='iPhone'/><category term='bandwidth'/><category term='opensource'/><category term='opengl'/><category term='python'/><category term='unix'/><category term='tc'/><category term='custom font'/><category term='debian'/><category term='design'/><category term='unicode'/><category term='project'/><category term='testing'/><category term='data'/><category term='bangla'/><category term='ankurbangla'/><category term='moinmoin'/><category term='erase'/><title type='text'>Open Source &amp; Freedom</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7954055.post-8870196153812094598</id><published>2011-08-04T04:27:00.011+06:00</published><updated>2011-08-04T19:40:56.393+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><title type='text'>Exim in Debian</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-F9M_hzxDnRM/Tjpe3MPqrBI/AAAAAAAAA_o/zVcWKnUiTvc/s1600/exim-blue-ld-87x65.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-F9M_hzxDnRM/Tjpe3MPqrBI/AAAAAAAAA_o/zVcWKnUiTvc/s1600/exim-blue-ld-87x65.png" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/-pxP82ISwDfQ/TXnkkLiKOqI/AAAAAAAAA_E/RLNHhqKW834/s1600/deban_logo_wikipedia.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-pxP82ISwDfQ/TXnkkLiKOqI/AAAAAAAAA_E/RLNHhqKW834/s1600/deban_logo_wikipedia.png" /&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/-F9M_hzxDnRM/Tjpe3MPqrBI/AAAAAAAAA_o/zVcWKnUiTvc/s1600/exim-blue-ld-87x65.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I was trying to configure Exim4 in debian for receiving and sending email occasionally.&lt;br /&gt;&lt;br /&gt;First I have setup account in dyndns.com for my dynamic public IP.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#dpkg-reconfigure exim4-config&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;General type of mail configuration:&amp;nbsp; &lt;i&gt;internet site; mail is sent and received directly using SMTP.&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System mail name: &lt;i&gt;yourdomain.com&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;IP-addresses to listen on for incomming SMTP connections:&lt;i&gt; // leave blank &lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Other destinations for which mail is accepted: &lt;i&gt;yourdomain.com&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Domains to relay mail for: &lt;i&gt;// leave blank&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Machines to relay mail for: &lt;i&gt;// leave blank&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Keep number of DNS-queries minimal (Dial-on-Demand) ?: &lt;i&gt;No&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Delivery method for local mail: &lt;i&gt;Maildir format in home directory&lt;/i&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Split configuration into small files ? : &lt;/span&gt;&lt;i style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;No&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;You can add new account in Evolution mail as "&lt;b&gt;maildir&lt;/b&gt;", sending SMTP localhost. done.....&lt;br /&gt;&lt;br /&gt;If you face problem while sending mail, you might be interested to configure SMTP relay:&lt;br /&gt;&lt;a href="http://wiki.debian.org/GmailAndExim4"&gt;http://wiki.debian.org/GmailAndExim4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TLS and Authentication&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Generate a certificate using:&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#bash /usr/share/doc/exim4-base/examples/exim-gencert &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will generate &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;exim.crt&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;exim.key&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/exim4/&lt;/span&gt;&lt;br /&gt;You may simply copy certificates if you have bought it earlier.&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#cd /etc/exim4&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#vi exim4.conf.template &lt;/div&gt;&lt;br /&gt;add the following line &lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;MAIN_TLS_ENABLE = yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;before&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;.ifdef MAIN_TLS_ENABLE &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To verify TLS we are installing diagnostic tool:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# apt-get install swaks libnet-ssleay-perl&lt;/span&gt;&lt;/blockquote&gt;Test the connection:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$ swaks -a -tls -q HELO -s localhost -au your_user -ap '&amp;lt;&amp;gt;'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;=== Trying localhost:25...&lt;br /&gt;=== Connected to localhost.&lt;br /&gt;&amp;lt;-&amp;nbsp; 220 debianwb ESMTP Exim 4.76 Thu, 04 Aug 2011 14:22:02 +0600&lt;br /&gt;&amp;nbsp;-&amp;gt; EHLO debianwb&lt;br /&gt;&amp;lt;-&amp;nbsp; 250-debianwb Hello localhost [127.0.0.1]&lt;br /&gt;&amp;lt;-&amp;nbsp; 250-SIZE 52428800&lt;br /&gt;&amp;lt;-&amp;nbsp; 250-PIPELINING&lt;br /&gt;&amp;lt;-&amp;nbsp; 250-STARTTLS&lt;br /&gt;&amp;lt;-&amp;nbsp; 250 HELP&lt;br /&gt;&amp;nbsp;-&amp;gt; STARTTLS&lt;br /&gt;&amp;lt;-&amp;nbsp; 220 TLS go ahead&lt;br /&gt;=== TLS started w/ cipher DHE-RSA-AES256-SHA&lt;br /&gt;&amp;nbsp;~&amp;gt; EHLO debianwb&lt;br /&gt;&amp;lt;~&amp;nbsp; 250-debianwb Hello localhost [127.0.0.1]&lt;br /&gt;&amp;lt;~&amp;nbsp; 250-SIZE 52428800&lt;br /&gt;&amp;lt;~&amp;nbsp; 250-PIPELINING&lt;br /&gt;&amp;lt;~&amp;nbsp; 250 HELP&lt;br /&gt;&amp;nbsp;~&amp;gt; QUIT&lt;br /&gt;&amp;lt;~&amp;nbsp; 221 evie closing connection&lt;/span&gt;&lt;/blockquote&gt;We were sending an empty pass while testing &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;swaks&lt;/span&gt;.&lt;br /&gt;Now, we will add authentication schema.&lt;br /&gt;For the shell users we are using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;SASL&lt;/span&gt;, which uses &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PAM&lt;/span&gt; for password authentication.&lt;br /&gt;&lt;br /&gt;#apt-get install sasl2-bin&lt;br /&gt;&lt;br /&gt;To enable: &lt;br /&gt;#vi /etc/default/saslauthd &lt;br /&gt;&lt;blockquote&gt;START=yes&lt;/blockquote&gt;start the deamon&lt;br /&gt;#/etc/init.d/saslauthd start&lt;br /&gt;&lt;br /&gt;#vi /etc/exim4/exim4.conf&lt;br /&gt;Un-comment the following line authentication via saslauthd:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;plain_saslauthd_server:&lt;br /&gt;&amp;nbsp;&amp;nbsp; driver = plaintext&lt;br /&gt;&amp;nbsp;&amp;nbsp; public_name = PLAIN&lt;br /&gt;&amp;nbsp;&amp;nbsp; server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}&lt;br /&gt;&amp;nbsp;&amp;nbsp; server_set_id = $auth2&lt;br /&gt;&amp;nbsp;&amp;nbsp; server_prompts = :&lt;br /&gt;&amp;nbsp;&amp;nbsp; .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS&lt;br /&gt;&amp;nbsp;&amp;nbsp; server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}&lt;br /&gt;&amp;nbsp;&amp;nbsp; .endif&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Add exim to sasl group&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#adduser Debian-exim sasl&lt;/div&gt;&lt;br /&gt;Test the connection using your username:&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#swaks -a -tls -q AUTH -s localhost -au your_user&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Password:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you may need to add&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#vi /etc/hosts&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; your_domain&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Enableing IMAP access:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install courier-imap courier-imap-ssl&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; Create directories for web-based administration -&amp;gt; No&lt;/span&gt;&lt;/blockquote&gt;You may install "File Access Monitor" daemon to check other folders beside Inbox:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# apt-get install fam&lt;/div&gt;&lt;/blockquote&gt;&amp;nbsp;Check &lt;a href="http://blog.edseek.com/%7Ejasonb/articles/exim4_courier/courierimap.html"&gt;this link&lt;/a&gt; for details information. &lt;br /&gt;&lt;br /&gt;Optionally you can check for X.509 Certificate: &lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# vi /etc/courier/imapd.cnf&lt;/div&gt;&lt;br /&gt;If you do not want to use the default certificate, after edit the imapd.cnf, you may generate using:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# mkimapdcert&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;If you are behind a router, forward port 25, 143, 706, 993 to your server.&lt;br /&gt;&lt;br /&gt;source:&lt;br /&gt;&lt;a href="http://blog.edseek.com/%7Ejasonb/articles/exim4_courier/index.html"&gt;http://blog.edseek.com/~jasonb/articles/exim4_courier/index.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"&gt;http://pkg-exim4.alioth.debian.org/README/README.Debian.html &lt;/a&gt;&lt;br /&gt;&lt;a href="http://library.linode.com/email/exim/send-only-mta-debian-6-squeeze"&gt;http://library.linode.com/email/exim/send-only-mta-debian-6-squeeze&lt;/a&gt;&lt;br /&gt;&lt;a href="http://koivi.com/exim4-config/"&gt;http://koivi.com/exim4-config/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8870196153812094598?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8870196153812094598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8870196153812094598' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8870196153812094598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8870196153812094598'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/08/exim-in-debian.html' title='Exim in Debian'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-F9M_hzxDnRM/Tjpe3MPqrBI/AAAAAAAAA_o/zVcWKnUiTvc/s72-c/exim-blue-ld-87x65.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-4813170530002364940</id><published>2011-08-03T13:38:00.000+06:00</published><updated>2011-09-04T13:39:50.980+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data'/><category scheme='http://www.blogger.com/atom/ns#' term='wipe'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='erase'/><title type='text'>secure wipe</title><content type='html'>&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install secure-delete&lt;/div&gt;&lt;br /&gt;It will provide the following tools for secure wiping:&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;div&gt;/usr/bin/srm&lt;/div&gt;&lt;div&gt;/usr/bin/sfill&lt;/div&gt;&lt;div&gt;/usr/bin/sswap&lt;/div&gt;&lt;div&gt;/usr/bin/sdmem&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;srm - secure remove (secure_deletion toolkit)&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$srm file_name&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$srm -r folder_name&lt;/div&gt;&lt;/blockquote&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: red;"&gt;&lt;/span&gt;&lt;span style="color: red;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;There is already another tool "&lt;i&gt;shred&lt;/i&gt;" comes with "&lt;i&gt;coreutils&lt;/i&gt;" package in Debian: &lt;br /&gt;&lt;b&gt;coreutils&lt;/b&gt; - GNU core utilities&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/usr/bin/shred&lt;/div&gt;&lt;/blockquote&gt;&lt;b&gt;shred - overwrite a file to hide its contents, and optionally delete it&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$shred file_name&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sfill&amp;nbsp; -&amp;nbsp; secure free disk and inode space wiper (secure_deletion toolkit)&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#sfill /mount_point/&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;sswap - secure swap wiper (secure_deletion toolkit)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Turn off swap first :&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;nbsp;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#swapoff /dev/sdaX&lt;/span&gt;&lt;br /&gt;or &lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#swapoff -a&amp;nbsp;&lt;/span&gt; //to turn off all swap &lt;/blockquote&gt;&lt;i&gt;Now run sswap:&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;#sswap /dev/sdaX&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;sdmem - secure memory wiper (secure_deletion toolkit)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is some limitation of these tools.&lt;br /&gt;Please use manual pages of individual package for details information.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-4813170530002364940?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/4813170530002364940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=4813170530002364940' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4813170530002364940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4813170530002364940'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/09/secure-wipe.html' title='secure wipe'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1925040427993842548</id><published>2011-03-17T15:52:00.004+06:00</published><updated>2011-03-18T13:27:58.030+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='bandwidth'/><category scheme='http://www.blogger.com/atom/ns#' term='qdisc'/><title type='text'>Bandwidth Control in Linux</title><content type='html'>There are several ways to control / shape / manage bandwidth in Linux.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Simple approach. Install &lt;a href="http://lartc.org/wondershaper/"&gt;wondershaper&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install wondershaper&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Configure it using kilobits (change eth1 according to yours):&lt;br /&gt;from manual "wondershaper [ interface ] [ downlink ] [ uplink ]" &lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#wondershaper eth1 2048 2048&lt;/span&gt; &lt;/blockquote&gt;If you want to clear simply run:&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#wondershaper clear eth1&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;We will control the bandwidth using a tool "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;tc&lt;/span&gt;", which is a part of "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iproute&lt;/span&gt;" package in Debian.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;tc - show / manipulate traffic control settings&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Simple, classless Queueing Disciplines:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The Token Bucket Filter (TBF)&lt;/i&gt; - Simple and easy, for slowing an interface down.&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt; &lt;/i&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;b&gt;qdisc&lt;/b&gt; - queuing discipline&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;b&gt;latency &lt;/b&gt;- number of bytes that can be queued waiting for tokens to become available.&lt;br /&gt;&lt;b&gt;burst&lt;/b&gt; - Size of the bucket, in bytes.&lt;br /&gt;&lt;b&gt;rate&lt;/b&gt; - speedknob&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc add dev eth1 root tbf rate 220kbit latency 50ms burst 1540 &lt;/span&gt;&lt;/blockquote&gt;&lt;a href="http://lartc.org/howto/lartc.qdisc.classless.html#AEN691"&gt;click here &lt;/a&gt;for more information on TBF.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Stochastic Fairness Queueing (SFQ)&lt;/i&gt; - round robin type, provide each session the chance to send data in turn. It changes its hashing algorithm within an interval.&lt;br /&gt;&lt;i&gt; &lt;/i&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;b&gt;qdisc&lt;/b&gt; - queuing discipline&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;b&gt;perturb&lt;/b&gt; - Reconfigure hashing once this many seconds.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc add dev eth1 root sfq perturb 10&lt;/span&gt;&lt;/blockquote&gt;&lt;a href="http://lartc.org/howto/lartc.qdisc.classless.html#LARTC.SFQ"&gt;click here &lt;/a&gt;for more information on SFQ.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;To check the status run:&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc -s -d qdisc show dev eth1&lt;/span&gt;&lt;/blockquote&gt;&lt;i&gt;To remove it:&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc del dev eth1 root&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Classful Queueing Disciplines:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;CBQ (Class Based Queueing) &lt;/i&gt;- A Classful Queueing&lt;i&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;HTB - &lt;/i&gt;Another classful Queueing. (we will use it.)&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-F0CHW93EVSY/TYETfKCqBeI/AAAAAAAAA_I/gfrrUm-fjiM/s1600/qdisc_example.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="https://lh4.googleusercontent.com/-F0CHW93EVSY/TYETfKCqBeI/AAAAAAAAA_I/gfrrUm-fjiM/s320/qdisc_example.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Example classful qdisc&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Let assume we want to create some rules for a small office using HTB.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;eth0 - &lt;/b&gt;external interface - &lt;/i&gt;&lt;b&gt;PUBLIC_IP&lt;/b&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;eth1 - &lt;/b&gt;internal interface - &lt;/i&gt;&lt;b&gt;LOCAL_IP&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Email&lt;/i&gt; will get the &lt;i&gt;highest&lt;/i&gt; priority&lt;br /&gt;&lt;i&gt;General/Other&lt;/i&gt; will get the &lt;i&gt;medium&lt;/i&gt; priority.&lt;br /&gt;&lt;i&gt;Video streaming&lt;/i&gt; will get the &lt;i&gt;lowest&lt;/i&gt; priority.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-NS0x89M9KoQ/TYEY3tFcxMI/AAAAAAAAA_M/P5lnfa7oBpw/s1600/qdisc_example_implement.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="281" src="https://lh4.googleusercontent.com/-NS0x89M9KoQ/TYEY3tFcxMI/AAAAAAAAA_M/P5lnfa7oBpw/s400/qdisc_example_implement.png" width="400" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;i&gt;Creating root 1: and 1:1 using HTB (default 6 means follow 1:6 if no rule matched)&lt;/i&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc add dev eth1 root handle 1: htb default 6&lt;br /&gt;#tc class add dev eth1 parent 1: classid 1:1 htb rate 2mbit ceil 2mbit&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;Creating leaf class 1:5 (prio represents priority, and 0 means high priority)&lt;/i&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc class add dev eth1 parent 1:1 classid 1:5 htb rate 1mbit ceil 1.5mbit&lt;br /&gt;#tc filter add dev eth1 protocol ip parent 1:0 prio 0 u32 match ip src YOUR_MAIL_SERVER_IP/32 flowid 1:5&lt;br /&gt;#tc filter add dev eth1 protocol ip parent 1:0 prio 0 u32 match ip sport 22 0xffff flowid 1:5&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;Creating leaf class 1:6 (It is set as default in root qdisc, so we are not setting any rules)&lt;/i&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc class add dev eth1 parent 1:1 classid 1:6 htb rate 0.5mbit ceil 1.5mbit&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;Creating leaf class 1:7 (use /32 for specific IP, /24 for that series. Priority low - prio 5. You can get the IP address using "iptraf" tool)&lt;/i&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc class add dev eth1 parent 1:1 classid 1:7 htb rate 0.2mbit ceil 1mbit&lt;br /&gt;#tc filter add dev eth1 protocol ip parent 1:0 prio 5 u32 match ip src VIDEO_STREAM_IP/32 flowid 1:7&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Optionally we can also add discipline with leaf (for an example we are adding SFQ with leaf class 1:5)&lt;/i&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc add dev eth1 parent 1:5 handle 20: sfq perturb 10&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;To remove it:&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#tc qdisc del dev eth1 root handle 1: htb &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/goog_898463790"&gt; &lt;/a&gt;&lt;br /&gt;&lt;a href="http://luxik.cdi.cz/%7Edevik/qos/htb/manual/userg.htm"&gt;Click here&lt;/a&gt; for more information on HTB.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;This document is written to describe a basic of bandwidth controlling/shaping for the new users. Please check the details documentation for advance options.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;source:&lt;br /&gt;&lt;a href="http://lartc.org/howto/index.html"&gt;http://lartc.org/howto/index.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.opalsoft.net/qos/DS.htm"&gt;http://www.opalsoft.net/qos/DS.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.edseek.com/%7Ejasonb/articles/traffic_shaping/index.html"&gt;http://blog.edseek.com/~jasonb/articles/traffic_shaping/index.html&lt;/a&gt;&lt;br /&gt;HTB user guide:&lt;br /&gt;&lt;a href="http://luxik.cdi.cz/%7Edevik/qos/htb/manual/userg.htm"&gt;http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm&lt;/a&gt;&lt;br /&gt;Filter:&lt;br /&gt;&lt;a href="http://lartc.org/howto/lartc.qdisc.filters.html"&gt;http://lartc.org/howto/lartc.qdisc.filters.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-ip.net/articles/Traffic-Control-HOWTO/index.html"&gt;http://linux-ip.net/articles/Traffic-Control-HOWTO/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1925040427993842548?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1925040427993842548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1925040427993842548' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1925040427993842548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1925040427993842548'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/03/bandwidth-control-in-linux.html' title='Bandwidth Control in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-F0CHW93EVSY/TYETfKCqBeI/AAAAAAAAA_I/gfrrUm-fjiM/s72-c/qdisc_example.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3973290800400537311</id><published>2011-03-11T20:53:00.000+06:00</published><updated>2011-03-11T20:53:43.284+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='bsd'/><title type='text'>FreeBSD with Debian GRUB</title><content type='html'>&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;/div&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;/div&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;/div&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;/div&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="https://lh4.googleusercontent.com/-pxP82ISwDfQ/TXnkkLiKOqI/AAAAAAAAA_E/RLNHhqKW834/s1600/deban_logo_wikipedia.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-pxP82ISwDfQ/TXnkkLiKOqI/AAAAAAAAA_E/RLNHhqKW834/s1600/deban_logo_wikipedia.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-BVF1fda6Avw/TXnkgXHd3gI/AAAAAAAAA_A/Xmb0muIHYA4/s1600/freebsd_logo_wikipedia.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-BVF1fda6Avw/TXnkgXHd3gI/AAAAAAAAA_A/Xmb0muIHYA4/s1600/freebsd_logo_wikipedia.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I have installed FreeBSD 8.2 amd64 in my PC for testing.&lt;br /&gt;&lt;br /&gt;If you want to boot FreeBSD using GRUB, simply edit&amp;nbsp; &lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/grub.d/40_customized&lt;/blockquote&gt;&lt;br /&gt;In the other section add the following line:&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(change the partition according to yours)&lt;/span&gt; &lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;menuentry 'FreeBSD 8.2 amd64' {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set root='(hd0,X)'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chainloader +1&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;Update the grub.cfg&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#update-grub&lt;/blockquote&gt;&lt;br /&gt;FreeBSD should appear in your grub menu while booting...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3973290800400537311?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3973290800400537311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3973290800400537311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3973290800400537311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3973290800400537311'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/03/freebsd-with-debian-grub.html' title='FreeBSD with Debian GRUB'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-pxP82ISwDfQ/TXnkkLiKOqI/AAAAAAAAA_E/RLNHhqKW834/s72-c/deban_logo_wikipedia.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-6398215446934892579</id><published>2011-03-04T03:04:00.002+06:00</published><updated>2011-03-04T12:10:59.816+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Encrypted folder in Linux</title><content type='html'>We are using EncFS. It provides an encrypted filesystem in user-space.&lt;br /&gt;&lt;br /&gt;You may need to load fuse module:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#modprobe fuse&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Install encfs:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install encfs&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Optionally you may install (EncFS system tray applet for GNOME):&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install cryptkeeper&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;encfs [options] rootDir mountPoint&lt;/i&gt;&lt;br /&gt;Here I am creating a root folder name encrypt for storing encrypted files.&lt;br /&gt;Also creating a mount point folder named decrypt, which we will use to read/write files.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$encfs ~/.encrypt ~/decrypt&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;It will ask permission for creating the directory - &lt;b&gt;type y here&lt;/b&gt;.&lt;br /&gt;Now, it will ask for expert or pre-configured mode - use pre-configured - &lt;b&gt;type p here&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;It will ask for a password. Use a secure password here.&lt;br /&gt;&lt;br /&gt;done! now you can use &lt;i&gt;decrypt&lt;/i&gt; folder as an &lt;b&gt;encrypted&lt;/b&gt; folder.&lt;br /&gt;&lt;br /&gt;The actual data will be &lt;b&gt;stored&lt;/b&gt; under &lt;i&gt;.encrypt&lt;/i&gt; folder, and will be available via &lt;i&gt;decrypt&lt;/i&gt; folder after mounting via encfs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You may unmount it using:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$fusermount -u ~/decrypt&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;source:&lt;br /&gt;&lt;a href="http://www.debian-administration.org/articles/204"&gt;http://www.debian-administration.org/articles/204&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=148600"&gt;http://ubuntuforums.org/showthread.php?t=148600&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-6398215446934892579?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/6398215446934892579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=6398215446934892579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6398215446934892579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6398215446934892579'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/03/encrypted-folder-in-linux.html' title='Encrypted folder in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2368671331467351258</id><published>2011-03-04T01:38:00.000+06:00</published><updated>2011-03-04T01:38:28.282+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Encrypted partition in Linux</title><content type='html'>To create encrypted disks we are using &lt;a href="http://code.google.com/p/cryptsetup/"&gt;cryptsetup&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#apt-get install cryptsetup&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Backup&lt;/b&gt; your data and optionally clean it:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#shred -n1 -v /dev/sdaX&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Initializes a &lt;b&gt;LUKS&lt;/b&gt; partition (&lt;b&gt;warning!&lt;/b&gt;):&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#cryptsetup luksFormat /dev/sdaX&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&amp;nbsp;Type "YES". It will ask for a &lt;b&gt;password&lt;/b&gt; for filesystem. Use a secure password, otherwise encryption wont help you.&lt;br /&gt;There is other options for securing. Check the cryptsetup manual for details.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open and sets up a &lt;b&gt;mapping&lt;/b&gt; for LUKS partition: &lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#cryptsetup luksOpen /dev/sdaX your_map_name&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Format the LUKS partition using the mapping:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#mkfs.ext3 /dev/mapper/your_map_name&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you can mount it:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#mount /dev/mapper/your_map_name /mnt/your_mount_name&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Optionally you can umount and (removes mapping) lock the LUKS again:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#umount&amp;nbsp; /mnt/your_mount_name&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#cryptsetup luksClose your_map_name&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;I have tested this in Debian 6.0.0.&lt;br /&gt;You may need to load module (optionally you may add in &lt;i&gt;/etc/modules&lt;/i&gt;):&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;modprobe dm_mod&lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Edit /etc/crypttab&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# &amp;lt;target name=""&amp;gt;&amp;nbsp; &amp;lt;source device=""&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;key file=""&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;options&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;your_map_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/sdaX &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; none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; luks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Edit /etc/fstab&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# &amp;lt;file system=""&amp;gt; &amp;lt;mount point=""&amp;gt;nbsp;&amp;nbsp; &amp;lt;type&amp;gt; &amp;nbsp; &amp;lt;options&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dump&amp;gt; &amp;nbsp; &amp;lt;pass&amp;gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/dev/mapper/your_map_name &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/your_mount_name&amp;nbsp; ext3&amp;nbsp;&amp;nbsp;&amp;nbsp; user,auto&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can reboot. It will ask for the password while booting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;source:&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.debian-administration.org/article/Encrypting_an_existing_Debian_lenny_installation"&gt;http://www.debian-administration.org/article/Encrypting_an_existing_Debian_lenny_installation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.enterprisenetworkingplanet.com/netsecur/article.php/3683011/Protect-Your-Stuff-With-Encrypted-Linux-Partitions.htm"&gt;http://www.enterprisenetworkingplanet.com/netsecur/article.php/3683011/Protect-Your-Stuff-With-Encrypted-Linux-Partitions.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.linuxconfig.org/Partition_Encryption"&gt;http://www.linuxconfig.org/Partition_Encryption&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-2368671331467351258?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2368671331467351258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2368671331467351258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2368671331467351258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2368671331467351258'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/03/encrypted-partition-in-linux.html' title='Encrypted partition in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3761427707601039833</id><published>2011-02-19T14:32:00.015+06:00</published><updated>2011-02-21T14:02:59.062+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='moinmoin'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>MoinMoin in DreamHost</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-9A5fkJ9KbdA/TV98U01nY1I/AAAAAAAAA-8/itOza6mgiUM/s1600/moinmoin.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-9A5fkJ9KbdA/TV98U01nY1I/AAAAAAAAA-8/itOza6mgiUM/s1600/moinmoin.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I have tested using moin-1.9.3.tar.gz in DreamHost.&lt;br /&gt;You have to enable &lt;i&gt;Passenger&lt;/i&gt; in your domain.&lt;br /&gt;&lt;br /&gt;Download&amp;nbsp; MoinMoin from:&lt;br /&gt;&lt;a href="http://moinmo.in/"&gt;http://moinmo.in/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Documentation (specially check the Server Installation part):&lt;br /&gt;&lt;a href="http://master19.moinmo.in/InstallDocs"&gt;http://master19.moinmo.in/InstallDocs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. ssh to your server, and download moin using wget.&lt;br /&gt;&lt;br /&gt;2. Extract it:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;tar -zxvf moin-1.9.3.tar.gz&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;3. Run setup script &lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd moin-1.9.3&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;python setup.py --quiet install --prefix=$HOME --record=install.log&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;4. Check the install.log using emacs or nano for the python version it is using.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;emacs install.log&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;...&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/home/youraccount/lib/python2.5/site-packages/...&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;...&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;5. Edit the moin.cgi (it would be easy, if you start another ssh shell in the server)&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;find -name moin.cgi&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if you want to find it yourself.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$HOME/share/moin/server/moin.cgi&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;emacs $HOME/share/moin/server/moin.cgi&lt;/div&gt;&lt;br /&gt;Make the following changes&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# a1) Path of the directory where the MoinMoin code package is located.&lt;br /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Needed if you installed with --prefix=PREFIX or you didn't use setup.py.&lt;br /&gt;&lt;strike&gt;&lt;b&gt;#sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages')&lt;/b&gt;&lt;/strike&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# a2) Path of the directory where wikiconfig.py / farmconfig.py is located.&lt;br /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See wiki/config/... for some sample config files.&lt;br /&gt;&lt;b&gt;&lt;strike&gt;#sys.path.insert(0, '/path/to/wikiconfigdir')&lt;/strike&gt;&lt;/b&gt;&lt;br /&gt;===================================================&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# a1) Path of the directory where the MoinMoin code package is located.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Needed if you installed with --prefix=PREFIX or you didn't use setup.py.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sys.path.insert(0, '/home/youraccount/lib/python2.5/site-packages')&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;# a2) Path of the directory where wikiconfig.py / farmconfig.py is located.&lt;br /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See wiki/config/... for some sample config files.&lt;br /&gt;&lt;b&gt;sys.path.insert(0, '/home/youraccount/moin/config')&lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/div&gt;&lt;br /&gt;you can verify this location using another shell while editing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. This example is designed for single wiki&lt;br /&gt;create this directory &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$HOME/moin/config/ &lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd $HOME/moin/config&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cp $HOME/share/moin/config/wikiconfig.py .&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cp -r $HOME/share/moin/data/ .&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cp -r $HOME/share/moin/underlay/ .&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;7. Edit &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;wikiconfig.py&lt;/span&gt; in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$HOME/moin/config/&lt;/span&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;emacs wikiconfig.py&lt;/div&gt;&lt;br /&gt;maka the following changes&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# If that's not true, feel free to just set instance_dir to the real path&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# where data/ and underlay/ is located:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;strike&gt;#instance_dir = '/where/ever/your/instance/is'&lt;/strike&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;strike&gt;instance_dir = wikiconfig_dir&lt;/strike&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# If that's not true, feel free to just set instance_dir to the real path&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# where data/ and underlay/ is located:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;instance_dir = '/home/youraccount/moin/config'&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;#instance_dir = wikiconfig_dir&lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Change the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sitename&lt;/span&gt; if you want to change your wiki name.&lt;br /&gt;&lt;br /&gt;8. Copy &lt;b&gt;/home/youraccount/share/moin/server/moin.cgi&lt;/b&gt; to your public folder, and rename it to &lt;b&gt;wiki.cgi&lt;/b&gt;&lt;br /&gt;or&lt;br /&gt;create a file &lt;b&gt;wiki.cgi&lt;/b&gt; in your public folder. Softlink did not work for me, so lets call the moin.cgi using another python script.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#!/usr/bin/python&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import os&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;os.system('python /home/youraccount/share/moin/server/moin.cgi')&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;9. now you need to link the htdocs for css and images.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd $HOME &lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;find -name htdocs&amp;nbsp;&amp;nbsp; //if you want to find it yourself&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;(I have found in the following location.)&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;./lib/python2.5/site-packages/MoinMoin/web/static/htdocs&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;change directory to your public folder.&lt;br /&gt;create a symbolic link of htdocs in your public folder. &lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ln -s $HOME/lib/python2.5/site-packages/MoinMoin/web/static/htdocs .&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mv htdocs moin_static193&amp;nbsp; //change the softlink name. This is important&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;You can always use your custom directory names, but in that case you have to edit the configuration file. This example is written for a simple installation of MoinMoin. &lt;br /&gt;&lt;br /&gt;Using a browser open:&lt;br /&gt;&lt;b&gt;http://yourdomain.com/wiki.cgi&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you can see the wiki, you have successfully setup the MoinMoin.&lt;br /&gt;Now, start customizing it by editing the config files.&lt;br /&gt;&lt;br /&gt;To avoid the *.cgi you may add the following lines in your .htaccess file&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ReWriteEngine on&lt;br /&gt;ReWriteRule ^wiki$ wiki/&lt;br /&gt;ReWriteRule ^wiki(/.*) wiki.cgi$1&lt;br /&gt;RequestHeader set X-Moin-Location /wiki&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;Now use it as:&lt;br /&gt;&lt;b&gt;http://yourdomain.com/wiki/&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Optional mail configuration:&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;emacs $HOME/moin/config/wikiconfig.py&lt;/div&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# Mail --------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mail_smarthost = "mail.yourdomain.com"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mail_from = u"Your Wiki &amp;lt;noreplay@yourdomain.com&amp;gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mail_login = "auth-email@yourdomain.com email-pass"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;...&lt;/span&gt;&lt;/blockquote&gt;optionally you may add &lt;i&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;noreplay@yourdomain.com&lt;/span&gt;&lt;/i&gt; as "Garbage Email" from dreamhost panel. It will delete mail without bounce.&lt;br /&gt;&lt;br /&gt;src:&lt;br /&gt;&lt;a href="http://wiki.dreamhost.com/MoinMoin"&gt;http://wiki.dreamhost.com/MoinMoin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mitch.contlafamily.com/wiki/HOWTO/Install_MoinMoin_On_Dreamhost"&gt;http://mitch.contlafamily.com/wiki/HOWTO/Install_MoinMoin_On_Dreamhost&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3761427707601039833?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3761427707601039833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3761427707601039833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3761427707601039833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3761427707601039833'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2011/02/moinmoin-in-dreamhost.html' title='MoinMoin in DreamHost'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-9A5fkJ9KbdA/TV98U01nY1I/AAAAAAAAA-8/itOza6mgiUM/s72-c/moinmoin.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5605515245562612866</id><published>2010-11-09T18:47:00.000+06:00</published><updated>2011-01-05T15:01:54.132+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Samsung ML-1666 printer in Linux</title><content type='html'>&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/TNk-pJU2QLI/AAAAAAAAA8c/JJNcFEACMNA/s320/01_large.jpg" style="margin-left: auto; margin-right: auto;" width="320" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Samsung ML-1666&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;Unfortunately, &lt;a href="http://splix.sourceforge.net/"&gt;splix&lt;/a&gt; does not support this model. So, you have to download Linux driver from: &lt;a href="http://www.samsung.com/in/consumer/pc-peripherals-printer/laser-printer-multifunction/mono-laser-printer/ML-1666/XIP/index.idx?pagetype=prd_detail&amp;amp;tab=support"&gt;Samsung Website&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can either run their automated installer or install it manually.&lt;br /&gt;I prefer manual installation because, automated installer install many unnecessary tools in my system.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;1. locate the ML-1660 from the Unified driver PPD while adding printer:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;/cdroot/Linux/noarch/at_opt/share/ppd/ML-1660spl.ppd&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;2.Copy the filter, depending on your system (32bit or 64bit):&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;/cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl --&amp;gt; /usr/lib/cups/filter/&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;3. You may need to install libtiff and splix or may try to modify the ML-1660.ppd for splix support. But, be inform that, from &lt;a href="http://splix.sourceforge.net/"&gt;splix website&lt;/a&gt; "Splix won't support old SPL(1) printers."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-5605515245562612866?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5605515245562612866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5605515245562612866' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5605515245562612866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5605515245562612866'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/11/samsung-ml-1666-printer-in-linux.html' title='Samsung ML-1666 printer in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/TNk-pJU2QLI/AAAAAAAAA8c/JJNcFEACMNA/s72-c/01_large.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1354844067506253308</id><published>2010-08-09T03:39:00.028+06:00</published><updated>2010-08-09T18:16:39.948+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Multiple Internet connection in Linux</title><content type='html'>I was facing trouble to use EDGE/GPRS (ppp) with another Ethernet connection together.&lt;br /&gt;Ethernet connection was used for local network.&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;# ip route show&lt;/b&gt;&lt;br /&gt;10.64.64.64 dev ppp0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 10.130.4.218 &lt;br /&gt;192.168.1.0/24 dev eth0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 192.168.1.2&amp;nbsp; metric 1&lt;br /&gt;default via 192.168.1.1 dev eth0&amp;nbsp; proto static &lt;/blockquote&gt;&lt;br /&gt;ppp connected but still default route is eth0. To use the ppp connection as default &lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;# ip route change default via 10.64.64.64 dev ppp0&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;You will find&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;# ip route show&lt;/b&gt;&lt;br /&gt;10.64.64.64 dev ppp0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 10.130.4.218 &lt;br /&gt;192.168.1.0/24 dev eth0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 192.168.1.2&amp;nbsp; metric 1&lt;br /&gt;default via 10.64.64.64 dev ppp0 &lt;/blockquote&gt;&lt;i&gt;remember you may need to set the nameserver (edit the /etc/resolv.conf).&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On the other hand you may have 2 default connection settings:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;# ip route show&lt;/b&gt; &lt;br /&gt;10.64.64.64 dev ppp0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 10.130.130.252 &lt;br /&gt;192.168.1.0/24 dev eth0&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 192.168.1.1 &lt;br /&gt;172.16.0.0/16 dev eth1&amp;nbsp; proto kernel&amp;nbsp; scope link&amp;nbsp; src 172.16.8.69&lt;br /&gt;default via 172.16.8.1 dev eth1 &lt;br /&gt;default via 10.64.64.64 dev ppp0&amp;nbsp; proto static &lt;/blockquote&gt;&lt;br /&gt;I mainly want to use ppp0, so I am removing the eth1 from default list:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;#ip route del default via 172.16.8.1&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you want to use multiple uplinks/providers:&lt;br /&gt;&lt;a href="http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html"&gt;http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lartc.org/howto/lartc.rpdb.multiple-links.html"&gt;http://lartc.org/howto/lartc.rpdb.multiple-links.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;blockquote&gt;#ip route change default scope global nexthop via 10.64.64.64 dev ppp0&amp;nbsp; weight 2 nexthop via 192.168.1.1 dev eth0 weight 1&lt;/blockquote&gt;&lt;br /&gt;Install "iptraf", which is an useful tool for analysis:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;#apt-get install iptraf&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;You can also define any IP address&amp;nbsp; to use specific connection.&lt;br /&gt;This might helpful if you want to listen on-line radio without interrupting your main work.&lt;br /&gt;&lt;br /&gt;I am specifying an IP address for listening an on-line radio station by using a backup slow connection via eth1:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;#ip route add 85.xx.174.181 via 172.16.8.1 dev eth1&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;-enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1354844067506253308?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1354844067506253308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1354844067506253308' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1354844067506253308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1354844067506253308'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/08/multiple-internet-connection-in-linux.html' title='Multiple Internet connection in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1087066749711298595</id><published>2010-06-19T22:43:00.015+06:00</published><updated>2010-06-20T00:09:00.510+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='math'/><title type='text'>Antiderivative to find Area</title><content type='html'>&lt;i&gt;"Why should I apply Antiderivative to find area of a function ?"&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;It might seems a very silly question, but I was searching for a solution. &lt;br /&gt;I got some idea from &lt;a href="http://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus#Geometric_intuition"&gt;Wikipedia Fundamental theorem of calculus&lt;/a&gt; , but still I was looking for example.&lt;br /&gt;&lt;br /&gt;At last, I have found answer from these:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;1. Area function f(x) = 2 within interval [a,x] = [-1,x]&lt;/i&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_g-q7zXM0b-c/TBxoidDvW7I/AAAAAAAAA6M/-CApB4-c1Ck/s1600/rectangle.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/TBxoidDvW7I/AAAAAAAAA6M/-CApB4-c1Ck/s320/rectangle.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;Let assume, the distance of the rectangle from 0 is x.&lt;br /&gt;Total Length of the rectangle will be x+1 over x-axis and width is 2.&lt;br /&gt;&lt;br /&gt;Area = length * width &lt;br /&gt;&lt;br /&gt;A(x) = 2(x+1) = 2x + 2&lt;br /&gt;&lt;br /&gt;Derivative of A(x) is:&lt;br /&gt;A&lt;sup&gt;/&lt;/sup&gt;(x) = 2 = f(x)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;2. Area function f(x) =x+1&lt;/i&gt;&lt;i&gt; within interval [a,x] = [-1,x]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_g-q7zXM0b-c/TBvhzHgwGRI/AAAAAAAAA5s/gNXlRFW8FSw/s1600/triangle.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/TBvhzHgwGRI/AAAAAAAAA5s/gNXlRFW8FSw/s320/triangle.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Triangle Area = 1/2 * base * height &lt;br /&gt;&lt;br /&gt;A(x) = 1/2 (x+1)(x+1) = x&lt;sup&gt;2&lt;/sup&gt;/2 + x + 1/2&lt;br /&gt;&lt;br /&gt;Derivative of A(x) is:&lt;br /&gt;A&lt;sup&gt;/&lt;/sup&gt;(x) = x + 1 = f(x)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;3. Area function f(x) = 2x+3&lt;/i&gt;&lt;i&gt; within interval [a,x] = [-1,x]&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_g-q7zXM0b-c/TBvkiAhMoaI/AAAAAAAAA50/KIKxSq8f9m0/s1600/triangle2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/TBvkiAhMoaI/AAAAAAAAA50/KIKxSq8f9m0/s320/triangle2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Trapezoid Area = 1/2 * h * (a+b)&lt;br /&gt;&lt;br /&gt;h = heigh&lt;br /&gt;a,b is the parallel sides lengths.&lt;br /&gt;&lt;br /&gt;A(x) = 1/2 (x+1)((2x+3)+1) = x&lt;sup&gt;2&lt;/sup&gt; + 3x + 2&lt;br /&gt;&lt;br /&gt;Derivative of A(x) is:&lt;br /&gt;A&lt;sup&gt;/&lt;/sup&gt;(x) = 2x + 3 = f(x)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Result:&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;This is not only valid for linear function, but also for continuous function.&lt;br /&gt;To find the area of&amp;nbsp; a function we can simply apply antidifferentiation. &lt;br /&gt;&lt;br /&gt;A(x)&amp;nbsp; representing the area&lt;br /&gt;A&lt;sup&gt;/&lt;/sup&gt;(x) representing the area function.&lt;br /&gt;&lt;br /&gt;If we know the area function A&lt;sup&gt;/&lt;/sup&gt;(x) we can get the area by antidifferentiation which will provide us A(x) (area of the function).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Powered by &lt;a href="http://www.gnuplot.info/"&gt;gnuplot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source:&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/Calculus-Early-Transcendentals-Howard-Anton/dp/047138156X"&gt;Calculus - Early Transcendentals by Anton, Bivens, Davis.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus#Geometric_intuition"&gt;http://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus#Geometric_intuition &lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Rectangle"&gt;http://en.wikipedia.org/wiki/Rectangle&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Triangle"&gt;http://en.wikipedia.org/wiki/Triangle&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Trapezoid"&gt;http://en.wikipedia.org/wiki/Trapezoid&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1087066749711298595?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1087066749711298595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1087066749711298595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1087066749711298595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1087066749711298595'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/06/antiderivative-to-find-area.html' title='Antiderivative to find Area'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/TBxoidDvW7I/AAAAAAAAA6M/-CApB4-c1Ck/s72-c/rectangle.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-6270345515751832359</id><published>2010-04-12T14:02:00.001+06:00</published><updated>2010-04-13T16:19:29.328+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Debian Kiosk</title><content type='html'>I have configured a &lt;b&gt;kiosk&lt;/b&gt; using &lt;b&gt;Debian GNU/Linux&lt;/b&gt; with &lt;b&gt;blackbox window manager&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The challenges:&lt;/i&gt;&lt;br /&gt;1. Touchscreen configuration.&lt;br /&gt;2. Autometic login and start X server.&lt;br /&gt;3. Start desired application for kiosk.&lt;br /&gt;4. A boot splash for booting and shutdown.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;b&gt;1. Touchscreen configuration:&lt;/b&gt; &lt;br /&gt;First, setup touchscreen driver and configure it according to your device specification.&lt;br /&gt;I was using eGalax driver, which I have downloaded from&lt;br /&gt;source: &lt;a href="http://home.eeti.com.tw/web20/eg/drivers.htm"&gt;http://home.eeti.com.tw/web20/eg/drivers.htm &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Automatic login:&lt;/b&gt; &lt;br /&gt;Edit &lt;b&gt;/etc/inittab&lt;/b&gt; and comment the following line:&lt;br /&gt;&lt;blockquote&gt;#1:2345:respawn:/sbin/getty 38400 tty1&lt;/blockquote&gt;add the following line below:&lt;br /&gt;&lt;div style="text-align: center;"&gt;1:2345:respawn:/bin/login -f USER_LOGIN tty1 /dev/tty1 2&amp;gt;&amp;amp;1&amp;nbsp;&lt;/div&gt;&lt;br /&gt;Edit &lt;b&gt;.bash_profile&lt;/b&gt; (create if require) and add the following line at bottom:&lt;br /&gt;&lt;blockquote&gt;startx&lt;/blockquote&gt;source: &lt;a href="http://www.debianadmin.com/how-to-auto-login-and-startx-without-a-display-manager-in-debian.html"&gt;http://www.debianadmin.com/how-to-auto-login-and-startx-without-a-display-manager-in-debian.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Blackbox window manager:&lt;/b&gt;&lt;br /&gt;Edit ~/.xinitrc (or &lt;i&gt;~/.Xsessio&lt;/i&gt;n), create if require, and add the following line:&lt;br /&gt;&lt;blockquote&gt;exec blackbox&lt;/blockquote&gt;&lt;b&gt;3. Autostart application:&lt;/b&gt; &lt;br /&gt;To autostart &lt;i&gt;iceweasel/firefox&lt;/i&gt;:&lt;br /&gt;Again edit &lt;i&gt;~/.xinitrc&lt;/i&gt; (or &lt;i&gt;~/.Xsessio&lt;/i&gt;n) and add the following line:&lt;br /&gt;&lt;blockquote&gt;firefox &amp;amp;&lt;br /&gt;exec blackbox&lt;/blockquote&gt;source: &lt;a href="http://blackboxwm.sourceforge.net/BlackboxFAQ/StartupAndShutdown"&gt;http://blackboxwm.sourceforge.net/BlackboxFAQ/StartupAndShutdown&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install  &lt;i&gt;iceweasel/firefox&lt;/i&gt; plugin &lt;b&gt;"R-kiosk"&lt;/b&gt; from &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1659"&gt;https://addons.mozilla.org/en-US/firefox/addon/1659&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Bootsplash:&lt;/b&gt; &lt;br /&gt;Install a bootsplash&lt;br /&gt;&lt;blockquote&gt;apt-get install splashy&lt;/blockquote&gt;Create your own bootsplash and set it&lt;br /&gt;&lt;blockquote&gt;# splashy_config -c&lt;/blockquote&gt;To enable splashy, you may need to edit grub.config and add the following after "kernel...ro quiet"&lt;br /&gt;&lt;blockquote&gt;vga=791 splash&lt;/blockquote&gt;source: &lt;a href="http://splashy.alioth.debian.org/wiki/faq"&gt;http://splashy.alioth.debian.org/wiki/faq&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tips and tricks:&lt;/b&gt;&lt;br /&gt;&lt;i&gt;"X: user not authorized to run the X server"&lt;/i&gt;&lt;br /&gt;You can allow the user to use run startx by:&lt;br /&gt;&lt;blockquote&gt;#dpkg-reconfigure x11-common&lt;/blockquote&gt;or edit&amp;nbsp; /etc/X11/Xwrapper.config&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="message" style="border-top-width: 0px; font-family: monospace; margin-top: 0px; padding-top: 0px;"&gt;allowed_users=anybody&amp;nbsp;&lt;/pre&gt;&lt;/blockquote&gt;&lt;i&gt;"Auto login problem"&lt;/i&gt;&lt;br /&gt;&amp;nbsp;If you have setup GDM (XDM) earlier, then you need to disable it for automatic log in&lt;br /&gt;&lt;blockquote&gt;#update-rc.d -f gdm remove&lt;/blockquote&gt;If you want to enable it simply run (experiment purpose):&lt;br /&gt;&lt;blockquote&gt;#update-rc.d -f gdm defaults&lt;/blockquote&gt;source: &lt;a href="http://www.debianadmin.com/howto-boot-debian-in-text-mode-instead-of-graphical-mode-gui.html"&gt;http://www.debianadmin.com/howto-boot-debian-in-text-mode-instead-of-graphical-mode-gui.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Kiosk performance tuning:&lt;/b&gt;&lt;br /&gt;Install the CPU frequency related tools and configure it.&lt;br /&gt;details: &lt;a href="http://wiki.debian.org/HowTo/CpuFrequencyScaling"&gt;http://wiki.debian.org/HowTo/CpuFrequencyScaling&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;resources:&lt;br /&gt;&lt;a href="http://www.debianadmin.com/debirf-build-a-kernel-and-initrd-to-run-debian-from-ram.html"&gt;http://www.debianadmin.com/debirf-build-a-kernel-and-initrd-to-run-debian-from-ram.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cmrg.fifthhorseman.net/wiki/debirf"&gt;http://cmrg.fifthhorseman.net/wiki/debirf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-6270345515751832359?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/6270345515751832359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=6270345515751832359' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6270345515751832359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6270345515751832359'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/04/debian-kiosk.html' title='Debian Kiosk'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3123634824533170825</id><published>2010-04-02T21:49:00.007+06:00</published><updated>2010-04-02T22:10:26.950+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='example'/><category scheme='http://www.blogger.com/atom/ns#' term='custom font'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Custom Font Example iPhone</title><content type='html'>An example for using custom font in iPhone.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_g-q7zXM0b-c/S7YPXYTt8UI/AAAAAAAAA3I/K1x3JqEycGg/s1600/custom_font_iphone.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/S7YPXYTt8UI/AAAAAAAAA3I/K1x3JqEycGg/s320/custom_font_iphone.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Initially, I have tried with&amp;nbsp;&lt;b&gt;UIFont&lt;/b&gt; for using custom font, but it seems not possible.&lt;br /&gt;&lt;br /&gt;Documents from apple:&lt;br /&gt;&lt;a href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGFont/Reference/reference.html"&gt;http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGFont/Reference/reference.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Create custom font using CGDataProvider:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #480085; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #7e11ad;"&gt;NSString&lt;/span&gt;&lt;span style="color: black;"&gt; *fontPath = [[&lt;/span&gt;&lt;span style="color: #7e11ad;"&gt;NSBundle&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;mainBundle&lt;span style="color: black;"&gt;] &lt;/span&gt;pathForResource&lt;span style="color: black;"&gt;:&lt;/span&gt;&lt;span style="color: #e90000;"&gt;@"CUSTOM_FONT"&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;ofType&lt;span style="color: black;"&gt;:&lt;/span&gt;&lt;span style="color: #e90000;"&gt;@"ttf"&lt;/span&gt;&lt;span style="color: black;"&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #480085; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #7e11ad;"&gt;CGDataProviderRef&lt;/span&gt;&lt;span style="color: black;"&gt; fontDataProvider = &lt;/span&gt;CGDataProviderCreateWithFilename&lt;span style="color: black;"&gt;([fontPath &lt;/span&gt;UTF8String&lt;span style="color: black;"&gt;]); &lt;/span&gt;&lt;span style="color: #7e11ad;"&gt;CGFontRef&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #368288;"&gt;customFont&lt;/span&gt;&lt;span style="color: black;"&gt; = &lt;/span&gt;CGFontCreateWithDataProvider&lt;span style="color: black;"&gt;(fontDataProvider);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Menlo; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Use the font:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #480085; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;CGContextSetFont&lt;span style="color: black;"&gt;(context, &lt;/span&gt;&lt;span style="color: #368288;"&gt;customFont&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #480085; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;CGContextSetFontSize&lt;span style="color: black;"&gt;(context, &lt;/span&gt;&lt;span style="color: #3900de;"&gt;34.0&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #480085; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;CGContextSetTextDrawingMode&lt;span style="color: black;"&gt;(context, &lt;/span&gt;kCGTextFill&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style="color: #3000ff; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #008d00;"&gt;//&lt;a href="http://forums.macrumors.com/showthread.php?t=569311"&gt;&lt;span style="color: #3000ff;"&gt;http://forums.macrumors.com/showthread.php?t=569311&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #3000ff; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #008d00;"&gt;//&lt;a href="http://www.waterworld.com.hk/en/node/157"&gt;&lt;span style="color: #3000ff;"&gt;http://www.waterworld.com.hk/en/node/157&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #7e11ad;"&gt;CGGlyph&lt;/span&gt; textToPrint[[&lt;span style="color: #368288;"&gt;mainString&lt;/span&gt; &lt;span style="color: #480085;"&gt;length&lt;/span&gt;]];&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;// Loop through the entire length of the text.&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #d200a5;"&gt;for&lt;/span&gt;&lt;span style="color: black;"&gt; (&lt;/span&gt;&lt;span style="color: #d200a5;"&gt;int&lt;/span&gt;&lt;span style="color: black;"&gt; i = &lt;/span&gt;&lt;span style="color: #3900de;"&gt;0&lt;/span&gt;&lt;span style="color: black;"&gt;; i &amp;lt; [&lt;/span&gt;&lt;span style="color: #368288;"&gt;mainString&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #480085;"&gt;length&lt;/span&gt;&lt;span style="color: black;"&gt;]; ++i) { &lt;/span&gt;// Store each letter in a Glyph and subtract the MagicNumber to get appropriate value.&lt;/div&gt;&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;textToPrint[i] = [[&lt;span style="color: #368288;"&gt;mainString&lt;/span&gt; &lt;span style="color: #480085;"&gt;uppercaseString&lt;/span&gt;] &lt;span style="color: #480085;"&gt;characterAtIndex&lt;/span&gt;:i] + &lt;span style="color: #3900de;"&gt;3&lt;/span&gt; - &lt;span style="color: #3900de;"&gt;32&lt;/span&gt;;&lt;/div&gt;&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Menlo; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Menlo; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;//to understand the MagicNumber, I open the font file using FontForge&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;//found that the font I am using started from location 32&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;//after I changed the "Encoding-&amp;gt;Reencode" to "Glyph Order"&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;//I found that the "U+0020 space" started from location 3&lt;/div&gt;&lt;div style="color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;//&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;div&gt;&lt;b&gt;download sample code:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.mymacbd.com/forum/viewtopic.php?id=29"&gt;http://www.mymacbd.com/forum/viewtopic.php?id=29&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;reference:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://forums.macrumors.com/showthread.php?t=569311"&gt;http://forums.macrumors.com/showthread.php?t=569311&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://www.waterworld.com.hk/en/node/157"&gt;http://www.waterworld.com.hk/en/node/157&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3123634824533170825?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3123634824533170825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3123634824533170825' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3123634824533170825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3123634824533170825'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/04/custom-font-example-iphone.html' title='Custom Font Example iPhone'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/S7YPXYTt8UI/AAAAAAAAA3I/K1x3JqEycGg/s72-c/custom_font_iphone.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3233774144928864396</id><published>2010-03-02T18:24:00.014+06:00</published><updated>2010-03-03T12:47:36.511+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Speech detection example iPhone</title><content type='html'>This is an example, how to start working on speech detection application for iPhone.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We have two major task:&lt;/span&gt;&lt;br /&gt;1. Access the audio data.&lt;br /&gt;2. Implement the logic part.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task1:&lt;/span&gt; Access the audio data:&lt;br /&gt;Download SpeakHere Example code from Apple:&lt;br /&gt;http://developer.apple.com/iphone/library/samplecode/SpeakHere/index.html&lt;br /&gt;&lt;br /&gt;Open "Classes-&gt;Play &amp;amp; Record-&gt;AQRecorder.mm" and edit the folloding function:&lt;pre&gt;&lt;blockquote&gt;// AudioQueue callback function, called when an input buffers has been filled.&lt;br /&gt;void AQRecorder::MyInputBufferHandler(...)&lt;/blockquote&gt;&lt;/pre&gt;Add the following code to access the audio data:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt; //for signed 16-bit little-endian&lt;br /&gt; SInt16 *buf = (SInt16 *)inBuffer-&gt;mAudioData;&lt;br /&gt; for(int i=0; i&lt; inBuffer-&gt;mAudioDataByteSize / 2; i=i+2) {&lt;br /&gt;  printf("\n%d\n%d ", buf[i], buf[i+1]);&lt;br /&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(Please feel free to let me know if I am doing anything wrong...)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Run the application. You will get the raw data in gdb/console/log.&lt;br /&gt;Copy the data in  a text file and plot it.&lt;br /&gt;&lt;br /&gt;Download &lt;a href="http://www.gnuplot.info/"&gt;gnuplot&lt;/a&gt; and &lt;a href="http://aquaterm.sourceforge.net/"&gt;AquaTerm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have copied the data in a text file name "hello.txt" and saved it in my home directory.&lt;br /&gt;Plot this, in gnuplot using the following command:&lt;br /&gt;&lt;br /&gt;gnuplot&gt;plot "hello.txt"&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/S417s8-L1CI/AAAAAAAAA2Q/FZ63gOCYB0Q/s1600-h/hello_speak_here.png"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/S417s8-L1CI/AAAAAAAAA2Q/FZ63gOCYB0Q/s1600-h/hello_speak_here.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 291px;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/S417s8-L1CI/AAAAAAAAA2Q/FZ63gOCYB0Q/s400/hello_speak_here.png" alt="" id="BLOGGER_PHOTO_ID_5444143536772207650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task2&lt;/span&gt;: Implement the logic part:&lt;br /&gt;&lt;br /&gt;For speech detection purpose we do not need to check all the data. Set some filter to check the data within some range. You can also try with the maximum and minimum value.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/S4362qn4NnI/AAAAAAAAA2Y/VTPDT94B2Cg/s1600-h/filtered_speak_here.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 291px;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/S4362qn4NnI/AAAAAAAAA2Y/VTPDT94B2Cg/s400/filtered_speak_here.png" alt="" id="BLOGGER_PHOTO_ID_5444283341622228594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As the maximum and minumum value is similar, you can simply check one part.&lt;br /&gt;&lt;br /&gt;If you want to detect specific type of speech or sound, analyze the graph by taking some sample.&lt;br /&gt;Understand the logic and implement a coded logic to detect it.&lt;br /&gt;&lt;br /&gt;For normal detection purpose take many sample and do R&amp;amp;D youself.&lt;br /&gt;&lt;br /&gt;Please note that the mic &lt;span style="font-weight: bold;"&gt;"Input Volume"&lt;/span&gt; may affect your data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3233774144928864396?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3233774144928864396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3233774144928864396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3233774144928864396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3233774144928864396'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/03/speech-detection-example-iphone.html' title='Speech detection example iPhone'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/S417s8-L1CI/AAAAAAAAA2Q/FZ63gOCYB0Q/s72-c/hello_speak_here.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8906950375433695414</id><published>2010-02-16T00:21:00.011+06:00</published><updated>2010-02-17T20:20:55.362+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Radio App Example iPhone</title><content type='html'>I was working on  an application to play audio stream from an online radio. Here is some hints for the developers who want to do similar types of work.&lt;br /&gt;&lt;br /&gt;Initially we have two major task:&lt;br /&gt;1. Read stream data.&lt;br /&gt;2. Play the stream data.&lt;br /&gt;&lt;br /&gt;From apple developer documentation:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;http://developer.apple.com/iphone/library/codinghowtos/AudioAndVideo/index.html#STREAMING&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;How do I play streamed audio?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;To play streamed audio, you connect to a network stream using the CFNetwork interfaces from Core Foundation, such as those in CFHTTPMessage. You then parse the network packets into audio packets using Audio File Stream Services (AudioToolbox/AudioFileStream.h). Finally, you play the audio packets using Audio Queue Services (AudioToolbox/AudioQueue.h). You can also use Audio File Stream Services to parse audio packets from an on-disk file.&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 1:&lt;/span&gt; Working with HTTP stream&lt;br /&gt;&lt;br /&gt;Read &lt;span style="font-style: italic;"&gt;"CFNetwork Programming Guide"&lt;/span&gt; specially the &lt;span style="font-style: italic;"&gt;"Communicating with HTTP Servers"&lt;/span&gt; part.&lt;br /&gt;&lt;br /&gt;Use the callback&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;&lt;span style="font-size:85%;"&gt;&lt;pre&gt;if (CFReadStreamSetClient(myReadStream, registeredEvents, myCallBack, &amp;amp;myContext) {...}&lt;/pre&gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;A sample callback:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;pre&gt;static void &lt;span style="font-weight: bold;"&gt;myCallBack&lt;/span&gt;&lt;br /&gt;(CFReadStreamRef stream, CFStreamEventType type, void *clientCallBackInfo) {&lt;br /&gt;  if(type == kCFStreamEventHasBytesAvailable) {&lt;br /&gt;   UInt8 buffer[2048];&lt;br /&gt;   CFIndex bytesRead = CFReadStreamRead(stream, buffer, sizeof(buffer));&lt;br /&gt;   &lt;br /&gt;   if (bytesRead &amp;gt; 0) {&lt;br /&gt;    //nothing&lt;br /&gt;   }&lt;br /&gt;   else if (bytesRead) {&lt;br /&gt;    NSString* to_add = [NSString stringWithCString: (char*)buffer length: bytesRead];&lt;br /&gt;    NSLog(@"%@", to_add);&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Run the application. If you can see the HTML tag in your debug console, then your network stream reading is working fine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 2:&lt;/span&gt; Working with audio&lt;br /&gt;&lt;br /&gt;Read &lt;span style="font-style: italic;"&gt;"Audio File Stream Services Reference" &lt;/span&gt;to get basic idea about the streaming audio.&lt;br /&gt;&lt;br /&gt;Check the &lt;span style="font-style: italic;"&gt;"AudioFileStreamExample"&lt;/span&gt; from:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;http://developer.apple.com/Mac/library/samplecode/AudioFileStreamExample/index.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Merge the "AudioFileStreamParseBytes" with the "myCallBack" method.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download Sample Code:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.mymacbd.com/forum/viewtopic.php?id=26"&gt;http://www.mymacbd.com/forum/viewtopic.php?id=26&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8906950375433695414?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8906950375433695414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8906950375433695414' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8906950375433695414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8906950375433695414'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2010/02/radio-app-example-iphone.html' title='Radio App Example iPhone'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2460033972411302835</id><published>2009-08-07T13:24:00.003+07:00</published><updated>2009-08-07T14:29:08.814+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>nasm in Mac OS X</title><content type='html'>I was trying to compile a simple assembly program in Mac OS X (Leopard).&lt;br /&gt;&lt;br /&gt;I was getting an error message&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;ld: could not find entry point "_start" (perhaps missing crt1.o) for inferred architecture i386&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;A simple asm program for FreeBSD and MacOS&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(we have to use the stack for system call, from &lt;span style="text-decoration: underline;"&gt;http://asm.sourceforge.net//howto/Assembly-HOWTO.rtf)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;pre&gt;section     .text&lt;br /&gt; global _start                       ;must be declared for linker (ld)&lt;br /&gt;&lt;br /&gt;_syscall:           &lt;br /&gt;     int     0x80            ;system call&lt;br /&gt;     ret&lt;br /&gt;&lt;br /&gt;_start:                         ;tell linker entry point&lt;br /&gt;&lt;br /&gt;     push    dword len       ;message length&lt;br /&gt;     push    dword msg       ;message to write&lt;br /&gt;     push    dword 1         ;file descriptor (stdout)&lt;br /&gt;     mov     eax,0x4         ;system call number (sys_write)&lt;br /&gt;     call    _syscall        ;call kernel&lt;br /&gt;&lt;br /&gt;                             ;the alternate way to call kernel:&lt;br /&gt;                             ;push   eax&lt;br /&gt;                             ;call   7:0&lt;br /&gt;&lt;br /&gt;     add     esp,12          ;clean stack (3 arguments * 4)&lt;br /&gt;&lt;br /&gt;     push    dword 0         ;exit code&lt;br /&gt;     mov     eax,0x1         ;system call number (sys_exit)&lt;br /&gt;     call    _syscall        ;call kernel&lt;br /&gt;&lt;br /&gt;                             ;we do not return from sys_exit,&lt;br /&gt;                             ;there's no need to clean stack&lt;br /&gt;section .data&lt;br /&gt;&lt;br /&gt;msg     db      "Hello, world!",0xa     ;our dear string&lt;br /&gt;len     equ     $ - msg                 ;length of our dear string&lt;/pre&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;In Mac OS X we should use format &lt;span style="font-weight: bold;"&gt;macho&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;nasm -f macho hello.asm&lt;/blockquote&gt;&lt;br /&gt;and for the linker (we need to specify the entry point)&lt;br /&gt;&lt;blockquote&gt;ld -e _start -o hello hello.o&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;resources:&lt;br /&gt;&lt;a href="http://asm.sourceforge.net//howto/Assembly-HOWTO.rtf"&gt;http://asm.sourceforge.net//howto/Assembly-HOWTO.rtf&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zathras.de/angelweb/blog-intel-assembler-on-mac-os-x.htm"&gt;http://zathras.de/angelweb/blog-intel-assembler-on-mac-os-x.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-2460033972411302835?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2460033972411302835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2460033972411302835' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2460033972411302835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2460033972411302835'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2009/08/nasm-in-mac-os-x.html' title='nasm in Mac OS X'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8844226858937411777</id><published>2009-04-18T02:08:00.002+06:00</published><updated>2009-04-18T02:23:13.275+06:00</updated><title type='text'>recover kopete password</title><content type='html'>I was trying to recover a password from a kopeterc file.&lt;br /&gt;&lt;br /&gt;Open the &lt;span style="font-style: italic;"&gt;kopeterc&lt;/span&gt; file in a hex editor&lt;br /&gt;In the password location you will find three-byte chunks: [EF][BE][XX]. The first two bytes stay most of the time same.&lt;br /&gt;Just subtract each third byte from 0x1001F then you will get the character value from ASCII table.&lt;br /&gt;&lt;br /&gt;everything was working fine as mentioned in &lt;a href="http://my.opera.com/raphman/blog/2008/02/01/kde-pasword-obfuscation?cid=7484288"&gt;Raphman's blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But I had a little problem with numeric value. My combination was "EF BE XX"  but before the numeric value it was "EF BF XX".&lt;br /&gt;&lt;br /&gt;For the numeric value I have to subtract 0x40 again to get the original value.&lt;br /&gt;&lt;br /&gt;It worked for me at last...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;src: &lt;a href="http://my.opera.com/raphman/blog/2008/02/01/kde-pasword-obfuscation?cid=7484288"&gt;http://my.opera.com/raphman/blog/2008/02/01/kde-pasword-obfuscation?cid=7484288&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8844226858937411777?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8844226858937411777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8844226858937411777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8844226858937411777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8844226858937411777'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2009/04/recover-kopete-password.html' title='recover kopete password'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3414104484672846528</id><published>2008-12-13T18:26:00.017+06:00</published><updated>2008-12-13T20:12:48.552+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='macos'/><category scheme='http://www.blogger.com/atom/ns#' term='unicode'/><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><category scheme='http://www.blogger.com/atom/ns#' term='bangla'/><category scheme='http://www.blogger.com/atom/ns#' term='publishing'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Bengali in LaTeX in Mac OS X</title><content type='html'>I have installed LaTeX for Mac OS from  &lt;a href="http://www.tug.org/mactex/"&gt;http://www.tug.org/mactex/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was trying to write Bangla in LaTex. Found two ways to write bangla in LaTeX.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;a href="http://methopath.wordpress.com/2008/06/26/writing-unicode-bengali-in-latex/"&gt;Unicode Standard&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;written by &lt;a href="http://www.math.unb.ca/%7Eghossain/"&gt;Golam Mortuza Hossain&lt;/a&gt;. Here I am just writing how to do  this in Mac OS.&lt;br /&gt;&lt;br /&gt;First download  freefont-ttf-xyz.tar.gz from&lt;br /&gt;&lt;a href="http://savannah.nongnu.org/download/freefont/"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;http://savannah.nongnu.org/download/freefont/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;or&lt;br /&gt;&lt;a href="ftp://ftp.gnu.org/pub/gnu/freefont/"&gt;ftp://ftp.gnu.org/pub/gnu/freefont/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;which containing&lt;span style="font-size:85%;"&gt;&lt;br /&gt;-------------------------&lt;br /&gt;FreeSerif.ttf&lt;br /&gt;FreeSerifBold.ttf&lt;br /&gt;FreeSerifItalic.ttf&lt;br /&gt;FreeSerifBoldItalic.ttf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Paste these fonts in your "Macintosh HD/Library/Fonts/"&lt;br /&gt;&lt;br /&gt;Now try sample document in TeXShop&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;\documentclass{article}&lt;br /&gt;\usepackage{fontspec}&lt;br /&gt;%&lt;br /&gt;% This file is a based on the sample tex file to illustrate use of&lt;br /&gt;% XeTeX in typesetting Bengali document.&lt;br /&gt;% License under GNU FDL by Golam Mortuza Hossain, 2008&lt;br /&gt;%&lt;br /&gt;%url: http://methopath.wordpress.com/2008/06/26/writing-unicode-bengali-in-latex/&lt;br /&gt;%&lt;br /&gt;\font\serif="FreeSerif:script=beng"&lt;br /&gt;\font\serifbb="FreeSerif:script=beng" at 24pt&lt;br /&gt;\font\deffont="FreeSerif:script=beng" at 14pt&lt;br /&gt;&lt;br /&gt;\title{\bf\serifbb সত্যজিৎ রায়}&lt;br /&gt;\author{\bf\serif উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে}&lt;br /&gt;\date{}&lt;br /&gt;\begin{document}&lt;br /&gt;\deffont %Default font used for the document&lt;br /&gt;\maketitle&lt;br /&gt;সত্যজিৎ রায় (২রা মে, ১৯২১ – ২৩শে এপ্রিল, ১৯৯২) একজন বাঙালী চলচ্চিত্র নির্মাতা ও বিংশ শতাব্দীর অন্যতম শ্রেষ্ঠ চলচ্চিত্র পরিচালক। কলকাতা শহরে সাহিত্য ও শিল্পের জগতে খ্যাতনামা এক বাঙালী পরিবারে তাঁর জন্ম হয়। তিনি কলকাতার প্রেসিডেন্সি কলেজ ও শান্তিনিকেতনে রবীন্দ্রনাথ ঠাকুরের প্রতিষ্ঠিত বিশ্বভারতী বিশ্ববিদ্যালয়ে পড়াশোনা করেন। সত্যজিতের কর্মজীবন একজন বাণিজ্যিক চিত্রকর হিসেবে শুরু হলেও প্রথমে কলকাতায় ফরাসি চলচ্চিত্র নির্মাতা জঁ রনোয়ারের সাথে সাক্ষাৎ ও পরে লন্ডন শহরে সফররত অবস্থায় ইতালীয় নব্য বাস্তবতাবাদী ছবি লাদ্রি দি বিচিক্লেত্তে (ইতালীয় ভাষায় Ladri di biciclette, "সাইকেল চোর") দেখার পর তিনি চলচ্চিত্র নির্মাণে উদ্বুদ্ধ হন।&lt;br /&gt;\end{document}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select "XeLaTeX" from drop down menu and  click "Typeset" button for Output in TeXShop.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/SUO2fTsssMI/AAAAAAAAArA/ILB806l0C50/s1600-h/LaTeX_bangla.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 297px;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/SUO2fTsssMI/AAAAAAAAArA/ILB806l0C50/s400/LaTeX_bangla.png" alt="" id="BLOGGER_PHOTO_ID_5279263837188305090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;reference:&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;a href="http://methopath.wordpress.com/2008/06/26/writing-unicode-bengali-in-latex/"&gt;http://methopath.wordpress.com/2008/06/26/writing-unicode-bengali-in-latex/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;a href="http://www.saha.ac.in/theory/palashbaran.pal/bangtex/bangtex.html"&gt;Bangtex &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First Bengali typesetting system using LaTeX. Which use a non-standard approach to write bangla.&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;\centerline{\bngxxv ra\*g*er OShudh}&lt;br /&gt;\centerline{\bngxviii sukumar ray}&lt;/span&gt;&lt;br /&gt;-----------------------------------&lt;br /&gt;which give output&lt;br /&gt;-----------------------------------&lt;br /&gt;রোগের ওষুধ&lt;br /&gt;সুকুমার রায়&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;download bfonts.tar.gz, bsty.tar.gz, bsample.tar.gz from&lt;br /&gt;&lt;a href="http://www.saha.ac.in/theory/palashbaran.pal/bangtex/bangtex.html"&gt;http://www.saha.ac.in/theory/palashbaran.pal/bangtex/bangtex.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Installing the font files&lt;/span&gt;&lt;br /&gt;cd /usr/local/texlive/2008/texmf-dist/fonts/source&lt;br /&gt;sudo mkdir bangla&lt;br /&gt;&lt;span style="font-style: italic;"&gt;extract bfonts.tar.gz in /usr/local/texlive/2008/texmf-dist/fonts/source/bangla/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installing the macro files for LaTeX&lt;/span&gt;&lt;br /&gt;cd /usr/local/texlive/2008/texmf-dist/tex/latex&lt;br /&gt;sudo mkdir bangla&lt;br /&gt;&lt;span style="font-style: italic;"&gt;extract bsty.tar.gz /usr/local/texlive/2008/texmf-dist/tex/latex/bangla/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Initializing the files&lt;/span&gt;&lt;br /&gt;sudo texhash&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;reference:&lt;/span&gt; &lt;a href="http://www.saha.ac.in/theory/palashbaran.pal/bangtex/install.html#linux"&gt;http://www.saha.ac.in/theory/palashbaran.pal/bangtex/install.html#linux&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3414104484672846528?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3414104484672846528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3414104484672846528' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3414104484672846528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3414104484672846528'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/12/bengali-in-latex-in-mac-os-x.html' title='Bengali in LaTeX in Mac OS X'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/SUO2fTsssMI/AAAAAAAAArA/ILB806l0C50/s72-c/LaTeX_bangla.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7839670186426252146</id><published>2008-11-06T22:17:00.002+06:00</published><updated>2008-11-06T22:26:35.368+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Probhat Installer for MacOS</title><content type='html'>&lt;div&gt;I have created Probhat installer for MacOS.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can download it from Ankur website &lt;a href="http://www.ankur.org.bd/downloads/probhat/probhat_mac_os_1.0.dmg"&gt;click here&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/SRMXY43ilJI/AAAAAAAAAj0/uP8e0ovRiMI/s1600-h/probhat_macos_1.jpg" style="text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;img style="text-align: left; display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 400px; height: 284px; " src="http://3.bp.blogspot.com/_g-q7zXM0b-c/SRMXY43ilJI/AAAAAAAAAj0/uP8e0ovRiMI/s400/probhat_macos_1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5265578105675879570" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238);"&gt;&lt;br /&gt;&lt;/span&gt;Details on &lt;a href="http://www.ankur.org.bd/wiki/Documentation#Mac_OS_X_2"&gt;Ankur Wiki&lt;/a&gt;&lt;br /&gt;&lt;/div&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/7954055-7839670186426252146?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7839670186426252146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7839670186426252146' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7839670186426252146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7839670186426252146'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/11/probhat-installer-for-macos.html' title='Probhat Installer for MacOS'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/SRMXY43ilJI/AAAAAAAAAj0/uP8e0ovRiMI/s72-c/probhat_macos_1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3373122266345619287</id><published>2008-09-20T19:18:00.007+06:00</published><updated>2008-09-20T21:06:33.327+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>get database structure using PHP</title><content type='html'>I was facing problem to connect a mysql host, as it was only accepting connection from a specific server. But I need to know the database structure to design some report.&lt;br /&gt;&lt;br /&gt;At last I have written a simple php code to print the table name along with the structure.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;   &lt;br /&gt;   mysql_connect("host_name","user","password") or die(mysql_error());&lt;br /&gt;   mysql_select_db("database_name") or die(mysql_error());&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   $result = mysql_query("SHOW TABLES;") or die(mysql_error());  &lt;br /&gt;&lt;br /&gt;   while($row = mysql_fetch_array($result)){&lt;br /&gt;  &lt;br /&gt; echo $row[0]; //print the table name&lt;br /&gt; &lt;br /&gt; $result2 = mysql_query("DESCRIBE ".$row[0].";") or die(mysql_error()); //get details schema for each table&lt;br /&gt; &lt;br /&gt; echo "&amp;lt;table border='1' width='70%'&amp;gt;";&lt;br /&gt; echo "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Field&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Type&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Null&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Key&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Default&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Extra&amp;lt;/td&amp;gt;";&lt;br /&gt; &lt;br /&gt; while($row2 = mysql_fetch_array($result2)){&lt;br /&gt;   &lt;br /&gt;  for($i=0; $i&amp;lt;6; $i++){ &lt;br /&gt;   if($row2[$i] == "" || $row2[$i] == NULL){&lt;br /&gt;    $row2[$i] = "&amp;nbsp";&lt;br /&gt;   }&lt;br /&gt;  }   &lt;br /&gt;   &lt;br /&gt;  echo "&amp;lt;tr&amp;gt;";&lt;br /&gt;  echo "&amp;lt;td&amp;gt;".$row2[0]."&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;".$row2[1]."&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;".$row2[2]."&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;".$row2[3]."&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;".$row2[4]."&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;".$row2[5];&lt;br /&gt;  echo "&amp;lt;/tr&amp;gt;";&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; echo "&amp;lt;/table&amp;gt;"; &lt;br /&gt; echo "&amp;lt;br/&amp;gt;";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Just change your database configuration then upload in your server. Browse the url and you must delete the file from server after get the structure. Be safe...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3373122266345619287?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3373122266345619287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3373122266345619287' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3373122266345619287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3373122266345619287'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/09/database-structure-using-php.html' title='get database structure using PHP'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8748872034911738413</id><published>2008-08-31T02:45:00.003+06:00</published><updated>2008-08-31T02:57:36.914+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>function call in javascript</title><content type='html'>I was studying &lt;a href="http://russkey.mozdev.org/"&gt;russkey.mozdev.org&lt;/a&gt; source code to learn how to write Firefox extension.&lt;br /&gt;&lt;br /&gt;Found this style of function call in javascript.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;var collection =   {&lt;br /&gt;&lt;br /&gt; hello : function() {&lt;br /&gt;  document.write("Hello World!");&lt;br /&gt; },&lt;br /&gt; &lt;br /&gt; understand : function() {&lt;br /&gt;  document.write("&amp;lt;br/&amp;gt;Understand!");&lt;br /&gt; },&lt;br /&gt; &lt;br /&gt; bye : function() {&lt;br /&gt;  document.write("&amp;lt;br/&amp;gt;bye!");&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var m = new collection.hello();&lt;br /&gt;var n = new collection.understand();&lt;br /&gt;var o = new collection.bye();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The output will&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Hello World!&lt;br /&gt;Understand!&lt;br /&gt;bye!&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8748872034911738413?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8748872034911738413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8748872034911738413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8748872034911738413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8748872034911738413'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/function-call-in-javascript.html' title='function call in javascript'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7539556463297646112</id><published>2008-08-30T13:20:00.004+06:00</published><updated>2008-08-31T03:32:46.338+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>My Facebook application</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/SLj40_1bNZI/AAAAAAAAAjs/MsZ3g3seG-0/s1600-h/circle_of_blood.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/SLj40_1bNZI/AAAAAAAAAjs/MsZ3g3seG-0/s400/circle_of_blood.png" alt="" id="BLOGGER_PHOTO_ID_5240211755817973138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://apps.new.facebook.com/circle_of_blood/"&gt;apps.new.facebook.com/circle_of_blood/&lt;/a&gt;&lt;br /&gt;or&lt;br /&gt;&lt;a href="http://apps.facebook.com/circle_of_blood/"&gt;apps.facebook.com/circle_of_blood/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Special thanks to &lt;a href="http://hamza.neoxero.com/"&gt;Dr. Hamza&lt;/a&gt; for joining in this project and sponsor the hosting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7539556463297646112?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7539556463297646112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7539556463297646112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7539556463297646112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7539556463297646112'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/my-facebook-application.html' title='My Facebook application'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/SLj40_1bNZI/AAAAAAAAAjs/MsZ3g3seG-0/s72-c/circle_of_blood.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3749384048265894791</id><published>2008-08-27T03:53:00.005+06:00</published><updated>2008-08-27T04:09:09.556+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='codeigniter'/><title type='text'>flash/swf height width in CodeIgniter 1.6</title><content type='html'>In libraries/Upload.php&lt;br /&gt;&lt;br /&gt;Edit the function is_image().&lt;br /&gt;&lt;br /&gt;add the 'application/x-shockwave-flash' in $img_mimes&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$img_mimes = array(&lt;br /&gt; 'image/gif',&lt;br /&gt; 'image/jpeg',&lt;br /&gt; 'image/png',&lt;br /&gt; 'application/x-shockwave-flash',&lt;br /&gt;);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It simply allow &lt;span style="font-weight:bold;"&gt;set_image_properties&lt;/span&gt; function to read the height &amp; width for flash.&lt;br /&gt;&lt;br /&gt;//now this will not call for flash&lt;br /&gt;if ( ! $this-&gt;is_image())&lt;br /&gt;{&lt;br /&gt;   return;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3749384048265894791?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3749384048265894791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3749384048265894791' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3749384048265894791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3749384048265894791'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/flashswf-height-width-in-codeigniter-16.html' title='flash/swf height width in CodeIgniter 1.6'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7885783209061864839</id><published>2008-08-26T00:23:00.001+06:00</published><updated>2008-08-26T00:24:21.977+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Which user remove my facebook application</title><content type='html'>To remove the user who remove your application from facebook automatically.&lt;br /&gt;&lt;br /&gt;In the settings of the application,&lt;br /&gt;"Can your application be added on Facebook?" set it &lt;span style="font-weight: bold;"&gt;yes&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/SLJgM7DSBAI/AAAAAAAAAi4/ldId8hPEUzQ/s1600-h/app_add_fb.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/SLJgM7DSBAI/AAAAAAAAAi4/ldId8hPEUzQ/s400/app_add_fb.png" alt="" id="BLOGGER_PHOTO_ID_5238355091711460354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Scroll down, you will get a Post-Remove URL input box.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/SLJgv_-cEHI/AAAAAAAAAjA/5BX91Gzsg2s/s1600-h/post_remove_fb.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/SLJgv_-cEHI/AAAAAAAAAjA/5BX91Gzsg2s/s400/post_remove_fb.png" alt="" id="BLOGGER_PHOTO_ID_5238355694328746098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Facebook will send data to the post remove url page about the user removing the application.&lt;br /&gt;The post_remove.php example from my server.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;//facebook lib&lt;br /&gt;require_once 'fbclient/facebook.php';&lt;br /&gt;&lt;br /&gt;//my database config&lt;br /&gt;require_once 'config/config.php';&lt;br /&gt;&lt;br /&gt;$appapikey = 'you_app_api_key';&lt;br /&gt;$appsecret = 'your_app_secret_key';&lt;br /&gt;&lt;br /&gt;$facebook = new Facebook($appapikey, $appsecret);&lt;br /&gt;$user_id = $facebook-&gt;require_login();&lt;br /&gt;&lt;br /&gt;$user = $facebook-&gt;get_loggedin_user();&lt;br /&gt;&lt;br /&gt;if ($user != NULL &amp;amp;&amp;amp; $facebook-&gt;fb_params['uninstall'] == 1)&lt;br /&gt;{&lt;br /&gt;  //The user has removed your app&lt;br /&gt;  mysql_query("DELETE FROM users WHERE userid='$user_id'")  or die(mysql_error());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://wiki.developers.facebook.com/index.php/Creating_Your_First_Application"&gt;Creating Your First Application Facebook wiki&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiki.developers.facebook.com/index.php/Post-Remove_URL"&gt;Post-Remove URL Facebook wiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7885783209061864839?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7885783209061864839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7885783209061864839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7885783209061864839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7885783209061864839'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/which-user-remove-my-facebook.html' title='Which user remove my facebook application'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/SLJgM7DSBAI/AAAAAAAAAi4/ldId8hPEUzQ/s72-c/app_add_fb.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1983683793089065460</id><published>2008-08-13T13:34:00.015+06:00</published><updated>2008-08-13T15:34:31.742+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='opengl'/><title type='text'>Matrix in OpenGL</title><content type='html'>&lt;pre&gt;&lt;br /&gt;[0  4  8 12]&lt;br /&gt;[1  5  9 13]&lt;br /&gt;[2  6 10 14]&lt;br /&gt;[3  7 11 15]&lt;br /&gt;&lt;br /&gt;4x4 matrix in memory.&lt;br /&gt;&lt;br /&gt;[R0 R3 R6 Tx]&lt;br /&gt;[R1 R4 R7 Ty]&lt;br /&gt;[R2 R5 R8 Tz]&lt;br /&gt;[ 0  0  0  1]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;'R' represents rotations and scaling (and shearing)&lt;br /&gt;'T' translation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First, I read the matrix and print it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;float x[16];&lt;br /&gt;int i;&lt;br /&gt;&lt;br /&gt;//read the 4x4 matrix and store in x&lt;br /&gt;glGetFloatv (GL_MODELVIEW_MATRIX, (float*)x);&lt;br /&gt;&lt;br /&gt;//print the matrix&lt;br /&gt;for(i=0; i&lt;4; i++){&lt;br /&gt; printf("%f\t%f\t%f\t%f", x[i], x[i+4], x[i+8], x[i+12]);  &lt;br /&gt; printf("\n");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;glTranslatef(2, 0.0, 0.0);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//print the matrix after translate&lt;br /&gt;&lt;br /&gt;glGetFloatv (GL_MODELVIEW_MATRIX, (float*)x);&lt;br /&gt;&lt;br /&gt;printf("\n-----------------------\n");&lt;br /&gt;&lt;br /&gt;for(i=0; i&lt;4; i++){&lt;br /&gt; printf("%f\t%f\t%f\t%f", x[i], x[i+4], x[i+8], x[i+12]);  &lt;br /&gt; printf("\n");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Run the program.&lt;br /&gt;&lt;br /&gt;After translate our matrix changes in "Tx" -2.000000&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;-1.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000&lt;br /&gt; 0.000000 &amp;nbsp;-0.196116 &amp;nbsp; 0.980581 &amp;nbsp; 0.000000&lt;br /&gt; 0.000000 &amp;nbsp; 0.980581 &amp;nbsp; 0.196116 &amp;nbsp;-10.198039&lt;br /&gt; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 1.000000&lt;br /&gt;-----------------------------------------&lt;br /&gt;-1.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp;-2.000000&lt;br /&gt; 0.000000 &amp;nbsp;-0.196116 &amp;nbsp; 0.980581 &amp;nbsp; 0.000000&lt;br /&gt; 0.000000 &amp;nbsp; 0.980581 &amp;nbsp; 0.196116 &amp;nbsp;-10.198039&lt;br /&gt; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 1.000000&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Instead of translate if we use rotation&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;glRotatef(45, 0.0, 1.0, 1.0);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;After rotation our matrix changes in "R"&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;-1.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000&lt;br /&gt; 0.000000 &amp;nbsp;-0.196116 &amp;nbsp; 0.980581 &amp;nbsp; 0.000000&lt;br /&gt; 0.000000 &amp;nbsp; 0.980581 &amp;nbsp; 0.196116 &amp;nbsp;-10.198039&lt;br /&gt; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 1.000000&lt;br /&gt;-----------------------------------------&lt;br /&gt;-0.707107 &amp;nbsp; 0.500000 &amp;nbsp;-0.500000 &amp;nbsp; 0.000000&lt;br /&gt;-0.588348 &amp;nbsp;-0.023793 &amp;nbsp; 0.808257 &amp;nbsp; 0.000000&lt;br /&gt; 0.392232 &amp;nbsp; 0.865699 &amp;nbsp; 0.310998 &amp;nbsp;-10.198039&lt;br /&gt; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 0.000000 &amp;nbsp; 1.000000&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.gamedev.net/community/forums/topic.asp?topic_id=441698"&gt;www.gamedev.net Forum&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1983683793089065460?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1983683793089065460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1983683793089065460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1983683793089065460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1983683793089065460'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/matrix-in-opengl.html' title='Matrix in OpenGL'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-4854573544265754138</id><published>2008-07-19T23:37:00.007+06:00</published><updated>2008-07-20T19:45:45.503+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='opengl'/><title type='text'>Simple Solar System in OpenGL</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/SIInLYMbF2I/AAAAAAAAAiM/wL1tVbMHpHk/s1600-h/OpenGL_SolarSystem.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/SIInLYMbF2I/AAAAAAAAAiM/wL1tVbMHpHk/s320/OpenGL_SolarSystem.png" alt="" id="BLOGGER_PHOTO_ID_5224781594129799010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have created a simple Solar System using OpenGL&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;br /&gt;#include &amp;lt;GLUT/glut.h&amp;gt;&lt;br /&gt;#include &amp;lt;math.h&amp;gt;&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;static float Xvalue = 0.0, Yvalue = 0.0, Angle = 0.0;&lt;br /&gt;&lt;br /&gt;int MoveX = 0;&lt;br /&gt;int MoveY = 0;&lt;br /&gt;&lt;br /&gt;void myInit(void) {&lt;br /&gt; glClearColor (0.0, 0.0, 0.0, 0.0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static float x1[360][2];&lt;br /&gt;static float x2[360][2];&lt;br /&gt;static float x3[720][2];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void generateCircle()&lt;br /&gt;{&lt;br /&gt; int i = 0;&lt;br /&gt; &lt;br /&gt;  for(i=0; i &amp;lt;= 360; i++)&lt;br /&gt;  {&lt;br /&gt;   x1[i][0] = sin(i*3.1416/180)*3;&lt;br /&gt;   x1[i][1] = cos(i*3.1416/180)*3;&lt;br /&gt;  }&lt;br /&gt; &lt;br /&gt; for(i=0; i &amp;lt;= 360; i++)&lt;br /&gt; {&lt;br /&gt;  x2[i][0] = sin(i*3.1416/180)*1;&lt;br /&gt;  x2[i][1] = cos(i*3.1416/180)*1;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; for(i=0; i &amp;lt;= 720; i++)&lt;br /&gt; {&lt;br /&gt;  x3[i][0] = sin(i*3.1416/180)*5;&lt;br /&gt;  x3[i][1] = cos(i*3.1416/180)*5;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void myDisplay(void) {&lt;br /&gt; &lt;br /&gt; glClear (GL_COLOR_BUFFER_BIT);&lt;br /&gt; glColor3f (1.0, 1.0, 1.0);&lt;br /&gt; &lt;br /&gt; //sun&lt;br /&gt; glPushMatrix();&lt;br /&gt; gluLookAt (0.0, 10.0, 2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0);&lt;br /&gt; glTranslatef(Xvalue, 0.0, Yvalue);&lt;br /&gt; glRotatef(Angle, 0.0, 0.0, 1.0);&lt;br /&gt; glutWireSphere (0.5, 15, 15);&lt;br /&gt; glPopMatrix();&lt;br /&gt; &lt;br /&gt; glPushMatrix();&lt;br /&gt; gluLookAt (0.0, 10.0, 2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0);&lt;br /&gt; if(MoveX==360)&lt;br /&gt;  MoveX = 0;&lt;br /&gt; glTranslatef(x1[MoveX][1], x1[MoveX][0], 0.0);&lt;br /&gt; glRotatef(Angle, 0.0, 0.0, 1.0);&lt;br /&gt; glutWireSphere (0.4, 15, 15);&lt;br /&gt; glTranslatef(x2[MoveX][0], x2[MoveX][1], 0.0);&lt;br /&gt; glutWireSphere (0.2, 15, 15);&lt;br /&gt; glPopMatrix();&lt;br /&gt; &lt;br /&gt; glPushMatrix();&lt;br /&gt; gluLookAt (0.0, 10.0, 2.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0);&lt;br /&gt; if(MoveY==720)&lt;br /&gt;  MoveY = 0;&lt;br /&gt; glTranslatef(x3[MoveY/2][1], x3[MoveY/2][0], 0.0);&lt;br /&gt; glRotatef(Angle, 0.0, 0.0, 1.0);&lt;br /&gt; glutWireSphere (0.4, 15, 15);&lt;br /&gt; int i = 0;&lt;br /&gt; //glBegin(GL_LINE_STRIP);&lt;br /&gt; glBegin(GL_QUAD_STRIP);&lt;br /&gt; for(i=0; i &amp;lt;= 360; i++)&lt;br /&gt; {&lt;br /&gt;  glVertex3f(sin(i*3.1416/180)*0.5, cos(i*3.1416/180)*0.5, 0 );&lt;br /&gt;  glVertex3f(sin(i*3.1416/180)*0.7, cos(i*3.1416/180)*0.7, 0 );&lt;br /&gt; }&lt;br /&gt; glEnd();&lt;br /&gt; glRotatef(Angle, 0.0, 0.0, 1.0);&lt;br /&gt; glPopMatrix();&lt;br /&gt; &lt;br /&gt; glFlush ();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void resize(int w, int h)&lt;br /&gt;{&lt;br /&gt; glViewport (0, 0, (GLsizei) w, (GLsizei) h); &lt;br /&gt; glMatrixMode (GL_PROJECTION);&lt;br /&gt; glLoadIdentity ();&lt;br /&gt; glFrustum (-1.0, 1.0, -1.0, 1.0, 1.5, 20.0);&lt;br /&gt; glMatrixMode (GL_MODELVIEW);&lt;br /&gt; glLoadIdentity ();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void animation()&lt;br /&gt;{&lt;br /&gt; Angle += 15.0;&lt;br /&gt; glutPostRedisplay();&lt;br /&gt; MoveX +=1;&lt;br /&gt; MoveY +=1;&lt;br /&gt; glutPostRedisplay();&lt;br /&gt; glutTimerFunc(100, animation, 0);&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;int main(int argc, char ** argv){&lt;br /&gt; &lt;br /&gt; glutInit(&amp;argc, argv);&lt;br /&gt; glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);&lt;br /&gt; glutInitWindowSize(1024, 768);&lt;br /&gt; glutInitWindowPosition(100, 150);&lt;br /&gt; glutCreateWindow(&amp;quot;OpenGL&amp;quot;);&lt;br /&gt; myInit();&lt;br /&gt; glutDisplayFunc(myDisplay);&lt;br /&gt; glutReshapeFunc(resize);  &lt;br /&gt; generateCircle();&lt;br /&gt; glutTimerFunc(100, animation, 0);&lt;br /&gt; glutMainLoop();&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-4854573544265754138?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/4854573544265754138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=4854573544265754138' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4854573544265754138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4854573544265754138'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/07/simple-solar-system-in-opengl.html' title='Simple Solar System in OpenGL'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/SIInLYMbF2I/AAAAAAAAAiM/wL1tVbMHpHk/s72-c/OpenGL_SolarSystem.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3237706348790674433</id><published>2008-07-01T16:58:00.005+06:00</published><updated>2008-07-01T17:21:17.571+06:00</updated><title type='text'>iReport java.lang.NullPointerException</title><content type='html'>I was facing some problem to start iReport in my Debian&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;blockquote&gt;salahuddin@crab:~/iReport-2.0.3$ ./iReport.sh&lt;br /&gt;Exception in thread "main" java.lang.NullPointerException&lt;br /&gt;  at java.util.Hashtable.put(libgcj.so.70)&lt;br /&gt;  at javax.swing.plaf.basic.BasicToolBarUI.setBorderToRollover(libgcj.so.70)&lt;br /&gt;  at javax.swing.plaf.basic.BasicToolBarUI$ToolBarContListener.componentAdded(libgcj.so.70)&lt;br /&gt;  at java.awt.Container.addImpl(libgcj.so.70)&lt;br /&gt;  at javax.swing.JToolBar.addImpl(libgcj.so.70)&lt;br /&gt;  at java.awt.Container.add(libgcj.so.70)&lt;br /&gt;  at it.businesslogic.ireport.gui.ToolbarFormatPanel.initComponents(ToolbarFormatPanel.java:170)&lt;br /&gt;  at it.businesslogic.ireport.gui.ToolbarFormatPanel.&lt;init&gt;(ToolbarFormatPanel.java:57)&lt;br /&gt;  at it.businesslogic.ireport.gui.MainFrame.&lt;init&gt;(MainFrame.java:487)&lt;br /&gt;  at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:8020)&lt;br /&gt;salahuddin@crab:~/iReport-2.0.3$&lt;/init&gt;&lt;/init&gt;&lt;/blockquote&gt;&lt;init&gt;&lt;init&gt;&lt;br /&gt;&lt;/init&gt;&lt;/init&gt;&lt;/span&gt;&lt;br /&gt;Here is my .bashrc&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;export CVSROOT=:ext:salahuddin@paq:/home/cvs&lt;br /&gt;export CVS_RSH=/usr/bin/ssh&lt;br /&gt;export ANT_OPTS=-Xmx512m&lt;br /&gt;export ANT_HOME=/usr/ant&lt;br /&gt;export JAVA_HOME=/usr/jdk1.5.0_03&lt;br /&gt;export CLASS_PATH=$JAVA_HOME/lib/:$JAVA_HOME/jre/lib&lt;br /&gt;export CLASSPATH=$JAVA_HOME/lib/:$JAVA_HOME/jre/lib&lt;br /&gt;export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin&lt;br /&gt;export CATALINA_HOME=/usr/tomcat&lt;br /&gt;export CVSEDITOR=vim&lt;br /&gt;&lt;br /&gt;Note: My /usr/java is soft linked with &lt;/span&gt;&lt;span style="font-size:85%;"&gt;/usr/jdk1.5.0_03&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Main problem /usr/bin/java was linked with&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt; /etc/alternatives/java&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;blockquote&gt;salahuddin@crab:/usr/bin$ ls -l java*&lt;br /&gt;lrwxrwxrwx 1 root root 22 2008-04-30 22:29 java -&gt; /etc/alternatives/java&lt;br /&gt;lrwxrwxrwx 1 root root 23 2008-06-26 15:52 javac -&gt; /etc/alternatives/javac&lt;br /&gt;lrwxrwxrwx 1 root root 25 2008-07-01 15:58 javadoc -&gt; /etc/alternatives/javadoc&lt;br /&gt;lrwxrwxrwx 1 root root 23 2008-06-26 15:52 javah -&gt; /etc/alternatives/javah&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;The main problem was it was using java from the gij package/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;#cd  /usr/bin/&lt;br /&gt;#mv java java2&lt;br /&gt;#mv javac javac2&lt;br /&gt;#mv javah javah2&lt;br /&gt;#mv javadoc javadoc2&lt;br /&gt;&lt;br /&gt;#ln -s /usr/java/bin/java &lt;/span&gt;&lt;span style="font-size:85%;"&gt;/usr/bin/&lt;/span&gt;&lt;span style="font-size:85%;"&gt;java&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;#ln -s /usr/java/bin/javac &lt;/span&gt;&lt;span style="font-size:85%;"&gt;/usr/bin/j&lt;/span&gt;&lt;span style="font-size:85%;"&gt;avac&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;#ln -s /usr/java/bin/javah &lt;/span&gt;&lt;span style="font-size:85%;"&gt;/usr/bin/j&lt;/span&gt;&lt;span style="font-size:85%;"&gt;avah&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;#ln -s /usr/java/bin/javadoc &lt;/span&gt;&lt;span style="font-size:85%;"&gt;/usr/bin/&lt;/span&gt;&lt;span style="font-size:85%;"&gt;javadoc&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;It simply solve the problem.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&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/7954055-3237706348790674433?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3237706348790674433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3237706348790674433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3237706348790674433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3237706348790674433'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/07/ireport-javalangnullpointerexception.html' title='iReport java.lang.NullPointerException'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8455382752590247206</id><published>2008-06-12T02:25:00.005+06:00</published><updated>2008-06-14T00:53:31.476+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>Get system load using Python Script</title><content type='html'>I have written a simple python script that collect system load information and store in a XML file.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#!/usr/bin/env python&lt;br /&gt;&lt;br /&gt;import os&lt;br /&gt;import commands&lt;br /&gt;import time&lt;br /&gt;from time import gmtime, strftime&lt;br /&gt;&lt;br /&gt;while 0 &lt; 10:&lt;br /&gt; &lt;br /&gt; file_name = strftime("%Y_%m_%d_%H_%M", gmtime()) &lt;br /&gt;&lt;br /&gt; data =  commands.getoutput("w | grep load")&lt;br /&gt; xml_data = "&lt;load&gt;"+ data + "&lt;/load&gt;"&lt;br /&gt; &lt;br /&gt; print xml_data&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; if os.path.isfile(file_name + ".xml"):&lt;br /&gt;  x=0&lt;br /&gt; else:&lt;br /&gt;&lt;br /&gt;  f_prev=open(file_name + ".xml", 'a')&lt;br /&gt;  f_prev.write("&lt;/data&gt;")&lt;br /&gt;  f_prev.close&lt;br /&gt;&lt;br /&gt;  f=open(file_name + ".xml", 'w')&lt;br /&gt;  f.write("&lt;?xml version='1.0' encoding='utf-8'?&gt;\n&lt;data&gt;\n")&lt;br /&gt;  f.close()&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; f=open(file_name + ".xml", 'a')&lt;br /&gt;&lt;br /&gt; f.write(xml_data+"\n")&lt;br /&gt;&lt;br /&gt; f.close()&lt;br /&gt; time.sleep(3)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;We will get  XML file like this.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;blockquote&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&lt;br /&gt;&amp;lt;data&amp;gt;&lt;br /&gt;&amp;lt;load&amp;gt; 01:40:38 up  6:27,  3 users,  load average: 0.07, 0.07, 0.03&amp;lt;/load&amp;gt;&lt;br /&gt;&amp;lt;load&amp;gt; 01:40:48 up  6:27,  3 users,  load average: 0.06, 0.07, 0.03&amp;lt;/load&amp;gt;&lt;br /&gt;&amp;lt;load&amp;gt; 01:40:58 up  6:27,  3 users,  load average: 0.05, 0.07, 0.03&amp;lt;/load&amp;gt;&lt;br /&gt;&amp;lt;/data&amp;gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8455382752590247206?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8455382752590247206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8455382752590247206' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8455382752590247206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8455382752590247206'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/06/get-system-load-using-python-script.html' title='Get system load using Python Script'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7121702607465041548</id><published>2008-06-09T02:53:00.007+06:00</published><updated>2008-08-11T02:39:05.954+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><title type='text'>putpixel in Linux</title><content type='html'>Some days ago I was trying to read a BMP format file and show it using putpixel.&lt;br /&gt;&lt;br /&gt;I haved used &lt;a href="http://qdbmp.sourceforge.net/"&gt;qdbmp.sourceforge.net&lt;/a&gt; which is a minimalistic cross-platform C library for handling BMP image file.&lt;br /&gt;&lt;br /&gt;The Allegro (&lt;a href="http://www.allegro.cc/"&gt;www.allegro.cc&lt;/a&gt;) graphics library that provides many functionality.&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:78%;"&gt;putpixel&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Writes a pixel into a bitmap.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Description  void putpixel(BITMAP *bmp, int x, int y, int color);&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;Download qdbmp.c  qdbmp.h from the qdbmp website&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sample code that reads a BMP file and show it using Allegro library&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;/*&lt;br /&gt;*    Example program for the Allegro library, by Shawn Hargreaves.&lt;br /&gt;*&lt;br /&gt;*    This is a very simple program showing how to get into graphics&lt;br /&gt;*    mode and draw text onto the screen.&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;#include &amp;lt;allegro.h&amp;gt;&lt;br /&gt;/* Creates a negative image of the input bitmap file */&lt;br /&gt;#include "qdbmp.h"&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;int main( int argc, char* argv[] )&lt;br /&gt;{&lt;br /&gt; BMP*    bmp;&lt;br /&gt; UCHAR   r, g, b;&lt;br /&gt; UINT    width, height;&lt;br /&gt; UINT    x, y;&lt;br /&gt;&lt;br /&gt; int color;&lt;br /&gt;/* you should always do this at the start of Allegro programs */&lt;br /&gt;if (allegro_init() != 0)&lt;br /&gt;   return 1;&lt;br /&gt;&lt;br /&gt;/* set up the keyboard handler */&lt;br /&gt;install_keyboard();&lt;br /&gt;&lt;br /&gt;/* set a graphics mode sized 320x200 */&lt;br /&gt;if (set_gfx_mode(GFX_AUTODETECT, 320, 200, 0, 0) != 0) {&lt;br /&gt;   if (set_gfx_mode(GFX_SAFE, 320, 200, 0, 0) != 0) {&lt;br /&gt;set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);&lt;br /&gt;allegro_message("Unable to set any graphic mode\n%s\n", allegro_error);&lt;br /&gt;return 1;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* set the color palette */&lt;br /&gt;set_palette(desktop_palette);&lt;br /&gt;&lt;br /&gt;/* clear the screen to white */&lt;br /&gt;clear_to_color(screen, makecol(255, 255, 255));&lt;br /&gt;&lt;br /&gt;/* you don't need to do this, but on some platforms (eg. Windows) things&lt;br /&gt; * will be drawn more quickly if you always acquire the screen before&lt;br /&gt; * trying to draw onto it.&lt;br /&gt; */&lt;br /&gt;acquire_screen();&lt;br /&gt;&lt;br /&gt;/* write some text to the screen with black letters and transparent background */&lt;br /&gt;// textout_centre_ex(screen, font, "Hello, world!", SCREEN_W/2, SCREEN_H/2, makecol(0,0,0), -1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if ( argc != 3 )&lt;br /&gt; {&lt;br /&gt;     fprintf( stderr, "Usage: %s &amp;lt;input file&amp;gt; &amp;lt;output file&amp;gt;\n", argv[ 0 ] );&lt;br /&gt;     return 0;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /* Read an image file */&lt;br /&gt; bmp = BMP_ReadFile( argv[ 1 ] );&lt;br /&gt; BMP_CHECK_ERROR( stderr, -1 ); /* If an error has occurred, notify and exit */&lt;br /&gt;&lt;br /&gt; /* Get image's dimensions */&lt;br /&gt; width = BMP_GetWidth( bmp );&lt;br /&gt; height = BMP_GetHeight( bmp );&lt;br /&gt;&lt;br /&gt; /* Iterate through all the image's pixels */&lt;br /&gt; for ( x = 0 ; x &amp;lt; width ; ++x )&lt;br /&gt; {&lt;br /&gt;     for ( y = 0 ; y &amp;lt; height ; ++y )&lt;br /&gt;     {&lt;br /&gt;         /* Get pixel's RGB values */&lt;br /&gt;         BMP_GetPixelRGB( bmp, x, y, &amp;amp;r, &amp;amp;g, &amp;amp;b );&lt;br /&gt;&lt;br /&gt;color = makecol(r,g,b);&lt;br /&gt;&lt;br /&gt;putpixel(screen, x, y, color);&lt;br /&gt;&lt;br /&gt;         /* Invert RGB values */&lt;br /&gt;         BMP_SetPixelRGB( bmp, x, y, 255 - r, 255 - g, 255 - b );&lt;br /&gt;     }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//  putpixel(screen, SCREEN_W/2, SCREEN_H/2, 50);&lt;br /&gt;&lt;br /&gt;/* you must always release bitmaps before calling any input functions */&lt;br /&gt;release_screen();&lt;br /&gt;&lt;br /&gt;/* wait for a key press */&lt;br /&gt;readkey();&lt;br /&gt;&lt;br /&gt; /* Save result */&lt;br /&gt; BMP_WriteFile( bmp, argv[ 2 ] );&lt;br /&gt; BMP_CHECK_ERROR( stderr, -2 );&lt;br /&gt;&lt;br /&gt; /* Free all memory allocated for the image */&lt;br /&gt; BMP_Free( bmp );&lt;br /&gt;&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;END_OF_MAIN()&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;blockquote style="font-size: 36px; line-height: 42.75px;"&gt;&lt;/blockquote&gt;Compile&lt;br /&gt;$gcc -g -O2 -o name `allegro-config --libs` sample.c qdbmp.c&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resources:&lt;br /&gt;&lt;a href="http://qdbmp.sourceforge.net/"&gt;http://qdbmp.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.allegro.cc/manual/api/drawing-primitives/putpixel"&gt;http://www.allegro.cc/manual/api/drawing-primitives/putpixel&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.allegro.cc/manual/api/truecolor-pixel-formats/makecol"&gt;http://www.allegro.cc/manual/api/truecolor-pixel-formats/makecol&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7121702607465041548?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7121702607465041548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7121702607465041548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7121702607465041548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7121702607465041548'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/08/putpixel-in-linux.html' title='putpixel in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-4279025289386055500</id><published>2008-03-12T15:12:00.009+06:00</published><updated>2008-03-12T15:36:02.460+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Probhat in MacOS</title><content type='html'>I have ported the Probhat Layout (a bangla keyboad) in MacOS .&lt;br /&gt;&lt;br /&gt;Download link&lt;br /&gt;&lt;a href="http://www.ankur.org.bd/wiki/Documentation#Mac_OS_X_2"&gt;http://www.ankur.org.bd/wiki/Documentation#Mac_OS_X_2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* Unpack the zip file, there will be two files "Probhat.icns" and "Probhat.keylayout".&lt;br /&gt;* Paste these two files in "Macintosh HD/Library/Keyboard Layouts/" or  "Home/Library/Keyboard Layouts/", which will install the keyboard layout.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Go to "System Preferences" &gt; "International" &gt; "Input Menu" scroll down and make sure that "Probhat" is checked.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/R9eh0ZLRwQI/AAAAAAAAAh0/0FJzrLZzO48/s1600-h/probhat_on_macos_leopard_1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/R9eh0ZLRwQI/AAAAAAAAAh0/0FJzrLZzO48/s320/probhat_on_macos_leopard_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5176784218169131266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/R9eh7pLRwRI/AAAAAAAAAh8/xHnY2BNIPWM/s1600-h/probhat_on_macos_leopard_2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/R9eh7pLRwRI/AAAAAAAAAh8/xHnY2BNIPWM/s320/probhat_on_macos_leopard_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5176784342723182866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/R9eiG5LRwSI/AAAAAAAAAiE/-9cwyVbUowk/s1600-h/probhat_on_macos_leopard_3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/R9eiG5LRwSI/AAAAAAAAAiE/-9cwyVbUowk/s320/probhat_on_macos_leopard_3.jpg" alt="" id="BLOGGER_PHOTO_ID_5176784535996711202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* Make sure Show input menu in menu bar is checked, default English layout will be highlighted in the menu bar.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/R9efspLRwPI/AAAAAAAAAhs/Lgd3YjNDzgM/s1600-h/probhat_on_macos_leopard_4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/R9efspLRwPI/AAAAAAAAAhs/Lgd3YjNDzgM/s320/probhat_on_macos_leopard_4.jpg" alt="" id="BLOGGER_PHOTO_ID_5176781886001889522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* Now click on "Keyboard Shortcuts" and in the "Input Menu" section put your desired keyboard shortcut that will enable you to change the keyboard layout (Our choice was Alt+Space).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Now while typing in any application, pressing Alt+Space will switch to Probhat Layout and Probhat layout symbol will be highlighted in the menu bar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-4279025289386055500?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/4279025289386055500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=4279025289386055500' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4279025289386055500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4279025289386055500'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/03/probhat-in-macos.html' title='Probhat in MacOS'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/R9eh0ZLRwQI/AAAAAAAAAh0/0FJzrLZzO48/s72-c/probhat_on_macos_leopard_1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7675618065878629089</id><published>2008-01-29T01:52:00.000+06:00</published><updated>2008-01-31T01:24:36.530+06:00</updated><title type='text'>LDAP address book in Debian</title><content type='html'>#apt-get install slapd ldap-utils ldapscripts&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;edit /etc/ldap/slapd.conf&lt;/div&gt;&lt;div&gt;----------------------------&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;//change the suffix accodring to your domain. here "example.com.bd"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;suffix                               "dc=example,dc=com,dc=bd"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;//uncomment this line&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;rootdn          "cn=admin,dc=example,dc=com,dc=bd"&lt;br /&gt;&lt;br /&gt;//add after rootdn line (it is plain text password)&lt;br /&gt;rootpw      secret&lt;br /&gt;&lt;br /&gt;//change the dc=example,dc=com,dc=bd everywhere in slapd.conf&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;//keep other config as it is.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;restart ldap&lt;br /&gt;#/etc/init.d/slapd restart&lt;br /&gt;&lt;br /&gt;edit /etc/ldap/ldap.conf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;create a file name directory.ldif in /etc/ldap/schema/&lt;br /&gt;&lt;br /&gt;directory.ldif&lt;br /&gt;----------------&lt;br /&gt;&lt;code&gt;dn:     dc=example,dc=com,dc=bd&lt;br /&gt;objectClass:    top&lt;br /&gt;objectClass:    dcObject&lt;br /&gt;objectClass:    organization&lt;br /&gt;dc:     example&lt;br /&gt;o:      Example Inc.&lt;br /&gt;&lt;br /&gt;dn:     ou=addressbook, dc=example,dc=com,dc=bd&lt;br /&gt;objectClass:    top&lt;br /&gt;objectClass:    organizationalUnit&lt;br /&gt;ou:     addressbook &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from shell cd to /etc/ldap/schema/&lt;br /&gt;$ldapadd -x -D 'cn=admin,dc=example,dc=com,dc=bd' -f directory.ldif -W&lt;br /&gt;(give pass secret here)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To check&lt;br /&gt;$ldapsearch -b 'dc=example,dc=com,dc=bd' 'objectclass=*' -x&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Input data using phpldapadmin&lt;br /&gt;&lt;br /&gt;#apt-get install phpldapadmin&lt;br /&gt;&lt;br /&gt;http://localhost/phpldapadmin/&lt;br /&gt;&lt;br /&gt;login: cn=admin,dc=example,dc=com,dc=bd&lt;br /&gt;pass:  secret&lt;br /&gt;&lt;br /&gt;or you can add data manually&lt;br /&gt;&lt;br /&gt;create a file contact.ldif in /etc/ldap/schema/&lt;br /&gt;&lt;br /&gt;contact.ldif&lt;br /&gt;--------------&lt;br /&gt;&lt;code&gt;dn: cn=Blogger OS, ou=addressbook,dc=example,dc=com,dc=bd&lt;br /&gt;objectClass: top&lt;br /&gt;objectClass: person&lt;br /&gt;objectClass: organizationalPerson&lt;br /&gt;objectClass: inetOrgPerson&lt;br /&gt;cn: Blogger&lt;br /&gt;gn: Ldap&lt;br /&gt;sn: OS&lt;br /&gt;mail: blogger@example.com.bd&lt;br /&gt;physicalDeliveryOfficeName: Dhaka, Bangladesh.&lt;br /&gt;postalAddress: PO BOX 909&lt;br /&gt;ou: addressbook&lt;br /&gt;st: LA&lt;br /&gt;postalCode: 1215&lt;br /&gt;telephoneNumber: 111-111-1111&lt;br /&gt;facsimileTelephoneNumber: &lt;/code&gt;&lt;code&gt;111-111-1111&lt;/code&gt;&lt;code&gt;&lt;br /&gt;pager: &lt;/code&gt;&lt;code&gt;111-111-1111&lt;/code&gt;&lt;code&gt;&lt;br /&gt;mobile: &lt;/code&gt;&lt;code&gt;111-111-1111&lt;/code&gt;&lt;code&gt;&lt;br /&gt;homePhone: &lt;/code&gt;&lt;code&gt;111-111-1111&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;from shell cd to /etc/ldap/schema/&lt;br /&gt;$ldapadd -x -D 'cn=admin,dc=example,dc=com,dc=bd' -f contact.ldif -W&lt;br /&gt;(give pass secret here)&lt;br /&gt;&lt;br /&gt;To check&lt;br /&gt;$ldapsearch -b 'dc=example,dc=com,dc=bd' 'objectclass=*' -x&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;ONLamp.com &lt;a href="http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html"&gt;Link&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;OpenLDAP &lt;a href="http://www.openldap.org/"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7675618065878629089?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7675618065878629089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7675618065878629089' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7675618065878629089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7675618065878629089'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2008/01/ldap-address-book-in-debian.html' title='LDAP address book in Debian'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-6941034339647650658</id><published>2007-10-24T21:59:00.001+06:00</published><updated>2008-06-11T02:09:15.635+06:00</updated><title type='text'>Triple Boot in MacBook  (Debian AMD64) using rEFIt</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rx95pyV3NKI/AAAAAAAAAeM/O8zxQE5yGmY/s1600-h/screen2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rx95pyV3NKI/AAAAAAAAAeM/O8zxQE5yGmY/s320/screen2.png" alt="" id="BLOGGER_PHOTO_ID_5124948659765982370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have got success to create triple boot in mac book using &lt;a href="http://refit.sourceforge.net/"&gt;rEFIt&lt;/a&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;salahuddin-pashas-computer:~ salahuddin$ diskutil list&lt;br /&gt;/dev/disk0&lt;br /&gt;#:                   type     name                           size          identifier&lt;br /&gt;0:  GUID_    partition_scheme                    *111.8 GB      disk0&lt;br /&gt;1:                             EFI                                  200.0 MB      disk0s1&lt;br /&gt;2:              Apple_HFS Macintosh HD           111.2 GB     disk0s2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Resize the volume&lt;br /&gt;&lt;code&gt;&lt;br /&gt;diskutil resizeVolume /dev/disk$OSX OSXpartsize 2ndPartType 2ndPartLabel 2ndPartSize 3rdPartType 3rdPartLabel 3rdPartSize&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Here I am giving&lt;br /&gt;&lt;code&gt;&lt;br /&gt;diskutil resizeVolume /dev/disk0s2 71.1G Linux Linux 25G "MS-DOS FAT32" Windows 15G&lt;/code&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(If you face problem while resizing the partitions, install/reinstall a fresh copy of Mac OS)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Install &lt;a href="http://refit.sourceforge.net/"&gt;rEFIt&lt;/a&gt; in Mac OS &lt;span style="font-size:85%;"&gt;(Mac disk image)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;reboot your mac book and ensure that rEFIt is loading at boot time.&lt;br /&gt;&lt;br /&gt;Boot Windows XP SP2 32bit, you will find the CD appear in the boot menu of rEFIt or use 'C' to boot. Now install it sda4&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(warning: just format the sda4 in (fat32 or ntfs) while installing windows, but do not repartition/change anything!!!)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;reboot and you will find 2 option for booting the Mac OS and Windows.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(warning: do not update the partition record in the rEFIt now, the Linux partition may update as fat32)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Installing Debian:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Get the &lt;span style="font-weight: bold;"&gt;AMD64&lt;/span&gt; version of Debian &lt;span style="font-size:85%;"&gt;(you can also use generic 32 bit)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Install Debian normally without the &lt;span style="font-weight: bold;"&gt;grub or lilo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(when it will try to install grub or lilo use go back, and from main menu select finish installation from Debian installation CD.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From rEFIt menu update the partition record. &lt;span style="font-weight: bold;"&gt;Important!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now boot with Debian installation CD up to the partitioning.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(otherwise you will face problem while installing lilo)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;(*** you can see the easy way below after update the partition table)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;go to console mode&lt;br /&gt;&lt;code&gt;ctrl+alt+F2&lt;br /&gt;mkdir /tmp/debian&lt;br /&gt;mount /dev/sda3 /tmp/debian&lt;br /&gt;chroot /tmp/debian&lt;br /&gt;mount /proc&lt;br /&gt;apt-get install lilo&lt;br /&gt;nano /etc/lilo.conf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;sample lilo config&lt;br /&gt;&lt;code&gt;&lt;br /&gt;boot=/dev/sda3&lt;br /&gt;default=Debian&lt;br /&gt;&lt;br /&gt;map=/boot/map&lt;br /&gt;delay=20&lt;br /&gt;image=/vmlinuz initrd=/initrd.img&lt;br /&gt;root=/dev/sda3&lt;br /&gt;label=Debian&lt;br /&gt;read-only&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Install lilo in sda3&lt;br /&gt;&lt;code&gt;lilo -b /dev/sda3&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;done...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;(***another easy way is install debian from begining again, now install lilo in /dev/sda3)(do not install grub) done...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;After reboot you will find 3 OS boot option in rEFIt menu.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Important configuration!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Install CPU frequency, otherwise you mac book can be too hot in a short time.&lt;br /&gt;&lt;a href="http://wiki.debian.org/MacBook#head-7271d26c7c6e311218ca20422f7eb86e76a6d5e3"&gt;http://wiki.debian.org/MacBook#head-7271d26c7c6e311218ca20422f7eb86e76a6d5e3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Configure the Color Profile &lt;span style="font-size:85%;"&gt;(install xcalib using apt)&lt;/span&gt; &lt;a href="http://gentoo-wiki.com/HARDWARE_Apple_MacBook#Colour_Profile"&gt;http://gentoo-wiki.com/HARDWARE_Apple_MacBook#Colour_Profilept&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;F1, F2, F3... Key configuration&lt;br /&gt;apt-get install pommed&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://wiki.debian.org/MacBook"&gt;http://wiki.debian.org/MacBook&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resources&lt;br /&gt;&lt;a href="http://wiki.debian.org/MacBook"&gt;http://wiki.debian.org/MacBook&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu"&gt;http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gentoo-wiki.com/HARDWARE_Apple_MacBook"&gt;http://gentoo-wiki.com/HARDWARE_Apple_MacBook&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-6941034339647650658?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/6941034339647650658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=6941034339647650658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6941034339647650658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6941034339647650658'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/10/triple-boot-in-macbook-debian-amd64.html' title='Triple Boot in MacBook  (Debian AMD64) using rEFIt'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/Rx95pyV3NKI/AAAAAAAAAeM/O8zxQE5yGmY/s72-c/screen2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-6617608499536773585</id><published>2007-10-06T21:54:00.000+06:00</published><updated>2007-10-06T22:04:00.249+06:00</updated><title type='text'>Bought a MacBook</title><content type='html'>Today I bought &lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RwewjiV3NJI/AAAAAAAAAeE/BdtBACHaaKc/s1600-h/index_frontrow20061108.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RwewjiV3NJI/AAAAAAAAAeE/BdtBACHaaKc/s320/index_frontrow20061108.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5118253626090271890" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Intel Core 2 Duo 2.16 GHZ (white)&lt;br /&gt;2 GB Ram&lt;br /&gt;Superdrive&lt;br /&gt;&lt;br /&gt;With Mr. Jamil and Mofidul Islam&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-6617608499536773585?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/6617608499536773585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=6617608499536773585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6617608499536773585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6617608499536773585'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/10/bought-macbook.html' title='Bought a MacBook'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/RwewjiV3NJI/AAAAAAAAAeE/BdtBACHaaKc/s72-c/index_frontrow20061108.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3471700948173819240</id><published>2007-09-27T17:38:00.002+06:00</published><updated>2008-02-26T02:20:12.970+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Check date in Java Script</title><content type='html'>here is my date check javascript.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;function leapyearcheck(year)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;if(year.value % 4 != 0)&lt;br /&gt;{&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;if(year.value % 100 != 0)&lt;br /&gt;{&lt;br /&gt;return 1; //leap year&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;   if(year.value % 400 != 0)&lt;br /&gt;   {&lt;br /&gt;   return 0&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   else&lt;br /&gt;   return 1;  //leap year&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function datecheck(day,month,year) //call this function&lt;br /&gt;{&lt;br /&gt;//alert(day.value);&lt;br /&gt;&lt;br /&gt;if(!leapyearcheck(year))&lt;br /&gt;{&lt;br /&gt;//alert("Not Leap Year");&lt;br /&gt;&lt;br /&gt;   if(month.value == 2)&lt;br /&gt;   {&lt;br /&gt;       if(day.value &gt; 28)&lt;br /&gt;       {&lt;br /&gt;       alert("Check the Day and Month");&lt;br /&gt;       return false;&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//alert("Leap Year");&lt;br /&gt;if(month.value == 2)&lt;br /&gt;   {&lt;br /&gt;       if(day.value &gt; 29)&lt;br /&gt;       {&lt;br /&gt;       alert("Check the Day and Month");&lt;br /&gt;       return false;&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Thanks to HasinHyder for a tricky one..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;var dt = new Date(year+"/02/29");&lt;br /&gt;if (dt.getMonth()=="1")&lt;br /&gt;alert (year + " is a leap year");&lt;br /&gt;else&lt;br /&gt;alert(year + " is not a leap year")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3471700948173819240?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3471700948173819240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3471700948173819240' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3471700948173819240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3471700948173819240'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/09/check-date-java-script.html' title='Check date in Java Script'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7607804087603085725</id><published>2007-09-27T17:21:00.000+06:00</published><updated>2007-09-27T18:29:21.556+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><title type='text'>mdb file in OpenOffice.org</title><content type='html'>To work with mdb file, open the OpenOffice.org-base select connect to an existing database, select Microsoft Access.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RvuS4nzM21I/AAAAAAAAAds/0rOYbd_CsH8/s1600-h/mdb.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RvuS4nzM21I/AAAAAAAAAds/0rOYbd_CsH8/s320/mdb.png" alt="" id="BLOGGER_PHOTO_ID_5114843303263394642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;browse the mdb file and you need to save a odb file that will enable you to view the tables,query etc on it.&lt;br /&gt;&lt;br /&gt;To copy the content of a table in OpenOffice.org Calc&lt;br /&gt;go to View--&gt; Data Sources&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RvuT63zM22I/AAAAAAAAAd0/u330e7EMPXU/s1600-h/data_source.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RvuT63zM22I/AAAAAAAAAd0/u330e7EMPXU/s320/data_source.png" alt="" id="BLOGGER_PHOTO_ID_5114844441429728098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;right click in the left pannel of in the database view option, click on the "Registered databases", click "New" and locate your created odb file.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RvuUr3zM23I/AAAAAAAAAd8/rouvWsBj990/s1600-h/copy_table.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RvuUr3zM23I/AAAAAAAAAd8/rouvWsBj990/s320/copy_table.png" alt="" id="BLOGGER_PHOTO_ID_5114845283243318130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the database you want to copy. Select the Queries/Tables and copy the content by righ click on the query/table name.&lt;br /&gt;&lt;br /&gt;Paste in the OpenOffice.org-Calc. Now you can save in ods, and also save as in different formats.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7607804087603085725?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7607804087603085725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7607804087603085725' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7607804087603085725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7607804087603085725'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/09/mdb-file-in-openofficeorg.html' title='mdb file in OpenOffice.org'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/RvuS4nzM21I/AAAAAAAAAds/0rOYbd_CsH8/s72-c/mdb.png' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1033180858459989406</id><published>2007-09-02T07:30:00.000+06:00</published><updated>2007-09-04T21:49:31.015+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Back from IIUC Open Source Camp - 5</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rt1-JZio2zI/AAAAAAAAAdk/ozLc5fx_cEw/s1600-h/S4020226.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rt1-JZio2zI/AAAAAAAAAdk/ozLc5fx_cEw/s320/S4020226.JPG" alt="" id="BLOGGER_PHOTO_ID_5106376252448103218" border="0" /&gt;&lt;/a&gt;Group Photo&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/7954055-1033180858459989406?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1033180858459989406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1033180858459989406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1033180858459989406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1033180858459989406'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/09/back-from-iiuc-open-source-camp-5.html' title='Back from IIUC Open Source Camp - 5'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/Rt1-JZio2zI/AAAAAAAAAdk/ozLc5fx_cEw/s72-c/S4020226.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-4784414759868589651</id><published>2007-08-30T13:30:00.000+06:00</published><updated>2007-09-04T21:49:21.290+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Starting for IIUC OSS Camp-5</title><content type='html'>Me (salahuddin66) , Mahay Alam Khan and Belayet Hossain starting for &lt;a href="http://en.wikipedia.org/wiki/International_Islamic_University,_Chittagong"&gt;IIUC&lt;/a&gt; OSS Camp-5 Chittagong.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;Open Source Camp - 5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;31th - 1th August 2007&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Chittagong"&gt;Chittagong&lt;/a&gt;, Bangladesh&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-4784414759868589651?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/4784414759868589651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=4784414759868589651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4784414759868589651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4784414759868589651'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/08/starting-for-iiuc-oss-camp-5.html' title='Starting for IIUC OSS Camp-5'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-9131636590650847951</id><published>2007-07-17T01:40:00.000+06:00</published><updated>2008-01-29T01:47:32.386+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'></title><content type='html'>Today I got success to configure phpbb with wordpress.It will enable the phpbb registered user to login the wordpress blog (after get approve from admin) with same id and password.I tried with phpBB-2.0.22 and wordpress-2.2.1Simply after install both in a same database.create a connections.php  in the &lt;i&gt;&lt;b&gt;includes&lt;/b&gt;&lt;/i&gt; directory of the phpbbconnections.php&lt;blockquote&gt;&amp;lt;?php$con = mysql_connect("localhost","your_username","your_password");&lt;/blockquote&gt;&lt;blockquote&gt;if (!$con){die('Could not connect: ' . mysql_error());}mysql_select_db("your_database", $con);?&amp;gt;&lt;/blockquote&gt;edit &lt;b&gt;includes/usercp_register.php&lt;/b&gt; of the phpbb&lt;b&gt;&lt;/b&gt;&lt;b&gt;around 630 lines&lt;/b&gt; you will find  some line like this&lt;blockquote&gt;/ Get current date//$sql = "INSERT INTO " . USERS_TABLE . "    (user_id, ...);&lt;/blockquote&gt;Bellow  this line add&lt;blockquote&gt;// added by salahuddin66include_once("connections.php");&lt;/blockquote&gt;&lt;blockquote&gt;$query = "INSERT INTO wp_users (user_login, user_nicename, display_name, user_pass,  user_email, user_registered)  VALUES ('" . str_replace("'", "''", $username) . "', '" . str_replace("'", "''", $username) . "', '". str_replace("'", "''", $username) . "', '" . str_replace("'", "''", $new_password) . "', '" . str_replace("'", "''", $email)."', NOW() )";&lt;/blockquote&gt;&lt;blockquote&gt;if (!mysql_query($query,$con)){die('Error: ' . mysql_error());}&lt;/blockquote&gt;&lt;blockquote&gt;// finish added by salahuddin66&lt;/blockquote&gt;done..Now the users will register for the phpbb forum will also register for the wordpress blog automatically.&lt;b&gt;&lt;i&gt;To enable his wordpress account, wordpress admin need to give him approve/some role.&lt;/i&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-9131636590650847951?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/9131636590650847951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=9131636590650847951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/9131636590650847951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/9131636590650847951'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/07/today-i-got-success-to-configure-phpbb.html' title=''/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5298212223796949803</id><published>2007-06-10T23:49:00.000+06:00</published><updated>2008-10-04T15:08:26.301+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gtk'/><title type='text'>My first GTK app</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmw6egJuiEI/AAAAAAAAAc4/ho5bq9E5BJY/s1600-h/bDict1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmw6egJuiEI/AAAAAAAAAc4/ho5bq9E5BJY/s400/bDict1.png" alt="" id="BLOGGER_PHOTO_ID_5074495175840925762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;bDict is my first GTK app. It is written in C using glade3,Glib and based on the &lt;span style="font-style: italic;"&gt;"Anubadok: The Bangla Machine Translator"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.bengalinux.org/cgi-bin/abhidhan/bdict.pl"&gt;http://www.bengalinux.org/cgi-bin/abhidhan/bdict.pl&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just create the GTK GUI for bdict&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-5298212223796949803?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5298212223796949803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5298212223796949803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5298212223796949803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5298212223796949803'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/06/my-frist-gtk-app.html' title='My first GTK app'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmw6egJuiEI/AAAAAAAAAc4/ho5bq9E5BJY/s72-c/bDict1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5375133754065830624</id><published>2007-06-10T19:12:00.001+06:00</published><updated>2007-06-10T19:14:02.463+06:00</updated><title type='text'>AIUB 4th OSS Camp on 8th and 9th June 2007</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmv4_wJuiDI/AAAAAAAAAcw/PDTL061Fts4/s1600-h/AIUB_OSS_Camp4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmv4_wJuiDI/AAAAAAAAAcw/PDTL061Fts4/s400/AIUB_OSS_Camp4.jpg" alt="" id="BLOGGER_PHOTO_ID_5074423179304142898" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Group Photo&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/7954055-5375133754065830624?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5375133754065830624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5375133754065830624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5375133754065830624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5375133754065830624'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/06/aiub-4th-oss-camp-on-8th-and-9th-june.html' title='AIUB 4th OSS Camp on 8th and 9th June 2007'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/Rmv4_wJuiDI/AAAAAAAAAcw/PDTL061Fts4/s72-c/AIUB_OSS_Camp4.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5234925606735445017</id><published>2007-06-01T16:16:00.000+06:00</published><updated>2007-06-01T16:26:35.594+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>Backup Evolution mails</title><content type='html'>Yesterday I backup my Evloution mails from my office hdd to home hdd.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Shutdown evolution and gconftool-2:&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt; &lt;pre&gt;&lt;blockquote&gt;$evolution --force-shutdown&lt;br /&gt;$gconftool-2 --shutdown&lt;/blockquote&gt;&lt;/pre&gt;&lt;p&gt;You need to backup this directory.&lt;br /&gt;&lt;/p&gt; &lt;blockquote&gt;~/.evolution/&lt;br /&gt;~/.gconf/apps/evolution/&lt;br /&gt;~/.gnome2_private/Evolution&lt;/blockquote&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;Create a tar.gz&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;blockquote&gt; $tar -cvzf evolution-backup.tar.gz .evolution .gconf/apps/evolution .gnome2_private/Evolution&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;To restore, use:&lt;pre&gt;&lt;blockquote&gt;$gconftool-2 --shutdown&lt;br /&gt;$evolution --force-shutdown&lt;br /&gt;$tar xzf evolution-backup.tar.gz&lt;br /&gt;$gconftool-2 --unload evolution_setting.xml&lt;br /&gt;$gconftool-2 --load evolution_setting.xml&lt;/blockquote&gt;&lt;/pre&gt;src: &lt;a href="http://ubuntu.wordpress.com/2005/12/03/how-to-backup-evolution/"&gt;http://ubuntu.wordpress.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-5234925606735445017?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5234925606735445017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5234925606735445017' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5234925606735445017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5234925606735445017'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/06/backup-evolution-mail.html' title='Backup Evolution mails'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2570886844035534359</id><published>2007-06-01T15:44:00.000+06:00</published><updated>2007-06-01T16:37:45.024+06:00</updated><title type='text'>Mysql C API  undefined reference to `mysql_init'</title><content type='html'>Today I was trying to compile simple program written in C to connect mysql&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ucl.ac.uk/is/mysql/c/"&gt;http://www.ucl.ac.uk/is/mysql/c/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.osix.net/modules/article/?id=517"&gt;http://www.osix.net/modules/article/?id=517&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;/tmp/ccetdBsn.o: In function `main':&lt;br /&gt;sqltest.c:(.text+0x35): undefined reference to `mysql_init'&lt;br /&gt;sqltest.c:(.text+0x77): undefined reference to `mysql_real_connect'&lt;br /&gt;sqltest.c:(.text+0x86): undefined reference to `mysql_error'&lt;br /&gt;sqltest.c:(.text+0xbf): undefined reference to `mysql_query'&lt;br /&gt;sqltest.c:(.text+0xce): undefined reference to `mysql_error'&lt;br /&gt;sqltest.c:(.text+0xfc): undefined reference to `mysql_use_result'&lt;br /&gt;sqltest.c:(.text+0x130): undefined reference to `mysql_fetch_row'&lt;br /&gt;sqltest.c:(.text+0x144): undefined reference to `mysql_free_result'&lt;br /&gt;sqltest.c:(.text+0x14f): undefined reference to `mysql_close'&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;I found some people also face this problem.&lt;br /&gt;&lt;br /&gt;The problem solved after giving&lt;br /&gt;&lt;pre&gt;gcc -o test  -L/usr/lib/mysql -lmysqlclient test.c&lt;br /&gt;&lt;br /&gt;src: &lt;a href="http://lists.mysql.com/mysql/200178"&gt;http://lists.mysql.com/mysql/200178&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-2570886844035534359?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2570886844035534359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2570886844035534359' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2570886844035534359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2570886844035534359'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/06/mysql-c-api-undefined-reference-to.html' title='Mysql C API  undefined reference to `mysql_init&apos;'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3314843033435181620</id><published>2007-05-25T22:04:00.000+06:00</published><updated>2007-05-26T02:27:50.404+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><title type='text'>Ram in Bangla in Debian Etch</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RlcRVdwRFoI/AAAAAAAAAco/dJWPlOfJ9vg/s1600-h/ankur_ram.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RlcRVdwRFoI/AAAAAAAAAco/dJWPlOfJ9vg/s400/ankur_ram.png" alt="" id="BLOGGER_PHOTO_ID_5068538966090782338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To type U+200D in ben_probhat use&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;"shift + ="&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RlcLBNwRFlI/AAAAAAAAAcI/WSJjR3ruezM/s1600-h/ram.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RlcLBNwRFlI/AAAAAAAAAcI/WSJjR3ruezM/s400/ram.png" alt="" id="BLOGGER_PHOTO_ID_5068532021128664658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;to write this in Debian Etch use (ben_probhat)&lt;br /&gt;&lt;br /&gt;r  + shift  + = + /  + shift + z   + a + m&lt;br /&gt;&lt;br /&gt;U+200D  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlcMQtwRFmI/AAAAAAAAAcQ/njOOzmHU7Vo/s1600-h/refglyph"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlcMQtwRFmI/AAAAAAAAAcQ/njOOzmHU7Vo/s400/refglyph" alt="" id="BLOGGER_PHOTO_ID_5068533386928264802" border="0" /&gt;&lt;/a&gt;  ZERO WIDTH JOINER&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/usr/share/X11/xkb/symbols/in&lt;br /&gt;&lt;blockquote&gt;xkb_symbols "ben_probhat" {&lt;br /&gt;name[Group1]= "India - Bengali Probhat";&lt;br /&gt;&lt;br /&gt;key &amp;lt;AE12&amp;gt; { [ equal,     0x100200D    ] };&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Special thanks and all credits goes to &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://sayamindu.randomink.org/"&gt;Sayamindu&lt;/a&gt;&lt;span style="font-weight: bold;"&gt; (who solve this problem in bn)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sayamindu.randomink.org/ramblings/2007/04/09/ra-japhala-in-bengali-bn-and-unicode-50/"&gt;http://sayamindu.randomink.org/ramblings/2007/04/09/ra-japhala-in-bengali-bn-and-unicode-50/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;thanks to &lt;a href="http://www.omiazad.net/"&gt;Omi Azad&lt;/a&gt; for sending me the &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RlcLBNwRFlI/AAAAAAAAAcI/WSJjR3ruezM/s1600-h/ram.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RlcLBNwRFlI/AAAAAAAAAcI/WSJjR3ruezM/s400/ram.png" alt="" id="BLOGGER_PHOTO_ID_5068532021128664658" border="0" /&gt;&lt;/a&gt; in pidgin&lt;br /&gt;&lt;br /&gt;Note: It also works in Ubuntu 7.04 (Feisty Fawn)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://unicode.org/faq/indic.html#17"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3314843033435181620?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3314843033435181620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3314843033435181620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3314843033435181620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3314843033435181620'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/ram-in-bangla-in-debian-etch.html' title='Ram in Bangla in Debian Etch'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/RlcRVdwRFoI/AAAAAAAAAco/dJWPlOfJ9vg/s72-c/ankur_ram.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3054561156936908533</id><published>2007-05-20T14:50:00.000+06:00</published><updated>2007-05-20T16:44:16.156+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><title type='text'>Bangla/Bengali In Debian Etch</title><content type='html'>Install this package.&lt;br /&gt;&lt;br /&gt;#apt-get install ttf-bengali-fonts ttf-indic-fonts&lt;br /&gt;&lt;br /&gt;you may need to restart your Xserver to view bangla/bengali.&lt;br /&gt;&lt;br /&gt;System--&gt;Preferences--&gt;Keyboard&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RlANptwRFhI/AAAAAAAAAbo/5mIXY34jrBs/s1600-h/1_bn.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RlANptwRFhI/AAAAAAAAAbo/5mIXY34jrBs/s400/1_bn.png" alt="" id="BLOGGER_PHOTO_ID_5066564591099647506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click Add&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlAN3dwRFkI/AAAAAAAAAcA/1eXrLwlifb8/s1600-h/2_bn.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlAN3dwRFkI/AAAAAAAAAcA/1eXrLwlifb8/s400/2_bn.png" alt="" id="BLOGGER_PHOTO_ID_5066564827322848834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlANzdwRFjI/AAAAAAAAAb4/B3hTrPGgP3w/s1600-h/3_bn.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RlANzdwRFjI/AAAAAAAAAb4/B3hTrPGgP3w/s400/3_bn.png" alt="" id="BLOGGER_PHOTO_ID_5066564758603372082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Layout Option---&gt;Group Shift/Lock behaviour (or use whatever you like)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RlANvtwRFiI/AAAAAAAAAbw/q9FC77hBxKI/s1600-h/4_bn.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RlANvtwRFiI/AAAAAAAAAbw/q9FC77hBxKI/s400/4_bn.png" alt="" id="BLOGGER_PHOTO_ID_5066564694178862626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now I can switch to Bangla/English by pressing two ALt key together.&lt;br /&gt;(Use any option here that you like)&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3054561156936908533?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3054561156936908533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3054561156936908533'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/banglabengali-in-debian-etch.html' title='Bangla/Bengali In Debian Etch'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/RlANptwRFhI/AAAAAAAAAbo/5mIXY34jrBs/s72-c/1_bn.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8919780679961881785</id><published>2007-05-18T11:22:00.000+06:00</published><updated>2007-05-18T13:06:20.379+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Xen Installation in debian etch</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.xensource.com/xen"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rk1HJ9wRFgI/AAAAAAAAAbg/BhqlzG_6wtE/s320/xensource_toplogo.gif" alt="" id="BLOGGER_PHOTO_ID_5065783392383079938" border="0" /&gt;&lt;/a&gt;Install &lt;a href="http://en.wikipedia.org/wiki/Xen"&gt;Xen&lt;/a&gt; first&lt;pre&gt;&lt;blockquote&gt;#apt-get update&lt;br /&gt;#apt-get install xen-hypervisor-3.0.3-1-i386  xen-utils-3.0.3-1&lt;br /&gt;#apt-get install linux-image-2.6.18-4-xen-686 &lt;/blockquote&gt;&lt;br /&gt;&lt;tt&gt;give the version no according to you deb repository.&lt;br /&gt;&lt;br /&gt;edit /etc/xen/xend-config.sxp&lt;br /&gt;------------------------------&lt;br /&gt;uncomment this two line&lt;/tt&gt;&lt;blockquote&gt;(network-script network-bridge)&lt;br /&gt;(vif-script vif-bridge)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Install tools for xen&lt;blockquote&gt;#apt-get install bridge-utils iproute sysfsutils libc6-xen xen-tools&lt;/blockquote&gt;&lt;br /&gt;Create a directory&lt;blockquote&gt;#mkdir /home/xen&lt;/blockquote&gt;&lt;br /&gt;edit &lt;tt&gt;/etc/xen-tools/xen-tools.conf&lt;br /&gt;&lt;br /&gt;here is my sample config file&lt;/tt&gt; (Here I am showing only uncomment part) &lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;dir = /home/xen&lt;br /&gt;debootstrap = 1&lt;br /&gt;#  Disk and Sizing options.&lt;br /&gt;##&lt;br /&gt;#&lt;br /&gt;size   = 1Gb      # Disk image size.&lt;br /&gt;memory = 128Mb    # Memory size&lt;br /&gt;swap   = 128Mb    # Swap size&lt;br /&gt;# noswap = 1      # Don't use swap at all for the new system.&lt;br /&gt;fs     = ext3     # use the EXT3 filesystem for the disk image.&lt;br /&gt;dist   = etch     # Default distribution to install.&lt;br /&gt;image  = full     # Specify sparse vs. full disk images.&lt;br /&gt;&lt;br /&gt;##&lt;br /&gt;# Networking setup values.&lt;br /&gt;##&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Uncomment and adjust these network settings if you wish to give your&lt;br /&gt;# new instances static IP addresses.&lt;br /&gt;#&lt;br /&gt;gateway   = 192.168.7.1&lt;br /&gt;netmask   = 255.255.255.0&lt;br /&gt;#&lt;br /&gt;# Uncomment this if you wish the images to use DHCP&lt;br /&gt;#&lt;br /&gt;# dhcp = 1&lt;br /&gt;&lt;br /&gt;# Uncomment the following line if you wish to interactively setup&lt;br /&gt;# a new root password for images.&lt;br /&gt;#&lt;br /&gt;passwd = 1&lt;br /&gt;&lt;br /&gt;# Default kernel and ramdisk to use for the virtual servers&lt;br /&gt;#&lt;br /&gt;kernel = /boot/vmlinuz-2.6.18-4-xen-686&lt;br /&gt;initrd = /boot/initrd.img-2.6.18-4-xen-686&lt;br /&gt;&lt;br /&gt;# The default mirror for debootstrap which can be used to install&lt;br /&gt;# Debian Sid, Sarge, and Etch.&lt;br /&gt;#&lt;br /&gt;mirror = http://ftp.debian.org/debian/&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;To create an image (here I am showing with debootstraping)&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;#xen-create-image --hostname=test --ip=192.168.7.90 --passwd&lt;br /&gt;&lt;/blockquote&gt;it will ask for the root passwd after finish the debootstrap.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit /etc/xen/test.cfg&lt;br /&gt;&lt;br /&gt;check the kernel version is correct for your system&lt;blockquote&gt;kernel = '/boot/vmlinuz-2.6.18-4-xen-686'&lt;br /&gt;ramdisk = '/boot/initrd.img-2.6.18-4-xen-686'&lt;/blockquote&gt;&lt;br /&gt;xen-tools generate the disk sda for me. Later I change it to hda&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;root    = '/dev/hda1 ro'&lt;br /&gt;disk    = [ 'file:/home/xen/domains/test/disk.img,hda1,w', 'file:/home/xen/domains/test/swap.img,hda2,w' ]&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;check you ip&lt;blockquote&gt;if  = [ 'ip=192.168.7.90' ]&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To start the vm&lt;blockquote&gt;#xm create test.cfg -c&lt;/blockquote&gt;&lt;br /&gt;it will start to boot (simple output)&lt;br /&gt;-------------------------------------&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;checking file systems...fsck 1.40-WIP (14-Nov-2006)&lt;br /&gt;done.&lt;br /&gt;Setting kernel variables...done.&lt;br /&gt;Mounting local filesystems...done.&lt;br /&gt;Activating swapfile swap...done.&lt;br /&gt;Setting up networking....&lt;br /&gt;Configuring network interfaces...done.&lt;br /&gt;INIT: Entering runlevel: 2&lt;br /&gt;Starting system log daemon: syslogd.&lt;br /&gt;Starting kernel log daemon: klogd.&lt;br /&gt;* Not starting internet superserver: no services enabled.&lt;br /&gt;Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10&lt;br /&gt;lo: Disabled Privacy Extensions&lt;br /&gt;IPv6 over IPv4 tunneling driver&lt;br /&gt;.&lt;br /&gt;Starting periodic command scheduler: crond.&lt;br /&gt;&lt;br /&gt;Debian GNU/Linux 4.0 test tty1&lt;br /&gt;&lt;br /&gt;test login:&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;or use&lt;blockquote&gt;#xenman&lt;/blockquote&gt;file--&gt;open Domain File&lt;br /&gt;and select the /etc/xen/test.cfg&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rk1DfdwRFfI/AAAAAAAAAbY/wlRAMlShOHs/s1600-h/xenman.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rk1DfdwRFfI/AAAAAAAAAbY/wlRAMlShOHs/s320/xenman.png" alt="" id="BLOGGER_PHOTO_ID_5065779363703756274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the nmap output for ip 192.168.7.90&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;Interesting ports on test (192.168.7.90):&lt;br /&gt;Not shown: 1696 closed ports&lt;br /&gt;PORT   STATE SERVICE&lt;br /&gt;22/tcp open  ssh&lt;br /&gt;MAC Address: 00:16:3E:1F:8F:58 (Xensource)&lt;br /&gt;Device type: general purpose&lt;br /&gt;Running: Linux 2.6.X&lt;br /&gt;OS details: Linux 2.6.17.9 (X86)&lt;br /&gt;Uptime: 198.839 days (since Tue Oct 31 15:09:34 2006)&lt;br /&gt;Network Distance: 1 hop&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now I can ssh to my 192.168.7.90&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;#debian:/home/salahuddin# ssh root@192.168.7.90&lt;br /&gt;root@192.168.7.90's password:&lt;br /&gt;Last login: Fri May 18 05:50:41 2007&lt;br /&gt;Linux test 2.6.18-4-xen-686 #1 SMP Mon Mar 26 21:49:04 UTC 2007 i686&lt;br /&gt;&lt;br /&gt;The programs included with the Debian GNU/Linux system are free software;&lt;br /&gt;the exact distribution terms for each program are described in the&lt;br /&gt;individual files in /usr/share/doc/*/copyright.&lt;br /&gt;&lt;br /&gt;Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent&lt;br /&gt;permitted by applicable law.&lt;br /&gt;test:~# ifconfig&lt;br /&gt;eth0      Link encap:Ethernet  HWaddr 00:16:3E:15:BC:3F&lt;br /&gt;      inet addr:192.168.7.90  Bcast:192.168.7.255  Mask:255.255.255.0&lt;br /&gt;      inet6 addr: fe80::216:3eff:fe15:bc3f/64 Scope:Link&lt;br /&gt;      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;      RX packets:92 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;      TX packets:36 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;      collisions:0 txqueuelen:1000&lt;br /&gt;      RX bytes:15420 (15.0 KiB)  TX bytes:5239 (5.1 KiB)&lt;br /&gt;&lt;br /&gt;lo        Link encap:Local Loopback&lt;br /&gt;      inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;      inet6 addr: ::1/128 Scope:Host&lt;br /&gt;      UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;      RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;      collisions:0 txqueuelen:0&lt;br /&gt;      RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;br /&gt;&lt;br /&gt;test:~#halt&lt;br /&gt;&lt;br /&gt;Broadcast message from root@test (ttyp0) (Fri May 18 06:16:58 2007):&lt;br /&gt;&lt;br /&gt;The system is going down for system halt NOW!&lt;br /&gt;test:~# Connection to 192.168.7.90 closed by remote host.&lt;br /&gt;Connection to 192.168.7.90 closed.&lt;br /&gt;debian:/home/salahuddin#&lt;/span&gt;&lt;br /&gt;&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt;&lt;br /&gt;Change your kernel path and disk config according to your system.&lt;br /&gt;First time I tried with image  = sparse in &lt;tt&gt;&lt;tt&gt;/etc/xen-tools/xen-tools.conf &lt;/tt&gt;&lt;/tt&gt;but it did not work for me.&lt;br /&gt;Later I give image  = full.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for more doc:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.debian.org/Xen"&gt;http://wiki.debian.org/Xen&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.debian-administration.org/articles/396"&gt;http://www.debian-administration.org/articles/396&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.howtoforge.com/perfect_setup_xen3_debian"&gt;http://www.howtoforge.com/perfect_setup_xen3_debian&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEdgy"&gt;https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEdgy&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8919780679961881785?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8919780679961881785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8919780679961881785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8919780679961881785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8919780679961881785'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/xen-installation-in-debian-etch.html' title='Xen Installation in debian etch'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/Rk1HJ9wRFgI/AAAAAAAAAbg/BhqlzG_6wtE/s72-c/xensource_toplogo.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-4404072060485480821</id><published>2007-05-17T13:14:00.000+06:00</published><updated>2007-05-17T13:41:23.351+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>Simple Bird in Inskscape</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.inkscape.org/"&gt;&lt;img style="cursor: pointer; width: 180px; height: 34px;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv269wRFPI/AAAAAAAAAZA/MJtS6EXPg_E/s400/inkscape_logo.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Inkscape Logo.&lt;br /&gt;&lt;br /&gt;Here is my simple bird I design it using Inkscape. See the image step by step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwBctwRFdI/AAAAAAAAAbE/XkJCQaZ9pFk/s1600-h/1.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwBctwRFdI/AAAAAAAAAbE/XkJCQaZ9pFk/s400/1.png" alt="" id="BLOGGER_PHOTO_ID_5065425273714972114" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwBZdwRFcI/AAAAAAAAAa8/XXLW5NhH6tU/s1600-h/2.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwBZdwRFcI/AAAAAAAAAa8/XXLW5NhH6tU/s400/2.png" alt="" id="BLOGGER_PHOTO_ID_5065425217880397250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkwBVNwRFbI/AAAAAAAAAa0/NidhoNNX6bE/s1600-h/3.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkwBVNwRFbI/AAAAAAAAAa0/NidhoNNX6bE/s400/3.png" alt="" id="BLOGGER_PHOTO_ID_5065425144865953202" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkwBRNwRFaI/AAAAAAAAAas/W8YZNblLJaE/s1600-h/4.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkwBRNwRFaI/AAAAAAAAAas/W8YZNblLJaE/s400/4.png" alt="" id="BLOGGER_PHOTO_ID_5065425076146476450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkwBI9wRFZI/AAAAAAAAAak/Z8GdB1Af1Oc/s1600-h/5.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkwBI9wRFZI/AAAAAAAAAak/Z8GdB1Af1Oc/s400/5.png" alt="" id="BLOGGER_PHOTO_ID_5065424934412555666" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwBFdwRFYI/AAAAAAAAAac/BEnZE8ASHsY/s1600-h/6.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwBFdwRFYI/AAAAAAAAAac/BEnZE8ASHsY/s400/6.png" alt="" id="BLOGGER_PHOTO_ID_5065424874283013506" border="0" /&gt;&lt;/a&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwBCtwRFXI/AAAAAAAAAaU/e9796O19-Zk/s1600-h/7.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwBCtwRFXI/AAAAAAAAAaU/e9796O19-Zk/s400/7.png" alt="" id="BLOGGER_PHOTO_ID_5065424827038373234" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwA_dwRFWI/AAAAAAAAAaM/-uXYpDfWoOs/s1600-h/8.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkwA_dwRFWI/AAAAAAAAAaM/-uXYpDfWoOs/s400/8.png" alt="" id="BLOGGER_PHOTO_ID_5065424771203798370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At last.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwA7twRFVI/AAAAAAAAAaE/tL-RgDfyefM/s1600-h/final.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkwA7twRFVI/AAAAAAAAAaE/tL-RgDfyefM/s400/final.png" alt="" id="BLOGGER_PHOTO_ID_5065424706779288914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note: First get an original picture of the bird then see it carefully and start you design.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-4404072060485480821?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/4404072060485480821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=4404072060485480821' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4404072060485480821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/4404072060485480821'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/simple-bird-in-inskscape.html' title='Simple Bird in Inskscape'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv269wRFPI/AAAAAAAAAZA/MJtS6EXPg_E/s72-c/inkscape_logo.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5329555695232819112</id><published>2007-05-17T12:27:00.000+06:00</published><updated>2007-05-17T12:54:05.379+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>Simple 3d ball in Inkscape</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.inkscape.org/"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv269wRFPI/AAAAAAAAAZA/MJtS6EXPg_E/s400/inkscape_logo.png" alt="" id="BLOGGER_PHOTO_ID_5065413698778109170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Inkscape Logo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here I am designing a simple 3d ball.&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv229wRFOI/AAAAAAAAAY4/oZoaioRYx8E/s1600-h/design_ball_1.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv229wRFOI/AAAAAAAAAY4/oZoaioRYx8E/s400/design_ball_1.png" alt="" id="BLOGGER_PHOTO_ID_5065413630058632418" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv72dwRFSI/AAAAAAAAAZs/SzECYzTQ784/s1600-h/design_ball_2.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv72dwRFSI/AAAAAAAAAZs/SzECYzTQ784/s400/design_ball_2.png" alt="" id="BLOGGER_PHOTO_ID_5065419119026836770" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rkv76twRFTI/AAAAAAAAAZ0/BmYDIamGv9Y/s1600-h/design_ball_3.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rkv76twRFTI/AAAAAAAAAZ0/BmYDIamGv9Y/s400/design_ball_3.png" alt="" id="BLOGGER_PHOTO_ID_5065419192041280818" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv7-dwRFUI/AAAAAAAAAZ8/y5qBhClzAdw/s1600-h/design_ball_4.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv7-dwRFUI/AAAAAAAAAZ8/y5qBhClzAdw/s400/design_ball_4.png" alt="" id="BLOGGER_PHOTO_ID_5065419256465790274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;See the image step by step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv2kdwRFKI/AAAAAAAAAYY/krbLuBhkLww/s1600-h/design_ball_5.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rkv2kdwRFKI/AAAAAAAAAYY/krbLuBhkLww/s400/design_ball_5.png" alt="" id="BLOGGER_PHOTO_ID_5065413312231052450" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv2g9wRFJI/AAAAAAAAAYQ/-AVloKa4yNc/s1600-h/design_ball_6.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv2g9wRFJI/AAAAAAAAAYQ/-AVloKa4yNc/s400/design_ball_6.png" alt="" id="BLOGGER_PHOTO_ID_5065413252101510290" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rkv2eNwRFII/AAAAAAAAAYI/nhu1Q2H1STM/s1600-h/design_ball_7.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rkv2eNwRFII/AAAAAAAAAYI/nhu1Q2H1STM/s400/design_ball_7.png" alt="" id="BLOGGER_PHOTO_ID_5065413204856870018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the last I am trying to create a shadow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv2Z9wRFHI/AAAAAAAAAYA/3gBbGmV6Q0U/s1600-h/design_ball_8.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv2Z9wRFHI/AAAAAAAAAYA/3gBbGmV6Q0U/s400/design_ball_8.png" alt="" id="BLOGGER_PHOTO_ID_5065413131842425970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I give some effect to the shadow, like the real world, then rotate our light direction in the ball so that it match or follow our real world.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Always think about the real world rules that the materials and light follow.&lt;br /&gt;&lt;br /&gt;This is just a simple design for the beginner...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-5329555695232819112?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5329555695232819112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5329555695232819112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5329555695232819112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5329555695232819112'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/simple-3d-ball-in-inkscape.html' title='Simple 3d ball in Inkscape'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/Rkv269wRFPI/AAAAAAAAAZA/MJtS6EXPg_E/s72-c/inkscape_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3404337322010913026</id><published>2007-05-16T10:34:00.000+06:00</published><updated>2007-05-16T10:41:37.195+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><title type='text'>Post Html code in Blog</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkqKttwRFGI/AAAAAAAAAX4/ETrrxoUraYM/s1600-h/html_blog.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkqKttwRFGI/AAAAAAAAAX4/ETrrxoUraYM/s400/html_blog.png" alt="" id="BLOGGER_PHOTO_ID_5065013248912331874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;to post html code in your blog or in a html page. Just convert the HTML code to Special characters. (so simple)&lt;br /&gt;&lt;br /&gt;src: http://hjem.get2net.dk/fec/shtmlc/shtmlc.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3404337322010913026?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3404337322010913026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3404337322010913026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3404337322010913026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3404337322010913026'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/post-html-code-in-blog.html' title='Post Html code in Blog'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/RkqKttwRFGI/AAAAAAAAAX4/ETrrxoUraYM/s72-c/html_blog.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3487815286234912680</id><published>2007-05-15T21:33:00.000+06:00</published><updated>2007-05-16T10:54:37.271+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ankurbangla'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>Bangla to Hex</title><content type='html'>Here is my Bangla to Hex converter using php and little ajax. Thanks to Mr. Jamil for giving me this idea.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RknTEsJ_7zI/AAAAAAAAAXw/uArYLDS-GFE/s1600-h/ankur_hex.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RknTEsJ_7zI/AAAAAAAAAXw/uArYLDS-GFE/s400/ankur_hex.png" alt="" id="BLOGGER_PHOTO_ID_5064811333480869682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;index.php&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="ajax.js"&amp;gt; &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;div align="center"&amp;gt;&amp;lt;h1&amp;gt;Bangla HEX&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div align="center"&amp;gt;salahuddin66.blogspot.com&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;form&amp;gt;&lt;br /&gt;Input in UTF-8: &amp;lt;input type="text" name="input" onkeyup="show(this.value)"&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;Hex:  &amp;lt;span id="txtHint"&amp;gt;&amp;lt;/span&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;span style="font-size:130%;"&gt;&lt;br /&gt;ajax.js&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;var xmlHttp&lt;br /&gt;&lt;br /&gt;function show(str0)&lt;br /&gt;{&lt;br /&gt;xmlHttp=GetXmlHttpObject()&lt;br /&gt;if (xmlHttp==null)&lt;br /&gt;{&lt;br /&gt;alert ("Browser does not support HTTP Request")&lt;br /&gt;return&lt;br /&gt;}&lt;br /&gt;var url="show.php"&lt;br /&gt;url=url+"?q="+str0&lt;br /&gt;url=url+"&amp;sid="+Math.random()&lt;br /&gt;xmlHttp.onreadystatechange=stateChanged&lt;br /&gt;xmlHttp.open("GET",url,true)&lt;br /&gt;xmlHttp.send(null)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function stateChanged()&lt;br /&gt;{&lt;br /&gt;if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")&lt;br /&gt;{&lt;br /&gt;document.getElementById("txtHint").innerHTML=xmlHttp.responseText&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function GetXmlHttpObject()&lt;br /&gt;{&lt;br /&gt;var xmlHttp=null;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;// Firefox, Opera 8.0+, Safari&lt;br /&gt;xmlHttp=new XMLHttpRequest();&lt;br /&gt;}&lt;br /&gt;catch (e)&lt;br /&gt;{&lt;br /&gt;//Internet Explorer&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");&lt;br /&gt;}&lt;br /&gt;catch (e)&lt;br /&gt;{&lt;br /&gt;xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;return xmlHttp;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;show.php&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;$q=$_GET[&amp;quot;q&amp;quot;];&lt;br /&gt;&lt;br /&gt;unibin2hex($q);&lt;br /&gt;&lt;br /&gt;function unibin2hex($u) {&lt;br /&gt;    $k = mb_convert_encoding($u, 'UCS-2LE', 'UTF-8');&lt;br /&gt;                &lt;br /&gt;    $position = 0;&lt;br /&gt;&lt;br /&gt;    $run = strlen($u)/3;&lt;br /&gt;  &lt;br /&gt;    for($i=0; $i&lt;$run; $i++)  //bengali char strlen return 3 for one char so div by 3 . Here run the loop for i&lt;br /&gt;    {&lt;br /&gt;   &lt;br /&gt;    $k1 = bin2hex(substr($k, $position, 1)); //convert unicode part by part using bin2hex using substr&lt;br /&gt;    $k2 = bin2hex(substr($k, $position+1, 1));&lt;br /&gt;     &lt;br /&gt;    $out = $k2.$k1; //combine two sub scring that we use to convert.&lt;br /&gt; &lt;br /&gt;    echo &amp;quot; &amp;quot;. $out; // out&lt;br /&gt; &lt;br /&gt;    $position  =  $position +2; //here we are converting part by part by so we need to increase 2 in every step&lt;br /&gt;    &lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3487815286234912680?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3487815286234912680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3487815286234912680' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3487815286234912680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3487815286234912680'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/here-is-sample-of-bangla-to-hex-using.html' title='Bangla to Hex'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/RknTEsJ_7zI/AAAAAAAAAXw/uArYLDS-GFE/s72-c/ankur_hex.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1485901666902421999</id><published>2007-05-15T18:02:00.002+06:00</published><updated>2009-01-30T23:20:21.469+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>HDD Partitioning in Linux</title><content type='html'>Technically, a hard disk should contain either as many as &lt;b&gt;four&lt;/b&gt; primary partitions, or one to three primaries along with a single extended partition. Each of these partitions are described by a 16-byte entry in the &lt;b&gt;Partition Table&lt;/b&gt; which is located in the &lt;a href="http://en.wikipedia.org/wiki/Master_Boot_Record" title="Master Boot Record"&gt;Master Boot Record&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;src: &lt;a href="http://en.wikipedia.org/wiki/Partition_%28computing%29"&gt;http://en.wikipedia.org/wiki/Partition_(computing)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Many poeple confused with Linux partitioning system when they are installing Linux for the first time. In linux they see hda1 then hda5 but they are familiar with C:, D: etc&lt;br /&gt;&lt;br /&gt;your HDD can be recognize by hda, hdb,hdc,hdd, sda, sdb etc depending on the master, slave and cable position. Here i am describing with hda&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rkmy_sJ_7vI/AAAAAAAAAXM/L7PFY5DmHi4/s1600-h/4_primary.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rkmy_sJ_7vI/AAAAAAAAAXM/L7PFY5DmHi4/s320/4_primary.png" alt="" id="BLOGGER_PHOTO_ID_5064776063209434866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A HDD with 4 Primary Partitions&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmzlsJ_7wI/AAAAAAAAAXU/nQaE9mU_vMA/s1600-h/3_primary.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmzlsJ_7wI/AAAAAAAAAXU/nQaE9mU_vMA/s320/3_primary.png" alt="" id="BLOGGER_PHOTO_ID_5064776716044463874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;here hda4 is the full extended partion so extended partition start from hda5&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rkm0BMJ_7xI/AAAAAAAAAXc/nxmY17XfanM/s1600-h/1_primary.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rkm0BMJ_7xI/AAAAAAAAAXc/nxmY17XfanM/s320/1_primary.png" alt="" id="BLOGGER_PHOTO_ID_5064777188490866450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;generally a windows / most of the PC has this type of partition system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;here hda2 is the full extended partion and hda3 and hda4 are reserved as we can create 2 more primary partitions so extended partition start from hda5&lt;br /&gt;&lt;br /&gt;Extended partition generally start from hda5&lt;br /&gt;&lt;br /&gt;so if anyone want to install linux in his G: drive then he need to delete the hda8 then create 2 partitions&lt;br /&gt;&lt;br /&gt;one swap space (it can be compare with windows virtual memory) ram * 2 (size recomanded) and another root / partition.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; I would suggest to create swap first then root / partition and at the last of the HDD sector more then or  at least 8 MB free unallocated space. When user need to reinstall windows sometimes it creates problem, if there is no free unallocated space.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1485901666902421999?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1485901666902421999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1485901666902421999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1485901666902421999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1485901666902421999'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/hardisk-partitioning-in-linux.html' title='HDD Partitioning in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/Rkmy_sJ_7vI/AAAAAAAAAXM/L7PFY5DmHi4/s72-c/4_primary.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5421972519375732893</id><published>2007-05-13T11:39:00.001+06:00</published><updated>2007-05-14T20:22:15.394+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Back from JU Open Source Camp - 3</title><content type='html'>Just back from &lt;a href="http://en.wikipedia.org/wiki/Jahangirnagar_University"&gt;Jahangirnagar University&lt;/a&gt;&lt;a href="http://en.wikipedia.org/wiki/Jahangirnagar_University"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkarQ8J_7eI/AAAAAAAAAU8/3DDe3krEa3c/s1600-h/DSC03813.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkarQ8J_7eI/AAAAAAAAAU8/3DDe3krEa3c/s320/DSC03813.jpg" alt="" id="BLOGGER_PHOTO_ID_5063923138539023842" border="0" /&gt;&lt;/a&gt;Group Photo&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkhwEcJ_7lI/AAAAAAAAAV8/wsBOtfaJEHg/s1600-h/DSC03727.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/RkhwEcJ_7lI/AAAAAAAAAV8/wsBOtfaJEHg/s320/DSC03727.JPG" alt="" id="BLOGGER_PHOTO_ID_5064421002558041682" border="0" /&gt;&lt;/a&gt;Organizer with Guest&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/7954055-5421972519375732893?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5421972519375732893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5421972519375732893' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5421972519375732893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5421972519375732893'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/back-from-ju.html' title='Back from JU Open Source Camp - 3'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/RkarQ8J_7eI/AAAAAAAAAU8/3DDe3krEa3c/s72-c/DSC03813.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2734394040573793541</id><published>2007-05-10T17:00:00.000+06:00</published><updated>2007-05-13T23:00:22.517+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Going to JU Open Source Camp - 3</title><content type='html'>Me (salahuddin66), Jamil Ahmed, Suzan, Zaher is starting for &lt;a href="http://en.wikipedia.org/wiki/Jahangirnagar_University"&gt;Jahangirnagar University&lt;/a&gt; to attend the&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;Open Source Camp - 3&lt;br /&gt;Sponsored by Prime Bank&lt;br /&gt;11th - 12th May 2007&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Savar"&gt;Savar&lt;/a&gt;, Bangladesh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-2734394040573793541?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2734394040573793541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2734394040573793541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2734394040573793541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2734394040573793541'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/going-to-ju.html' title='Going to JU Open Source Camp - 3'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-1083145632191172325</id><published>2007-05-07T00:04:00.000+06:00</published><updated>2007-05-07T12:55:14.168+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>Recover GRUB after reinstall windows</title><content type='html'>Boot using a Live CD or Installation CD.&lt;br /&gt;&lt;br /&gt;mount your linux partition. Chroot, mount /proc and give the grub specific command to overwrite or update the mbr or where you want.&lt;br /&gt;&lt;br /&gt;like my Linux root in /dev/hda6&lt;br /&gt;&lt;br /&gt;after boot with the Live CD&lt;br /&gt;&lt;blockquote&gt;#mkdir /mnt/lin (create a folder to use as a mount point)&lt;br /&gt;#mount /dev/hda6 /mnt/lin&lt;br /&gt;#chroot /mnt/lin&lt;br /&gt;# mount /proc&lt;br /&gt;#grub-install /dev/hda&lt;br /&gt;or&lt;br /&gt;#update-grub&lt;/blockquote&gt;&lt;br /&gt;the update-grub and grub-install command will work of Debian, Ubuntu and Debian based distro. If your are using other distribution. Read their grub policy and command. Here chroot will enable you to access the existing Linux system using the live CD kernel.&lt;br /&gt;&lt;br /&gt;note: If you use normal Installation CD to recover grub then you might need to give the path known by the kernel. Like then you may need to use ../disc0/part4/ etc instead of /dev/hda6. You can find the exact path by execution a script called os-prober that generally comes with the installation CD of Debian.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-1083145632191172325?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/1083145632191172325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=1083145632191172325' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1083145632191172325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/1083145632191172325'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/05/recover-grub-after-reinstall-windows.html' title='Recover GRUB after reinstall windows'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7412759742710250586</id><published>2007-04-30T22:42:00.000+06:00</published><updated>2007-04-30T22:48:59.793+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>./config.guess: No such file or directory</title><content type='html'>today i was trying to compile gaim, I installed autoconf, automake and other necessary libs to compile but it show me&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;salahuddin@debian:~/Desktop/compile/gaim-1.5.0$ ./configure&lt;br /&gt;checking build system type... /bin/sh: ./config.guess: No such file or directory&lt;br /&gt;configure: error: cannot guess build type; you must specify one&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;later I found it is a err of automake in my Debian testing&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;debian:/home/salahuddin/Desktop/compile/gaim-1.5.0# automake --add-missing&lt;br /&gt;configure.ac:5: version mismatch.  This is Automake 1.10,&lt;br /&gt;configure.ac:5: but the definition used by this AM_INIT_AUTOMAKE&lt;br /&gt;configure.ac:5: comes from Automake 1.9.5.  You should recreate&lt;br /&gt;configure.ac:5: aclocal.m4 with aclocal and run automake again.&lt;br /&gt;configure.ac:38: required file `./config.rpath' not found&lt;br /&gt;configure.ac:3: installing `./config.guess'&lt;br /&gt;src/protocols/gg/Makefile.am:7: compiling `libgg.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'&lt;br /&gt;Makefile.am: required file `./README' not found&lt;br /&gt;Makefile.am: installing `./COPYING'&lt;br /&gt;configure.ac:1201: required file `plugins/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/docklet/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/gevolution/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/gaim-remote/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/gestures/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/perl/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/perl/common/Makefile.PL.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/ssl/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/tcl/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `plugins/ticker/Makefile.in' not found&lt;br /&gt;configure.ac:1201: required file `sounds/Makefile.in' not found&lt;br /&gt;Makefile.am:43: required directory ./plugins does not exist&lt;br /&gt;Makefile.am:43: required directory ./sounds does not exist&lt;br /&gt;debian:/home/salahuddin/Desktop/compile/gaim-1.5.0#&lt;/span&gt;&lt;/blockquote&gt;The problem solved &amp;amp; now while i give ./configure&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;salahuddin@debian:~/Desktop/compile/gaim-1.5.0$ ./configure&lt;br /&gt;checking build system type... i686-pc-linux-gnu&lt;br /&gt;checking host system type... i686-pc-linux-gnu&lt;br /&gt;checking target system type... i686-pc-linux-gnu&lt;br /&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;br /&gt;checking whether build environment is sane... yes&lt;/span&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/7954055-7412759742710250586?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7412759742710250586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7412759742710250586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7412759742710250586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7412759742710250586'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/04/configguess-no-such-file-or-directory.html' title='./config.guess: No such file or directory'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-6224527190414254475</id><published>2007-04-19T17:41:00.000+06:00</published><updated>2007-05-13T17:30:25.198+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>My debian package</title><content type='html'>My debian package&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rj2_JsJ_7bI/AAAAAAAAAUk/IcznPgjwo7g/s1600-h/apollon_deb.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rj2_JsJ_7bI/AAAAAAAAAUk/IcznPgjwo7g/s320/apollon_deb.png" alt="" id="BLOGGER_PHOTO_ID_5061411729427131826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;apollon 1.0.2.1-2 MIGRATED to testing &lt;a href="http://packages.qa.debian.org/a/apollon.html"&gt;link&lt;/a&gt;&lt;a href="http://packages.qa.debian.org/a/apollon.html"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rj2_YcJ_7cI/AAAAAAAAAUs/NIlBQlJamGY/s1600-h/c-sig_deb.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/Rj2_YcJ_7cI/AAAAAAAAAUs/NIlBQlJamGY/s320/c-sig_deb.png" alt="" id="BLOGGER_PHOTO_ID_5061411982830202306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;c-sig 3.8-11 MIGRATED to testing &lt;a href="http://packages.qa.debian.org/c/c-sig.html"&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;special thanks to my sponsor Matthew Grant&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-6224527190414254475?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/6224527190414254475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=6224527190414254475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6224527190414254475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/6224527190414254475'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/04/my-debian-package-apollon-1.html' title='My debian package'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/Rj2_JsJ_7bI/AAAAAAAAAUk/IcznPgjwo7g/s72-c/apollon_deb.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-8657028888875389024</id><published>2007-04-09T23:43:00.001+06:00</published><updated>2008-06-27T23:56:10.288+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><title type='text'>Install Debian GNU/Hurd</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.gnu.org/software/hurd/hurd.html"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rhp_kazbWBI/AAAAAAAAAK0/GG_v2VGYWKM/s320/hurd_sm_mf.jpg" alt="" id="BLOGGER_PHOTO_ID_5051490195696474130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have installed Debian GNU/Hurd in my PC for testing.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;(i am installing in hda1)&lt;br /&gt;&lt;/span&gt;#mke2fs -b 4096 -o hurd /dev/hda1&lt;br /&gt;#mount -t ext2 /dev/hda1 /gnu&lt;br /&gt;#cd /gnu&lt;br /&gt;#tar --same-owner -xvjpf ~/gnu.tar.bz2&lt;br /&gt;&lt;br /&gt;I add in my /boot/grub/menu.list&lt;br /&gt;&lt;blockquote&gt;    title Debian GNU/Hurd&lt;br /&gt; kernel (hd0,0)/boot/gnumach.gz root=device:hd0s1 -s&lt;br /&gt; module (hd0,0)/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \&lt;br /&gt; --host-priv-port=${host-port} --device-master-port=${device-port} \&lt;br /&gt; --exec-server-task=${exec-task} -T typed ${root} $(task-create) \&lt;br /&gt; $(task-resume)&lt;br /&gt; module (hd0,0)/lib/ld.so.1 /hurd/exec $(exec-task=task-create)&lt;br /&gt; savedefault&lt;/blockquote&gt;&lt;br /&gt;Here Hurd has not yet been configured, it must be started in single user mode. Adding a `-s'.&lt;br /&gt;Assuming that the first drive (i.e. `(hd0)') is the master on the primary controller.&lt;br /&gt;&lt;br /&gt;boot into your Hurd system. give "login root"&lt;br /&gt;&lt;br /&gt; &gt;login root&lt;br /&gt; # export TERM=mach&lt;br /&gt;&lt;br /&gt; to setup packages and hurd&lt;br /&gt; # ./native-install&lt;br /&gt;&lt;br /&gt;reboot and edit /boot/grub/menu.list (just remove the -s option) the grub you are using at that time.&lt;br /&gt;&lt;blockquote&gt;    title Debian GNU/Hurd&lt;br /&gt; kernel (hd0,0)/boot/gnumach.gz root=device:hd0s1&lt;br /&gt; module (hd0,0)/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \&lt;br /&gt; --host-priv-port=${host-port} --device-master-port=${device-port} \&lt;br /&gt; --exec-server-task=${exec-task} -T typed ${root} $(task-create) \&lt;br /&gt; $(task-resume)&lt;br /&gt; module (hd0,0)/lib/ld.so.1 /hurd/exec $(exec-task=task-create)&lt;br /&gt; savedefault&lt;/blockquote&gt;boot the hund again and give the ./native-install again to finish the setup.&lt;br /&gt;&lt;br /&gt;GNU Hurd &lt;a href="http://www.gnu.org/software/hurd/hurd.html"&gt;Link&lt;/a&gt;&lt;br /&gt;Debian GNU/Hurd install &lt;a href="http://www.debian.org/ports/hurd/hurd-install"&gt;Link&lt;/a&gt;&lt;br /&gt;Hurd Live CD &lt;a href="http://www.superunprivileged.org/hurd/live-cd/"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-8657028888875389024?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/8657028888875389024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=8657028888875389024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8657028888875389024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/8657028888875389024'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/04/install-debian-gnuhurd.html' title='Install Debian GNU/Hurd'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/Rhp_kazbWBI/AAAAAAAAAK0/GG_v2VGYWKM/s72-c/hurd_sm_mf.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-259114001091601689</id><published>2007-03-28T01:06:00.000+06:00</published><updated>2007-03-28T01:30:54.008+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><title type='text'>Install Compiz in Debian Sid</title><content type='html'>#apt-get install compiz compiz-gnome compiz-gtk&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rglwv9bu-1I/AAAAAAAAAKs/2zZvpFA13Lw/s1600-h/Screenshot-2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/Rglwv9bu-1I/AAAAAAAAAKs/2zZvpFA13Lw/s200/Screenshot-2.png" alt="" id="BLOGGER_PHOTO_ID_5046688826692402002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RglrnNbu-0I/AAAAAAAAAKk/3gIr-EEvnc8/s1600-h/Screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RglrnNbu-0I/AAAAAAAAAKk/3gIr-EEvnc8/s200/Screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5046683178810407746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;for the x.org config read more &lt;a href="http://wiki.debian.org/Compiz"&gt;click here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-259114001091601689?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/259114001091601689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=259114001091601689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/259114001091601689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/259114001091601689'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/03/install-compiz-in-debian-sid.html' title='Install Compiz in Debian Sid'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_g-q7zXM0b-c/Rglwv9bu-1I/AAAAAAAAAKs/2zZvpFA13Lw/s72-c/Screenshot-2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-397076251921277009</id><published>2007-03-25T23:30:00.000+06:00</published><updated>2007-05-13T17:30:55.861+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Back From SUST Open Source Camp-1</title><content type='html'>Back from &lt;a href="http://en.wikipedia.org/wiki/Shahjalal_University_of_Science_and_Technology"&gt;SUST&lt;/a&gt; Open Source Camp-1&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkattsJ_7fI/AAAAAAAAAVE/oLx4ZPKhcVI/s1600-h/dsc09110.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkattsJ_7fI/AAAAAAAAAVE/oLx4ZPKhcVI/s320/dsc09110.jpg" alt="" id="BLOGGER_PHOTO_ID_5063925831483518450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;from right Anir bhai, Mak bhai, Munir bhai, Jamil Ahmed, Salahuddin66 (me) , Zaher walking&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Shahjalal_University_of_Science_and_Technology"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-397076251921277009?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/397076251921277009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=397076251921277009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/397076251921277009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/397076251921277009'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/03/back-from-sust.html' title='Back From SUST Open Source Camp-1'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_g-q7zXM0b-c/RkattsJ_7fI/AAAAAAAAAVE/oLx4ZPKhcVI/s72-c/dsc09110.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2278610421182029231</id><published>2007-03-22T10:30:00.000+06:00</published><updated>2007-05-13T17:30:43.834+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensource'/><title type='text'>Going to SUST Open Source Camp-1</title><content type='html'>I am going to attend &lt;a href="http://en.wikipedia.org/wiki/Shahjalal_University_of_Science_and_Technology"&gt;SUST&lt;/a&gt; &lt;span&gt;(Shahjalal University of Science and Technology )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;Open Source Camp - 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Sponsored by Rangs Tel&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;23th - 24th March 2007&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Sylhet"&gt;Sylhet&lt;/a&gt;, Bangladesh&lt;/span&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/7954055-2278610421182029231?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2278610421182029231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2278610421182029231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2278610421182029231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2278610421182029231'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/03/going-to-sylher-sust-open-source-camp-1.html' title='Going to SUST Open Source Camp-1'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-587749032141298782</id><published>2007-01-15T23:02:00.000+06:00</published><updated>2007-01-16T14:27:00.474+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>Siemens-Sk65 udev script for GPRS</title><content type='html'>When I use GPRS some times my phone move to ttyUSB0 to ttyUSB1 and it disconnect me.&lt;br /&gt;&lt;br /&gt;For the details doc: &lt;a href="http://www.reactivated.net/writing_udev_rules.html"&gt;click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just add this in my &lt;span style="font-style: italic;"&gt;udev.rules&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;KERNEL=="ttyUSB*", BUS=="usb", SYMLINK+="siemens-sk65"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;then in my wvdial.conf&lt;br /&gt;&lt;blockquote&gt;Modem = /dev/siemens-sk65&lt;/blockquote&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;blockquote&gt;Jan 16 13:30:29 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 3&lt;br /&gt;Jan 16 13:30:29 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice&lt;br /&gt;Jan 16 13:30:29 localhost kernel: pl2303 4-2:1.0: pl2303 converter detected&lt;br /&gt;Jan 16 13:30:29 localhost kernel: usb 4-2: pl2303 converter now attached to ttyUSB0&lt;br /&gt;Jan 16 13:30:52 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California&lt;br /&gt;Jan 16 13:30:52 localhost kernel: PPP generic driver version 2.4.2&lt;br /&gt;Jan 16 13:30:52 localhost pppd[3339]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;Jan 16 13:30:53 localhost pppd[3339]: Using interface ppp0&lt;br /&gt;Jan 16 13:30:53 localhost pppd[3339]: Connect: ppp0 &lt;--&gt; /dev/ttyUSB0&lt;br /&gt;Jan 16 13:30:55 localhost pppd[3339]: CHAP authentication succeeded&lt;br /&gt;Jan 16 13:30:55 localhost pppd[3339]: CHAP authentication succeeded&lt;br /&gt;Jan 16 13:30:55 localhost kernel: PPP BSD Compression module registered&lt;br /&gt;Jan 16 13:30:55 localhost kernel: PPP Deflate Compression module registered&lt;br /&gt;Jan 16 13:31:25 localhost pppd[3339]: IPCP: timeout sending Config-Requests&lt;br /&gt;Jan 16 13:31:25 localhost pppd[3339]: Connection terminated.&lt;br /&gt;Jan 16 13:31:25 localhost pppd[3339]: Exit.&lt;br /&gt;Jan 16 13:31:33 localhost pppd[3388]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;Jan 16 13:31:33 localhost pppd[3388]: Using interface ppp0&lt;br /&gt;Jan 16 13:31:33 localhost pppd[3388]: Connect: ppp0 &lt;--&gt; /dev/ttyUSB0&lt;br /&gt;Jan 16 13:31:36 localhost pppd[3388]: CHAP authentication succeeded&lt;br /&gt;Jan 16 13:31:36 localhost pppd[3388]: CHAP authentication succeeded&lt;br /&gt;Jan 16 13:31:39 localhost pppd[3388]: Cannot determine ethernet address for proxy ARP&lt;br /&gt;Jan 16 13:31:39 localhost pppd[3388]: local  IP address 10.87.9.211&lt;br /&gt;Jan 16 13:31:39 localhost pppd[3388]: remote IP address 192.168.254.254&lt;br /&gt;Jan 16 13:31:39 localhost pppd[3388]: primary   DNS address 192.168.80.66&lt;br /&gt;Jan 16 13:31:39 localhost pppd[3388]: secondary DNS address 202.134.13.3&lt;br /&gt;Jan 16 14:07:29 localhost kernel: hub 4-0:1.0: port 2 disabled by hub (EMI?), re-enabling...&lt;br /&gt;Jan 16 14:07:29 localhost kernel: usb 4-2: USB disconnect, address 3&lt;br /&gt;Jan 16 14:07:29 localhost kernel: pl2303 4-2:1.0: device disconnected&lt;br /&gt;Jan 16 14:07:29 localhost pppd[3388]: Modem hangup&lt;br /&gt;Jan 16 14:07:29 localhost pppd[3388]: Connect time 35.9 minutes.&lt;br /&gt;Jan 16 14:07:29 localhost pppd[3388]: Sent 283895 bytes, received 1000779 bytes.&lt;br /&gt;Jan 16 14:07:29 localhost pppd[3388]: Connection terminated.&lt;br /&gt;Jan 16 14:07:29 localhost pppd[3388]: Exit.&lt;br /&gt;Jan 16 14:07:29 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 4&lt;br /&gt;Jan 16 14:07:30 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice&lt;br /&gt;Jan 16 14:07:30 localhost kernel: pl2303 4-2:1.0: pl2303 converter detected&lt;br /&gt;Jan 16 14:07:30 localhost kernel: usb 4-2: pl2303 converter now attached to ttyUSB1&lt;br /&gt;Jan 16 14:07:30 localhost kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0&lt;br /&gt;Jan 16 14:07:41 localhost pppd[3981]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;Jan 16 14:07:41 localhost pppd[3981]: Using interface ppp0&lt;br /&gt;Jan 16 14:07:41 localhost pppd[3981]: Connect: ppp0 &lt;--&gt; /dev/ttyUSB1&lt;br /&gt;Jan 16 14:07:44 localhost pppd[3981]: CHAP authentication succeeded&lt;br /&gt;Jan 16 14:07:44 localhost pppd[3981]: CHAP authentication succeeded&lt;br /&gt;Jan 16 14:07:47 localhost pppd[3981]: Cannot determine ethernet address for proxy ARP&lt;br /&gt;Jan 16 14:07:47 localhost pppd[3981]: local  IP address 10.87.10.34&lt;br /&gt;Jan 16 14:07:47 localhost pppd[3981]: remote IP address 192.168.254.254&lt;br /&gt;Jan 16 14:07:47 localhost pppd[3981]: primary   DNS address 192.168.80.66&lt;br /&gt;Jan 16 14:07:47 localhost pppd[3981]: secondary DNS address 202.134.13.3&lt;/blockquote&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-587749032141298782?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/587749032141298782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=587749032141298782' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/587749032141298782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/587749032141298782'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/siemens-sk65-udev-script-for-gprs.html' title='Siemens-Sk65 udev script for GPRS'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-2023070256512655802</id><published>2007-01-11T15:56:00.000+06:00</published><updated>2007-01-11T16:18:45.484+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><title type='text'>Java player and streaming server for Ogg</title><content type='html'>wiki news using it. &lt;a href="http://en.wikinews.org/wiki/Wikinews:Audio_Wikinews"&gt;Link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;JOrbis is a pure Java Ogg Vorbis decoder.&lt;br /&gt;===========================&lt;br /&gt;&lt;/span&gt;JOrbis accepts Ogg Vorbis bitstreams and decodes them to raw PCM. &lt;a href="http://www.jcraft.com/jorbis/"&gt;Link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;JRoar is a streaming server for Ogg in pure Java&lt;br /&gt;===================================&lt;br /&gt;&lt;/span&gt;JRoar casts live Ogg streams to Ogg Vorbis players as IceCast2 does and shouts live Ogg streams to IceCast2 and JRoar. &lt;a href="http://www.jcraft.com/jroar/"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-2023070256512655802?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/2023070256512655802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=2023070256512655802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2023070256512655802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/2023070256512655802'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/java-player-and-streaming-server-for.html' title='Java player and streaming server for Ogg'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-3206475513375195869</id><published>2007-01-04T14:40:00.000+06:00</published><updated>2007-01-08T11:49:40.209+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><title type='text'>The D Programming Language</title><content type='html'>source &lt;a href="http://www.digitalmars.com/d/comparison.html"&gt;www.digitalmars.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dgcc.sourceforge.net/"&gt;dgcc.sourceforge.net&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/D_programming_language"&gt;en.wikipedia.org/wiki/D_programming_language&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-3206475513375195869?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/3206475513375195869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=3206475513375195869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3206475513375195869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/3206475513375195869'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/d-programming-language.html' title='The D Programming Language'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7810858123869509050</id><published>2007-01-03T15:24:00.000+06:00</published><updated>2007-01-03T17:54:29.795+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>chkrootkit and logcheck</title><content type='html'>chkrootkit and logcheck mail notification&lt;br /&gt;&lt;br /&gt;#apt-get install cron&lt;br /&gt;#crontab /etc/crontab&lt;br /&gt;#apt-get install chkrootkit&lt;br /&gt;&lt;br /&gt;write a script 'chkrootkit' and save in /&lt;br /&gt;&lt;blockquote&gt;#/bin/bash&lt;br /&gt;cd /usr/sbin/ &amp;&amp;amp; ./chkrootkit 2&gt;&amp;amp;1 | mail -s "chkrootkit output" yourname@xyz.com&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;#chmod 777 / chkrootkit&lt;br /&gt;#apt-get install logcheck&lt;br /&gt;&lt;br /&gt;we edit the /etc/logcheck/logcheck.conf&lt;br /&gt;&lt;blockquote&gt;INTRO=1&lt;br /&gt;REPORTLEVEL="server"&lt;br /&gt;SENDMAILTO="yourname@xyz.com"&lt;br /&gt;FQDN=1&lt;br /&gt;RULEDIR="/etc/logcheck"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;then we write a script 'logcheck' and save in /&lt;br /&gt;&lt;blockquote&gt;#/bin/bash&lt;br /&gt;su -s /bin/bash -c "/usr/sbin/logcheck" logcheck&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;#chmod 777 /logcheck&lt;br /&gt;we add the chkrootkit and logcheck script in the /var/spool/cron/crontabs/root&lt;br /&gt;&lt;blockquote&gt;46 12 * * * /./chkrootkit&lt;br /&gt;46 12 * * * /./logcheck&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;done :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7810858123869509050?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7810858123869509050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7810858123869509050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7810858123869509050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7810858123869509050'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/chkrootkit-and-logcheck.html' title='chkrootkit and logcheck'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-5668516665503340998</id><published>2007-01-03T14:43:00.000+06:00</published><updated>2007-01-03T15:48:34.589+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Rsync and SSH</title><content type='html'>This Rsync and ssh is to automatically backup files from one server to another.&lt;br /&gt;&lt;br /&gt;for more doc follow this &lt;a href="http://www.jdmz.net/ssh/"&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We generate a key&lt;br /&gt;&lt;blockquote&gt;    $ ssh-keygen -t dsa -b 2048 -f /home/thisuser/cron/thishost-rsync-key&lt;br /&gt;Generating public/private dsa key pair.&lt;br /&gt;Enter passphrase (empty for no passphrase): [press enter here]&lt;br /&gt;Enter same passphrase again: [press enter here]&lt;br /&gt;Your identification has been saved in /home/thisuser/cron/thishost-rsync-key.&lt;br /&gt;Your public key has been saved in /home/thisuser/cron/thishost-rsync-key.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;2e:28:d9:ec:85:21:e7:ff:73:df:2e:07:78:f0:d0:a0 thisuser@thishost&lt;/blockquote&gt;&lt;br /&gt;Copy the public key to remove PC&lt;br /&gt;&lt;blockquote&gt;    $ scp /home/thisuser/cron/thishost-rsync-key.pub remoteuser@remotehost:/home/remoteuser/&lt;/blockquote&gt;&lt;br /&gt;Configuring remotehost&lt;br /&gt;&lt;blockquote&gt;    $ ssh remoteuser@remotehost remoteuser@remotehost's password: [type correct password here]&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;need to make sure we have the directory and files we need to authorize connections with this key&lt;br /&gt;&lt;blockquote&gt;    $ if [ ! -d .ssh ]; then mkdir .ssh ; chmod 700 .ssh ; fi&lt;br /&gt;$ mv thishost-rsync-key.pub .ssh/&lt;br /&gt;$ cd .ssh/&lt;br /&gt;$ if [ ! -f authorized_keys ]; then touch authorized_keys ; chmod 600 authorized_keys ; fi&lt;br /&gt;$ cat thishost-rsync-key.pub &gt;&gt; authorized_keys&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;we edit the 'authorized_keys' file (with vi)&lt;br /&gt;&lt;br /&gt;before edit&lt;br /&gt;&lt;blockquote&gt;    ssh-dss AAAAB3NzaC1kc3MAAAEBAKYJenaYvMG3nHwWxKwlWLjHb77CT2hXwmC8Ap+ fG8wjlaY/9t4uA+2j2yBgN5cy8arlZ80q1Mcy763RjYGkR/FkLJ611HWIA= thisuser@thishost&lt;/blockquote&gt;&lt;br /&gt;we made the following change&lt;br /&gt;&lt;blockquote&gt;    from="10.1.1.1",command="/home/remoteuser/cron/validate-rsync" ssh-dss AAAAB3Nza&lt;br /&gt;C1kc3MAAAEBAKYBgN5cy8arlZ80q1Mcy763RjYGkR/FkLJ611HWIA= thisuser@thishost&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;your can omit the 'from="10.1.1.1",'  part of the line (including the comma), then  'rsync' will be possible using this  key from anywhere.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;create a script /home/remoteuser/cron/validate-rsync&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;case "$SSH_ORIGINAL_COMMAND" in&lt;br /&gt;*\&amp;*)&lt;br /&gt;echo "Rejected"&lt;br /&gt;;;&lt;br /&gt;*\(*)&lt;br /&gt;echo "Rejected"&lt;br /&gt;;;&lt;br /&gt;*\{*)&lt;br /&gt;echo "Rejected"&lt;br /&gt;;;&lt;br /&gt;*\;*)&lt;br /&gt;echo "Rejected"&lt;br /&gt;;;&lt;br /&gt;*\&lt;*) echo "Rejected" ;; *\`*) echo "Rejected" ;; rsync\ --server*) $SSH_ORIGINAL_COMMAND ;; *) echo "Rejected" ;; esac&lt;/blockquote&gt;&lt;br /&gt;for test we give&lt;br /&gt;&lt;blockquote&gt;    $ rsync -avz -e "ssh -i /home/thisuser/cron/thishost-rsync-key" remoteuser@remotehost:/remote/dir /this/dir/&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Cron Script&lt;br /&gt;We save it in /root/rsync&lt;br /&gt;http://salahuddin66.blogspot.com/&lt;br /&gt;#chmod 777 /root/rsync&lt;br /&gt;&lt;blockquote&gt;    #!/bin/sh&lt;br /&gt;&lt;br /&gt;RSYNC=/usr/bin/rsync&lt;br /&gt;SSH=/usr/bin/ssh&lt;br /&gt;KEY=/home/thisuser/cron/thishost-rsync-key&lt;br /&gt;RUSER=remoteuser&lt;br /&gt;RHOST=remotehost&lt;br /&gt;RPATH=/remote/dir&lt;br /&gt;LPATH=/this/dir/&lt;br /&gt;&lt;br /&gt;$RSYNC -az -e "$SSH -i $KEY" $RUSER@$RHOST:$RPATH $LPATH&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;We add the line in vi /var/spool/cron/crontabs/root or /etc/crontab&lt;br /&gt;&lt;blockquote&gt;    0 23 * * * /root/./rsync&lt;/blockquote&gt;&lt;br /&gt;done :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-5668516665503340998?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/5668516665503340998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=5668516665503340998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5668516665503340998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/5668516665503340998'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/rsync-and-ssh.html' title='Rsync and SSH'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-7105754348109855611</id><published>2007-01-03T12:03:00.000+06:00</published><updated>2007-05-07T13:06:59.738+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Icecast2 Streaming server</title><content type='html'>I have test in Debian testing (Sid)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;for more doc &lt;/span&gt;&lt;a style="font-style: italic;" href="http://www.xiph.org/"&gt;www.xiph.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;# apt-get install icecast2&lt;br /&gt;&lt;br /&gt;edit /etc/default/icecast2&lt;br /&gt;icecast2&lt;br /&gt;=====&lt;br /&gt;ENABLE=true&lt;br /&gt;=====&lt;br /&gt;&lt;br /&gt;start the icecast&lt;br /&gt;/etc/init.d/icecast2 start&lt;br /&gt;&lt;br /&gt;edit /etc/icecast2/icecast.xml enable the relay if you want.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;There are two types of relays: a "Master server relay" or a "Specific Mountpoint relay." A Master server relay is only supported between icecast2 servers and is used to relays all mountpoints on a remote icecast2 server.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;icecast.xml&lt;br /&gt;=======&lt;br /&gt;master-server 127.0.0.1 master-server&lt;br /&gt;master-server-port 8001 master-server-port&lt;br /&gt;master-update-interval 120 master-update-interval&lt;br /&gt;master-password hackme master-password&lt;br /&gt;&lt;br /&gt;relays-on-demand 1 relays-on-demand&lt;br /&gt;on-demand 1 on-demand&lt;br /&gt;relay-shoutcast-metadata 1 relay-shoutcast-metadata&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;br /&gt;relay&lt;br /&gt;server 127.0.0.1 server&lt;br /&gt;port 8001 port&lt;br /&gt;mount /example.ogg mount &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;local-mount different.ogg local-mount&lt;br /&gt;on-demand 1 on-demand&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;(if your want to stream the mounted /example.ogg via /different.ogg in server)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;========&lt;br /&gt;&lt;br /&gt;restart the icecast server&lt;br /&gt;/etc/init.d/icecast2 restart&lt;br /&gt;&lt;br /&gt;with your browser&lt;br /&gt;http://localhost:8000/&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;(user: admin, pass: hackme, by default)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;copy a audio.ogg or video.ogg in your "/usr/share/icecast2/web/" and test it with your player.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ices2 config&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;(Ogg Vorbis streaming source for Icecast 2)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;#apt-get install ices2&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;cd /usr/share/doc/ices2/examples/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To stream some pre-encoded ogg files&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;cp /usr/share/doc/ices2/examples/ices-playlist.xml /usr/share/icecast2/web/&lt;br /&gt;&lt;br /&gt;edit the /usr/share/icecast2/web/ices-playlist.xml&lt;br /&gt;&lt;br /&gt;ices-playlist.xml&lt;br /&gt;==========&lt;br /&gt;hostname localhost hostname&lt;br /&gt;     port 8000 port&lt;br /&gt;     password hackme password&lt;br /&gt;     mount /example1.ogg mount&lt;br /&gt;&lt;br /&gt;param name="restart-after-reread" 1 param &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;(optional)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;==========&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;you can hear it via &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/example1.ogg&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;if you change it to /example.ogg, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; then you can hear it via &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/example.ogg&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; or&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/different.ogg (via the relay)&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;create a playlist "playlist.txt" in &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;/usr/share/icecast2/web/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;playlist.txt&lt;br /&gt;=======&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;fordername/01-name.ogg&lt;br /&gt;fordername/02-name.ogg&lt;br /&gt;fordername/03-name.ogg&lt;br /&gt;...........................&lt;br /&gt;=======&lt;br /&gt;&lt;br /&gt;start the stream&lt;br /&gt;# ices2 ices-playlist.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To stream from Input (alsa or oss)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;cp /usr/share/doc/ices2/examples/ices-alsa.xml /usr/share/icecast2/web/&lt;br /&gt;&lt;br /&gt;edit the /usr/share/icecast2/web/ices-alsa.xml if your need.&lt;br /&gt;&lt;br /&gt;ices-alsa.xml&lt;br /&gt;=========&lt;br /&gt;hostname localhost hostname&lt;br /&gt;      port 8000 port&lt;br /&gt;      password hackme password&lt;br /&gt;      mount /example1.ogg mount&lt;br /&gt;===========&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;you can hear it via &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/example1.ogg&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;if you change it to /example.ogg, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; then you can hear it via &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/example.ogg&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; or&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; http://localhost:8000/different.ogg (via the relay)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;start the live stream&lt;br /&gt;# ices2 ices-alsa.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Video Streaming&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#apt-get install ffmpeg ffmpeg2theora oggfwd&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;#ffmpeg2theora output.ogg -x 320 -y 240 -V 150 -A 64 -o - --optimize | oggfwd localhost 8000 hackme /theora.ogg&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;(if your want to stream the output.ogg via mountpoint /theora.ogg in icecast server)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;play http://localhost:8000/theora.ogg&lt;br /&gt;&lt;br /&gt;done :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rj7P58J_7dI/AAAAAAAAAU0/uoWk2-qPmCo/s1600-h/icecast2.png"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_g-q7zXM0b-c/Rj7P58J_7dI/AAAAAAAAAU0/uoWk2-qPmCo/s320/icecast2.png" alt="" id="BLOGGER_PHOTO_ID_5061711625518575058" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-7105754348109855611?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/7105754348109855611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=7105754348109855611' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7105754348109855611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/7105754348109855611'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2007/01/streaming-server-with-icecast2.html' title='Icecast2 Streaming server'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_g-q7zXM0b-c/Rj7P58J_7dI/AAAAAAAAAU0/uoWk2-qPmCo/s72-c/icecast2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-116643367058132450</id><published>2006-12-18T15:06:00.000+06:00</published><updated>2006-12-18T15:30:24.346+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='office'/><title type='text'>Quenix project started again</title><content type='html'>Yesterday I move to Safura Tower from Stitel for the Quenix project.&lt;br /&gt;&lt;br /&gt;From today the project is starting again after being stop about 1 year (8-9 months).&lt;br /&gt;&lt;br /&gt;startx.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-116643367058132450?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/116643367058132450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=116643367058132450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/116643367058132450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/116643367058132450'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/12/quenix-project-started-again.html' title='Quenix project started again'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115790895067794599</id><published>2006-09-10T23:19:00.000+06:00</published><updated>2006-09-11T00:33:32.130+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Success in Asterisk Clustering</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1689/476/1600/network.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1689/476/320/network.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linux-ha.org/"&gt;&lt;span style="font-weight:bold;"&gt;HA&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Provide a high-availability (clustering) solution for Linux which promotes reliability, availability, and serviceability (RAS) through a community development effort.&lt;br /&gt;&lt;br /&gt;from: &lt;a href="http://asteriskprojects.com/?page_id=4"&gt;http://asteriskprojects.com/?page_id=4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ha.cf&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;logfacility local0&lt;br /&gt;keepalive 2&lt;br /&gt;deadtime 20&lt;br /&gt;warntime 10&lt;br /&gt;initdead 70&lt;br /&gt;udpport 694&lt;br /&gt;#baud 19200&lt;br /&gt;#serial /dev/ttyS0 # Linux&lt;br /&gt;bcast eth1  # Linux&lt;br /&gt;#ucast eth1 192.168.43.12&lt;br /&gt;auto_failback on&lt;br /&gt;#stonith_host *     baytech 10.0.0.3 mylogin mysecretpassword&lt;br /&gt;#stonith_host ken3  rps10 /dev/ttyS1 kathy 0 &lt;br /&gt;#stonith_host kathy rps10 /dev/ttyS1 ken3 0 &lt;br /&gt;&lt;br /&gt;#set kernel "nowayout=0" for that&lt;br /&gt;#watchdog /dev/watchdog&lt;br /&gt;node asterisk1.local asterisk2.local&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;haresources&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;asterisk1.local 192.168.22.99/24/eth0 drbddisk::shared Filesystem::/dev/drbd0::/share::ext3 drbdlinks mysqld sendmail asterisk httpd munin-node vsftpd ircd xplhub amportal xinetd&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;drbd.conf&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;global {&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;resource "shared" {&lt;br /&gt;  protocol C;&lt;br /&gt;  incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";&lt;br /&gt;  startup {&lt;br /&gt;    wfc-timeout         0;  ## Infinite!&lt;br /&gt;    degr-wfc-timeout  120;  ## 2 minutes.&lt;br /&gt;  }&lt;br /&gt;  disk {&lt;br /&gt;    on-io-error detach;&lt;br /&gt;  }&lt;br /&gt;  net {&lt;br /&gt;    # timeout           60;&lt;br /&gt;    # connect-int       10;&lt;br /&gt;    # ping-int          10;&lt;br /&gt;    # max-buffers     2048;&lt;br /&gt;    # max-epoch-size  2048;&lt;br /&gt;  }&lt;br /&gt;  syncer {&lt;br /&gt;    rate   10M;&lt;br /&gt;    group   1;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  on asterisk1.local {&lt;br /&gt;    device /dev/drbd0;&lt;br /&gt;    disk /dev/sda4;&lt;br /&gt;    address 192.168.43.11:7789;&lt;br /&gt;    meta-disk internal;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  on asterisk2.local {&lt;br /&gt;    device     /dev/drbd0;&lt;br /&gt;    disk       /dev/hda4;&lt;br /&gt;    address    192.168.43.12:7789;&lt;br /&gt;    meta-disk  internal;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;authkeys&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;auth 1&lt;br /&gt;1 crc&lt;br /&gt;#2 sha1 HI!&lt;br /&gt;#3 md5 Hello!&lt;br /&gt;--------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115790895067794599?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/115790895067794599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=115790895067794599' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115790895067794599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115790895067794599'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/09/success-in-asterisk-clustering.html' title='Success in Asterisk Clustering'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115790873981015062</id><published>2006-09-09T23:15:00.000+06:00</published><updated>2006-09-10T23:18:59.820+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personal'/><title type='text'>Got Gemei X-120 mp4</title><content type='html'>Got Gemei X-120 mp4 from my Father as a gift.&lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115790873981015062?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115790873981015062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115790873981015062'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/09/got-gemei-x-120-mp4.html' title='Got Gemei X-120 mp4'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115728457047788825</id><published>2006-09-03T17:30:00.000+06:00</published><updated>2007-01-03T03:25:03.321+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Success in OpenNMS</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.opennms.org/images/b/b5/Banner.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.opennms.org/images/b/b5/Banner.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Today I setup OpenNMS in Debian sarge&lt;br /&gt;&lt;br /&gt;/etc/apt/source/list&lt;br /&gt;deb http://debian.opennms.org/ debian/opennms stable&lt;br /&gt;&lt;br /&gt;# apt-get install java-common&lt;br /&gt;# apt-get install sun-jdk1.4-installer&lt;br /&gt;# build-sun-jdk14 ./j2sdk-1_4_2_05-linux-i586.bin&lt;br /&gt;# dpkg -i j2sdk-1_4_2_05-linux-i586.deb&lt;br /&gt;&lt;br /&gt;java-virtual-machine meta-package&lt;br /&gt;# apt-get install java-virtual-machine&lt;br /&gt;&lt;br /&gt;#apt-get install tomcat4 tomcat4-admin tomcat4-webapps&lt;br /&gt;&lt;br /&gt;# apt-get install rrdtool&lt;br /&gt;# apt-get install mrtg&lt;br /&gt;&lt;br /&gt;/etc/postgresql/postgresql.conf&lt;br /&gt;&lt;br /&gt;tcpip_socket = true&lt;br /&gt;shared_buffers = 1024&lt;br /&gt;&lt;br /&gt;/etc/postgresql/pg_hba.conf&lt;br /&gt;# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD&lt;br /&gt;local all all trust&lt;br /&gt;host all all 127.0.0.1 255.255.255.255 trust&lt;br /&gt;host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#apt-get install opennms opennms-common opennms-contrib opennms-db opennms-server opennms-webapp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Search for a JRE (suggested)&lt;br /&gt;#cd /usr/share/opennms/bin&lt;br /&gt;#./runjava -s&lt;br /&gt;&lt;br /&gt;Run the Installer to Setup the PostgreSQL Database&lt;br /&gt;#cd /usr/share/opennms/&lt;br /&gt;#install -disU&lt;br /&gt;&lt;br /&gt;Run the Installer to Setup the Web Application&lt;br /&gt;#cd /usr/share/opennms/&lt;br /&gt;# ./install -w /var/lib/tomcat4/webapps -W /var/lib/tomcat4/server/lib&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit /usr/share/opennms/etc/discovery-configuration.xml&lt;br /&gt;&lt;br /&gt; include-range retries="2" timeout="3000"&lt;br /&gt;         begin 192.168.0.1 begin&lt;br /&gt;         end 192.168.0.254 end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;start or restart&lt;br /&gt;&lt;br /&gt;# /etc/init.d/postgres start&lt;br /&gt;# /etc/init.d/tomcat4 start&lt;br /&gt;# /etc/init.d/opennms start&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://opennms_installed_pc_ip:8180/opennms/&lt;br /&gt;&lt;br /&gt;The initial user name is "admin" and the password is "admin".&lt;br /&gt;(note: 8180 for debian)&lt;br /&gt;(other Linux http://host:8080/opennms/)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit capsd-configuration.xml for the service your want to monitor&lt;br /&gt;&lt;br /&gt;capsd-configuration.xml&lt;br /&gt;==============&lt;br /&gt;scan="on"&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;protocol-plugin protocol="Postgres" class-name="org.opennms.netmgt.capsd.TcpPlugin" scan="on" user-defined="false"&lt;br /&gt;==============&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;your can finish here if u do not want to enable snmp &amp; notification.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enable SNMP in a server that you want to monitor. &lt;/span&gt;Then...&lt;br /&gt;&lt;br /&gt;edit datacollection-config.xml to enable more monitoring graph in opennms.&lt;br /&gt;&lt;br /&gt;datacollection-config.xml&lt;br /&gt;===============&lt;br /&gt;snmp-collection name="default"&lt;br /&gt;             maxVarsPerPdu = "50"&lt;br /&gt;             snmpStorageFlag = "all"&lt;br /&gt;             rrd step = "300"&lt;br /&gt;===============&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit the  snmp-config.xml to track servers with snmp&lt;br /&gt;&lt;br /&gt;snmp-config.xml&lt;br /&gt;==========&lt;br /&gt;specific 192.168.25.32 specific&lt;br /&gt;range begin="192.168.25.1" end="192.168.25.254"&lt;br /&gt;==========&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit poller-configuration.xml&lt;br /&gt;&lt;br /&gt;poller-configuration.xml&lt;br /&gt;===============&lt;br /&gt;status="on"&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;service name="SMTP" interval="300000" user-defined="false" status="on"&lt;br /&gt;===============&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit notifd-configuration.xml to enable notification&lt;br /&gt;==============================&lt;br /&gt;status="on"&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;notifd-configuration&lt;br /&gt;     status="on"&lt;br /&gt;     pages-sent="SELECT * FROM notifications"&lt;br /&gt;     next-notif-id="SELECT nextval('notifynxtid')"&lt;br /&gt;     next-group-id="SELECT nextval('notifygrpid')"&lt;br /&gt;==============================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit javamail-configuration.properties for mail notification&lt;br /&gt;&lt;br /&gt;javamail-configuration.properties&lt;br /&gt;====================&lt;br /&gt;# Properties are defined but commented out indicating the default values.&lt;br /&gt;# This property defines system sender account.&lt;br /&gt;#&lt;br /&gt;# The default setting is root@[127.0.0.1]&lt;br /&gt;#org.opennms.core.utils.fromAddress=root@localhost&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# This property defines SMTP Host.&lt;br /&gt;#&lt;br /&gt;org.opennms.core.utils.mailHost=smtp.xyz.net&lt;br /&gt;org.opennms.core.utils.mailer=smtpsend&lt;br /&gt;org.opennms.core.utils.transport=smtp&lt;br /&gt;org.opennms.core.utils.debug=true&lt;br /&gt;#&lt;br /&gt;# This property defines Mail authentication.&lt;br /&gt;# The default setting is false&lt;br /&gt;#org.opennms.core.utils.authenticate=false&lt;br /&gt;#org.opennms.core.utils.authenticateUser="opennms"&lt;br /&gt;#org.opennms.core.utils.authenticatePassword="opennms"&lt;br /&gt;&lt;br /&gt;# This property controls the use of the JMTA, the&lt;br /&gt;# default is true&lt;br /&gt;#org.opennms.core.utils.useJMTA=true&lt;br /&gt;==========================&lt;br /&gt;&lt;br /&gt;set the email address via opennms visual configuration to receive emails.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;done :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115728457047788825?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/115728457047788825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=115728457047788825' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115728457047788825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115728457047788825'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/09/success-in-opennms.html' title='Success in OpenNMS'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115701416260720370</id><published>2006-08-31T14:42:00.000+06:00</published><updated>2006-08-31T14:49:22.616+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>Wifi in debian</title><content type='html'>Today I configure &lt;span style="font-weight:bold;"&gt;Asus Spacelink WL-167g&lt;/span&gt; USB2 adapter in debian sid&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;"Asus Spacelink WL-167g USB2 adapter" which works with the&lt;br /&gt;rt2570 driver, the sources of which can be downloaded on the RALINK website.&lt;/span&gt;&lt;br /&gt;&lt;a href="http://llaic3.u-clermont1.fr/~mr/linux/configreseau_en.shtml"&gt;more&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#apt-get install rt2570-source&lt;br /&gt;#module-assistant&lt;br /&gt;&lt;br /&gt;then it will build the rt2570-modules-2.6.17-2-686 (if u use kernel 2.6.17)&lt;br /&gt;&lt;br /&gt;#modprobe rt2570&lt;br /&gt;&lt;br /&gt;my /etc/network/interfaces&lt;br /&gt;--------------------------&lt;br /&gt;auto eth1&lt;br /&gt;iface eth1 inet dhcp&lt;br /&gt;      wireless-essid your_ID&lt;br /&gt;      wireless-mode managed&lt;br /&gt;      wireless-key your_secret_key&lt;br /&gt;--------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115701416260720370?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/115701416260720370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=115701416260720370' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115701416260720370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115701416260720370'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/08/wifi-in-debian.html' title='Wifi in debian'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115372158463303198</id><published>2006-07-24T12:06:00.000+06:00</published><updated>2006-07-24T12:13:04.650+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>allbn2unicode</title><content type='html'>i have started a project called allbn2unicode&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#include stdio.h&lt;br /&gt;#include stdlib.h&lt;br /&gt;#include string.h&lt;br /&gt;#include wchar.h&lt;br /&gt;#include locale.h&lt;br /&gt;#include langinfo.h&lt;br /&gt;&lt;br /&gt;int main(int argc, char *argv[])&lt;br /&gt;{&lt;br /&gt;       FILE *fp;&lt;br /&gt;       FILE *fp2;&lt;br /&gt;       wchar_t wr[80];&lt;br /&gt;       wchar_t *wca;&lt;br /&gt;       wchar_t hex,*hex2;&lt;br /&gt;       char str[80],*store;&lt;br /&gt;       int i,len;&lt;br /&gt;&lt;br /&gt;       /* set locale for bangla */&lt;br /&gt;       setlocale(LC_ALL, "bn_BD.UTF-8");&lt;br /&gt;&lt;br /&gt;       store = str;&lt;br /&gt;       &lt;br /&gt;       wca = wr;&lt;br /&gt;&lt;br /&gt;       if(argc!=3){&lt;br /&gt;               printf("name &lt;source file&gt; &lt;outputfile&gt;\n");&lt;br /&gt;               exit(1);&lt;br /&gt;       }&lt;br /&gt;     &lt;br /&gt;       if((fp = fopen(argv[1], "r")) == NULL) {&lt;br /&gt;               printf("Cannot open file.\n");&lt;br /&gt;               exit(1);&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       fgetws(wca, 100, fp);&lt;br /&gt;&lt;br /&gt;/*     if(fread(store,sizeof(store),1, fp) !=1) {&lt;br /&gt;               printf("Cannot open file.\n");&lt;br /&gt;       exit(1);&lt;br /&gt;       } */&lt;br /&gt;&lt;br /&gt;/*   optional for asci file   mbstowcs(wca, store,20);*/&lt;br /&gt;       &lt;br /&gt;       fclose(fp);&lt;br /&gt;&lt;br /&gt;       if((fp2 = fopen(argv[2], "wb")) == NULL) {&lt;br /&gt;               printf("Cannot write file.\n");&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       if(wr[0]==0x0985)&lt;br /&gt; {&lt;br /&gt;       hex=0x0987;&lt;br /&gt;}&lt;br /&gt;       else&lt;br /&gt;&lt;br /&gt;       hex=0x0985;&lt;br /&gt;&lt;br /&gt;       fputws(wca,fp2);&lt;br /&gt;&lt;br /&gt;       fclose(fp2);&lt;br /&gt;&lt;br /&gt;       return 0;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115372158463303198?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/115372158463303198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=115372158463303198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115372158463303198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115372158463303198'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/07/allbn2unicode.html' title='allbn2unicode'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-115227464695716896</id><published>2006-07-07T18:10:00.000+06:00</published><updated>2006-07-08T12:57:48.110+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><title type='text'>Install Solaris</title><content type='html'>Today i install Solaris 10 &lt;br /&gt;&lt;br /&gt;Cool OS but there was problem in my internet config&lt;br /&gt;&lt;br /&gt;my this config was oky&lt;br /&gt;/etc/hosts&lt;br /&gt;/etc/defaultgateway&lt;br /&gt;&lt;br /&gt;there was a little problem in&lt;br /&gt;(i have no resolv.conf)&lt;br /&gt;/etc/resolv.conf&lt;br /&gt;(later i add nameserver)&lt;br /&gt;&lt;br /&gt;and &lt;br /&gt;&lt;br /&gt;cp /etc/nsswitch.dns /etc/nsswitch.conf&lt;br /&gt;&lt;br /&gt;for restart network&lt;br /&gt;/etc/init.d/inetsvc stop&lt;br /&gt;/etc/init.d/inetsvc start&lt;br /&gt;&lt;br /&gt;source: http://www.computing.net/solaris/wwwboard/forum/4219.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Later i add debian in /etc/grub/menu.list&lt;br /&gt;&lt;br /&gt;title           Debian GNU/Linux, kernel 2.6.8-2-386&lt;br /&gt;root            (hd0,7)&lt;br /&gt;kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/hda8 ro&lt;br /&gt;initrd          /boot/initrd.img-2.6.8-2-386&lt;br /&gt;savedefault&lt;br /&gt;boot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;to boot my debian&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-115227464695716896?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/115227464695716896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=115227464695716896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115227464695716896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/115227464695716896'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/07/install-solaris.html' title='Install Solaris'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114650697879133509</id><published>2006-05-01T23:58:00.000+06:00</published><updated>2006-05-02T00:09:38.963+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personal'/><title type='text'>my frist ACM solve</title><content type='html'>problem 100&lt;br /&gt;&lt;br /&gt;#include stdio.h&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;int calc (unsigned long int i, unsigned long int j, unsigned long int f);&lt;br /&gt;&lt;br /&gt;int&lt;br /&gt;main (void)&lt;br /&gt;{&lt;br /&gt; unsigned long int i, j, f; &lt;br /&gt; while(scanf ("%lu", &amp;i)==1)&lt;br /&gt; {&lt;br /&gt; if (!(0 &lt; i &amp;&amp; i &lt; 1000000))&lt;br /&gt; {&lt;br /&gt;  scanf ("%lu", &amp;i);&lt;br /&gt; }&lt;br /&gt; scanf ("%lu", &amp;j);&lt;br /&gt; if (!(0 &lt; j &amp;&amp; j &lt; 1000000)) {&lt;br /&gt;  scanf ("%lu", &amp;j);&lt;br /&gt; }&lt;br /&gt; printf ("%lu\t %lu\t", i, j); &lt;br /&gt; if (i &gt; j)&lt;br /&gt; {&lt;br /&gt;  f = i - j;&lt;br /&gt;  f = f + 1;  &lt;br /&gt; } &lt;br /&gt; else &lt;br /&gt; {&lt;br /&gt; f = j - i;&lt;br /&gt; f = f + 1;&lt;br /&gt; }&lt;br /&gt; calc (i, j, f);&lt;br /&gt; }&lt;br /&gt; return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int calc (unsigned long int i, unsigned long int j, unsigned long int f)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt; unsigned long int m, k = 1, n = 0;&lt;br /&gt; unsigned long int l[f];&lt;br /&gt; unsigned long int p;&lt;br /&gt;&lt;br /&gt; if (i &gt; j)&lt;br /&gt; {&lt;br /&gt;  p = i - j;&lt;br /&gt;  p = p + 1;&lt;br /&gt;  for (; j &lt;= i; j++)&lt;br /&gt;  {&lt;br /&gt;   for (m = j; m &gt; 1;)&lt;br /&gt;   {&lt;br /&gt;    if (m % 2 == 0)&lt;br /&gt;     m = m / 2;&lt;br /&gt;    else&lt;br /&gt;     m = 3 * m + 1;&lt;br /&gt;    k = k + 1;&lt;br /&gt;   }&lt;br /&gt;   l[n] = k;&lt;br /&gt;   n = n + 1;&lt;br /&gt;   k = 1;&lt;br /&gt;  }  &lt;br /&gt; }&lt;br /&gt; else&lt;br /&gt; {&lt;br /&gt;  p = j - i;&lt;br /&gt;  p = p + 1;&lt;br /&gt;  for (; i &lt;= j; i++)&lt;br /&gt;  {&lt;br /&gt;   for (m = i; m &gt; 1;)&lt;br /&gt;   {&lt;br /&gt;    if (m % 2 == 0)&lt;br /&gt;     m = m / 2;&lt;br /&gt;    else&lt;br /&gt;     m = 3 * m + 1;&lt;br /&gt;    k = k + 1;&lt;br /&gt;   }&lt;br /&gt;   l[n] = k;&lt;br /&gt;   n = n + 1;&lt;br /&gt;   k = 1;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; p = p-1;&lt;br /&gt; for (n = 0; n &lt; p; n++)&lt;br /&gt; {&lt;br /&gt;  if (l[n] &gt; l[n + 1])&lt;br /&gt;  {&lt;br /&gt;   l[n + 1] = l[n];&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; printf ("%lu\n", l[p]);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114650697879133509?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114650697879133509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114650697879133509' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114650697879133509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114650697879133509'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/05/my-frist-acm-solve.html' title='my frist ACM solve'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114337930558703574</id><published>2006-03-26T19:06:00.000+06:00</published><updated>2007-05-15T19:30:24.405+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>EDGE/GPRS in Linux</title><content type='html'>Today me (salahuddin66) and &lt;a href="http://lavluda.blogspot.com/"&gt;Lavluda&lt;/a&gt; successfully configured GPRS/EDGE in Linux.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Using wvdial&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to check your mobile/modem as a modem&lt;br /&gt;-------------------------------&lt;br /&gt;#wvdialconf&lt;br /&gt;&lt;br /&gt;it will generate /etc/wvdial.conf file for you.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Grameen Phone&lt;/span&gt;&lt;br /&gt;For Grameen Phone your need to add&lt;br /&gt;&lt;blockquote&gt;Init3 = AT+CGDCONT=1,"IP","gpinternet"&lt;br /&gt;&lt;/blockquote&gt;here is a sample of my /etc/wvdial.conf (Grameen Phone EDGE/GPRS)&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;[Dialer Defaults]&lt;br /&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;Init3 = AT+CGDCONT=1,"IP","gpinternet"&lt;br /&gt;Modem Type = Analog Modem&lt;br /&gt;ISDN = 0&lt;br /&gt;Phone = *99***1#&lt;br /&gt;Modem = /dev/ttyUSB0&lt;br /&gt;Username = xyz&lt;br /&gt;Password = xyz&lt;br /&gt;Baud = 115200&lt;br /&gt;-----------------------------------------------------------&lt;br /&gt;wvdialconf will generate the modem speed/Baud and /dev/xyz path according to your mobile phone&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Aktel, Teletalk&lt;/span&gt;&lt;br /&gt;here is a sample of my /etc/wvdial.conf&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;[Dialer Defaults]&lt;br /&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;Modem Type = Analog Modem&lt;br /&gt;ISDN = 0&lt;br /&gt;Phone = *99***1#&lt;br /&gt;Modem = /dev/ttyUSB0&lt;br /&gt;Username = xyz&lt;br /&gt;Password = xyz&lt;br /&gt;Baud = 115200&lt;br /&gt;-----------------------------------------------------------&lt;br /&gt;wvdialconf will generate the modem speed/Baud and /dev/xyz path according to your mobile phone&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Start&lt;/span&gt;&lt;br /&gt;To start type wvdial in shell&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;br /&gt;&lt;/span&gt;If you have problem while generating wvdial.conf file in /etc/wvdial.conf then delete the old config file /etc/wvdial.conf and give wvdialconf to create a new configuraton file.&lt;br /&gt;&lt;br /&gt;if you have any problem to find the /dev path for your mobile/modem, give&lt;br /&gt;&lt;blockquote&gt;# tail -f /var/log/syslog&lt;br /&gt;&lt;/blockquote&gt;Then connect the phone/modem.&lt;br /&gt;You can also use gnome-ppp or other ppp tools to connect.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Using gnome-ppp&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmOYcJ_7mI/AAAAAAAAAWE/y_sYuqzwHOA/s1600-h/1.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmOYcJ_7mI/AAAAAAAAAWE/y_sYuqzwHOA/s400/1.png" alt="" id="BLOGGER_PHOTO_ID_5064735806480969314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Give phone number *99***1#&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmOlcJ_7nI/AAAAAAAAAWM/ULrQHJR-7pE/s1600-h/2.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmOlcJ_7nI/AAAAAAAAAWM/ULrQHJR-7pE/s400/2.png" alt="" id="BLOGGER_PHOTO_ID_5064736029819268722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;click on the detect. it will try to detect your phone/modem.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;note:&lt;/span&gt; If it fails then give your /dev path manually. Search for you modem using #tail -f /var/log/syslog then connect the phone/modem.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmOusJ_7oI/AAAAAAAAAWU/R3LwM7mhHCM/s1600-h/3.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmOusJ_7oI/AAAAAAAAAWU/R3LwM7mhHCM/s400/3.png" alt="" id="BLOGGER_PHOTO_ID_5064736188733058690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;it found my phone/modem in /dev/ttyUSB0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkmO48J_7pI/AAAAAAAAAWc/ejeHJN2ksso/s1600-h/4.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkmO48J_7pI/AAAAAAAAAWc/ejeHJN2ksso/s400/4.png" alt="" id="BLOGGER_PHOTO_ID_5064736364826717842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;click Init Strings.&lt;br /&gt;for Aktel, Teletalk and others (you do not need to change anything)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmO_sJ_7qI/AAAAAAAAAWk/Y2-j1B40jKQ/s1600-h/5.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmO_sJ_7qI/AAAAAAAAAWk/Y2-j1B40jKQ/s400/5.png" alt="" id="BLOGGER_PHOTO_ID_5064736480790834850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;click Init Strings.&lt;br /&gt;add Init3 only if you are using Grameen Phone EDGE/GPRS (only for GP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmPHcJ_7rI/AAAAAAAAAWs/ProFbLZW2lM/s1600-h/6.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmPHcJ_7rI/AAAAAAAAAWs/ProFbLZW2lM/s400/6.png" alt="" id="BLOGGER_PHOTO_ID_5064736613934821042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;after click connect&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmPOcJ_7sI/AAAAAAAAAW0/rD-9HYfSn94/s1600-h/7.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmPOcJ_7sI/AAAAAAAAAW0/rD-9HYfSn94/s400/7.png" alt="" id="BLOGGER_PHOTO_ID_5064736734193905346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmPTsJ_7tI/AAAAAAAAAW8/RLH1Z9r6mk4/s1600-h/8.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_g-q7zXM0b-c/RkmPTsJ_7tI/AAAAAAAAAW8/RLH1Z9r6mk4/s400/8.png" alt="" id="BLOGGER_PHOTO_ID_5064736824388218578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;connected&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkmPX8J_7uI/AAAAAAAAAXE/9vMhko5M8v4/s1600-h/9.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_g-q7zXM0b-c/RkmPX8J_7uI/AAAAAAAAAXE/9vMhko5M8v4/s400/9.png" alt="" id="BLOGGER_PHOTO_ID_5064736897402662626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;details view&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note: &lt;/span&gt;If you face any problem using this as user. Run gnome-ppp as root&lt;br /&gt;or check you are a member of dip group.&lt;br /&gt;&lt;br /&gt;In &lt;/span&gt;&lt;span&gt;Debian  or &lt;/span&gt;&lt;span&gt;Ubuntu based distro give #adduser your_user_name dip if your are not a member.&lt;br /&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/7954055-114337930558703574?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114337930558703574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114337930558703574' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114337930558703574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114337930558703574'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/03/edgegprs-in-linux.html' title='EDGE/GPRS in Linux'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_g-q7zXM0b-c/RkmOYcJ_7mI/AAAAAAAAAWE/y_sYuqzwHOA/s72-c/1.png' height='72' width='72'/><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114343359994438006</id><published>2006-03-24T23:00:00.000+06:00</published><updated>2006-03-27T10:26:39.976+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personal'/><title type='text'>Bought Siemens SK65</title><content type='html'>Today i have bought Siemens SK65&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1689/476/1600/sisk65_00.0.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1689/476/320/sisk65_00.0.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;from Basundhara City. With Niripiti and ZBZ.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114343359994438006?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114343359994438006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114343359994438006' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114343359994438006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114343359994438006'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/03/bought-siemens-sk65.html' title='Bought Siemens SK65'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114132608344755403</id><published>2006-03-02T00:15:00.000+06:00</published><updated>2006-03-06T17:45:36.480+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='office'/><title type='text'>New Office</title><content type='html'>Today we The Quenix Development Team move to our new office in Stitle in Bashoti Building from Safura Tower&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114132608344755403?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114132608344755403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114132608344755403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114132608344755403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114132608344755403'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/03/new-office.html' title='New Office'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114106838453515586</id><published>2006-02-28T01:18:00.000+06:00</published><updated>2006-02-28T01:33:55.170+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project'/><category scheme='http://www.blogger.com/atom/ns#' term='my developed'/><title type='text'>all2theora</title><content type='html'>here is my all2theora script&lt;br /&gt;&lt;br /&gt;(Thanks to my friend Zaher for fixing the Divx problem "-vf harddup")&lt;br /&gt;(based on Florian Schilhabel &lt;florian.schilhabel@web.de&gt; dvd2divx script Licence: GPL)&lt;br /&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;use Getopt::Long;&lt;br /&gt;&lt;br /&gt;GetOptions(   "help" =&gt; \$help,&lt;br /&gt;   "i=s" =&gt; \$input,&lt;br /&gt;   "divx=s" =&gt; \$divx, );&lt;br /&gt;&lt;br /&gt;if ($help) {&lt;br /&gt; print "Welcome to the ALL2theora Helper Script\n";&lt;br /&gt; print "\n";&lt;br /&gt; print "this script encodes a all file to theora\n";&lt;br /&gt; print "Usage:\n";&lt;br /&gt; print "--help              show this text\n";&lt;br /&gt; print "                    this will only be possible if you are root\n";&lt;br /&gt; print "--i                 Specify the Name of your Video file\n";&lt;br /&gt; exit;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ($input eq "") {&lt;br /&gt; print "No Input file selected - You must specify one with: --i filename.\n";&lt;br /&gt; print "\n";&lt;br /&gt; print "this script encodes a all file to theora\n";&lt;br /&gt; print "Usage:\n";&lt;br /&gt; print "--help              show this text\n";&lt;br /&gt; print "                    this will only be possible if you are root\n";&lt;br /&gt; print "--i                 Specify the Name of your Video file\n";&lt;br /&gt; exit;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ($divx eq "on") {&lt;br /&gt;&lt;br /&gt; system ("mkfifo stream.yuv &amp;&amp; chmod 777 stream.yuv &amp;&amp; mencoder $input -ovc lavc -oac copy -o tmp.avi -lavcopts vcodec=mpeg1video:vbitrate=1200 -vf harddup -of mpeg &amp;&amp; mplayer -vc dummy -vo null -ao pcm:file=stream.wav tmp.avi &amp;&amp; encoder_example stream.wav stream.yuv &gt; theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg tmp.avi - 1&gt;/dev/tty7 8&gt;/dev/tty7 &amp;&amp; rm stream.yuv &amp;&amp; rm stream.wav &amp;&amp; rm tmp.avi");&lt;br /&gt; exit;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ($divx eq "off") {&lt;br /&gt; system ("mkfifo stream.yuv &amp;&amp; chmod 777 stream.yuv &amp;&amp; mplayer -vc dummy -vo null -ao pcm:file=stream.wav $input &amp;&amp; encoder_example stream.wav stream.yuv &gt; theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg $input - 1&gt;/dev/tty7 8&gt;/dev/tty7 &amp;&amp; rm stream.yuv &amp;&amp; rm stream.wav");&lt;br /&gt; exit;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ($divx eq "") {&lt;br /&gt; system ("mkfifo stream.yuv &amp;&amp; chmod 777 stream.yuv &amp;&amp; mplayer -vc dummy -vo null -ao pcm:file=stream.wav $input &amp;&amp; encoder_example stream.wav stream.yuv &gt; theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg $input - 1&gt;/dev/tty7 8&gt;/dev/tty7 &amp;&amp; rm stream.yuv &amp;&amp; rm stream.wav");&lt;br /&gt; exit;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;print "Video Filename:  $input\n";&lt;br /&gt;print "working...\n";&lt;br /&gt;&lt;br /&gt;exit;&lt;br /&gt;&lt;br /&gt;Licence: GPL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114106838453515586?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114106838453515586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114106838453515586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106838453515586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106838453515586'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/02/all2theora.html' title='all2theora'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114106678775158183</id><published>2006-02-28T00:56:00.000+06:00</published><updated>2006-02-28T01:04:57.526+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>Wallpaper for Music</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1689/476/1600/music.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1689/476/400/music.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;Music&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;download it from&lt;br /&gt;&lt;a href="http://salahuddin66.deviantart.com/"&gt;deviantart.com&lt;/a&gt;&lt;br /&gt;Licence: GPL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114106678775158183?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114106678775158183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114106678775158183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106678775158183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106678775158183'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/02/wallpaper-for-music.html' title='Wallpaper for Music'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114106631142009276</id><published>2006-02-28T00:49:00.000+06:00</published><updated>2006-02-28T01:03:59.270+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>Wallpaper for Open Source</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1689/476/1600/open_source.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1689/476/400/open_source.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;Open Source&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;i have designed it in a week.&lt;br /&gt;&lt;br /&gt;download it from&lt;br /&gt;&lt;a href="http://www.kde-look.org/content/show.php?content=16109"&gt;www.kde-look.org&lt;/a&gt;&lt;br /&gt;Licence: GPL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114106631142009276?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114106631142009276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114106631142009276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106631142009276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106631142009276'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/02/wallpaper-for-open-source.html' title='Wallpaper for Open Source'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114106560195005942</id><published>2006-02-28T00:26:00.000+06:00</published><updated>2006-02-28T01:00:41.973+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>Inspiration to a be a designer</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1689/476/1600/linux_blue.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1689/476/400/linux_blue.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;linux_blue&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This wallpaper was my inspiration to a be a designer. I have created it using &lt;a href="http://inkscape.org/"&gt;inkscape&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This was the default wallpaper of OnebaseGo 2.0 Preview1 (www.onebaselinux.org)&lt;br /&gt;&lt;br /&gt;download it from&lt;br /&gt;&lt;a href="http://www.kde-look.org/content/show.php?content=12846"&gt;www.kde-look.org&lt;/a&gt;&lt;br /&gt;Licence: GPL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114106560195005942?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salahuddin66.blogspot.com/feeds/114106560195005942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7954055&amp;postID=114106560195005942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106560195005942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106560195005942'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/02/inspiration-to-be-designer.html' title='Inspiration to a be a designer'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7954055.post-114106337098058054</id><published>2006-02-27T23:33:00.000+06:00</published><updated>2007-05-13T17:41:37.137+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personal'/><title type='text'>booting tty1</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh3.google.com/image/salahuddin66/Rkb1BcJ_7hI/AAAAAAAAAVU/UZnOx6uTWTI/s144/me_orkut.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 129px; height: 135px;" src="http://lh3.google.com/image/salahuddin66/Rkb1BcJ_7hI/AAAAAAAAAVU/UZnOx6uTWTI/s144/me_orkut.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Starting my blog.&lt;br /&gt;&lt;br /&gt;I am Salahuddin Pasha (salahuddin66)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;myself&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I was born in Bogra but i spend my childhood in Chittagong, now living in Dhaka&lt;br /&gt;in Bangladesh&lt;br /&gt;&lt;br /&gt;I like &lt;a href="http://opensource.org/"&gt;Open Source&lt;/a&gt;, &lt;a href="http://www.gnu.org/"&gt;GNU&lt;/a&gt;, &lt;a href="http://www.fsf.org/"&gt;FSF&lt;/a&gt;, &lt;a href="http://www.gnu.org/software/hurd/hurd.html"&gt;Hurd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;now i am&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;working as a Graphics Designer in &lt;a href="http://www.texasgroup.net/"&gt;Texas Group&lt;/a&gt;&lt;br /&gt;a student of American International University Bangladesh &lt;a href="http://www.aiub.edu/"&gt;AIUB&lt;/a&gt; in CSE&lt;br /&gt;working in &lt;a href="http://bengalinux.org/"&gt;Ankur Bangla&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7954055-114106337098058054?l=salahuddin66.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106337098058054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7954055/posts/default/114106337098058054'/><link rel='alternate' type='text/html' href='http://salahuddin66.blogspot.com/2006/02/booting-tty1.html' title='booting tty1'/><author><name>salahuddin66</name><uri>http://www.blogger.com/profile/10518785128734808028</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
