<?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-3928190665450830956</id><updated>2012-01-24T21:13:58.766+08:00</updated><category term='VBScript'/><category term='install'/><category term='Windows XP'/><category term='WM_COMMAND'/><category term='Top Individual Scores'/><category term='Software Engineering'/><category term='database system'/><category term='how to'/><category term='unrar'/><category term='my notes'/><category term='open source'/><category term='gsm modem'/><category term='audio'/><category term='css'/><category term='pentium processor'/><category term='My List'/><category term='Profound Vibra'/><category term='xss'/><category term='pagerank'/><category term='ts-7260'/><category term='ActivePerl'/><category term='Perl Express'/><category term='scripting'/><category term='ActiveState'/><category term='Computer Science'/><category term='MySQL'/><category term='SSH'/><category term='internet connection'/><category term='tips and tricks'/><category term='it&apos;s all about the pentiums'/><category term='Wii'/><category term='more'/><category term='Perl'/><category term='Cheat Code'/><category term='ts-7000'/><category term='Visual basic'/><category term='bash'/><category term='networking'/><category term='wordpress'/><category term='About me'/><category term='flip form'/><category term='squid'/><category term='java web application'/><category term='baby'/><category term='database design'/><category term='Socket'/><category term='HTML'/><category term='blogspot hack'/><category term='embedded system'/><category term='mp3'/><category term='LISP'/><category term='VBScript Beginners Division'/><category term='pentium'/><category term='HitungHari'/><category term='javascript'/><category term='Technology'/><category term='gadget'/><category term='Programming'/><category term='Videos'/><category term='C Programming'/><category term='PowerShell'/><category term='python'/><category term='electronic'/><category term='computer'/><category term='debian'/><category term='Perl IDE'/><category term='web programming'/><category term='mobile phone'/><category term='TS-ARM'/><category term='Android'/><category term='Python Server Page'/><category term='Operating System'/><category term='rar'/><category term='database'/><category term='php programming'/><category term='linux'/><category term='Microsoft TechNet'/><category term='C++ Programming'/><category term='coder&apos;s talk'/><category term='translation'/><category term='php'/><category term='web master'/><category term='fakap'/><category term='Scripting Games'/><category term='tutorial'/><category term='weird al yankovic'/><category term='VB6'/><category term='Hackers'/><category term='The Officials'/><category term='VB'/><category term='blog'/><category term='SendMessage'/><category term='XP Style'/><category term='gprs'/><category term='API'/><category term='OSDC.my'/><category term='Vibration Measurement'/><category term='web interface'/><category term='wireless'/><category term='Linux shell script'/><category term='world&apos;s smallest website'/><category term='anime'/><category term='Ubuntu'/><category term='StretchBlt'/><title type='text'>Coder's Talk</title><subtitle type='html'>Having Fun with Computer, Gadget, Programming, Electrical &amp; Electronic, Robotic and Technology</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>99</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3005353762339160225</id><published>2011-08-06T07:38:00.000+08:00</published><updated>2011-08-06T07:38:44.539+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='squid'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Caching Youtube Using Squid Caching Proxy</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" width="520" src="http://2.bp.blogspot.com/-LELf9D-_e-I/Tjx4Z7F81yI/AAAAAAAACZ0/eS8ZBs0SdIA/s800/squid-cache-youtube-coderstalk.blogspot.com-2011.png" /&gt;&lt;/div&gt;&lt;br/&gt;I'm doing quick post today as I'm quite busy right now. But I don't want to make my friend Piju disappointed as he request me (quite so long... sorry heheh) about my changes on his previous squid.conf to cache youtube which is not working anymore since youtube make some changes on their video URL.&lt;br/&gt;&lt;br/&gt;Here is my new /etc/squid/squid.conf&lt;br/&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 8pt; height: 800px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;br /&gt;acl&amp;nbsp;all&amp;nbsp;src&amp;nbsp;all&lt;br /&gt;acl&amp;nbsp;manager&amp;nbsp;proto&amp;nbsp;cache_object&lt;br /&gt;acl&amp;nbsp;localhost&amp;nbsp;src&amp;nbsp;127.0.0.1/32&lt;br /&gt;acl&amp;nbsp;to_localhost&amp;nbsp;dst&amp;nbsp;127.0.0.0/8&amp;nbsp;0.0.0.0/32&lt;br /&gt;acl&amp;nbsp;localnet&amp;nbsp;src&amp;nbsp;10.0.0.0/8&amp;nbsp;#&amp;nbsp;RFC1918&amp;nbsp;possible&amp;nbsp;internal&amp;nbsp;network&lt;br /&gt;acl&amp;nbsp;localnet&amp;nbsp;src&amp;nbsp;172.16.0.0/12&amp;nbsp;&amp;nbsp;#&amp;nbsp;RFC1918&amp;nbsp;possible&amp;nbsp;internal&amp;nbsp;network&lt;br /&gt;acl&amp;nbsp;localnet&amp;nbsp;src&amp;nbsp;192.168.0.0/16&amp;nbsp;#&amp;nbsp;RFC1918&amp;nbsp;possible&amp;nbsp;internal&amp;nbsp;network&lt;br /&gt;acl&amp;nbsp;SSL_ports&amp;nbsp;port&amp;nbsp;443&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;http&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;ftp&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;443&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;https&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;70&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;gopher&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;210&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;wais&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;1025-65535&amp;nbsp;&amp;nbsp;#&amp;nbsp;unregistered&amp;nbsp;ports&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;280&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;http-mgmt&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;488&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;gss-http&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;591&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;filemaker&lt;br /&gt;acl&amp;nbsp;Safe_ports&amp;nbsp;port&amp;nbsp;777&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;multiling&amp;nbsp;http&lt;br /&gt;acl&amp;nbsp;CONNECT&amp;nbsp;method&amp;nbsp;CONNECT&lt;br /&gt;http_access&amp;nbsp;allow&amp;nbsp;manager&amp;nbsp;localhost&lt;br /&gt;http_access&amp;nbsp;deny&amp;nbsp;manager&lt;br /&gt;http_access&amp;nbsp;deny&amp;nbsp;!Safe_ports&lt;br /&gt;http_access&amp;nbsp;deny&amp;nbsp;CONNECT&amp;nbsp;!SSL_ports&lt;br /&gt;http_access&amp;nbsp;allow&amp;nbsp;localnet&lt;br /&gt;http_access&amp;nbsp;deny&amp;nbsp;all&lt;br /&gt;icp_access&amp;nbsp;allow&amp;nbsp;localnet&lt;br /&gt;icp_access&amp;nbsp;deny&amp;nbsp;all&lt;br /&gt;http_port&amp;nbsp;31288&lt;br /&gt;hierarchy_stoplist&amp;nbsp;cgi-bin&amp;nbsp;?&lt;br /&gt;cache_mem&amp;nbsp;2048&amp;nbsp;MB&lt;br /&gt;maximum_object_size_in_memory&amp;nbsp;1024&amp;nbsp;KB&lt;br /&gt;cache_dir&amp;nbsp;ufs&amp;nbsp;/disk2-cache/var/cache&amp;nbsp;150000&amp;nbsp;16&amp;nbsp;256&lt;br /&gt;cache_dir&amp;nbsp;ufs&amp;nbsp;/disk1-1/squid-cache&amp;nbsp;150000&amp;nbsp;16&amp;nbsp;256&lt;br /&gt;maximum_object_size&amp;nbsp;128&amp;nbsp;MB&lt;br /&gt;access_log&amp;nbsp;/disk2-cache/var/logs/access.log&amp;nbsp;squid&lt;br /&gt;cache_log&amp;nbsp;/disk2-cache/var/logs/cache.log&lt;br /&gt;cache_store_log&amp;nbsp;/disk2-cache/var/logs/store.log&lt;br /&gt;pid_filename&amp;nbsp;/disk2-cache/var/logs/squid.pid&lt;br /&gt;netdb_filename&amp;nbsp;/disk2-cache/var/logs/netdb.state&lt;br /&gt;storeurl_rewrite_children&amp;nbsp;50&lt;br /&gt;refresh_pattern&amp;nbsp;-i&amp;nbsp;\.flv$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1440&amp;nbsp;&amp;nbsp;&amp;nbsp;80%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10080&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^ftp:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1440&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;20%&amp;nbsp;10080&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://[A-Za-z0-9]+\.lscache[0-9]\.c\.youtube\.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;90%&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://[a-z0-9]+\.youtube\.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;90%&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://[a-z]+\.youtube\.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;90%&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://[a-z0-9]+\.ytimg\.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;90%&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://*\.youtube\.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;&amp;nbsp;90%&amp;nbsp;&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;get_video\?video_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;&amp;nbsp;90%&amp;nbsp;&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;youtube\.com/get_video\?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;&amp;nbsp;90%&amp;nbsp;&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;^http://*.youtube.com/.*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9999999&amp;nbsp;&amp;nbsp;100%&amp;nbsp;999999999&amp;nbsp;ignore-no-cache&amp;nbsp;override-expire&amp;nbsp;ignore-private&lt;br /&gt;refresh_pattern&amp;nbsp;(get_video\?|videoplayback\?|videodownload\?)&amp;nbsp;10080&amp;nbsp;99.99999%&amp;nbsp;999999&amp;nbsp;override-expire&amp;nbsp;ignore-reload&amp;nbsp;ignore-private&amp;nbsp;negative-ttl=0&lt;br /&gt;refresh_pattern&amp;nbsp;^gopher:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1440&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0%&amp;nbsp;&amp;nbsp;1440&lt;br /&gt;refresh_pattern&amp;nbsp;-i&amp;nbsp;(/cgi-bin/|\?)&amp;nbsp;0&amp;nbsp;0%&amp;nbsp;&amp;nbsp;0&lt;br /&gt;refresh_pattern&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;40%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4320&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.youtube\.com\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.youtube\.com\/videoplayback\.youtube\.com\/videoplay&amp;nbsp;\.youtube\.com\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.youtube\.[a-z][a-z]\/videoplayback\.youtube\.[a-z][a-z]\/videoplay&amp;nbsp;\.youtube\.[a-z][a-z]\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.googlevideo\.com\/videoplayback\.googlevideo\.com\/videoplay&amp;nbsp;\.googlevideo\.com\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.google\.com\/videoplayback\.google\.com\/videoplay&amp;nbsp;\.google\.com\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.google\.[a-z][a-z]\/videoplayback\.google\.[a-z][a-z]\/videoplay&amp;nbsp;\.google\.[a-z][a-z]\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;http://video\..*fbcdn\.net.*\.mp4.*&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;http://.[0-9]\.[0-9][0-9]\.channel\.facebook\.com/.*&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;http://.*\.mp4?&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;http://www\.facebook\.com/ajax/flash/.*&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;http://.*\.ak\.fbcdn\.net/.*&lt;br /&gt;acl&amp;nbsp;store_rewrite_list&amp;nbsp;url_regex&amp;nbsp;-i&amp;nbsp;\.geo.yahoo\.com\?&lt;br /&gt;storeurl_access&amp;nbsp;allow&amp;nbsp;store_rewrite_list&lt;br /&gt;storeurl_access&amp;nbsp;deny&amp;nbsp;all&lt;br /&gt;storeurl_rewrite_program&amp;nbsp;/etc/squid/youtube&lt;br /&gt;quick_abort_min&amp;nbsp;500&amp;nbsp;KB&lt;br /&gt;acl&amp;nbsp;shoutcast&amp;nbsp;rep_header&amp;nbsp;X-HTTP09-First-Line&amp;nbsp;^ICY.[0-9]&lt;br /&gt;upgrade_http0.9&amp;nbsp;deny&amp;nbsp;shoutcast&lt;br /&gt;acl&amp;nbsp;apache&amp;nbsp;rep_header&amp;nbsp;Server&amp;nbsp;^Apache&lt;br /&gt;broken_vary_encoding&amp;nbsp;allow&amp;nbsp;apache&lt;br /&gt;cache_mgr&amp;nbsp;apogee@apogeek.com&lt;br /&gt;cache_effective_user&amp;nbsp;squid&lt;br /&gt;cache_effective_group&amp;nbsp;squid&lt;br /&gt;snmp_port&amp;nbsp;3401&lt;br /&gt;acl&amp;nbsp;aclname&amp;nbsp;snmp_community&amp;nbsp;string&lt;br /&gt;acl&amp;nbsp;snmppublic&amp;nbsp;snmp_community&amp;nbsp;public&lt;br /&gt;snmp_access&amp;nbsp;allow&amp;nbsp;snmppublic&amp;nbsp;all&lt;br /&gt;snmp_outgoing_address&amp;nbsp;0.0.0.0&lt;br /&gt;dns_nameservers&amp;nbsp;8.8.8.8&lt;br /&gt;dns_nameservers&amp;nbsp;8.8.4.4&lt;br /&gt;dns_nameservers&amp;nbsp;4.2.2.2&lt;br /&gt;coredump_dir&amp;nbsp;/disk2-cache/var/cache&lt;br /&gt;&lt;/pre&gt;&lt;br/&gt;And here is the /etc/squid/youtube Perl script&lt;br/&gt;&lt;pre style="background-color: #e5ff80; border: 1px inset; font-family: Monospace,monospace; font-size: 8pt; height: 500px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;$|=1;&lt;br /&gt;while&amp;nbsp;(&amp;lt;&amp;gt;)&amp;nbsp;{&lt;br /&gt;@X&amp;nbsp;=&amp;nbsp;split;&lt;br /&gt;$url&amp;nbsp;=&amp;nbsp;$X[0];&lt;br /&gt;if&amp;nbsp;($url=~s@^http://(.*?)/videoplayback\?(.*)id=(.*?)&amp;amp;.*@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)/videoplayback\?(.*)id=(.*?)@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)/videoplay\?(.*)id=(.*?)&amp;amp;.*@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)/videoplay\?(.*)id=(.*?)@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)/get_video\?(.*)video_id=(.*?)&amp;amp;.*@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)/get_video\?(.*)video_id=(.*?)@squid://videos.youtube.INTERNAL/ID=$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)rapidshare(.*?)/files/(.*?)/(.*?)/(.*?)@squid://files.rapidshare.INTERNAL/$5@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)fbcdn\.net/(.*?)/(.*?)/(.*?\.jpg)@squid://files.facebook.INTERNAL/$4@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://contenidos2(.*?)/(.*?)@squid://files.contenidos2.INTERNAL/$2@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://cdn(.*?)/([0-9a-zA-Z_-]*?\.flv)@squid://files.cdn.INTERNAL/$2@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://web.vxv.com/data/media/(.*?)@squid://files.vxv.INTERNAL/$1@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)megaupload\.com/files/(.*?)/(.*?)@squid://files.megaupload.INTERNAL/$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)mediafire\.com/(.*?)/(.*?)@squid://files.megaupload.INTERNAL/$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)depositfiles\.com/(.*?)/(.*?)/(.*?)@squid://files.megaupload.INTERNAL/$4@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)\.files\.youporn\.com\/(.*?)\/([0-9a-zA-Z_-]*?\.flv)\?.*@squid://videos.youporn.INTERNAL/$3@){}&lt;br /&gt;elsif&lt;br /&gt;($url=~s@^http://(.*?)\.tube8\.com\/(.*?)\/([0-9a-zA-Z_-]*?\.flv)\?.*@squid://videos.tube8.INTERNAL/$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)\.tube8\.com\/(.*?)\/([0-9a-zA-Z_-]*?\.flv)@squid://videos.tube8.INTERNAL/$3@){}&lt;br /&gt;elsif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;($url=~s@^http://(.*?)megaporn\.com\/files\/(.*?)\/(.*?)@squid://files.megaporn.INTERNAL/$3@){}&lt;br /&gt;&lt;br /&gt;print&amp;nbsp;"$url\n";&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br/&gt;Since this happen for quite some time and I'm busy coding something else, I don't remember which part were changed. Maybe somewhere around url_regex. Perhaps if &lt;a href="http://piju.fakap.net/2008/11/08/tutorial-how-to-cache-youtube-using-squid-caching-proxy/"&gt;piju's blog&lt;/a&gt; are still running (which is currently not), we can do a diff to compare them. Anyway, here it is. These scripts are shared and distributed as is. If you change it, feel free to let me know. Otherwise, just enjoy! &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3005353762339160225?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3005353762339160225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3005353762339160225' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3005353762339160225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3005353762339160225'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/08/caching-youtube-using-squid-caching.html' title='Caching Youtube Using Squid Caching Proxy'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-LELf9D-_e-I/Tjx4Z7F81yI/AAAAAAAACZ0/eS8ZBs0SdIA/s72-c/squid-cache-youtube-coderstalk.blogspot.com-2011.png' height='72' width='72'/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7833074654993896059</id><published>2011-04-25T07:29:00.005+08:00</published><updated>2011-04-25T19:01:29.187+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python Server Page'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Python Server Pages Example of GET POST Form Input</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com" imageanchor="1"&gt;&lt;img border="0" width="520" src="http://4.bp.blogspot.com/-a9SptPidBJM/TbNctmSQG_I/AAAAAAAACTo/PllTMSllxUI/s600/python-form.png" /&gt;&lt;/a&gt;&lt;/div&gt;Previously, I've talked about mod_python.publisher method of creating a &lt;a href="http://coderstalk.blogspot.com/2009/11/example-of-simple-website-using-python.html"&gt;simple website using Python&lt;/a&gt;. And this time, I will talk about mod_python.psp where &lt;b&gt;PSP&lt;/b&gt; stands for &lt;b&gt;Python Server Pages&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;What good about Python Server Pages for former PHP or JSP programmer is the way you can write your code where you can use the &amp;lt;% # your code here %&amp;gt; tag as you always do. But before that, you have to configure your server to enable mod_python.psp.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Pre-requisite&lt;/b&gt;&lt;br /&gt;In order to run your site with PSP, you have to install and enable mod_python. Here is the steps if you are using Ubuntu:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install apache2 and libapache2-mod-python and enable mod-python&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo apt-get install apache2&lt;br /&gt;$ sudo apt-get install libapache2-mod-python&lt;br /&gt;$ sudo a2enmod python&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Edit /etc/apache2/sites-enabled/000-default. Search for this lines:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 130px; text-align: left;"&gt;&amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;                AllowOverride None&lt;br /&gt;                Order allow,deny&lt;br /&gt;                allow from all&lt;br /&gt;        &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;/pre&gt;and add python handler like this:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 220px; text-align: left;"&gt;&amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;                AllowOverride None&lt;br /&gt;                Order allow,deny&lt;br /&gt;                allow from all&lt;br /&gt;                &lt;font color="red"&gt;&lt;br /&gt;                AddHandler mod_python .psp&lt;br /&gt;                PythonHandler mod_python.psp&lt;br /&gt;                PythonDebug On&lt;br /&gt;                &lt;/font&gt;&lt;br /&gt;        &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Restart your apache&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo /etc/init.d/apache2 restart&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;You can also enable index.php for your DirectoryIndex by editing /etc/apache2/mods-enabled/dir.conf and add this string (in red):&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 70px; text-align: left;"&gt;&amp;lt;IfModule mod_dir.c&amp;gt;&lt;br /&gt;          DirectoryIndex &lt;font color="#FF0000"&gt;index.psp&lt;/font&gt; index.html index.cgi index.pl index.php index.xhtml index.htm &lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;Sample Python Server Pages Website&lt;/b&gt;&lt;br /&gt;And here is my sample code:&lt;br /&gt;&lt;style&gt; .style_1{color: #008000;} .style_2{color: #400080;} .style_3{color: #935300;} .style_4{color: #935300;} .style_5{color: #600080;font-weight: bold;} .style_10{color: #300080;} .style_11{color: #000000;} .style_13{color: #000000;}&lt;/style&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 8pt; height: 800px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&lt;span class="style_5"&gt;import&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;cgi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="style_11"&gt;thetitle&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;"Coder's&amp;nbsp;Talk&amp;nbsp;Python&amp;nbsp;Form&amp;nbsp;Example"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="style_1"&gt;#&amp;nbsp;it&amp;nbsp;doesn't&amp;nbsp;matter&amp;nbsp;whether&amp;nbsp;it&amp;nbsp;is&amp;nbsp;post&amp;nbsp;or&amp;nbsp;get&amp;nbsp;method&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;#&amp;nbsp;getfirst&amp;nbsp;will&amp;nbsp;find&amp;nbsp;the&amp;nbsp;item.&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;username&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;form&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;getfirst&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_4"&gt;'username'&lt;/span&gt;&lt;span class="style_10"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;themail&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;form&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;getfirst&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_4"&gt;'usermail'&lt;/span&gt;&lt;span class="style_10"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;html&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;head&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;title&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&amp;lt;%=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;thetitle&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;title&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;head&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;style&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;body&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;{&lt;/span&gt;&lt;span class="style_11"&gt;font&lt;/span&gt;&lt;span class="style_10"&gt;-&lt;/span&gt;&lt;span class="style_11"&gt;family&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;Arial&lt;/span&gt;&lt;span class="style_10"&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;font&lt;/span&gt;&lt;span class="style_10"&gt;-&lt;/span&gt;&lt;span class="style_11"&gt;size&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;span class="style_2"&gt;13px&lt;/span&gt;&lt;span class="style_10"&gt;;}&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;#contentbox&amp;nbsp;{width:&amp;nbsp;640px;&amp;nbsp;margin:0&amp;nbsp;auto;}&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;copy&lt;/span&gt;&lt;span class="style_10"&gt;,&amp;nbsp;.&lt;/span&gt;&lt;span class="style_11"&gt;copy&amp;nbsp;a&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;{&lt;/span&gt;&lt;span class="style_11"&gt;width&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="style_2"&gt;640px&lt;/span&gt;&lt;span class="style_10"&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;margin&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;span class="style_2"&gt;0&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;auto&lt;/span&gt;&lt;span class="style_10"&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;color&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;#DD8888;}&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;formresult&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;{&lt;/span&gt;&lt;span class="style_11"&gt;background&lt;/span&gt;&lt;span class="style_10"&gt;-&lt;/span&gt;&lt;span class="style_11"&gt;color&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;span class="style_11"&gt;#FFFF99;display:block;width:100%;padding:10px;}&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;style&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;body&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;div&amp;nbsp;id&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"contentbox"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;h1&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&amp;lt;%=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;thetitle&lt;/span&gt;&lt;span class="style_10"&gt;%&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;h1&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&lt;span class="style_5"&gt;if&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;username&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_11"&gt;username&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;cgi&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;escape&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;username&lt;/span&gt;&lt;span class="style_10"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;p&amp;nbsp;&lt;/span&gt;&lt;span class="style_5"&gt;class&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"formresult"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;span class="style_11"&gt;Hello&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;&amp;lt;%=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;username&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;%&amp;gt;!&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_5"&gt;if&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;themail&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_11"&gt;themail&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;cgi&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;escape&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;themail&lt;/span&gt;&lt;span class="style_10"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;Your&amp;nbsp;email&amp;nbsp;&lt;/span&gt;&lt;span class="style_5"&gt;is&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;&amp;lt;%=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;themail&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;%&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_5"&gt;else&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;You&amp;nbsp;didn&lt;/span&gt;&lt;span class="style_11"&gt;'t&amp;nbsp;enter&amp;nbsp;your&amp;nbsp;email.&amp;nbsp;You&amp;nbsp;don'&lt;/span&gt;&lt;span class="style_11"&gt;t&amp;nbsp;have&amp;nbsp;email&lt;/span&gt;&lt;span class="style_10"&gt;?&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_1"&gt;#&amp;nbsp;end&amp;nbsp;if&amp;nbsp;themail&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;#&amp;nbsp;end&amp;nbsp;if&amp;nbsp;username&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;span class="style_11"&gt;This&amp;nbsp;&lt;/span&gt;&lt;span class="style_5"&gt;is&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;my&amp;nbsp;example&amp;nbsp;form&amp;nbsp;page&amp;nbsp;processing&amp;nbsp;using&amp;nbsp;POST&amp;nbsp;method&lt;/span&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;form&amp;nbsp;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"myform"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;method&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"post"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;action&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"index.psp"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;Name&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"text"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"username"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;Email&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"text"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"usermail"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"submit"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;value&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"Submit"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;form&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;span class="style_11"&gt;This&amp;nbsp;&lt;/span&gt;&lt;span class="style_5"&gt;is&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;the&amp;nbsp;same&amp;nbsp;thing&amp;nbsp;using&amp;nbsp;GET&amp;nbsp;method&lt;/span&gt;&lt;span class="style_10"&gt;.&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;p&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;form&amp;nbsp;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"myform"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;method&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"get"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;action&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"index.psp"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;Name&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"text"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"username"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_11"&gt;Email&lt;/span&gt;&lt;span class="style_10"&gt;:&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"text"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;name&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"usermail"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;input&amp;nbsp;type&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"submit"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;value&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"Submit"&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;form&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;div&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;div&amp;nbsp;&lt;/span&gt;&lt;span class="style_5"&gt;class&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"copy"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;iframe&amp;nbsp;src&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCoders-Talk%2F138805102822113&amp;amp;amp;layout=standard&amp;amp;amp;show_faces=false&amp;amp;amp;width=640&amp;amp;amp;action=like&amp;amp;amp;font=tahoma&amp;amp;amp;colorscheme=light&amp;amp;amp;height=35"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;scrolling&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"no"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;frameborder&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"0"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;style&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"border:none;&amp;nbsp;overflow:hidden;&amp;nbsp;width:640px;&amp;nbsp;height:35px;"&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;allowTransparency&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"true"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;iframe&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;br&lt;/span&gt;&lt;span class="style_10"&gt;/&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="style_11"&gt;copy&lt;/span&gt;&lt;span class="style_10"&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;M&lt;/span&gt;&lt;span class="style_10"&gt;.&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;Fauzilkamil&amp;nbsp;Zainuddin&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;|&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span class="style_11"&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span class="style_10"&gt;=&lt;/span&gt;&lt;span class="style_3"&gt;"http://coderstalk.blogspot.com"&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;span class="style_11"&gt;Coder&lt;/span&gt;&lt;span class="style_13"&gt;'s&amp;nbsp;Talk&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;body&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="style_11"&gt;html&lt;/span&gt;&lt;span class="style_10"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;&amp;lt;%&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;#&amp;nbsp;end&amp;nbsp;of&amp;nbsp;code.&amp;nbsp;Copyright&amp;nbsp;(C)&amp;nbsp;M.&amp;nbsp;Fauzilkamil&amp;nbsp;Zainuddin&amp;nbsp;(ApOgEE)&amp;nbsp;-&amp;nbsp;http://coderstalk.blogspot.com&lt;/span&gt;&lt;br /&gt;&lt;span class="style_10"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can also download the &lt;a href="http://coderstalk.googlecode.com/svn/trunk/sample-python-website/get-post-index.psp"&gt;source code here &lt;/a&gt;. Make sure you rename it as &lt;b&gt;index.psp&lt;/b&gt; or change the action name on the form tag to be the same as your psp file name. Feel free to try it, modified it and don't forget to 'Like' this blog on Facebook too &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCoders-Talk%2F138805102822113&amp;amp;layout=standard&amp;amp;show_faces=false&amp;amp;width=640&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:640px; height:35px;" allowTransparency="true"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7833074654993896059?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7833074654993896059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7833074654993896059' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7833074654993896059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7833074654993896059'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/python-server-pages-example-of-get-post.html' title='Python Server Pages Example of GET POST Form Input'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-a9SptPidBJM/TbNctmSQG_I/AAAAAAAACTo/PllTMSllxUI/s72-c/python-form.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-927248665811162374</id><published>2011-04-24T03:25:00.002+08:00</published><updated>2011-04-24T08:08:41.454+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Python Code to Get IP Address From Interface Name</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com/2011/04/python-code-to-get-ip-address-from.html" imageanchor="1" &gt;&lt;img border="0" width="520" src="http://1.bp.blogspot.com/-f6KsXaviXNM/TbMbLcPqVCI/AAAAAAAACTg/9hSyskwvle4/s600/coderstalk-python-code.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;From my previous code on &lt;a href="http://coderstalk.blogspot.com/2010/02/print-active-network-interface-list-in.html"&gt;How To Print Active Network Interface List in Linux using Python&lt;/a&gt;, I got this question.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Question from jimchris:&lt;/b&gt;&lt;br /&gt;Nice work, now how do we get ip address from ifacedata?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;My Answer:&lt;/b&gt;&lt;br /&gt;Here's how... Add this function to your &lt;a href="http://coderstalk.blogspot.com/2010/02/print-active-network-interface-list-in.html"&gt;python code&lt;/a&gt;:&lt;br /&gt;&lt;style&gt; .style_5 {color: #8000FF;font-weight: bold;} .style_9 {color: #0000FF;} .style_10 {color: #FF0022;} .style_11{color: #000000;}&lt;/style&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 90px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_5"&gt;def&amp;nbsp;&lt;/span&gt;&lt;span class="style_9"&gt;getifip&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;ifn&lt;/span&gt;&lt;span class="style_10"&gt;):&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_5"&gt;import&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;fcntl&lt;/span&gt;&lt;span class="style_10"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;struct&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_11"&gt;sck&amp;nbsp;&lt;/span&gt;&lt;span class="style_10"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;AF_INET&lt;/span&gt;&lt;span class="style_10"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;SOCK_DGRAM&lt;/span&gt;&lt;span class="style_10"&gt;)&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="style_5"&gt;return&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;socket&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;inet_ntoa&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;fcntl&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;ioctl&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;sck&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;fileno&lt;/span&gt;&lt;span class="style_10"&gt;(),&lt;/span&gt;&lt;span class="style_2"&gt;0x8915&lt;/span&gt;&lt;span class="style_10"&gt;,&lt;/span&gt;&lt;span class="style_11"&gt;struct&lt;/span&gt;&lt;span class="style_10"&gt;.&lt;/span&gt;&lt;span class="style_11"&gt;pack&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_4"&gt;'256s'&lt;/span&gt;&lt;span class="style_10"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;ifn&lt;/span&gt;&lt;span class="style_10"&gt;[:&lt;/span&gt;&lt;span class="style_2"&gt;15&lt;/span&gt;&lt;span class="style_10"&gt;]))[&lt;/span&gt;&lt;span class="style_2"&gt;20&lt;/span&gt;&lt;span class="style_10"&gt;:&lt;/span&gt;&lt;span class="style_2"&gt;24&lt;/span&gt;&lt;span class="style_10"&gt;])&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then use it in your &lt;a href="http://coderstalk.blogspot.com/2010/02/print-active-network-interface-list-in.html"&gt;previous code&lt;/a&gt; like this:&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 20px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_5"&gt;print&amp;nbsp;&lt;/span&gt;&lt;span class="style_11"&gt;getifip&lt;/span&gt;&lt;span class="style_10"&gt;(&lt;/span&gt;&lt;span class="style_11"&gt;ifacedata&lt;/span&gt;&lt;span class="style_10"&gt;[&lt;/span&gt;&lt;span class="style_2"&gt;0&lt;/span&gt;&lt;span class="style_10"&gt;])&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;Update:&lt;/b&gt;&lt;/font&gt; you can also download the &lt;a href="http://coderstalk.googlecode.com/svn/trunk/python-sample/iflist.py"&gt;python source code here&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Wish you luck and Happy Coding! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCoders-Talk%2F138805102822113&amp;amp;layout=standard&amp;amp;show_faces=false&amp;amp;width=640&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:640px; height:35px;" allowTransparency="true"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-927248665811162374?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/927248665811162374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=927248665811162374' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/927248665811162374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/927248665811162374'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/python-code-to-get-ip-address-from.html' title='Python Code to Get IP Address From Interface Name'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-f6KsXaviXNM/TbMbLcPqVCI/AAAAAAAACTg/9hSyskwvle4/s72-c/coderstalk-python-code.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7556398536112283702</id><published>2011-04-22T13:00:00.001+08:00</published><updated>2011-04-22T13:17:01.813+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBScript'/><title type='text'>VBScript Get File Extension</title><content type='html'>Before anything else, you may love to read this book too!...&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a imageanchor="1" target="_blank"  href="http://www.amazon.com/VBScript-Programmers-Reference-third-Text/dp/B004R212V8?ie=UTF8&amp;tag=coderstalkblo-20&amp;link_code=bil&amp;camp=213689&amp;creative=392969"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-zf_0qvkvLNE/TbEJQCUsXaI/AAAAAAAACTQ/4RaL1SQzYwc/s400/vbscript-third-edition.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Actually, I got this question from the reader of my previous blog post about &lt;a href="http://coderstalk.blogspot.com/2007/09/vbscript-to-replace-underscores-in.html"&gt;VBScript to Replace Underscores in Filename with Spaces for All Files in a Folder&lt;/a&gt;, and I decided to answer it here.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Question from Justin:&lt;/b&gt;&lt;br /&gt;I tried something simular..but modified your VBS..&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 440px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;'========================================================&lt;br /&gt;' VBScript to replace underscore in file name with space&lt;br /&gt;' for each files in a folder&lt;br /&gt;' Written by ApOgEE of http://coderstalk.blogspot.com&lt;br /&gt;'========================================================&lt;br /&gt;Dim sName&lt;br /&gt;Dim fso&lt;br /&gt;Dim fol&lt;br /&gt;&lt;br /&gt;' create the filesystem object&lt;br /&gt;Set fso = WScript.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;&lt;br /&gt;' get current folder&lt;br /&gt;Set fol = fso.GetFolder(".")&lt;br /&gt;&lt;br /&gt;' go thru each files in the folder&lt;br /&gt;For Each fil In fol.Files&lt;br /&gt;' check if the file name contains underscore&lt;br /&gt;If InStr(1, fil.Name, "The ") &lt;&gt; 0 Then&lt;br /&gt;' replace underscore with space&lt;br /&gt;sName = Replace(fil.Name, "The ", "") &amp; ", The"&lt;br /&gt;' rename the file&lt;br /&gt;fil.Name = sName&lt;br /&gt;End If&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;' echo the job is completed&lt;br /&gt;WScript.Echo "Completed!"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;i have Files in a given folder that has Names in them...&lt;br /&gt;&lt;br /&gt;ie.&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 60px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;The Last Star Fighter&lt;br /&gt;Gone with the wind&lt;br /&gt;The Good, the Bad, and the Ugly.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;With the modified VBS above Ive run it and i get the following...&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 60px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;Last Star Fighter.mp4, The&lt;br /&gt;Gone with the Wind&lt;br /&gt;Good, the Bad, and the Ugly.mp4, The&lt;br /&gt;&lt;/pre&gt;How do i get rid of the extention in the middle of the name? What am I doing wrong?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;My First answer:&lt;/b&gt;&lt;br /&gt;Dear Justin,&lt;br /&gt;check your code again. Search for line of code containing &lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 13px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;"sName = Replace"&lt;br /&gt;&lt;/pre&gt;and remove the code after ')'.&lt;br /&gt;&lt;br /&gt;Specifically, the code: &lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 13px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;'&amp; ", The"'&lt;br /&gt;&lt;/pre&gt;have to be removed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Justin Replies:&lt;/b&gt;&lt;br /&gt;Ok i Changed the Line in question...and Reran the code...&lt;br /&gt;&lt;br /&gt;Now i get...&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 60px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;Gone with the Wind --ok&lt;br /&gt;Good, the Bad, and the Ugly --Problem&lt;br /&gt;&lt;br /&gt;Last Star Fighter --Problem&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;They Should read...&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 60px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;Gone with the Wind&lt;br /&gt;Good, the Bad, and the Ugly, The&lt;br /&gt;Last Star Fighter, The&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;My Answer:&lt;/b&gt;&lt;br /&gt;If that is the case, you should get and strip the file extension before you replace the name and add it back to the filename after replacement. Here is the snippet:&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 100px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;font color="#008800"&gt;' get the file extension&lt;/font&gt;&lt;br /&gt;sExtension = fso.GetExtensionName(fil.Name)&lt;br /&gt;&lt;font color="#008800"&gt;' strip the extension from file name&lt;/font&gt;&lt;br /&gt;sName = Replace(fil.Name, "." &amp; sExtension, "")&lt;br /&gt;&lt;font color="#008800"&gt;' replace the whatever and put the extension back&lt;/font&gt;&lt;br /&gt;sName = Replace(sName, "The ", "") &amp; ", The" &amp; "." &amp; sExtension&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and your new code should look like this:&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 540px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;font color="#008800"&gt;'========================================================&lt;br /&gt;' VBScript to replace underscore in file name with space&lt;br /&gt;' for each files in a folder&lt;br /&gt;' Written by ApOgEE of http://coderstalk.blogspot.com&lt;br /&gt;'========================================================&lt;/font&gt;&lt;br /&gt;Dim sName&lt;br /&gt;Dim fso&lt;br /&gt;Dim fol&lt;br /&gt;&lt;br /&gt;&lt;font color="#008800"&gt;' create the filesystem object&lt;/font&gt;&lt;br /&gt;Set fso = WScript.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;&lt;br /&gt;&lt;font color="#008800"&gt;' get current folder&lt;/font&gt;&lt;br /&gt;Set fol = fso.GetFolder(".")&lt;br /&gt;&lt;br /&gt;&lt;font color="#008800"&gt;' go thru each files in the folder&lt;/font&gt;&lt;br /&gt;For Each fil In fol.Files&lt;br /&gt;&lt;font color="#008800"&gt;' check if the file name contains underscore&lt;/font&gt;&lt;br /&gt;If InStr(1, fil.Name, "The ") &lt;&gt; 0 Then&lt;br /&gt;&lt;font color="#008800"&gt;' &lt;strike&gt;replace underscore with space&lt;/strike&gt;&lt;br /&gt;' &lt;strike&gt;sName = Replace(fil.Name, "The ", "") &amp; ", The"&lt;/strike&gt;&lt;br /&gt;' get the file extension&lt;/font&gt;&lt;br /&gt;sExtension = fso.GetExtensionName(fil.Name)&lt;br /&gt;&lt;font color="#008800"&gt;' strip the extension from file name&lt;/font&gt;&lt;br /&gt;sName = Replace(fil.Name, "." &amp; sExtension, "")&lt;br /&gt;&lt;font color="#008800"&gt;' replace the whatever and put the extension back&lt;/font&gt;&lt;br /&gt;sName = Replace(sName, "The ", "") &amp; ", The" &amp; "." &amp; sExtension&lt;br /&gt;&lt;font color="#008800"&gt;' rename the file&lt;/font&gt;&lt;br /&gt;fil.Name = sName&lt;br /&gt;End If&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;font color="#008800"&gt;' echo the job is completed&lt;/font&gt;&lt;br /&gt;WScript.Echo "Completed!"&lt;br /&gt;&lt;/pre&gt;Good luck!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7556398536112283702?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7556398536112283702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7556398536112283702' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7556398536112283702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7556398536112283702'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/vbscript-get-file-extension.html' title='VBScript Get File Extension'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-zf_0qvkvLNE/TbEJQCUsXaI/AAAAAAAACTQ/4RaL1SQzYwc/s72-c/vbscript-third-edition.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5432157279446514639</id><published>2011-04-21T13:54:00.001+08:00</published><updated>2011-04-25T19:12:39.754+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='HitungHari'/><category scheme='http://www.blogger.com/atom/ns#' term='OSDC.my'/><category scheme='http://www.blogger.com/atom/ns#' term='php programming'/><title type='text'>HitungHari - PHP Countdown Banner Application</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com/" imageanchor="1" &gt;&lt;img border="0" width="520" src="http://2.bp.blogspot.com/-4iCz8eReMN4/Ta_B4kBm2nI/AAAAAAAACTI/IdwsHtGVn7U/s600/hitunghari-code.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The ideas developed since my previous &lt;a href="http://coderstalk.blogspot.com/2011/04/mosc-2011-countdown-banner.html"&gt;Countdown Banner for MOSC2011&lt;/a&gt;. I have made some modification on  the source code and then it spark me an idea to share the source code as open source too. Therefore, I clean up my messy code, make some documentation and comments so people can reuse the code. And I name it as &lt;a href="http://code.google.com/p/hitunghari/"&gt;HitungHari&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The word &lt;b&gt;HitungHari&lt;/b&gt; actually come from Malay words for counting days. Where 'Hitung' means 'Count', and 'Hari' means 'Days'. I have more ideas to develop from this piece. Perhaps, you may also have ideas too. I would be glad to hear your comments. Checkout the &lt;a href="http://code.google.com/p/hitunghari/"&gt;Google Code site for HitungHari&lt;/a&gt; and feel free to download, try, hack, and comment it.&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCoders-Talk%2F138805102822113&amp;amp;layout=standard&amp;amp;show_faces=false&amp;amp;width=640&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:640px; height:35px;" allowTransparency="true"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5432157279446514639?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5432157279446514639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5432157279446514639' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5432157279446514639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5432157279446514639'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/hitunghari-php-countdown-banner.html' title='HitungHari - PHP Countdown Banner Application'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-4iCz8eReMN4/Ta_B4kBm2nI/AAAAAAAACTI/IdwsHtGVn7U/s72-c/hitunghari-code.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6567037680853122893</id><published>2011-04-19T12:21:00.005+08:00</published><updated>2011-04-25T19:06:31.451+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='OSDC.my'/><title type='text'>MOSC 2011 Countdown Banner</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com/2011/04/mosc-2011-countdown-banner.html" imageanchor="1"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-PRcz1mT6i14/Ta0MuNXTL3I/AAAAAAAACSU/kuDdjSCW4lw/s600/mosc-countdown-inkscape-apogee.png" width="520" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I'm just having fun with PHP GD and Inkscape. So, to make my toy useful, I would like to dedicate this Countdown banner for the upcoming MOSC 2011 event. You are free to put it on your blog or website. Here is the code to put on your site:&lt;br /&gt;&lt;style type="text/css"&gt;.style_1{color: #000099;} .style_3{color: #007f00;}.style_6{color: #ff901e;}.style_8{color: #800080;}.style_9{color: #808080;}&lt;/style&gt;&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 110px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;start&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;div&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;style&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"width:100%;&amp;nbsp;text-align:center;"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;a&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;href&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.mosc.my"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;img&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;src&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.apogeek.com/osdc/mosc-countdown-img.php"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;end&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And here is the result:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center; width: 100%;"&gt;&lt;a href="http://www.mosc.my/" target="_blank"&gt;&lt;img src="http://www.apogeek.com/osdc/mosc-countdown-img.php" target="_blank" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I hope you enjoy it! Feel free to Follow this blog if you like it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt;&lt;br /&gt;I heard request on MOSC2011 mailing list where some of them want this banner in different sizes. So, I've modified my php code and add this sizes:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MOSC Countdown Banner 300x250 &lt;/b&gt;&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 110px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;start&amp;nbsp;300x250&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;div&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;style&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"width:100%;&amp;nbsp;text-align:center;"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;a&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;href&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.mosc.my"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;img&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;src&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.apogeek.com/osdc/mosc-countdown-img.php?size=1"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;end&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;MOSC Countdown Banner 728x90 &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="background-color: white; border: 1px inset; font-family: Monospace,monospace; font-size: 9pt; height: 110px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;start&amp;nbsp;728x90&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;div&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;style&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"width:100%;&amp;nbsp;text-align:center;"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;a&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;href&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.mosc.my"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;img&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;src&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"http://www.apogeek.com/osdc/mosc-countdown-img.php?size=2"&amp;nbsp;&lt;/span&gt;&lt;span class="style_3"&gt;target&lt;/span&gt;&lt;span class="style_8"&gt;=&lt;/span&gt;&lt;span class="style_6"&gt;"_blank"&lt;/span&gt;&lt;span class="style_1"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_1"&gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="style_9"&gt;&amp;lt;!--&amp;nbsp;MOSC2011&amp;nbsp;Countdown&amp;nbsp;Banner&amp;nbsp;By&amp;nbsp;ApOgEE&amp;nbsp;-&amp;nbsp;code&amp;nbsp;end&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I follow 2 of Google Adsense size. There are more wich I haven't had time to do yet. Please tell me if you need other specific size.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;b&gt;Latest Update:&lt;/b&gt;&lt;/div&gt;I have shared my source code for this Countdown Banner and I call it &lt;a href="http://coderstalk.blogspot.com/2011/04/hitunghari-php-countdown-banner.html"&gt;HitungHari&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCoders-Talk%2F138805102822113&amp;amp;layout=standard&amp;amp;show_faces=false&amp;amp;width=640&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:640px; height:35px;" allowTransparency="true"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6567037680853122893?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6567037680853122893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6567037680853122893' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6567037680853122893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6567037680853122893'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/mosc-2011-countdown-banner.html' title='MOSC 2011 Countdown Banner'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-PRcz1mT6i14/Ta0MuNXTL3I/AAAAAAAACSU/kuDdjSCW4lw/s72-c/mosc-countdown-inkscape-apogee.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1243098768564200275</id><published>2011-04-13T14:56:00.000+08:00</published><updated>2011-04-13T14:56:08.540+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='gadget'/><category scheme='http://www.blogger.com/atom/ns#' term='Computer Science'/><title type='text'>Safe Way To Learn Chemical Reaction Without Using Actual Chemicals</title><content type='html'>I played with hydrochloric acid during my school's chemistry lab session. Drop a little amount of it to my text book while my teacher is teaching something else, and see the pages being eaten by those acids. Just because I'm getting bored in class. That was one case of myself. How about you? Have you ever misuse your science lab chemicals? Today, I found other way for student to learn about chemical reaction without ever use the actual chemical.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" width="520" src="http://3.bp.blogspot.com/-jVzgfwQCsT0/TaVAHZmal-I/AAAAAAAACR0/j_d7kq2lthA/s600/_D7H9870.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" width="520" src="http://3.bp.blogspot.com/-9tZ6bckd9Fo/TaVANhzpY4I/AAAAAAAACR8/gl83m6ogsWA/s600/_D7H9607.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;At Museum of Science and Industry in Chicago, you can experiment and create a chemical reaction using their interactive exhibit in the Science Storms wing. This interactive exhibit is called Create a Chemical Reaction. Using specially-tagged pucks, visitors can grab atoms from the periodic table and combine them to cause chemical reactions.&lt;br /&gt;&lt;br /&gt;&lt;iframe title="YouTube video player" width="525" height="390" src="http://www.youtube.com/embed/aGsmFLCcDSw" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;The "Create a Chemical Reaction" interactive exhibit is powered by &lt;a href="http://www.pattenstudio.com/projects/sensetable/" target="_blank"&gt;Sensetable&lt;/a&gt; platform from Patten Studio. The Sensetable concept and initial prototypes were developed by the Tangible Media Group at the MIT Media Lab. James Patten, Hiroshi Ishii, Jim Hines and Gian Pangaro are the people who invent this amazing Sensetable, A Wireless Object Tracking Platform for Tangible User Interfaces. Iwish I could play with it. I can imagine how this great invention can change our computing interface in the near future.&lt;br /&gt;&lt;br /&gt;(Via &lt;a href="http://www.pattenstudio.com/projects/chem/" target="_blank"&gt;Patten Studio&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-1243098768564200275?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1243098768564200275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1243098768564200275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1243098768564200275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1243098768564200275'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2011/04/safe-way-to-learn-chemical-reaction.html' title='Safe Way To Learn Chemical Reaction Without Using Actual Chemicals'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-jVzgfwQCsT0/TaVAHZmal-I/AAAAAAAACR0/j_d7kq2lthA/s72-c/_D7H9870.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1285537433576503772</id><published>2010-12-06T08:30:00.002+08:00</published><updated>2010-12-06T09:37:39.391+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ts-7260'/><category scheme='http://www.blogger.com/atom/ns#' term='TS-ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='ts-7000'/><category scheme='http://www.blogger.com/atom/ns#' term='embedded system'/><title type='text'>How to Add Swap on ts-7260 Linux</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;a href="http://coderstalk.blogspot.com/" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_QmenDvyMjlk/TPw7np9JYKI/AAAAAAAACKc/sE77W--LC0w/s1600/coderstalk.blogspot.com.embedded.png" /&gt;&lt;/a&gt;&lt;/div&gt;For any reason, you may need extra memory on your ts-7260 SBC but the build in RAM is only 28MB. In my case, it get rebooted when I'm running few programs that continuously reading the input from the DIO. As this system is running linux, we can use swap memory instead of physical RAM. So, to solve this problem, we can create swap file on this ts-7260. Here is how to add swapfile on ts-7260 board running the default debian Sarge on ts11 kernel 2.4 SD card boot linux.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Let's check the free memory...&lt;br /&gt;&lt;pre id="linuxterm"&gt;&lt;span class="fullpost"&gt;root@ts7000:root# free -m&lt;br /&gt;total       used       free     shared    buffers     cached&lt;br /&gt;Mem:            28         26          1          0          1         18&lt;br /&gt;-/+ buffers/cache:          6         21&lt;br /&gt;Swap:            0          0          0&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;From the above result, you can see the total memory is 28 and we have 0 on swap. Now, we have to create the swapfile using this command:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;root@ts7000:root# dd if=/dev/zero of=/swapfile bs=1024 count=98304&lt;br /&gt;98304+0 records in&lt;br /&gt;98304+0 records out&lt;br /&gt;100663296 bytes transferred in 75.990000 seconds (1324691 bytes/sec)&lt;br /&gt;root@ts7000:root# mkswap -L swapfile /swapfile&lt;br /&gt;Setting up swapspace version 1, size = 100659 kB&lt;br /&gt;LABEL=swapfile, UUID=6c0cf1ae-d174-48c6-99ac-cc9f2a35ba21&lt;br /&gt;root@ts7000:root# swapon /swapfile &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Check free memory again&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;root@ts7000:root# free -m&lt;br /&gt;total       used       free     shared    buffers     cached&lt;br /&gt;Mem:            28         26          1          0          1         18&lt;br /&gt;-/+ buffers/cache:          6         21&lt;br /&gt;Swap:           95          0         95&lt;br /&gt;root@ts7000:root# &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now, you should see there is 95MB swap. And  to make it permanent, add this entry on /etc/fstab&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;/swapfile none swap sw 0 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;as the command goes...&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;root@ts7000:root# cat /etc/fstab&lt;br /&gt;proc             /proc         proc    defaults                 0    0&lt;br /&gt;none            /dev/pts        devpts        gid=5,mode=620    0 0&lt;br /&gt;/dev/sdcard0/disc0/part3 / ext2 defaults,noatime,async 1 1 &lt;br /&gt;root@ts7000:root# vi /etc/fstab&lt;br /&gt;root@ts7000:root# cat /etc/fstab&lt;br /&gt;proc             /proc         proc    defaults                 0    0&lt;br /&gt;none            /dev/pts        devpts        gid=5,mode=620    0 0&lt;br /&gt;/dev/sdcard0/disc0/part3 / ext2 defaults,noatime,async 1 1 &lt;br /&gt;/swapfile none swap sw 0 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I hope this can help you with your ts-7260 SBC. Have fun!! &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt; Don't forget to follow me on &lt;a href="http://coderstalk.blogspot.com/"&gt;Coder's Talk&lt;/a&gt;&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/3928190665450830956-1285537433576503772?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1285537433576503772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1285537433576503772' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1285537433576503772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1285537433576503772'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/12/how-to-add-swap-on-ts-7260-linux.html' title='How to Add Swap on ts-7260 Linux'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/TPw7np9JYKI/AAAAAAAACKc/sE77W--LC0w/s72-c/coderstalk.blogspot.com.embedded.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7809594395583734930</id><published>2010-06-18T13:18:00.001+08:00</published><updated>2010-06-18T13:21:16.966+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web interface'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Solving RadiusManager Web Interface</title><content type='html'>&lt;b&gt;Siamak asked me:&lt;/b&gt; After following the installation manual, the admin.php page still showing blank page instead of the login page. Why is that?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;My Answer:&lt;/b&gt; I'm not a wizard to magically answer your problem... let me check your server.&lt;br /&gt;&lt;br /&gt;After checking the server here is some information...&lt;br /&gt;&lt;br /&gt;The linux:&lt;br /&gt;&lt;pre id="linuxterm"&gt;[root@localhost html]# uname -a&lt;br /&gt;Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux&lt;/pre&gt;&lt;br /&gt;I try to see what is happening in the /var/log/httpd/access_log... &lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;XX.XX.XX.XXX - - [18/Jun/2011:23:12:03 +0800] "GET /radiusmanager/admin.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010040118 Ubuntu/8.10 (intrepid) Firefox/3.0.19"&lt;/pre&gt;&lt;br /&gt;so, I can see it is getting 500 error... seems like the server is misconfigured or something.&lt;br /&gt;&lt;br /&gt;This RadiusManager is using ionCube to encode the page. Therefore, I think the httpd server haven't configured to use enough memory to parse the file.&lt;br /&gt;&lt;br /&gt;What I do to fix this is simply edit the &lt;code&gt;/etc/httpd/conf.d/php.conf&lt;/code&gt; and add this line at the bottom...&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; height: 15px; text-align: left; width: 98%;"&gt;php_value memory_limit 500M&lt;/pre&gt;&lt;br /&gt;save the file and restart the httpd server:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;[root@localhost html]# service httpd restart&lt;/pre&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_QmenDvyMjlk/TBsBJLeYu5I/AAAAAAAACF8/Z4kobUL69DE/s1600/radius-manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_QmenDvyMjlk/TBsBJLeYu5I/AAAAAAAACF8/Z4kobUL69DE/s400/radius-manager.png" width="375" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now, I can see the RadiusManager page. That's all Siamak. Have fun using linux! &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7809594395583734930?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7809594395583734930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7809594395583734930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7809594395583734930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7809594395583734930'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/06/solving-radiusmanager-web-interface.html' title='Solving RadiusManager Web Interface'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/TBsBJLeYu5I/AAAAAAAACF8/Z4kobUL69DE/s72-c/radius-manager.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6809534778392592950</id><published>2010-06-16T13:06:00.002+08:00</published><updated>2010-06-16T13:26:15.893+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Beginning C Programming in Linux</title><content type='html'>Don't ask a lot to begin C programming in Linux. Just grab your tools and start small. This time, I just wanna show you how to start C programming in linux. You can use any Linux distro. However, if you are beginner, just follow me using Ubuntu Linux.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Install the required packages.&lt;/b&gt;&lt;br /&gt;First of all, you have to make sure that you have C compiler to compile your code. In linux, we use "gcc - GNU project C and C++ compiler".&lt;br /&gt;&lt;br /&gt;In Debian, Ubuntu and it's family distro, all the basic programming tools for C programming can be found in build-essential package. Use this command to install this package:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo apt-get install build-essential &lt;/pre&gt;&lt;br /&gt;&lt;b&gt;2. Write your first program&lt;/b&gt;&lt;br /&gt;Now, after installing the required package, we can start coding our first program. As usual, you may start with a "Hello World" program.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Create new project directory&lt;/b&gt;&lt;br /&gt;Under your home directory, you may start creating your project directory to begin with. In this example, I'm calling it as myhello:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ mkdir myhello&lt;/pre&gt;&lt;br /&gt;Then, get into our project directory:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ cd myhello&lt;/pre&gt;&lt;br /&gt;Now, create our hello.c file. You may follow this example "hello world" code or be imaginative to modified it as you like. Experiments to see what is possible to modify in this code:&lt;br /&gt;&lt;pre style="border: 1px inset; height: 100px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span class="codestyle_9"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;span class="codestyle_6"&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="codestyle_5"&gt;int&amp;nbsp;&lt;/span&gt;&lt;span class="codestyle_11"&gt;main&lt;/span&gt;&lt;span class="codestyle_10"&gt;()&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="codestyle_11"&gt;printf&lt;/span&gt;&lt;span class="codestyle_10"&gt;(&lt;/span&gt;&lt;span class="codestyle_6"&gt;"Hello&amp;nbsp;My&amp;nbsp;friend,&amp;nbsp;Let's&amp;nbsp;do&amp;nbsp;C&amp;nbsp;programming\n"&lt;/span&gt;&lt;span class="codestyle_10"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class="codestyle_10"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;3. Compile your program.&lt;/b&gt;&lt;br /&gt;To compile your first linux C program, launch your terminal and go to current directory where you put your hello.c code. Then, run this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ gcc hello.c -o hello&lt;/pre&gt;&lt;br /&gt;After that, you will have an executable file called hello in this directory. Congratulations! you have created your first C program in linux. You can now, execute this program using this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ ./hello&lt;/pre&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_QmenDvyMjlk/TBhgHjxOJTI/AAAAAAAACFs/vh6yS1te4u0/s1600/myhello.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="282" src="http://3.bp.blogspot.com/_QmenDvyMjlk/TBhgHjxOJTI/AAAAAAAACFs/vh6yS1te4u0/s400/myhello.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;The output will be printed on your screen. You can add more stuff and experiments. Until next time, I hope you enjoy this. Happy coding... &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6809534778392592950?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6809534778392592950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6809534778392592950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6809534778392592950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6809534778392592950'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/06/beginning-c-programming-in-linux.html' title='Beginning C Programming in Linux'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/TBhgHjxOJTI/AAAAAAAACFs/vh6yS1te4u0/s72-c/myhello.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2695881646173179334</id><published>2010-02-22T10:31:00.008+08:00</published><updated>2010-07-13T12:50:53.168+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='Computer Science'/><title type='text'>Scrum Agile Software Development: Chicken And Pig Story</title><content type='html'>Scrum is an iterative incremental framework for managing complex work (such as new product development) commonly used with Agile Software Development methodology. Although the word is not an acronym, some companies implementing the process have been known to spell it with capital letters as SCRUM. Maybe because Ken Schwaber capitalized SCRUM in the title of his early papers about this methodology.&lt;br /&gt;&lt;br /&gt;Although Scrum was intended for management of software development projects, it can be used to run software maintenance teams, or as a general project/program management approach.&lt;br /&gt;&lt;br /&gt;A number of roles are defined in Scrum. All roles fall into two distinct groups — pigs and chickens — based on the nature of their involvement in the development process. These groups get their names from a joke about a pig and a chicken opening a restaurant&lt;br /&gt;&lt;br /&gt;There are several variants as to how the Chicken and the Pig meet and the level of the relationship between the two.&lt;br /&gt;&lt;br /&gt;However, in every variant, the Chicken suggests that the two involve themselves in a scheme involving ham (or bacon) and eggs (some suggest a breakfast, others suggest a restaurant). In reply, the Pig always notes that, for the Chicken, only a contribution is required (as a chicken can simply lay an egg and then resume normal activities), while for the Pig a "total commitment" (or total sacrifice) is needed (as in order to make ham or bacon, the pig must be slaughtered).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.implementingscrum.com/2008/07/25/welcome-to-a-time-machine-future-and-past-combine-here/" target="_blank"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 141px;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/S4HvSv1qE_I/AAAAAAAACA8/o5xlgrJeKSw/s400/060911-scrumtoon.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5440892930198475762" /&gt;&lt;/a&gt;&lt;br /&gt;So the “pigs” are committed to building software regularly and frequently, while everyone else is a “chicken”—interested in the project but really indifferent because if it fails they’re not the pigs—that is, they weren’t the ones that committed to doing it. The needs, desires, ideas and influences of the chicken roles are taken into account, but are not in any way allowed to affect, distort or get in the way of the actual Scrum project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;font-size:23px"&gt;“Pig” roles&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Pigs are the ones committed to the project in the Scrum process—they are the ones with “their bacon on the line” and performing the actual work of the project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Scrum Master (or Facilitator)&lt;/span&gt;&lt;br /&gt;Scrum is facilitated by a Scrum Master, whose primary job is to remove impediments to the ability of the team to deliver the sprint goal. The Scrum Master is not the leader of the team (as the team is self-organizing) but acts as a buffer between the team and any distracting influences. The Scrum Master ensures that the Scrum process is used as intended. The Scrum Master is the enforcer of rules. A key part of the Scrum Master’s role is to protect the team and keep them focused on the tasks in hand.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Team&lt;/span&gt;&lt;br /&gt;The team has the responsibility to deliver the product. A team is typically made up of 5–9 people with cross-functional skills who do the actual work (design, develop, test, technical communication, etc.).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Product Owner&lt;/span&gt;&lt;br /&gt;The Product Owner represents the voice of the customer. He/she ensures that the Scrum Team works with the “right things” from a business perspective. The Product Owner writes customer-centric items (typically user stories), prioritizes them and then places them in the product backlog. A Product Owner can be a member of the Scrum Team but cannot be a ScrumMaster.&lt;br /&gt;According to original Scrum, Product Owner is in a "pig" role. However, if the Product Owner does not have involvement regularly, he/she may be considered as a "chicken" .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;font-size:23px;"&gt;“Chicken” roles&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Chicken roles are not part of the actual Scrum process, but must be taken into account. They are people for whom the software is being built.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Stakeholders (customers, vendors)&lt;/span&gt;&lt;br /&gt;These are the people who enable the project and for whom the project will produce the agreed-upon benefit[s], which justify its production. They are only directly involved in the process during the sprint reviews.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Managers&lt;/span&gt;&lt;br /&gt;People who will set up the environment for the product development organizations.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.implementingscrum.com/2006/12/19/go-directly-to-jail-do-not-pass-go/" target="_blank"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 141px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/S4H2poCnfHI/AAAAAAAACBE/0QEDe0y3lPw/s400/061218-scrumtoon.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5440901019823733874" /&gt;&lt;/a&gt;&lt;br /&gt;That's all for now... I'm just sharing my readings about Scrum Agile Software Development. Most of these are taken from wikipedia while the cartoon was found in implementingscrum.com. Enjoy it. &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2695881646173179334?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2695881646173179334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2695881646173179334' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2695881646173179334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2695881646173179334'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/02/scrum-agile-software-development.html' title='Scrum Agile Software Development: Chicken And Pig Story'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/S4HvSv1qE_I/AAAAAAAACA8/o5xlgrJeKSw/s72-c/060911-scrumtoon.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6414075118665582429</id><published>2010-02-14T15:41:00.004+08:00</published><updated>2010-02-14T15:56:07.261+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux shell script'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>How to install notify-send in ubuntu</title><content type='html'>&lt;span style="font-weight:bold;"&gt;notify-send&lt;/span&gt; is a command to send desktop notifications to a notification daemon. It is included in libnotify-bin package, which is a library that sends desktop notifications to a notification daemon, as defined in the Desktop Notifications spec. These notifications can be used to inform the user about an event or display some form of information without getting in the user's way.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/S3erwGAXAVI/AAAAAAAACAk/TWHbI8hUkKI/s1600-h/install-libnotify-send.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 258px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/S3erwGAXAVI/AAAAAAAACAk/TWHbI8hUkKI/s400/install-libnotify-send.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5438003917807354194" /&gt;&lt;/a&gt;&lt;br /&gt;You can install it using &lt;span style="font-weight:bold;"&gt;Synaptic Package Manager&lt;/span&gt; by searching for libnotify-bin package and install it. Or you can install it via terminal using this command:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;apogee@apogee-ubuntu:~$ sudo apt-get install libnotify-bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And then, you can use the notify-send command as described in my previous post about &lt;a href="http://coderstalk.blogspot.com/2010/02/custom-gnome-notification-for-your-apps.html"&gt;Custom Gnome Notification for your apps&lt;/a&gt;. Have fun!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6414075118665582429?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6414075118665582429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6414075118665582429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6414075118665582429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6414075118665582429'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/02/how-to-install-notify-send-in-ubuntu.html' title='How to install notify-send in ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/S3erwGAXAVI/AAAAAAAACAk/TWHbI8hUkKI/s72-c/install-libnotify-send.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7909405436385535892</id><published>2010-02-13T13:00:00.007+08:00</published><updated>2010-02-17T11:56:47.357+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux shell script'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Custom Gnome Notification for your apps</title><content type='html'>When you run a command that would take long time to finish, you would rather do something else beside staring at the terminal to wait until it finished to do the next procedure. In my case, if I write the SD cards for my ts-7260, I would leave it and do other stuff.&lt;br /&gt;&lt;br /&gt;Since it is easy to get distracted with so many stuff on the internet, I sometimes forget to get back to check the dd terminal. This could waste my time because the process have stopped for quite long time where I should write another card instead just right after the first card finished.&lt;br /&gt;&lt;br /&gt;Therefore, I use notify-send from &lt;a href="http://coderstalk.blogspot.com/2010/02/how-to-install-notify-send-in-ubuntu.html"&gt;libnotify-bin package&lt;/a&gt; to notify me about my process while I'm free to check my mail, reading, surfing and so on. Here is the screenshot of my gnome notification when it is ready.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_QmenDvyMjlk/S3Un4BzKx1I/AAAAAAAACAA/B00DXGMA7Qc/s1600-h/custom-gnome-notification.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_QmenDvyMjlk/S3Un4BzKx1I/AAAAAAAACAA/B00DXGMA7Qc/s400/custom-gnome-notification.png"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It can be done with one line of command like this: &lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; height: 100px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;notify-send -i /usr/share/icons/Human/scalable/devices/media-flash.svg \&lt;br /&gt;  -h int:x:$(xrandr -q|grep '*' | sed -e 's/x.*//' -e 's/\ //g') \&lt;br /&gt;  -h int:y:10 -u normal -t 10000 "Copy SD card from dd Image" \&lt;br /&gt;  "dd image to /dev/sdd finished"'!' ; mplayer /usr/share/sounds/purple/receive.wav &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;However, the above command is long and I wouldn't dare to type this command every time I will write new SD card. As usual, the lazy programmer would make a bash script for this repetitive task:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; height: 430px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;&lt;span style="color: blue;"&gt;&lt;b&gt;#!/bin/bash&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# default device name&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;mydev&lt;/span&gt;=&lt;span style="color: green;"&gt;"/dev/sdd"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# the icon &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;sd_icon&lt;/span&gt;=&lt;span style="color: green;"&gt;"/usr/share/icons/Human/scalable/devices/media-flash.svg"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# check my command arguments &lt;/span&gt;&lt;br /&gt;if [ &lt;span style="color: #2040a0;"&gt;$#&lt;/span&gt; -gt 0 ]; then&lt;br /&gt;  &lt;span style="color: #2040a0;"&gt;mydev&lt;/span&gt;=&lt;span style="color: #2040a0;"&gt;$1&lt;/span&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# create the message &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;mymsg&lt;/span&gt;=&lt;span style="color: green;"&gt;"dd image to &lt;span style="color: #2040a0;"&gt;$mydev&lt;/span&gt; finished"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;mytitle&lt;/span&gt;=&lt;span style="color: green;"&gt;"Copying SD card image"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# get my resolution&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;myres&lt;/span&gt;=$(xrandr -q|grep '*' | sed -e 's/x.*//' -e 's/\ //g')&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# the sound&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #2040a0;"&gt;mysound&lt;/span&gt;=&lt;span style="color: green;"&gt;"/usr/share/sounds/purple/receive.wav"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #444444;"&gt;# and the notify command&lt;/span&gt;&lt;br /&gt;notify-send -i &lt;span style="color: #2040a0;"&gt;$sd_icon&lt;/span&gt; -h int:x:&lt;span style="color: #2040a0;"&gt;$myres&lt;/span&gt; -h int:y:10 -u normal -t 10000 &lt;span style="color: green;"&gt;"&lt;span style="color: #2040a0;"&gt;$mytitle&lt;/span&gt;"&lt;/span&gt; &lt;span style="color: green;"&gt;"&lt;span style="color: #2040a0;"&gt;$mymsg&lt;/span&gt;"&lt;/span&gt;'!' &amp;amp; mplayer &lt;span style="color: #2040a0;"&gt;$mysound  &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;After copying to &lt;code&gt;/usr/bin&lt;/code&gt; and change the mode to +x like this:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;apogee-ubuntubox:$ sudo cp notifyme.sh /usr/bin/&lt;br /&gt;apogee-ubuntubox:$ sudo chmod +x /usr/bin/notifyme.sh&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now, we can run the script like this:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;apogee-ubuntubox:$ sudo dd if=myddimage.dd of=/dev/sdc ; notifyme.sh /dev/sdc&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Therefore, when the dd process finished, the notification will pop and the sound will play. You can also download the code here: &lt;a href="http://coderstalk.googlecode.com/svn/trunk/bash-scripts/notifyme.sh"&gt;notifyme.sh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all for today... see you later! &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7909405436385535892?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7909405436385535892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7909405436385535892' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7909405436385535892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7909405436385535892'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/02/custom-gnome-notification-for-your-apps.html' title='Custom Gnome Notification for your apps'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/S3Un4BzKx1I/AAAAAAAACAA/B00DXGMA7Qc/s72-c/custom-gnome-notification.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2206233260526414492</id><published>2010-02-04T13:38:00.011+08:00</published><updated>2010-02-11T10:50:50.611+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Print Active Network Interface List in Linux using Python</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/S3Nwd6Lh7mI/AAAAAAAAB-c/4RlL5MO5R4o/s1600-h/python-logo-glassy.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 157px; height: 200px;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/S3Nwd6Lh7mI/AAAAAAAAB-c/4RlL5MO5R4o/s200/python-logo-glassy.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436812834302455394" /&gt;&lt;/a&gt;&lt;br /&gt;I'm checking the replies of my previous code on &lt;a href="http://coderstalk.blogspot.com/2010/02/create-network-interfaces-list-using.html"&gt;Create network interfaces list using Python&lt;/a&gt;. &lt;b&gt;E A Faisal&lt;/b&gt; suggestion to use &lt;code&gt;/proc/net/dev&lt;/code&gt; is somehow seems interesting to me. Now, let's do some python code for fun before going out to lunch.&lt;br /&gt;&lt;br /&gt;Here is my code to get the same result as my previous &lt;a href="http://coderstalk.blogspot.com/2010/02/create-network-interfaces-list-using.html"&gt;python code to list the network interfaces&lt;/a&gt;:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 480px; text-align: left;"&gt;&lt;font color="#444444"&gt;#!/usr/bin/python&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# read the file /proc/net/dev&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;f&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;open&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'/proc/net/dev'&lt;/font&gt;,&lt;font color="#008000"&gt;'r'&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# put the content to list&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;ifacelist&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;f&lt;/font&gt;.&lt;font color="#2040a0"&gt;read&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;.&lt;font color="#2040a0"&gt;split&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'\n'&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt; &lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# close the file&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;f&lt;/font&gt;.&lt;font color="#2040a0"&gt;close&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# remove 2 lines header&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;ifacelist&lt;/font&gt;.&lt;font color="#2040a0"&gt;pop&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;ifacelist&lt;/font&gt;.&lt;font color="#2040a0"&gt;pop&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# loop to check each line&lt;/font&gt;&lt;br /&gt;&lt;strong&gt;for&lt;/strong&gt; &lt;font color="#2040a0"&gt;line&lt;/font&gt; &lt;strong&gt;in&lt;/strong&gt; &lt;font color="#2040a0"&gt;ifacelist&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    &lt;font color="#2040a0"&gt;ifacedata&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;line&lt;/font&gt;.&lt;font color="#2040a0"&gt;replace&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;' '&lt;/font&gt;,&lt;font color="#008000"&gt;''&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;.&lt;font color="#2040a0"&gt;split&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;':'&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    &lt;font color="#444444"&gt;# check the data have 2 elements&lt;/font&gt;&lt;br /&gt;    &lt;strong&gt;if&lt;/strong&gt; &lt;font color="#2040a0"&gt;len&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#2040a0"&gt;ifacedata&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt;&lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#FF0000"&gt;2&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;        &lt;font color="#444444"&gt;# check the interface is up (Transmit/Receive data)&lt;/font&gt;&lt;br /&gt;        &lt;strong&gt;if&lt;/strong&gt; &lt;font color="#2040a0"&gt;int&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#2040a0"&gt;ifacedata&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#FF0000"&gt;1&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt; &lt;font color="4444FF"&gt;&amp;gt;&lt;/font&gt; &lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;            &lt;font color="#444444"&gt;# print the interface&lt;/font&gt;&lt;br /&gt;            &lt;strong&gt;print&lt;/strong&gt; &lt;font color="#2040a0"&gt;ifacedata&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Seems like it is working on my ubuntu linux (in the office &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;). I believe it should possibly work on other linux without any issue with that SIOCGIFCONF and ioctl. And the code is even simpler. &lt;br /&gt;&lt;br /&gt;That's all for now... I'm going out for lunch. Happy python coding! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2206233260526414492?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2206233260526414492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2206233260526414492' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2206233260526414492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2206233260526414492'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/02/print-active-network-interface-list-in.html' title='Print Active Network Interface List in Linux using Python'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/S3Nwd6Lh7mI/AAAAAAAAB-c/4RlL5MO5R4o/s72-c/python-logo-glassy.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3268978123239877273</id><published>2010-02-04T06:16:00.010+08:00</published><updated>2010-02-11T11:00:49.386+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Create network interfaces list using Python</title><content type='html'>While checking my email this morning, I found a python question on python.my mailing list which sound like this:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 310px; text-align: left;"&gt;Date: Wed, 3 Feb 2010 23:48:10 +0800&lt;br /&gt;Message-ID: &amp;lt;52d26d931002030748pd2c6321p1290b1eeee703...@mail.gmail.com&gt;&lt;br /&gt;Subject: showing interfaces&lt;br /&gt;From: Umarzuki Mochlis &amp;lt;umarz...@gmail.com&gt;&lt;br /&gt;To: pythonmy@googlegroups.com&lt;br /&gt;&lt;br /&gt;Hi all,&lt;br /&gt;&lt;br /&gt;I wonder how I can output network interfaces with python the same &lt;br /&gt;way I can with these commands on linux&lt;br /&gt;&lt;br /&gt;sudo ifconfig | cut -d " " -f 1 &gt; ifconfig.txt&lt;br /&gt;sed '/ *#/d; /^ *$/d' &amp;lt; ifconfig.txt&lt;br /&gt;&lt;br /&gt;-- &lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Umarzuki Mochlis&lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;For those who couldn't imagine the output of those two lines command in the question, here is the explanation:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The first command write to 'ifconfig.txt' the name of up interfaces which comes from ifconfig output and remove other unwanted informations.&lt;/li&gt;&lt;li&gt;the second line read the 'ifconfig.txt' file, remove empty lines and print the list on the screen.&lt;/li&gt;&lt;/ul&gt;You can read the discussion thread on &lt;a href="http://groups.google.com/group/pythonmy/browse_thread/thread/d6b9354fe6311a0c"&gt;python.my mailing list: showing interfaces&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Here is how you can create network interfaces list with python:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 580px; text-align: left;"&gt;&lt;strong&gt;import&lt;/strong&gt; &lt;font color="#2040a0"&gt;array&lt;/font&gt;&lt;br /&gt;&lt;strong&gt;import&lt;/strong&gt; &lt;font color="#2040a0"&gt;struct&lt;/font&gt;&lt;br /&gt;&lt;strong&gt;import&lt;/strong&gt; &lt;font color="#2040a0"&gt;socket&lt;/font&gt;&lt;br /&gt;&lt;strong&gt;import&lt;/strong&gt; &lt;font color="#2040a0"&gt;fcntl&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;SIOCGIFCONF&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#FF0000"&gt;0x8912&lt;/font&gt;  &lt;font color="#444444"&gt;#define SIOCGIFCONF&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;BYTES&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#FF0000"&gt;4096&lt;/font&gt;          &lt;font color="#444444"&gt;# Simply define the byte size&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# get_iface_list function definition &lt;/font&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# this function will return array of all 'up' interfaces &lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;def&lt;/font&gt; &lt;font color="#2040a0"&gt;get_iface_list&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;br /&gt;    &lt;font color="#444444"&gt;# create the socket object to get the interface list&lt;/font&gt;&lt;br /&gt;    &lt;font color="#2040a0"&gt;sck&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;socket&lt;/font&gt;.&lt;font color="#2040a0"&gt;socket&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#2040a0"&gt;socket&lt;/font&gt;.&lt;font color="#2040a0"&gt;AF_INET&lt;/font&gt;, &lt;font color="#2040a0"&gt;socket&lt;/font&gt;.&lt;font color="#2040a0"&gt;SOCK_DGRAM&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    &lt;font color="#444444"&gt;# prepare the struct variable&lt;/font&gt;&lt;br /&gt;    &lt;font color="#2040a0"&gt;names&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;array&lt;/font&gt;.&lt;font color="#2040a0"&gt;array&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'B'&lt;/font&gt;, &lt;font color="#008000"&gt;'\0'&lt;/font&gt; &lt;font color="4444FF"&gt;*&lt;/font&gt; &lt;font color="#2040a0"&gt;BYTES&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;    &lt;br /&gt;    &lt;font color="#444444"&gt;# the trick is to get the list from ioctl&lt;/font&gt;&lt;br /&gt;    &lt;font color="#2040a0"&gt;bytelen&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;struct&lt;/font&gt;.&lt;font color="#2040a0"&gt;unpack&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'iL'&lt;/font&gt;, &lt;font color="#2040a0"&gt;fcntl&lt;/font&gt;.&lt;font color="#2040a0"&gt;ioctl&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#2040a0"&gt;sck&lt;/font&gt;.&lt;font color="#2040a0"&gt;fileno&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;, &lt;font color="#2040a0"&gt;SIOCGIFCONF&lt;/font&gt;, &lt;font color="#2040a0"&gt;struct&lt;/font&gt;.&lt;font color="#2040a0"&gt;pack&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'iL'&lt;/font&gt;, &lt;font color="#2040a0"&gt;BYTES&lt;/font&gt;, &lt;font color="#2040a0"&gt;names&lt;/font&gt;.&lt;font color="#2040a0"&gt;buffer_info&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    &lt;font color="#444444"&gt;# convert it to string&lt;/font&gt;&lt;br /&gt;    &lt;font color="#2040a0"&gt;namestr&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;names&lt;/font&gt;.&lt;font color="#2040a0"&gt;tostring&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;    &lt;font color="#444444"&gt;# return the interfaces as array&lt;/font&gt;&lt;br /&gt;    &lt;strong&gt;return&lt;/strong&gt; &lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#2040a0"&gt;namestr&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#2040a0"&gt;i&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;font color="#2040a0"&gt;i&lt;/font&gt;&lt;font color="4444FF"&gt;+&lt;/font&gt;&lt;font color="#FF0000"&gt;32&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;.&lt;font color="#2040a0"&gt;split&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#008000"&gt;'\0'&lt;/font&gt;, &lt;font color="#FF0000"&gt;1&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;[&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt; &lt;strong&gt;for&lt;/strong&gt; &lt;font color="#2040a0"&gt;i&lt;/font&gt; &lt;strong&gt;in&lt;/strong&gt; &lt;font color="#2040a0"&gt;range&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="#FF0000"&gt;0&lt;/font&gt;, &lt;font color="#2040a0"&gt;bytelen&lt;/font&gt;, &lt;font color="#FF0000"&gt;32&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;font color="4444FF"&gt;]&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# now, use the function to get the 'up' interfaces array&lt;/font&gt;&lt;br /&gt;&lt;font color="#2040a0"&gt;ifaces&lt;/font&gt; &lt;font color="4444FF"&gt;=&lt;/font&gt; &lt;font color="#2040a0"&gt;get_iface_list&lt;/font&gt;&lt;font color="4444FF"&gt;(&lt;/font&gt;&lt;font color="4444FF"&gt;)&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#444444"&gt;# well, what to do? print it out maybe... &lt;/font&gt;&lt;br /&gt;&lt;strong&gt;for&lt;/strong&gt; &lt;font color="#2040a0"&gt;iface&lt;/font&gt; &lt;strong&gt;in&lt;/strong&gt; &lt;font color="#2040a0"&gt;ifaces&lt;/font&gt;&lt;font color="4444FF"&gt;:&lt;/font&gt;&lt;br /&gt; &lt;strong&gt;print&lt;/strong&gt; &lt;font color="#2040a0"&gt;iface&lt;/font&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s1600-h/python-logo-glassy2.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 199px;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s200/python-logo-glassy2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436813613556383570" /&gt;&lt;/a&gt;This code is tested to be working in my ubuntu linux. Since I made SIOCGIFCONF ioctl number (0x8912) hardcoded, it may seems broken on other UNIX like system. However, you may modified the code to be compatible with your system when you understand it. I hope this snippet can help others too. Enjoy coding! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3268978123239877273?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3268978123239877273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3268978123239877273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3268978123239877273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3268978123239877273'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2010/02/create-network-interfaces-list-using.html' title='Create network interfaces list using Python'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s72-c/python-logo-glassy2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2320989547986140664</id><published>2009-12-15T18:48:00.005+08:00</published><updated>2009-12-15T19:10:44.504+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><title type='text'>Howto Backup and Restore SD card image with tar and dd</title><content type='html'>Just my quick post today... I'm quite busy these days...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/SyduQPXiZqI/AAAAAAAAB84/19hdDRYosh8/s1600-h/tar-dd.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 298px;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/SyduQPXiZqI/AAAAAAAAB84/19hdDRYosh8/s400/tar-dd.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5415418302218528418" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I normally backup my embedded system SD card image using dd and the output size will be 969M. To reduce the size, I'm using tar and gzip to compress the image file. Here is the command:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;# dd if=/dev/sdd of=sd1gb.dd&lt;br /&gt;$ tar zcvf sd1gb.dd.tar.gz&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This way I will have the image in tar.gz file which is only 218MB. And delete the dd file.&lt;br /&gt;&lt;br /&gt;However, to use the tar.gz, we don't have to extract the file because we can only use a single command like this:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;# tar Ozxf sd1gb.dd.tar.gz | dd of=/dev/sdd&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;That's all for today... &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt; see u later!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2320989547986140664?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2320989547986140664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2320989547986140664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2320989547986140664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2320989547986140664'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/12/howto-backup-and-restore-sd-card-image.html' title='Howto Backup and Restore SD card image with tar and dd'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/SyduQPXiZqI/AAAAAAAAB84/19hdDRYosh8/s72-c/tar-dd.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7697171444008959755</id><published>2009-11-14T10:02:00.012+08:00</published><updated>2009-11-14T12:40:46.414+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>How to Create Hyperlink on Blogger Header</title><content type='html'>Today, I got this question in comment of my previous tutorial on &lt;a href="http://coderstalk.blogspot.com/2008/04/how-to-create-hyperlink-on-blogger-post.html" target="_blank"&gt;How to Create Hyperlink on Blogger Post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" href="http://coderstalk.blogspot.com/2008/04/how-to-create-hyperlink-on-blogger-post.html#comment-5292197939025391231"&gt;Barbara Fowlds L.Ac.&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;:&lt;/span&gt; &lt;span style="color: rgb(102, 51, 51); font-weight: bold;"&gt;"Can I put a hyperlink in my header of my blogspot blog and if so how?"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My answer is Yes you can. And here's how to do it in the simplest newbie way.&lt;br /&gt;&lt;br /&gt;Before that, I assume you may wanted to add this hyperlink on your Blogger Header Description because maybe you want to invite your visitor to your business website or any other sites you have. For example, I may like to invite my blog reader to read my art blog at http://artofapogee.blogspot.com and my blog description says something like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Feel free to visit &lt;span style="color: rgb(51, 51, 255);"&gt;Art Of ApOgEE Blog&lt;/span&gt; to see my arts and order some graphic design books&lt;/blockquote&gt;&lt;br /&gt;And now we wanna link that blue "Art Of ApOgEE Blog" to &lt;code&gt;http://artofapogee.blogspot.com&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This is the simplest way. You just have to copy paste and no coding &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&gt;. Here's the step:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open up New Post on you blogger, select Edit Html and type the words there:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4nAe9RZiI/AAAAAAAAB5E/Qy1EznoNQPQ/s1600-h/new-post.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/_QmenDvyMjlk/Sv4nAe9RZiI/AAAAAAAAB5E/Qy1EznoNQPQ/s400/new-post.png" alt="" id="BLOGGER_PHOTO_ID_5403799492154713634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the text we want to link and create the link:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4n2E02jbI/AAAAAAAAB5M/nvzGREkxtTc/s1600-h/create-link.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 311px;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4n2E02jbI/AAAAAAAAB5M/nvzGREkxtTc/s400/create-link.png" alt="" id="BLOGGER_PHOTO_ID_5403800412853013938" border="0" /&gt;&lt;/a&gt; Just follow the same way like we did in &lt;a href="http://coderstalk.blogspot.com/2008/04/how-to-create-hyperlink-on-blogger-post.html" target="_blank"&gt;How to Create Hyperlink on Blogger Post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select all text and copy:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/Sv4oiU0_zFI/AAAAAAAAB5U/rddFUbTsr_0/s1600-h/select-all-copy.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 313px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/Sv4oiU0_zFI/AAAAAAAAB5U/rddFUbTsr_0/s400/select-all-copy.png" alt="" id="BLOGGER_PHOTO_ID_5403801173062831186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Open the Layout tab and Edit your header:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4qsXsFMZI/AAAAAAAAB5c/NUC-mw1eFSk/s1600-h/edit-header.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 167px;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4qsXsFMZI/AAAAAAAAB5c/NUC-mw1eFSk/s400/edit-header.png" alt="" id="BLOGGER_PHOTO_ID_5403803544652689810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Paste the copied text to your Blog Description and Save:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/Sv4rUS_LTKI/AAAAAAAAB5k/5TgvkeB4Iow/s1600-h/blog-description.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 371px; height: 400px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/Sv4rUS_LTKI/AAAAAAAAB5k/5TgvkeB4Iow/s400/blog-description.png" alt="" id="BLOGGER_PHOTO_ID_5403804230585371810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;That's all, now you have the link on your Blogger Header Description. Enjoy coding and Happy Blogging!! &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/04/how-to-create-hyperlink-on-blogger-post.html' target='_blank'&gt;How to Create Hyperlink on Blogger Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post with teaser&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html" target="_blank"&gt;How to create expandable post summaries in Blogger&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7697171444008959755?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7697171444008959755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7697171444008959755' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7697171444008959755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7697171444008959755'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/11/how-to-create-hyperlink-on-blogger.html' title='How to Create Hyperlink on Blogger Header'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/Sv4nAe9RZiI/AAAAAAAAB5E/Qy1EznoNQPQ/s72-c/new-post.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2881980740360740700</id><published>2009-11-13T09:00:00.005+08:00</published><updated>2009-11-13T10:15:27.132+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='LISP'/><title type='text'>Beginning LISP Programming in Ubuntu</title><content type='html'>For any reason, you may wanted to start &lt;span style="font-weight:bold;"&gt;learning Lisp Programming&lt;/span&gt;. However, you may wondering where to start. So here again, I'm going to share with you. How to begin Lisp Programming, "the programmable programming language".&lt;br /&gt;&lt;br /&gt;As, I'm using Ubuntu here, this example is shown step by step on Ubuntu. &lt;br /&gt;&lt;br /&gt;In order to start playing with Lisp on your ubuntu, you need to install CMUCL. CMUCL is a free implementation of Common Lisp which was originally developed at Carnegie Mellon University. To install CMUCL package, just run this command on your Ubuntu terminal:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo apt-get install cmucl&lt;/pre&gt;&lt;br /&gt;Next, we are going to feel the environment. Open up your terminal and type:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ lisp&lt;/pre&gt;&lt;br /&gt;You will be greeted by CMU Common Lisp with it version and loaded subsystem. In my case, I see like this.&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;apogee@apogee-ubuntu:~$ lisp&lt;br /&gt;CMU Common Lisp CVS release-19a 19a-release-20040728 + minimal debian patches, running on apogee-ubuntu&lt;br /&gt;With core: /usr/lib/cmucl/lisp.core&lt;br /&gt;Dumped on: Fri, 2009-11-13 09:05:47+08:00 on apogee-ubuntu&lt;br /&gt;For support see http://www.cons.org/cmucl/support.html Send bug reports to the debian BTS.&lt;br /&gt;or to pvaneynd@debian.org&lt;br /&gt;type (help) for help, (quit) to exit, and (demo) to see the demos&lt;br /&gt;&lt;br /&gt;Loaded subsystems:&lt;br /&gt;    Python 1.1, target Intel x86&lt;br /&gt;    CLOS based on Gerd's PCL 2004/04/14 03:32:47&lt;br /&gt;* &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As you can see the loaded subsystem is Python 1.1. This is not the Python as in &lt;a href="http://coderstalk.blogspot.com/search/label/python"&gt;Python Programming&lt;/a&gt;. Don't get confused. It is a native code compiler named "Python". If Common Lisp source code has been written with appropriate declarations and is organized with speed in mind, the Python compiler generates code that is almost free from overhead compared to code compiled from languages like C++. Some inefficiencies such as function call interfaces and lack of pointer-free arrays of user-defined data types are dictated by the Common Lisp standard and still need to be worked around (e.g. by inlining more and using macros to build constructs that look like user-defined structures but are actually accessing fields in preallocated specialized arrays). The Python compiler also features powerful type inferences, helping the programmer in writing overhead-free code by either inferring types automatically or issuing hints about missed optimization opportunities. &lt;br /&gt;&lt;br /&gt;Before doing anything else, you have to know how to exit from this environment. To exit from this lisp terminal, you can simply type &lt;span style="font-weight:bold;"&gt;(quit)&lt;/span&gt; and press enter.&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;apogee@apogee-ubuntu:~$ lisp&lt;br /&gt;CMU Common Lisp CVS release-19a 19a-release-20040728 + minimal debian patches, running on apogee-ubuntu&lt;br /&gt;With core: /usr/lib/cmucl/lisp.core&lt;br /&gt;Dumped on: Fri, 2009-11-13 09:05:47+08:00 on apogee-ubuntu&lt;br /&gt;For support see http://www.cons.org/cmucl/support.html Send bug reports to the debian BTS.&lt;br /&gt;or to pvaneynd@debian.org&lt;br /&gt;type (help) for help, (quit) to exit, and (demo) to see the demos&lt;br /&gt;&lt;br /&gt;Loaded subsystems:&lt;br /&gt;    Python 1.1, target Intel x86&lt;br /&gt;    CLOS based on Gerd's PCL 2004/04/14 03:32:47&lt;br /&gt;* (quit)&lt;br /&gt;apogee@apogee-ubuntu:~$ &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now you know how to start and end the CMU Common Lisp. We can start playing with codes. Here is some example:&lt;br /&gt;&lt;br /&gt;1. Adding Numbers:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;* (+ 200 800 300 700 19 10)&lt;br /&gt;&lt;br /&gt;2029&lt;br /&gt;* &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Notice my code started with '(' and end with ')'. &lt;br /&gt;&lt;br /&gt;2. Subtract Numbers:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;* (* 12 2 3)&lt;br /&gt;&lt;br /&gt;72&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3. Or even Adding and Subtract:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;* (+ (* 12 2 3) 1)&lt;br /&gt;&lt;br /&gt;73&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There you go. From here you can try more stuff by following these tutorials and manual:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cs.sfu.ca/CC/310/pwfong/Lisp/1/tutorial1.html" target="_blank"&gt;Lisp Tutorial: Basic Lisp Programming&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.apl.jhu.edu/~hall/lisp.html" target="_blank"&gt;An Introduction and Tutorial for Common Lisp&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://gigamonkeys.com/book/" target="_blank"&gt;Practical Common Lisp&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://xahlee.org/emacs/elisp.html" target="_blank"&gt;Xah's Emacs Lisp Tutorial&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://common-lisp.net/project/cmucl/doc/cmu-user/" target="_blank"&gt;CMUCL User's Manual&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;That's all for now mates.. Happy Coding!!&lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2881980740360740700?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2881980740360740700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2881980740360740700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2881980740360740700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2881980740360740700'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/11/beginning-lisp-programming-in-ubuntu.html' title='Beginning LISP Programming in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7536358080990135919</id><published>2009-11-04T16:10:00.005+08:00</published><updated>2010-02-11T10:56:32.444+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Example of Simple Web Server Using Python</title><content type='html'>I may got the question wrong on &lt;a href="http://coderstalk.blogspot.com/2009/11/example-of-simple-website-using-python.html"&gt;my previous post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So, here is how to make a simple web server using python in ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open up your ubuntu terminal and create the 'index.html' file like this:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 170px; text-align: left;"&gt;&amp;lt;html&gt;&lt;br /&gt;&amp;lt;head&gt;&amp;lt;title&gt;python.my sample&amp;lt;/title&gt;&amp;lt;/head&gt;&lt;br /&gt;&amp;lt;body&gt;&lt;br /&gt;&amp;lt;h1&gt;python.my sample&amp;lt;/h1&gt;&lt;br /&gt;&amp;lt;p&gt;This is the simple html sample. Got it?&amp;lt;/p&gt;&lt;br /&gt;&amp;lt;p&gt;Visit &amp;lt;a href="http://coderstalk.blogspot.com"&gt;Coder's Talk blog&amp;lt;/a&gt;&amp;lt;/p&gt;&lt;br /&gt;&amp;lt;/body&gt;&lt;br /&gt;&amp;lt;/html&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;In the same directory, create the python server and name it as 'pyserver.py' and enter the content like this:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 170px; text-align: left;"&gt;import SimpleHTTPServer&lt;br /&gt;import SocketServer&lt;br /&gt;&lt;br /&gt;theport = 1234&lt;br /&gt;Handler = SimpleHTTPServer.SimpleHTTPRequestHandler&lt;br /&gt;pywebserver = SocketServer.TCPServer(("", theport), Handler)&lt;br /&gt;&lt;br /&gt;print "Python based web server. Serving at port", theport&lt;br /&gt;pywebserver.serve_forever()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Run the python code using this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ python pyserver.py&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open up your web browser and go to &lt;a href="http://localhost:1234" target="_blank"&gt;http://localhost:1234&lt;/a&gt; and see your python web server running.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;That's all... Have fun coding &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/S3NxyH0JnBI/AAAAAAAAB-s/2EqhQUQUmnw/s1600-h/python-simplehttpserver.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/S3NxyH0JnBI/AAAAAAAAB-s/2EqhQUQUmnw/s400/python-simplehttpserver.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436814281071500306" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7536358080990135919?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7536358080990135919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7536358080990135919' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7536358080990135919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7536358080990135919'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/11/example-of-simple-web-server-using.html' title='Example of Simple Web Server Using Python'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/S3NxyH0JnBI/AAAAAAAAB-s/2EqhQUQUmnw/s72-c/python-simplehttpserver.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1371181454822949412</id><published>2009-11-04T14:55:00.011+08:00</published><updated>2010-02-11T11:01:32.692+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web master'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Example of Simple Website Using Python</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s1600-h/python-logo-glassy2.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 199px;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s200/python-logo-glassy2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436813613556383570" /&gt;&lt;/a&gt;While reading my email today, found this question from one of the python.my mailing list subscriber. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Question:&lt;/b&gt; i want to run a web server using python&lt;br /&gt;can expertise in python share some simple codes with html as well to&lt;br /&gt;demonstrate this. &lt;a href="http://groups.google.com.my/group/pythonmy/browse_thread/thread/a76b59b8de5b2f1f?hl=en" target="_blank"&gt;[link to python.my thread]&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt; As I'm bored today coz Kristen didn't answer my email yet, I pop my ubuntu terminal and type this code:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 760px; text-align: left;"&gt;## =========================================================&lt;br /&gt;# Sample python site by ApOgEE&lt;br /&gt;# ----------------------------&lt;br /&gt;# 1) Make sure you have apache and enable mod-python on your apache. For example on ubuntu:&lt;br /&gt;#    $ sudo apt-get install apache2&lt;br /&gt;#    $ sudo apt-get install libapache2-mod-python&lt;br /&gt;#    $ sudo a2enmod python&lt;br /&gt;#&lt;br /&gt;# 2) Make sure you have proper PythonHandler. For example:&lt;br /&gt;# AddHandler mod_python .py&lt;br /&gt;# PythonHandler mod_python.publisher&lt;br /&gt;# PythonDebug On&lt;br /&gt;#&lt;br /&gt;# 3) Enter this codes and name it as 'pythonmysample.py' on your web directory&lt;br /&gt;#&lt;br /&gt;# 4) test it on your browser http://localhost/pythonmysample.py&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;def index(req):&lt;br /&gt;    thetitle = "Python.my sample by ApOgEE"&lt;br /&gt;    mysite = siteheader(thetitle)&lt;br /&gt;    mysite += sitebody(thetitle)&lt;br /&gt;    mysite += sitefoot()&lt;br /&gt;    return mysite &lt;br /&gt;&lt;br /&gt;def siteheader(title):&lt;br /&gt;    str = "&amp;lt;html&gt;&amp;lt;head&gt;&amp;lt;title&gt;" + title + "\n"&lt;br /&gt;    str += "&amp;lt;/title&gt;&amp;lt;/head&gt;&amp;lt;body&gt;\n"&lt;br /&gt;    return str&lt;br /&gt;&lt;br /&gt;def sitefoot():&lt;br /&gt;    str = "\n&amp;lt;/body&gt;&amp;lt;/html&gt;"&lt;br /&gt;    return str&lt;br /&gt;&lt;br /&gt;def sitebody(title):&lt;br /&gt;    str = "&amp;lt;h1&gt;" + title + "&amp;lt;/h1&gt;\n"&lt;br /&gt;    str += "&amp;lt;p&gt;Hi mate!&amp;lt;br&gt;\n" + \&lt;br /&gt;           "This is the testing python site example.&amp;lt;br&gt;&amp;lt;br&gt;" + \&lt;br /&gt;    "Coded by: ApOgEE&amp;lt;br&gt;" + \&lt;br /&gt;    "Visit &amp;lt;a href=\"http://coderstalk.blogspot.com\"&gt;http://coderstalk.blogspot.com&amp;lt;/a&gt;&lt;/p&gt;\n"&lt;br /&gt;    return str&lt;br /&gt;&lt;br /&gt;# end of code. Copyright (C) 2009, ApOgEE - http://coderstalk.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you have problem opening the page on your ubuntu, here is the checklist:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install apache2 and libapache2-mod-python and enable mod-python&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo apt-get install apache2&lt;br /&gt;$ sudo apt-get install libapache2-mod-python&lt;br /&gt;$ sudo a2enmod python&lt;/pre&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Edit /etc/apache2/sites-enabled/000-default. Search for this lines:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 130px; text-align: left;"&gt;        &amp;lt;Directory /var/www/&gt;&lt;br /&gt;                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;                AllowOverride None&lt;br /&gt;                Order allow,deny&lt;br /&gt;                allow from all&lt;br /&gt;        &amp;lt;/Directory&gt;&lt;br /&gt;&lt;/pre&gt;and add python handler like this:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 220px; text-align: left;"&gt;        &amp;lt;Directory /var/www/&gt;&lt;br /&gt;                Options Indexes FollowSymLinks MultiViews&lt;br /&gt;                AllowOverride None&lt;br /&gt;                Order allow,deny&lt;br /&gt;                allow from all&lt;br /&gt;                &lt;font color="red"&gt;&lt;br /&gt;                AddHandler mod_python .py&lt;br /&gt;                PythonHandler mod_python.publisher&lt;br /&gt;                PythonDebug On&lt;br /&gt;                &lt;/font&gt;&lt;br /&gt;        &amp;lt;/Directory&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Restart your apache&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo /etc/init.d/apache2 restart&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;You can also download the &lt;a href="http://coderstalk.googlecode.com/svn/trunk/sample-python-website/samplesite.py"&gt;simple python website source code&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;That's all. Hope you enjoy it... Happy Coding!! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-1371181454822949412?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1371181454822949412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1371181454822949412' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1371181454822949412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1371181454822949412'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/11/example-of-simple-website-using-python.html' title='Example of Simple Website Using Python'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/S3NxLRIJP1I/AAAAAAAAB-k/ec2PYmVWcDI/s72-c/python-logo-glassy2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7176220728693401350</id><published>2009-10-22T10:38:00.019+08:00</published><updated>2009-10-22T12:18:18.076+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='Cheat Code'/><category scheme='http://www.blogger.com/atom/ns#' term='VBScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual basic'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows XP'/><title type='text'>List Windows XP Running Process And ProcessID in VBScript</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/St_Qa6pvvMI/AAAAAAAAB3Q/Pg5wxk8XU6g/s1600-h/showproc.PNG"&gt;&lt;img style="float:left; margin:0 10px 0px 0;cursor:pointer; cursor:hand;width: 150px; height: 400px;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/St_Qa6pvvMI/AAAAAAAAB3Q/Pg5wxk8XU6g/s400/showproc.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5395260039452671170" /&gt;&lt;/a&gt;One of my reason why I hate Windows XP is because it is prone to virus. However, I can't escape from using it because there are instruments which I use that can only communicate with it's own proprietary windows program. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Love it or not, I still need these proprietary programs to run in the windows box on site because they don't have linux version of it nor even going to have it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Leaving the windows box like that. I believe in some way, it will get infected when some user access the box to grab some data with their infected USB drive or there is virus in the network. It simply happened last two weeks on the site box where this virus prevent me to open the Windows Task Manager to show what process is running in the box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks to VBScript which allows me to view the running process and investigate. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, after getting frustated and cursing the virus prone OS for some time, I just open Notepad program and begin writing this script:&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color=black&gt;&lt;pre dir="ltr" style="border: 1px inset rgb(0, 0, 0); margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 300px; text-align: left; "&gt;&lt;font color="#008000"&gt;'==========================================================='&lt;br /&gt;' showproc.vbs&lt;br /&gt;' Author: M. Fauzilkamil Zainuddin http://coderstalk.blogspot.com&lt;br /&gt;' October 2009&lt;br /&gt;'==========================================================='&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;Option Explicit&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;Dim&lt;/font&gt; oProc, oWMIServ, colProc&lt;br /&gt;&lt;font color="#0000A0"&gt;Dim&lt;/font&gt; strPC, strList&lt;br /&gt;&lt;font color="#0000A0"&gt;Dim&lt;/font&gt; StrSpace&lt;br /&gt;&lt;br /&gt;strPC = "."&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;Set&lt;/font&gt; oWMIServ = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp; strPC &amp; "\root\cimv2")    &lt;br /&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;Set&lt;/font&gt; colProc = oWMIServ.ExecQuery("Select * from Win32_Process")&lt;br /&gt;&lt;br /&gt;strSpace = string(20," ")&lt;br /&gt;strList = "ProcName" &amp; strSpace &amp; vbTab &amp; "ProcID" &amp; vbCrLf &amp; string(45,"-")&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;For&lt;/font&gt; &lt;font color="#0000A0"&gt;Each&lt;/font&gt; oProc &lt;font color="#0000A0"&gt;In&lt;/font&gt; colProc&lt;br /&gt;    strSpace = string(28 - len(oProc.Name)," ")&lt;br /&gt;    strList = strList &amp; vbCrLf &amp; oProc.Name &amp; strSpace &amp; vbTab &amp; oProc.ProcessId&lt;br /&gt;&lt;font color="#0000A0"&gt;Next&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;WScript.Echo strList&lt;br /&gt;WScript.Quit&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/font&gt;&lt;br /&gt;And then, I can see the suspicious process. They can't hide from me anymore. I can even kill the process by simply adding if statement which check for the suspicious process Name or ProcessID in specific and kill it. Here's a snippet to terminate specific ProcessID:&lt;br /&gt;&lt;br /&gt;&lt;font color=black&gt;&lt;pre dir="ltr" style="border: 1px inset rgb(0, 0, 0); margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 150px; text-align: left; "&gt;&lt;font color="#008000"&gt;' just add this code below 'WScript.Echo strList'&lt;/font&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;For Each&lt;/font&gt; oProc &lt;font color="#0000A0"&gt;In&lt;/font&gt; colProc&lt;br /&gt;    &lt;font color="#008000"&gt;' the 3008 is the ProcessID that I want to kill.&lt;br /&gt;    ' your process id may be different&lt;/font&gt;&lt;br /&gt;    &lt;font color="#0000A0"&gt;If&lt;/font&gt; oProc.ProcessID = 3008 &lt;font color="#0000A0"&gt;Then&lt;/font&gt;&lt;br /&gt;        oProc.Terminate()&lt;br /&gt;    &lt;font color="#0000A0"&gt;End If&lt;/font&gt;&lt;br /&gt;&lt;font color="#0000A0"&gt;Next&lt;/font&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/font&gt;&lt;br /&gt;That's all for now. Happy coding!! &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&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/3928190665450830956-7176220728693401350?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7176220728693401350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7176220728693401350' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7176220728693401350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7176220728693401350'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/10/list-windows-xp-running-process-and.html' title='List Windows XP Running Process And ProcessID in VBScript'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/St_Qa6pvvMI/AAAAAAAAB3Q/Pg5wxk8XU6g/s72-c/showproc.PNG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6040599400540105539</id><published>2009-05-29T09:54:00.003+08:00</published><updated>2009-05-29T09:59:47.125+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu-my Jaunty Release Party &amp; Official LoCo Launching</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/Sh9BTtJhmbI/AAAAAAAABj4/z2zAkdJVAe0/s1600-h/ubuntu-my-JRP.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 283px; height: 400px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/Sh9BTtJhmbI/AAAAAAAABj4/z2zAkdJVAe0/s400/ubuntu-my-JRP.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5341059489877563826" /&gt;&lt;/a&gt;&lt;br /&gt;For more info, check out &lt;a href="http://baung.oscc.org.my/wiki/?title=ReleaseParty"&gt;Ubuntu Malaysia Jaunty Release Party&lt;/a&gt;. Enjoy!! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6040599400540105539?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6040599400540105539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6040599400540105539' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6040599400540105539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6040599400540105539'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/05/ubuntu-my-jaunty-release-party-official.html' title='Ubuntu-my Jaunty Release Party &amp; Official LoCo Launching'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/Sh9BTtJhmbI/AAAAAAAABj4/z2zAkdJVAe0/s72-c/ubuntu-my-JRP.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-32979595715104337</id><published>2009-01-26T12:44:00.007+08:00</published><updated>2009-01-26T13:47:45.023+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><category scheme='http://www.blogger.com/atom/ns#' term='gadget'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile phone'/><title type='text'>Introducing Android : Open Source, Linux Based Mobile Phone Operating System</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SX1H0Ur8jNI/AAAAAAAABao/yuA5Fxgl-hc/s1600-h/500px-Android-logo.svg.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 144x; height: 144px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SX1H0Ur8jNI/AAAAAAAABao/yuA5Fxgl-hc/s144/500px-Android-logo.svg.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5295467701089373394" /&gt;&lt;/a&gt;Lately, I'm getting interested in &lt;span style="font-weight:bold;"&gt;Mobile Phone Application&lt;/span&gt;. And what make me more interested about it was, getting to know the &lt;span style="font-weight:bold;"&gt;Android&lt;/span&gt;, a new &lt;span style="font-weight:bold;"&gt;open source operating system and software platform for mobile phones&lt;/span&gt;. The Android is developed by Google, and later the Open Handset Alliance based on &lt;span style="font-weight:bold;"&gt;&lt;a href="http://coderstalk.blogspot.com/search/label/linux"&gt;Linux kernel&lt;/a&gt;&lt;/span&gt;. Google has made most of the Android platform available under the Apache free-software and open source license. &lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight:bold;"&gt;Open Handset Alliance (OHA)&lt;/span&gt; is a business alliance of 48 firms including Google, HTC, Intel, Motorola, Qualcomm, Samsung, LG, T-Mobile, NVIDIA, Sony Ericsson, ARM, AKM Semiconductor Inc, ASUSTek COmputer Inc, Atheros Communications, Borqs, Ericsson, Garmin International Inc, Wind River Systems, Huawei Technologies, Omron Software Co Ltd, Softbank Monile Corporation, Teleca AB, Toshiba Corporation and Vodafone that came together to develop open standards for mobile devices. The Android platform was announced on 5 November 2007 &lt;span class="fullpost"&gt; with the founding of the Open Handset Alliance. &lt;br /&gt;&lt;br /&gt;Now, mobile phone application developers are able to write &lt;span style="font-weight:bold;"&gt;managed code&lt;/span&gt; in the &lt;span style="font-weight:bold;"&gt;Java language&lt;/span&gt;, controlling the mobile device with Android via &lt;span style="font-weight:bold;"&gt;Google-developed Java libraries&lt;/span&gt;. If you are good in C or other &lt;span style="font-weight:bold;"&gt;programming&lt;/span&gt; languages, your applications written in C and other languages can be compiled to ARM native code and run. However, the other development path isn't officially supported by Google.  &lt;br /&gt;&lt;br /&gt;And, here is a video from &lt;span style="font-weight:bold;"&gt;Android&lt;/span&gt; developer to get you more excited with this Android &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt; :&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1FJHYqE0RDg&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/1FJHYqE0RDg&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Isn't it a WoooOOoW for you coders?... Let's get up, &lt;a href="http://www.android.com/"&gt;grab the SDK&lt;/a&gt; and develop great apps on Android. I would love to hear one of us entitled for those &lt;span style="font-weight:bold;"&gt;TEN MILLION U.S. DOLLARS&lt;/span&gt; for creating a great, useful, free and open source software on &lt;span style="font-weight:bold;"&gt;Android platform&lt;/span&gt;. &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;quote&gt;&lt;span style="font-style:italic;"&gt;p/s: For all my Chinese friends and readers, I would like to wish you all a very Happy and Prosperous Chinese New Year!! Cheers!!&lt;/span&gt;&lt;/quote&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/3928190665450830956-32979595715104337?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/32979595715104337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=32979595715104337' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/32979595715104337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/32979595715104337'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/01/introducing-android-open-source-linux.html' title='Introducing Android : Open Source, Linux Based Mobile Phone Operating System'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/SX1H0Ur8jNI/AAAAAAAABao/yuA5Fxgl-hc/s72-c/500px-Android-logo.svg.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3698993315603026716</id><published>2009-01-22T09:21:00.005+08:00</published><updated>2009-01-22T09:55:32.278+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Videos'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackers'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><category scheme='http://www.blogger.com/atom/ns#' term='anime'/><title type='text'>Battle Programmer Shirase - Episode 2</title><content type='html'>For those who remember my post about the &lt;a href="http://coderstalk.blogspot.com/2008/05/battle-programmer-shirase-episode-1.html" target="_blank"&gt;Battle Programmer Shirase&lt;/a&gt;, here is the continuation of the episode. &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt; For those who haven't watch the &lt;span style="font-weight:bold;"&gt;first episode&lt;/span&gt;, you better watch it first. But, if you wanna skip it, the first episode is the introduction of a &lt;span style="font-weight:bold;"&gt;brilliant programmer or hacker&lt;/span&gt; named &lt;span style="font-weight:bold;"&gt;Akira Shirase&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;In that episode, there was a &lt;span style="font-weight:bold;"&gt;hacking attempt&lt;/span&gt; on U.S. shipping company which reroutes a package to an &lt;span style="font-weight:bold;"&gt;Asian Hacker&lt;/span&gt;. While on the other side, BPS or &lt;span style="font-weight:bold;"&gt;Battle Programmer Shirase&lt;/span&gt; is recruited by Akizuki, an employee from Abin Electronics. BPS accepted Akira's recruitment after seeing the &lt;span style="font-weight:bold;"&gt;discontinued X68 series doujinshi SCSI card&lt;/span&gt; by Abin Electronics which was made at Iwasawa plant. Apart from that, there is another story of Misao-chan who somehow have an unknown relationship with Shirase. Now, let's watch this &lt;span style="font-weight:bold;"&gt;Episode 2 of Battle Programmer Shirase&lt;/span&gt;... &lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/7SOlmlxGC8w&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/7SOlmlxGC8w&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Hmm.. hope you like it. I'll continue with the next episode later. Enjoy!!&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/05/battle-programmer-shirase-episode-1.html'&gt;Battle Programmer Shirase - Episode 1&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3698993315603026716?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3698993315603026716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3698993315603026716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3698993315603026716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3698993315603026716'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/01/battle-programmer-shirase-episode-2.html' title='Battle Programmer Shirase - Episode 2'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7191542143869332658</id><published>2009-01-19T09:02:00.005+08:00</published><updated>2009-01-19T09:47:40.504+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Where to find Ubuntu Resources?</title><content type='html'>I have lot's of queries from friends who recently migrates to Ubuntu on &lt;span style="font-weight: bold;"&gt;Where to find Ubuntu Resources?&lt;/span&gt; So, I'm listing some useful &lt;span style="font-weight: bold;"&gt;Ubuntu Resources&lt;/span&gt; here for newbies to start with.&lt;br /&gt;&lt;center&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/3207613907/" title="Ubuntu in the Office by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3391/3207613907_678bd8c6db_m.jpg" alt="Ubuntu in the Office" height="240" width="180" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://ubuntuforums.org/"&gt;http://ubuntuforums.org&lt;/a&gt; - In this &lt;span style="font-weight: bold;"&gt;searchable web forum&lt;/span&gt; and moderated social network is a diverse, talented, and moderated community of Ubuntu users and support staff. People share their success and setbacks here with each other as well as offering assistance and guidance. Chances are good that if you’re having difficulty with something in &lt;span style="font-weight: bold;"&gt;Ubuntu&lt;/span&gt;, someone has already run into the same problem and found a solution.&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.ubuntu.com.my/"&gt;http://forums.ubuntu.com.my&lt;/a&gt; - This is another &lt;span style="font-weight: bold;"&gt;searchable web forum&lt;/span&gt; aiming to support local Malaysian Ubuntu Community. All the people here are &lt;span style="font-weight: bold;"&gt;Malaysian Ubuntu Users&lt;/span&gt; and Official Ubuntu LoCo Member. You can get support in Malay language here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogger.com/www.ubuntu.com/support"&gt;www.ubuntu.com/support&lt;/a&gt; - This site offers &lt;span style="font-weight: bold;"&gt;paid support from Canonical Ltd.&lt;/span&gt;, the company behind Ubuntu. If you don’t want to spend time searching through the forums, or waiting for responses, Canonical Ltd. is one avenue for telephone, e-mail, and web support costing around $20 a month. There is also Ubuntu training available aimed at companies and corporate users.&lt;/li&gt;&lt;li&gt;&lt;a href="https://help.ubuntu.com/"&gt;https://help.ubuntu.com&lt;/a&gt; - This site contains the official, up-to-date, online documentation for each Ubuntu release. As newer Ubuntu releases come out, you can come here to find out what’s new.&lt;/li&gt;&lt;li&gt;&lt;a href="http://screencasts.ubuntu.com/"&gt;http://screencasts.ubuntu.com&lt;/a&gt; - View &lt;span style="font-weight: bold;"&gt;recorded desktop sessions&lt;/span&gt; on how to do different things with Ubuntu, from setting up a printer, to setting up Samba file sharing, to installing updates to keep your Ubuntu system in top shape. &lt;span style="font-weight: bold;"&gt;Ubuntu&lt;/span&gt; users are encouraged to join the Ubuntu Screencasts Launchpad Team (https://launchpad.net/~ubuntu-screencasts) to contribute.&lt;/li&gt;&lt;li&gt;&lt;a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users"&gt;https://lists.ubuntu.com/mailman/listinfo/ubuntu-users&lt;/a&gt; - Join the &lt;span style="font-weight: bold;"&gt;Ubuntu-users mailing list&lt;/span&gt; and interact with Ubuntu users over e-mail to discuss and solve problems that come up with everything from implementing mysql databases to setting up a problematic network devices. An archive of past threads can be viewed at https://lists.ubuntu.com/archives/ubuntu-users.&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/IRCResourcePage"&gt;https://wiki.ubuntu.com/IRCResourcePage&lt;/a&gt; - If you are interested in live &lt;span style="font-weight: bold;"&gt;IRC chat support&lt;/span&gt;, you can visit the Ubuntu IRC resource page to find guidelines, clients, and chat servers which are an available source of support, free at any time. It is advisable to visit the Ubuntu Code of Conduct page (www.ubuntulinux.org/community/conduct/) if you have not taken part in IRC chat before.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogger.com/www.linux-usb.org"&gt;www.linux-usb.org&lt;/a&gt; - This web site aims to maintain a working knowledge of &lt;span style="font-weight: bold;"&gt;USB devices&lt;/span&gt; known to be Linux-friendly. There is a search utility where you can plug in the name or model of a manufacturer and get an instant status report on the usability of that device with Linux.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogger.com/www.linux-foundation.org/en/OpenPrinting"&gt;www.linux-foundation.org/en/OpenPrinting&lt;/a&gt; - &lt;span style="font-weight: bold;"&gt;The CUPS (http://cups.org)&lt;/span&gt; printing system is the standard printing system used on most Linux systems these days. If your printer model is not listed when you attempt to add a new printer to your Ubuntu system, you may need to search this site for an updated PPD file to add to your CUPS system. Vendors who make Linux-friendly printers can also be found at www.linux-foundation.org/en/OpenPrinting/Database/SuggestedPrinters.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogger.com/www.sane-project.org"&gt;www.sane-project.org&lt;/a&gt; - &lt;span style="font-weight: bold;"&gt;Scanner Access Now Easy (SANE)&lt;/span&gt; is a site devoted to the topic of document scanning on Linux. If you are looking for a scanner or multifunction printer, check here to see how well the vendors stack up in terms of Linux support.&lt;/li&gt;&lt;li&gt;&lt;a href="http://tldp.org/"&gt;http://tldp.org&lt;/a&gt; - &lt;span style="font-weight: bold;"&gt;The Linux Documentation Project&lt;/span&gt; is a culmination of Guides, How-To articles, and FAQS covering everything from how to make coffee with Linux to setting up QoS and Traffic Control.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Actually, this is not the complete list... You can search for more via your favourite search engine. However, these sites are good for beginner to start with. &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7191542143869332658?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7191542143869332658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7191542143869332658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7191542143869332658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7191542143869332658'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/01/where-to-find-ubuntu-resources.html' title='Where to find Ubuntu Resources?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3391/3207613907_678bd8c6db_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-521885782969800809</id><published>2009-01-07T11:30:00.006+08:00</published><updated>2009-04-04T10:16:21.441+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Jaunty Jackalope Is the codename of Ubuntu 9.04</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.flickr.com/photos/codedragon/3115556686/in/photostream"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 213px; height: 320px;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/SWQk4y6kZXI/AAAAAAAABWo/XECu9c2IUC8/s320/ubuntu-all-stars-jaunty-jackalope.jpg" alt="** Some Rights Reserved" title="** Some Rights Reserved"id="BLOGGER_PHOTO_ID_5288392420598506866" border="0" /&gt;&lt;/a&gt;Mark Shuttleworth have announced that the codename for &lt;span style="font-weight: bold;"&gt;Ubuntu 9.04&lt;/span&gt;, which is expected to arrive in April 2009, will be &lt;span style="font-weight: bold;"&gt;Jaunty Jackalope&lt;/span&gt;. Ubuntu releases are issued every six months and include the latest versions of popular open source software applications.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(255, 102, 0);"&gt;"The Warrior Rabbit is our talisman as we move into a year where we can reasonably expect Ubuntu to ship on several million devices, to consumers who can reasonably expect the software experience to be comparable to those of the traditional big OSV's—Microsoft and Apple," he wrote in a mailing list post. "The bar is set very high, and we have been given the opportunity to leap over it. It's a once-in-a-lifetime chance to shine, and we want to make sure that the very best thinking across the whole open source ecosystem is reflected in Ubuntu, because many people will judge free software as a whole by what we do."&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;A big focus of the 9.04 release will be improving boot time and general performance. Shuttleworth also says that the developers also aim to bring tighter web integration to the desktop. Ubuntu 9.04 will be like a Jackalope, he claims, because it will be lightning fast and will converge desktop and web technologies to create a hybrid software experience.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(255, 102, 0);"&gt;"There are some specific goals that we need to meet in Jaunty. One of them is boot time. We want Ubuntu to boot as fast as possible—both in the standard case, and especially when it is being tailored to a specific device," he wrote. "Another goal is the blurring of web services and desktop applications."&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="float: right; text-align: center; margin-left: 15px; margin-bottom: 15px;"&gt;&lt;a href="http://www.flickr.com/photos/7768604@N05/2635060236/" title="jackalope sighting by evie_coates"&gt;&lt;img src="http://farm4.static.flickr.com/3111/2635060236_5e05cb9fb6_t.jpg" alt="jackalope sighting by evie_coates" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br clear="all" /&gt;Ubuntu has achieved unprecedented popularity in the desktop Linux ecosystem and is rapidly moving into the general consumer market. Canonical has high hopes for Ubuntu adoption on netbooks, budget computers that feature a small form factor and tie into the cloud. Dell is already shipping Ubuntu on its new mini 9 netbook and we expect to see more Ubuntu-based subnotebook products coming soon.&lt;br /&gt;&lt;br /&gt;via &lt;a href="http://arstechnica.com/news.ars/post/20080908-ubuntu-9-04-to-be-called-jaunty-jackalope.html"&gt;[arstechnica.com]&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:85%;'&gt;** Photo is licensed under a &lt;a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/"&gt;Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic License&lt;/a&gt;.&lt;/span&gt;&lt;a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/"&gt;&lt;img alt="Creative Commons License" style="border-width:0;" src="http://creativecommons.org/images/public/somerights20.png" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-521885782969800809?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/521885782969800809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=521885782969800809' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/521885782969800809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/521885782969800809'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2009/01/jaunty-jackalope-is-codename-of-ubuntu.html' title='Jaunty Jackalope Is the codename of Ubuntu 9.04'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/SWQk4y6kZXI/AAAAAAAABWo/XECu9c2IUC8/s72-c/ubuntu-all-stars-jaunty-jackalope.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3984771265220082264</id><published>2008-12-16T15:19:00.007+08:00</published><updated>2010-12-06T10:08:18.244+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='TS-ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='gsm modem'/><category scheme='http://www.blogger.com/atom/ns#' term='embedded system'/><category scheme='http://www.blogger.com/atom/ns#' term='gprs'/><title type='text'>3 Pin serial connection for Wavecom GSM Modem</title><content type='html'>&lt;div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com/"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_QmenDvyMjlk/TPxC8u5ObTI/AAAAAAAACKg/_Bywc21ya38/s1600/electronic-circuit.png" /&gt;&lt;/a&gt;&lt;/div&gt;When working with SBC or Single Board Computer for embedded project, we can't have full RS-232 serial with all 9 pin signal compatibility at all times. For instance, while I'm working with TS-7260 board from Technologic Systems, the COM3 serial interface have only 3 pin which is RX, TX and GND. So, in order to make my Wavecom GSM/GPRS/EDGE modem working, I have to create my own cable pinout to connect the 15 pin connector on the Wavecom Modem to the 3 pin RS-232 serial interface on the board.  &lt;br /&gt;&lt;br /&gt;Before creating the cable, I did some search and find this cable pinout from Wavecom GSM Modem manual.&lt;br /&gt;&lt;pre&gt;Pin Description&lt;br /&gt;1   DCD (Data Carrier Detect)&lt;br /&gt;2   TXD (Transmit Data)&lt;br /&gt;3   Reserved&lt;br /&gt;4   MICROPHONE (+)&lt;br /&gt;5   MICROPHONE (-)&lt;br /&gt;6   RXD (Receive Data)&lt;br /&gt;7   DSR (Data Set Ready)&lt;br /&gt;8   DTR (Data Terminal Ready)&lt;br /&gt;9   GND(Signal Ground)&lt;br /&gt;10  SPEAKER (+)&lt;br /&gt;11  CTS (Clear To Send)&lt;br /&gt;12  RTS (Request To Send)&lt;br /&gt;13  RI (Ring Indicator)&lt;br /&gt;14  RESET&lt;br /&gt;15  SPEAKER (-)&lt;br /&gt;&lt;/pre&gt;and the pinout from TS-7260 Board manual:&lt;br /&gt;&lt;quote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.6 COM3 Header&lt;/span&gt;&lt;br /&gt;In the default TS-7260 configuration (OP-2TTLCOM not selected), the COM3 port has RS-232 signal levels, utilizes RTS and CTS signals and is accessible on a 10-pin header labeled COM3:&lt;br /&gt;&lt;/quote&gt;&lt;br /&gt;&lt;pre&gt;Table: TS-7260 COM3 Serial Port Header Pin Out&lt;br /&gt;&lt;br /&gt;  NC    RTS   CTS   NC    NC&lt;br /&gt;|-----|-----|-----|-----|-----|&lt;br /&gt;|  6  |  7  |  8  |  9  | 10  |&lt;br /&gt;|-----|-----|-----|-----|-----|&lt;br /&gt;|  1  |  2  |  3  |  4  |  5  |&lt;br /&gt;|-----|-----|-----|-----|-----|&lt;br /&gt;  NC    RXD   TXD   NC    GND&lt;br /&gt;&lt;/pre&gt;The COM3 serial port is implemented at address 0x12400000. It has a 5-byte receive FIFO and a 1-byte transmit FIFO. A TS-Kernel serial driver, "tsuart" is available which allows manipulation of this hardware in Linux using the device node /dev/ttyTS0. The 5-byte receive FIFO is enough to prevent buffer overflow at 115200 baud with the Linux driver; however, it is recommended that user designs first utilize using COM1 or COM2 ports with 16-byte FIFOs at these high speeds&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;After struggling with so many testing, probing and research, I found the cable pinout and how I can make the 3 pin serial connection cable. Here is the result:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Wavecom Modem cable pin-out. [9 Pin connection]&lt;br /&gt;&lt;br /&gt;15 pin male connector (to modem)&lt;br /&gt;View from Back side (solder point)&lt;br /&gt;&lt;br /&gt;                    +-----------------------------------+&lt;br /&gt;                    |           +---------------------+ |&lt;br /&gt;               _____|___________|___________          | |&lt;br /&gt;             /      |           |            \        | |&lt;br /&gt;            /    11 |  12    13 |  14    15   \       | |&lt;br /&gt;           /      0-+   0\    0-+   0     0    \      | |&lt;br /&gt;          / +----+        `------------------+  \     | |&lt;br /&gt;         /  | 6  |  7     8     9    10      |   \    | |&lt;br /&gt;        /   | 0  |  0     0     0     0      |    \   | |&lt;br /&gt;       |    | |  |  |     |     |            |     |  | |&lt;br /&gt;       |    | |  |1 |  2  |  3  |  4     5   |     |  | |&lt;br /&gt;       |    | |  0  |  0  |  0  |  0     0   |     |  | |&lt;br /&gt;       |    | |   +-+  |  |     |            |     |  | |&lt;br /&gt;        \___|_|___|____|__|_____|____________|____/   | |&lt;br /&gt;            | |   |    |  |     |            |        | |&lt;br /&gt;            | |   |    |  |     |            |        | |&lt;br /&gt;            | |   |    |  |     |            |        | |&lt;br /&gt;            | +-+ |    |  |     +----+       |        | |&lt;br /&gt;         +--+   | |    |  +---+      |       |        | |&lt;br /&gt;         |      | |    |      |      |       |        | |&lt;br /&gt;      ___|______|_|____|______|______|___    |        | |&lt;br /&gt;    /    |      | |    |      |      |    \  |        | |&lt;br /&gt;   |     |      | |    |      |      |     | |        | |&lt;br /&gt;   |     0      0 |    0      0      0     | |        | |&lt;br /&gt;   \     1      2 |    3      4      5    /  |        | |&lt;br /&gt;    \        ,----+ ,------------------------+        | |&lt;br /&gt;     \      0      0    +-0      0--------------------+ |&lt;br /&gt;      \     6      7    | 8      9     /                |&lt;br /&gt;       \________________|_____________/                 |&lt;br /&gt;                        |                               | &lt;br /&gt;                        +-------------------------------+&lt;br /&gt;&lt;br /&gt;9 pin female connector (to mother board)&lt;br /&gt;&lt;br /&gt;------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Wavecom Modem cable pin-out for 3 wire (RX,TX,GND) &lt;br /&gt;&lt;br /&gt;15 pin male connector (to modem)&lt;br /&gt;View from Back side (solder point)&lt;br /&gt;             _____________________________&lt;br /&gt;           /                               \&lt;br /&gt;          /    11    12    13    14    15   \&lt;br /&gt;         /      0-----0     0     0     0    \&lt;br /&gt;        /                                     \&lt;br /&gt;       /    6     7     8     9    10          \&lt;br /&gt;      /     0     0-----0     0     0           \&lt;br /&gt;     |      |     |           |                  |&lt;br /&gt;     |      |  1  |  2     3  |  4     5         | &lt;br /&gt;     |      |  0--+  0     0  |  0     0         |&lt;br /&gt;     |      |        |        |                  |&lt;br /&gt;      \_____|________|________|_________________/  &lt;br /&gt;            |        |        |&lt;br /&gt;            |RX      |TX      |GND&lt;br /&gt;            |        |        |&lt;br /&gt;            +-+      |        +----+&lt;br /&gt;              |      |             |&lt;br /&gt;              |      |             |&lt;br /&gt;    __________|______|_____________|___&lt;br /&gt;  /           |      |             |    \&lt;br /&gt; |            |      |             |     |&lt;br /&gt; |     0      0      0      0      0     |&lt;br /&gt;  \     1      2      3      4      5    / &lt;br /&gt;   \                                    /    &lt;br /&gt;    \      0      0      0      0      /   &lt;br /&gt;     \     6      7      8      9     /&lt;br /&gt;      \______________________________/&lt;br /&gt;&lt;br /&gt;9 pin female connector (to mother board)&lt;br /&gt;&lt;/pre&gt;Mind my bad ASCII Art.. heheh &lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt; Hope you understand it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Problem with Wavecom Fastrack Supreme 20 - GSM/GPRS/EDGE CI.10 Plug &amp;amp; Play&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My cable is working great with previous Wavecom Modem (Ref: M1306B). However, we cannot find this type of modem anymore in stock from our supplier. So, they suggest us to use Wavecom Fastrack Supreme 20 and then the weird thing happen.&lt;br /&gt;&lt;br /&gt;By default, the Modem is working fine with my computer but somehow didn't work on my SBC. The modem didn't reply to any command I send. I did check the baud rate, cable and pinout. It is exactly the same pinout and the default baudrate is 112500. So, what is going to be wrong here?&lt;br /&gt;&lt;br /&gt;After a day of searching, I found that the default setting for DTE-DCE local flow control of this modem is set to 2,2. you can check it by sending this command to your wavecom modem:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;AT+IFC?&amp;lt;CR&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-size: 80%;"&gt;* please note that &amp;lt;CR&amp;gt; is just a simbol for carriage return character.&lt;/span&gt;&lt;br /&gt;and my modem reply like this:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;AT+IFC=2,2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Here is the setting table for the DTE-DCE local flow control +IFC:&lt;br /&gt;&lt;br /&gt;This command is used to control the operation of local flow control between the DTE and DCE.&lt;br /&gt;&lt;br /&gt;AT+IFC=&amp;lt;DCE_by_DTE&amp;gt;,&amp;lt;DTE_by_DCE&amp;gt;&lt;br /&gt;&lt;br /&gt;*&amp;lt; DCE_by_DTE &amp;gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table border="1" cellpadding="3" cellspacing="0" style="border: 1px solid gray; padding: 3px; width: 90%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th style="text-align: left; width: 10%;"&gt;code&lt;/th&gt;&lt;th style="text-align: left;"&gt;description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;none&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Xon/Xoff local circuit 103&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;RTS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;Xon/Xoff global on circuit 103&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;*&amp;lt; DTE_by_DCE &amp;gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table style="border: 1px solid gray; width: 90%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th style="text-align: left; width: 10%;"&gt;code&lt;/th&gt;&lt;th style="text-align: left;"&gt;description&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;none&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Xon/Xoff circuit 104&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;CTS&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;So, in order to fix it, I connect the modem to my computer and use minicom to send this command to the modem:&lt;br /&gt;&lt;pre&gt;AT+IFC=0,0&amp;lt;CR&amp;gt;&lt;br /&gt;AT&amp;amp;W&amp;lt;CR&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;then plug it back to the SBC with the 3 pin cable. and it should works like charm again. &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&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/3928190665450830956-3984771265220082264?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3984771265220082264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3984771265220082264' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3984771265220082264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3984771265220082264'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/12/3-pin-serial-connection-for-wavecom-gsm.html' title='3 Pin serial connection for Wavecom GSM Modem'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/TPxC8u5ObTI/AAAAAAAACKg/_Bywc21ya38/s72-c/electronic-circuit.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-201048297975815391</id><published>2008-11-12T08:00:00.001+08:00</published><updated>2008-11-12T10:24:50.679+08:00</updated><title type='text'>Howto do command sequence in linux with conditional check</title><content type='html'>One of the cool things you can do in your CLI (Command Line Interface) or so called Terminal console is triggering one line of multi command sequence with conditional check. I'm always using this trick when I don't wanna wait for the first command which takes some minutes to finish to trigger the next command. Some people wrote a bash script file to do it but today i wanna show you how to do it in one single line of command. One of my common use of this trick is to trigger a loud song or alert after my dd command (which takes about 15 minutes) to copy a 2GB image to my SD cards.&lt;br /&gt;&lt;br /&gt;So, while waiting for these command to finish, I can do something else... Like playing Gangster Battle on Facebook &lt;a href='http://coderstalk.blogspot.com'&gt;&lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;&lt;/a&gt; or chatting on the IRC (wave me @ irc.freenode.net on #ubuntu-my) &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SRo3NSI7XNI/AAAAAAAAA74/JBtnNp1d8iI/s1600-h/ddfinish.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 191px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SRo3NSI7XNI/AAAAAAAAA74/JBtnNp1d8iI/s400/ddfinish.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5267583415510326482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's the howto:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:113%;font-weight:bold;"&gt;Executing two or more commands in sequence&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To execute two or more commands in sequence regardless of the failure/success  of the previous command, you can use the semi colon ";" in between of your commands. For example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ mycommand1 ; mycommand2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In this example, &lt;span style="font-weight:bold;"&gt;mycommand2&lt;/span&gt; will be executed after &lt;span style="font-weight:bold;"&gt;mycommand1&lt;/span&gt; have been accomplished.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:113%;font-weight:bold;"&gt;Execute the next command only if the first command fails&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To execute the next command in condition of when the first command fails, you can use logical OR operator which is double pipes "||". I'm not sure what you call them but here's the example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ mycommand1 || mycommand2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mycommand2&lt;/span&gt; in this example will only be executed if &lt;span style="font-weight:bold;"&gt;mycommand1&lt;/span&gt; failed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:113%;font-weight:bold;"&gt;Execute the next command only if the first is successful&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I hope you got the idea now. Yes, we can use logical operator in between of our commands. To execute the next command in condition of when the first command is successfully accomplished, you can use logical AND operator which is double ampersand "&amp;&amp;". Look at this example:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ mycommand1 &amp;&amp; mycommand2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In this last example, mycommand2 will only be executed when mycommand1 is successful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's all for now mates. Hope you can have more control on your linux terminal console. Have fun!! &lt;a href='http://coderstalk.blogspot.com'&gt;&lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-201048297975815391?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/201048297975815391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=201048297975815391' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/201048297975815391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/201048297975815391'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/11/howto-do-command-sequence-in-linux-with.html' title='Howto do command sequence in linux with conditional check'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/SRo3NSI7XNI/AAAAAAAAA74/JBtnNp1d8iI/s72-c/ddfinish.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8435547305572304407</id><published>2008-09-16T09:13:00.006+08:00</published><updated>2008-09-16T11:26:23.597+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Finch - Howto use Pidgin via Terminal Console</title><content type='html'>For those who have starts getting in love with Terminal Console in &lt;b&gt;Ubuntu&lt;/b&gt;, you may love to be able to do everything from the Terminal console. Even if I previously said, I've already bored with the terminal coz I see it every day... &lt;br /&gt;&lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt; it is good to know that actually, your terminal can do almost everything you wanna do in your linux box. I just don't like the way it looks and feel because I love &lt;a href="http://artofapogee.blogspot.com" target="_blank"&gt;art and graphics&lt;/a&gt;. I like the eye catchy graphics and also the live cubic desktop effect and so on. Anyway, I would like to share on how to use your &lt;b&gt;Pidgin from terminal console.&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SM8a1XIsXkI/AAAAAAAAA4M/6s-ZowJwDOk/s1600-h/finch.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SM8a1XIsXkI/AAAAAAAAA4M/6s-ZowJwDOk/s400/finch.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5246441594955783746" /&gt;&lt;/a&gt;&lt;br /&gt;I have a lot to say about situations where you only got your terminal console to use programs in linux. But lets keep it short and go straight to the point now. The program to enable you to use &lt;span style="font-weight:bold;"&gt;Pidgin via Terminal console&lt;/span&gt; is called &lt;span style="font-weight:bold;"&gt;Finch&lt;/span&gt;. &lt;span style="font-weight:bold;"&gt;Finch&lt;/span&gt; as in the manual is &lt;span style="font-weight:bold;"&gt;"A Pimpin’ Penguin console frontend to libpurple Instant Messaging client."&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Run this command on your terminal to install finch in Ubuntu:&lt;br /&gt;&lt;pre id='linuxterm'&gt;$ sudo apt-get install finch&lt;/pre&gt;&lt;br /&gt;After installation, you can now use your Pidgin from the terminal console by running this command on your terminal:&lt;br /&gt;&lt;pre id='linuxterm'&gt;$ finch&lt;/pre&gt;&lt;br /&gt;As you wish to use terminal, you should already aware that you can't use your mouse (too bad for mousey... LOL). So, you have to be ready with keyboard shortcuts to use this application. Here is the quick list of useful &lt;span style="font-weight:bold;"&gt;keyboard shortcut&lt;/span&gt; to be use within Finch (taken from 'man finch'):&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Finch: GNT Shortcut&lt;/b&gt;&lt;br /&gt;&lt;style type="text/css"&gt;.nobr br { display: none } table.ex { color:#000000;background-color:#eeeeff;font-size: 100%;padding:0px;border-top: 1px solid gray;border-left: 1px solid gray;border-bottom: 0px solid gray;border-right: 0px solid gray;} table.ex th, table.ex td { padding-bottom:2px; border-top: 0px solid gray; border-left: 0px solid gray;border-bottom: 1px solid gray;border-right: 1px solid gray;} &lt;/style&gt;&lt;div class="nobr"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3"&gt;&lt;br /&gt;&lt;tr style="background-color:#ccccff"&gt;&lt;th width="25%" align="center"&gt;Shortcut&lt;/th&gt;&lt;th width="75%" align="center"&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + a&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Bring up a list of available actions. You can use this list to access the accounts window, plugins window, preference window etc.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + n&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Go to the next window.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + p&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Go to the previous window.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + w&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Show the list of windows. You can select and jump to any window from the list.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + c&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Close the current window.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + q&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Quit.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + m&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Start moving a window. Press the cursor keys to move the window. When you are done, press Enter or Escape.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + r&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Start resizing a window. Press the cursor keys to resize the window. When you are done, press Enter or Escape.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + d&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Dump the contents of the screen in HTML format in a file named "dump.html" in working directory.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + .&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Move the position of the current window in the window list one place to the right.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + ,&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Move the position of the current window in the window list one place to the left.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + l&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Refresh the windows. This is useful after resizing the terminal window.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + 1 2 ... 0&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Jump to the 1st, 2nd ... 10th window.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Ctrl + o&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Bring up the menu (if there is one) for a window. Note that currently only the buddylist has a menu.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + /&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Show a list of available key-bindings for the current widget in focus.&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + &amp;gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Switch to the next workspace&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + &amp;lt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Switch to the previous workspace&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + t&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Tag (or untag) the current window&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + T&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Attached all the tag windows to the current workspace&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;Alt + s&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Show the workspace list&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;F9&lt;/b&gt;&lt;/td&gt;&lt;td&gt; Create a new workspace and switch to it&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You may now grab your terminal, try and feel it for yourself. For more information, you may simply call &lt;span style="font-weight:bold;"&gt;"man finch"&lt;/span&gt; and read them. That's all for now mate, Enjoy Ubuntu!! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-8435547305572304407?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8435547305572304407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8435547305572304407' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8435547305572304407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8435547305572304407'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/09/finch-howto-use-pidgin-via-terminal.html' title='Finch - Howto use Pidgin via Terminal Console'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SM8a1XIsXkI/AAAAAAAAA4M/6s-ZowJwDOk/s72-c/finch.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2863096890946908034</id><published>2008-08-30T21:11:00.005+08:00</published><updated>2010-02-11T11:16:23.421+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Howto Set Ubuntu Server IP</title><content type='html'>&lt;a href="http://coderstalk.blogspot.com/search/label/Ubuntu"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 144px; height: 144px;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/S3N19KwDk8I/AAAAAAAAB-8/4uYTKcLq9sw/s144/pocket-side-and-sleeve.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436818868884706242" /&gt;&lt;/a&gt;Configuring Ubuntu Server IP have never been any easier. Just edit the &lt;b&gt;&lt;code&gt;/etc/network/interfaces&lt;/code&gt;&lt;/b&gt; file using any text editor on the server. By default, you should have nano and vi in your Ubuntu Server.&lt;br /&gt;&lt;br /&gt;The simplest and straight forward text editor is nano. So, use this command:&lt;br /&gt;&lt;br /&gt;&lt;pre id='linuxterm'&gt;$ sudo nano /etc/network/interfaces&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;you should see the default file content like this:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;&lt;br /&gt;# This file describes the network interfaces available on your system&lt;br /&gt;# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;&lt;br /&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This is the default network settings on your Ubuntu Server where it use DHCP. So, to set it as static IP. Let say, we wanna setting like this:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;=&gt; Host IP address:&lt;/span&gt; 10.1.1.100&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;=&gt; Netmask:&lt;/span&gt; 255.255.255.0&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;=&gt; Network ID:&lt;/span&gt; 10.1.1.0&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;=&gt; Broadcast IP:&lt;/span&gt; 10.1.1.255&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;=&gt; Gateway/Router IP:&lt;/span&gt; 10.1.1.254&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;=&gt; DNS Server:&lt;/span&gt; 10.1.1.254&lt;br /&gt;&lt;br /&gt;You should change the file like this:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;&lt;br /&gt;# This file describes the network interfaces available on your system&lt;br /&gt;# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;&lt;br /&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;auto eth0&lt;br /&gt;#iface eth0 inet dhcp&lt;br /&gt;iface eth0 inet static&lt;br /&gt;        address 10.1.1.100&lt;br /&gt;        netmask 255.255.255.0&lt;br /&gt;        network 10.1.1.0&lt;br /&gt;        broadcast 10.1.1.255&lt;br /&gt;        gateway 10.1.1.254&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To set the DNS server, edit the &lt;b&gt;&lt;code&gt;/etc/resolv.conf&lt;/code&gt;&lt;/b&gt; file using this command:&lt;br /&gt;&lt;br /&gt;&lt;pre id='linuxterm'&gt;$ sudo nano /etc/resolv.conf&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;add the line for nameserver like this:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 100px;text-align: left; overflow: auto"&gt;&lt;br /&gt;search myisp.com&lt;br /&gt;nameserver 10.1.1.254&lt;br /&gt;nameserver 208.67.222.222&lt;br /&gt;nameserver 208.67.220.220&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;That's all... enjoy!! &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2863096890946908034?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2863096890946908034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2863096890946908034' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2863096890946908034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2863096890946908034'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/08/howto-set-ubuntu-server-ip.html' title='Howto Set Ubuntu Server IP'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/S3N19KwDk8I/AAAAAAAAB-8/4uYTKcLq9sw/s72-c/pocket-side-and-sleeve.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8380319311821941845</id><published>2008-08-12T08:23:00.007+08:00</published><updated>2008-08-12T09:32:20.330+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Having Fun Programming in Linux with Geany</title><content type='html'>Sorry for not having any post last month. It's just because I'm getting busy with my workloads and some stuff to do with &lt;a href="http://forums.ubuntu.com.my" target="_blank"&gt;Ubuntu Malaysia Community&lt;/a&gt;. &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt; Now I'm back, and I would like to share with you this cool IDE for programming in Linux called Geany.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SKDky5I35mI/AAAAAAAAA3I/Reucen_Czzc/s1600-h/geany_vte.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SKDky5I35mI/AAAAAAAAA3I/Reucen_Czzc/s400/geany_vte.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5233434329987147362" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;Geany is a light-weight cross-platform GTK+ text editor based on Scintilla with basic Integrated Development Environment (IDE) features. It is designed to have limited dependency on separate packages and short load times. It is available for a wide range of operating systems, such as Windows, Linux, BSD and Solaris. Among the supported programming languages are (according to the documentation) C, Java, JavaScript, PHP, HTML, CSS, Python, Perl and Pascal.&lt;br /&gt;&lt;br /&gt;Geany is one of the more fully-featured editors on the Linux platform, as most Linux editors adopt a more minimalist philosophy. It is similar to Windows editors such as NoteTab or ConTEXT.&lt;br /&gt;&lt;br /&gt;It is Free Software licensed under the terms of the GNU GPL.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;~ Cited From Wikipedia ~&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;Previously, people use vim, nano or gedit to write codes for linux programming. Even thou there is not much problem in using all these text editors to write codes, productive people will need more things to have that will reduce their work and increase their output.&lt;span class="fullpost"&gt; While there are Anjuta, Eclipse, Netbeans and other complete IDE available, Geany come as a middle solution for people who don't wanna something crowded like full IDE but also need something more than a simple text editor.&lt;br /&gt;&lt;br /&gt;To install Geany on your Ubuntu, you can simply use Synaptic Package Manager and search for "geany" or run this line on your Terminal:&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ sudo apt-get install geany&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And this is what you can expect to get from Geany:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Code Folding - To stay focus within a complex codes, Code folding comes handy to hide big chunks of code and leave only what I'm working on right now.&lt;/li&gt;&lt;li&gt;saving the session - Geany can load files from the last session.  Unfortunately, it doesn't remember where the cursor was within the file or which parts of code were folded.&lt;/li&gt;&lt;li&gt;sidebar - Before Geany, coders using vim or nano don't use these additional bars. This one is actually quite helpful.  It lists all important code elements (functions, classes, variables, etc.) sorted in alphabetical order and lets us quickly jump to them.  Also, we can right-click on a function name where it's used and quickly jump to a line when this function is declared (if it's declared in some file that's been opened, off course).&lt;/li&gt;&lt;li&gt;all standard features anybody would expect - syntax highlighting, code completion, tabs, auto indentation (either tabs or spaces), (un)commenting and decreasing/increasing indentation of multiple lines.&lt;/li&gt;&lt;li&gt;support for many languages - I counted 26 supported filetypes.&lt;/li&gt;&lt;li&gt;build system - it can compile, build, make all, make custom target, make object and execute.&lt;/li&gt;&lt;li&gt;multiple tiny bells and whistles, such as a color picker or the ability to insert predefined comments (for example description of a function).&lt;/li&gt;&lt;li&gt;and most of all - it doesn't do anything that annoys me.  It's quite common for smallish applications to behave in a non-standard way.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;You can also check out &lt;a href="http://geany.uvena.de/Main/HomePage" target="_blank"&gt;Geany website&lt;/a&gt; for more infos. That's all for now... Wish you a Happy Coding!! &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&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/3928190665450830956-8380319311821941845?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8380319311821941845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8380319311821941845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8380319311821941845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8380319311821941845'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/08/having-fun-programming-in-linux-with.html' title='Having Fun Programming in Linux with Geany'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/SKDky5I35mI/AAAAAAAAA3I/Reucen_Czzc/s72-c/geany_vte.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2759476779593868178</id><published>2008-06-29T10:58:00.009+08:00</published><updated>2008-07-15T11:10:29.658+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='electronic'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='TS-ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='embedded system'/><title type='text'>Some Photos from my office's Desktop</title><content type='html'>It is Sunday, and I'm checking my old photos... And then, I found my office's desktop photos. You may want to see them. Sometimes, my desk is clean but sometimes, it get horribly messy... &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt; This is the average looks of it.&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341857039/" title="The Serial Data Logger by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2110/2341857039_591f6f68d4_m.jpg" width="180" height="240" alt="The Serial Data Logger" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342686354/" title="What I see every day by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2193/2342686354_d1a002f298_m.jpg" width="180" height="240" alt="What I see every day" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341856599/" title="The Rain Gauge PCB by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3295/2341856599_e9577bd72f_m.jpg" width="240" height="180" alt="The Rain Gauge PCB" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341856429/" title="My Table by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3081/2341856429_a2f9407d94_m.jpg" width="240" height="180" alt="My Table" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341856267/" title="My Old Circuit Board Design by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2336/2341856267_fcd0cda59e_m.jpg" width="240" height="180" alt="My Old Circuit Board Design" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342685594/" title="The new TS-7260 by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2199/2342685594_53ea0218a1_m.jpg" width="240" height="180" alt="The new TS-7260" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342685462/" title="My Desktop by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3247/2342685462_c54ddd13d6_m.jpg" width="240" height="180" alt="My Desktop" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342685270/" title="The SBC, PCB and The Black Box by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2339/2342685270_24c2d9e53e_m.jpg" width="240" height="180" alt="The SBC, PCB and The Black Box" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341855437/" title="SBC serial /dev/ttyAM1 by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2365/2341855437_be1879100d_m.jpg" width="240" height="180" alt="SBC serial /dev/ttyAM1" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342685006/" title="Power Supply And Serial /dev/ttyAM0 by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2211/2342685006_88bbc825d5_m.jpg" width="240" height="180" alt="Power Supply And Serial /dev/ttyAM0" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342684814/" title="The TS-ARM by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3132/2342684814_de923f59b5_m.jpg" width="240" height="180" alt="The TS-ARM" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2341854951/" title="TS-7260, Data Logger and GPRS Modem by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2189/2341854951_0709978785_m.jpg" width="240" height="180" alt="TS-7260, Data Logger and GPRS Modem" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342684528/" title="TS-7260 and Data Logger by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2279/2342684528_94dd6eb2be_m.jpg" width="180" height="240" alt="TS-7260 and Data Logger" /&gt;&lt;/a&gt;&lt;a href="http://www.flickr.com/photos/jerungkun-gallery/2342686764/" title="Rain Gauge Data Logging by - ApOgEE -, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3264/2342686764_d445433d6d_m.jpg" width="180" height="240" alt="Rain Gauge Data Logging" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Working on these Wireless Rain Gauge development have build up my skills in linux bash programming and I learn a lot on how Single Board computer works. In the beginning, we just create a daughter board and attach it to a &lt;a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Linksys/WRT54GS" target="_blank"&gt;hacked LinkSYS WRT45GS&lt;/a&gt; board which I've installed &lt;a href="http://openwrt.org/" target="_blank"&gt;OpenWRT&lt;/a&gt; so I can embed my bash script inside. But then, we go for TS-7260 board from embeddedarm.com to get more control on the RainGause for version two.&lt;br /&gt;&lt;br /&gt;Till now, I'm still upgrading the code for more features and stability. Well, that's all for now. &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt; Enjoy what you're doing!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2759476779593868178?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2759476779593868178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2759476779593868178' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2759476779593868178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2759476779593868178'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/some-photos-form-my-offices-desktop.html' title='Some Photos from my office&apos;s Desktop'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2110/2341857039_591f6f68d4_t.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3794324692150950551</id><published>2008-06-26T08:53:00.004+08:00</published><updated>2008-06-26T10:05:16.605+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><title type='text'>Fixing Read More link appear on Blogger Fullpost</title><content type='html'>Thanks to &lt;a href='http://paulescolarisdrunk.blogspot.com/' target='_blank'&gt;Paul Escolar&lt;/a&gt; who really use my code on &lt;a href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html' target='_blank'&gt;'How to create expandable post summaries in Blogger'&lt;/a&gt; and spot a bug on that tutorial.&lt;br /&gt;&lt;br /&gt;Hence my code for this blog is already changed for other additional stuff. Sorry for that silly mistakes &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;. As I went to debug my tutorial, I found that whoever follow that tutorial properly will get the same result as Paul's blog. So, here is the explanation and how to fix it.&lt;br /&gt;&lt;br /&gt;Please check at the &lt;a href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html#step-01' target='_blank'&gt;last chunk of code on 'Step #1 - Edit your template code'&lt;/a&gt;. The old code should look like this:&lt;br /&gt;&lt;br /&gt;&lt;pre id='blogcode'&gt;&lt;br /&gt;&amp;lt;b:if cond='data:post.labels'&amp;gt;&lt;br /&gt;   &amp;lt;b:loop values='data:post.labels' var='label'&amp;gt;&lt;br /&gt;      &amp;lt;b:if cond='data:label.name == &amp;amp;quot;more&amp;amp;quot;'&amp;gt;&lt;br /&gt;         &amp;lt;a expr:href='data:post.url'&amp;gt;...&amp;lt;b&amp;gt;Read more&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;      &amp;lt;/b:if&amp;gt;&lt;br /&gt;   &amp;lt;/b:loop&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;where the previous screenshot is this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAHEUsjVfI/AAAAAAAAA0s/VvZxrSNiawU/s1600-h/before-after.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAHEUsjVfI/AAAAAAAAA0s/VvZxrSNiawU/s400/before-after.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210672539724109298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What this code do is checking the 'more' label and put that 'Read More' link at the end of your post, regardless you are in fullpost or not. So, to wipe it out when we are in fullpost, you just have to add this two lines of code, before and after that code chunk:&lt;br /&gt;&lt;br /&gt;&lt;pre id='blogcode'&gt;&lt;br /&gt;&amp;lt;b:if cond='data:blog.pageType != &amp;amp;quot;item&amp;amp;quot;'&amp;gt;&lt;br /&gt;   &lt;span style='color:#aaaaaa;'&gt;&amp;lt;b:if cond='data:post.labels'&amp;gt;&lt;br /&gt;      &amp;lt;b:loop values='data:post.labels' var='label'&amp;gt;&lt;br /&gt;         &amp;lt;b:if cond='data:label.name == &amp;amp;quot;more&amp;amp;quot;'&amp;gt;&lt;br /&gt;            &amp;lt;a expr:href='data:post.url'&amp;gt;...&amp;lt;b&amp;gt;Read more&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;         &amp;lt;/b:if&amp;gt;&lt;br /&gt;      &amp;lt;/b:loop&amp;gt;&lt;br /&gt;   &amp;lt;/b:if&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In blogger layout code, the fullpost page type is called 'item'. So, this &lt;b&gt;'if statement'&lt;/b&gt; is added to check that we are not in &lt;b&gt;'item'&lt;/b&gt; post and only do loop through the labels and add the Read More links then. &lt;br /&gt;&lt;br /&gt;That's it, you may save your template now and see the difference. Good Luck!!&lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html'&gt;How to create expandable post summaries in Blogger&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post with teaser&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&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/3928190665450830956-3794324692150950551?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3794324692150950551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3794324692150950551' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3794324692150950551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3794324692150950551'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/fixing-read-more-link-appear-on-blogger.html' title='Fixing Read More link appear on Blogger Fullpost'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SFAHEUsjVfI/AAAAAAAAA0s/VvZxrSNiawU/s72-c/before-after.png' height='72' width='72'/><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1162912043435933231</id><published>2008-06-12T02:30:00.026+08:00</published><updated>2008-09-02T10:59:43.551+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><title type='text'>How to create expandable post summaries in Blogger</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAmZ6p90YI/AAAAAAAAA1M/o_QvZC99At8/s1600-h/blogspot.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAmZ6p90YI/AAAAAAAAA1M/o_QvZC99At8/s200/blogspot.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5210706995551523202" /&gt;&lt;/a&gt;I've been tweaking my blog template because I've already bored with my old default template that I use previously. While working on this template, I'm thinking that it may be cool to have my long post to be truncated and &lt;span style="font-weight:bold;"&gt;have the "read more" link&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I found the &lt;span style="font-weight:bold;"&gt;code&lt;/span&gt; from &lt;span style="font-weight:bold;"&gt;Blogger Help&lt;/span&gt; to do this. However, there is one issue with their code where the "read more" link will appear regardless of whether a post has been truncated or not. You can check it out at &lt;a href='http://help.blogger.com/bin/answer.py?hl=en&amp;answer=42215' target='_blank'&gt;help.blogger.com on How can I create expandable post summaries?&lt;/a&gt;. If you have already read them, you should notice the disadvantages under the &lt;span style="font-weight:bold;"&gt;Note list&lt;/span&gt; which says:&lt;br /&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;Disadvantages: Requires changes to the posts themselves, rather than to the template only. However, &lt;span style="color:magenta"&gt;the "read more" link is in the template, so it will appear regardless of whether a post has been truncated or not.&lt;/span&gt; &lt;span style="color:green"&gt;(Modifying this feature is left as an exercise for the reader.)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br /&gt;Do you think it is a good exercise? So, how many of you have already solve this exercise? I've been browsing through pages of google results and found that currently, I didn't see anybody solve and publish the answer for this exercise with just the &lt;span style="font-weight:bold;"&gt;blogger layout code&lt;/span&gt; and without using other &lt;span style="font-weight:bold;"&gt;javascript code&lt;/span&gt;. I do the search because I'm a lazy coder where I don't wanna spend my precious time to reinvent the wheel. Anyway, after a few minutes of thinking, I got an idea on how to solve this problem. And as usual, I'm happy to share my solution with you.&lt;span class="fullpost"&gt; &lt;br /&gt;&lt;br /&gt;Let's make it short now, here's the tutorial:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:1.5em;color:#ff6600"&gt;&lt;strong&gt;How can I create expandable post summaries that only show the "read more" link if post is truncated?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;With this hack, you can choose to display a select amount of text from the beginning of each post as a teaser instead of showing the entire post on the front page of your blog. Then when people want to read the rest of the post, they can click a &lt;span style="color:green"&gt;“read more”&lt;/span&gt; link to see the full post. This is very handy if you have lots of long articles all on one page. (Note that you’ll need to have &lt;a href="http://help.blogger.com/bin/answer.py?answer=42049" target="_blank"&gt;post pages&lt;/a&gt; enabled in order to make this feature work.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#1069f1;font-size:1.5em;"&gt;&lt;b&gt;Step #1 - Edit your template code&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;To edit your template code, you have to go to your &lt;span style="font-weight:bold;"&gt;Layout &gt; Edit HTML&lt;/span&gt; tab. Tick the &lt;span style="font-weight:bold;"&gt;Expand Widget Templates&lt;/span&gt; to have all the codes. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/SE_zN9RJQfI/AAAAAAAAA0c/0t-wwUKZWos/s1600-h/layout-edit-html.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/SE_zN9RJQfI/AAAAAAAAA0c/0t-wwUKZWos/s400/layout-edit-html.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210650715001274866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is easier to copy all code and paste it to your text editor. To copy all code, click on the code area once and then press &lt;b&gt;Ctrl+A&lt;/b&gt; to &lt;span style="font-weight:bold;"&gt;Select All&lt;/span&gt;. Press &lt;span style="font-weight:bold;"&gt;Ctrl+C&lt;/span&gt; to &lt;span style="font-weight:bold;"&gt;copy the selected codes&lt;/span&gt;, open your text editor and paste it in. Now you have your code ready to edit.&lt;br /&gt;&lt;br /&gt;Add this code just before the &lt;code style='color:green'&gt;&amp;lt;b:skin&amp;gt;&lt;/code&gt; tag on your template code:&lt;br /&gt;&lt;br /&gt;&lt;pre id='blogcode'&gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;&amp;lt;b:if cond='data:blog.pageType == &amp;amp;quot;item&amp;amp;quot;'&amp;gt; &lt;br /&gt;   span.fullpost {display:inline;}&lt;br /&gt;&amp;lt;b:else/&amp;gt;&lt;br /&gt;   span.fullpost {display:none;} &lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here's how it should look. The yellow box in the image below shows your newly added code:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SE_6B8kmlKI/AAAAAAAAA0k/uT-lPaFslCk/s1600-h/code-1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SE_6B8kmlKI/AAAAAAAAA0k/uT-lPaFslCk/s400/code-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210658205237417122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a id='step-01'&gt;&lt;/a&gt;&lt;br /&gt;And then you have to find &lt;code style='color:green'&gt;&amp;lt;data:post.body/&amp;gt;&lt;/code&gt; tag using Ctrl+F or find function in your text editor and paste this code just before the &lt;code style='color:green'&gt;&amp;lt;/p&amp;gt;&lt;/code&gt; tag, right after the &lt;code style='color:green'&gt;&amp;lt;data:post.body/&amp;gt;&lt;/code&gt; tag:&lt;br /&gt;&lt;br /&gt;&lt;pre id='blogcode'&gt;&lt;br /&gt;&amp;lt;b:if cond='data:post.labels'&amp;gt;&lt;br /&gt;   &amp;lt;b:loop values='data:post.labels' var='label'&amp;gt;&lt;br /&gt;      &amp;lt;b:if cond='data:label.name == &amp;amp;quot;more&amp;amp;quot;'&amp;gt;&lt;br /&gt;         &amp;lt;a expr:href='data:post.url'&amp;gt;...&amp;lt;b&amp;gt;Read more&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;      &amp;lt;/b:if&amp;gt;&lt;br /&gt;   &amp;lt;/b:loop&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And the screenshot. The yellow box shows your newly added code:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAHEUsjVfI/AAAAAAAAA0s/VvZxrSNiawU/s1600-h/before-after.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SFAHEUsjVfI/AAAAAAAAA0s/VvZxrSNiawU/s400/before-after.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210672539724109298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My solution here is by checking the label whether it have &lt;span style='color:green;'&gt;"more"&lt;/span&gt; label. So, in every post that you decided to have the "read more" link, you have to add this label. I'm adding a loop to read the labels for each post and inside the loop, there is an IF statement to check whether it have the "more" label.&lt;br /&gt;&lt;br /&gt;You should notice this line with:&lt;br /&gt;&lt;code style="color:green"&gt;&amp;lt;b:if cond='data:label.name == &amp;amp;quot;&lt;span style="color:#005500;font-weight:bold;"&gt;more&lt;/span&gt;&amp;amp;quot;'&amp;gt;&lt;/code&gt;&lt;br /&gt;where the word 'more' in bold here is the label name. You can substitute this with any word you like but make sure you will only add that label to the post where you want to have the &lt;span style="color:green;"&gt;"read more"&lt;/span&gt; link.&lt;br /&gt;&lt;br /&gt;And now, you can differentiate the truncated post. &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt; After verifying your code, copy it from your text editor and overwrite your HTML template code. Click on&lt;span style="font-weight:bold;"&gt; Save Template&lt;/span&gt; and you are done with the first step. Check your code carefully if Blogger fail to save it. Maybe you have missed any &lt;code style="color:green;font-weight:bold;"&gt;'&amp;lt;'&lt;/code&gt; or &lt;code style="color:green;font-weight:bold;"&gt;'&amp;gt'&lt;/code&gt; in your code.&lt;br /&gt;&lt;br /&gt;&lt;a href='http://coderstalk.blogspot.com/2008/06/fixing-read-more-link-appear-on-blogger.html' target='_blank'&gt;&lt;b&gt;UPDATE!!: Please Read - Fixing Read More link appear on Blogger Fullpost&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#1069f1;font-size:1.5em;"&gt;&lt;b&gt;Step #2 - Add Class Tag in your default Post Template&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;The next step is optional to keep the class tag handy on every post you would like to have expandable post summaries. To add this, you can just go to &lt;span style="font-weight:bold;"&gt;Settings &gt; Formatting&lt;/span&gt; tab on your blog settings. Scroll to the bottom and you will see the &lt;span style="font-weight:bold;"&gt;Post Template&lt;/span&gt; option. Then, put this code:&lt;br /&gt;&lt;br /&gt;&lt;pre id='blogcode'&gt;&lt;br /&gt;&amp;lt;span class="fullpost"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here's the screenshot:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/SFAW7miR2xI/AAAAAAAAA00/WMO9w5H5XM4/s1600-h/template.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/SFAW7miR2xI/AAAAAAAAA00/WMO9w5H5XM4/s400/template.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210689982080080658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After that, click on &lt;span style="font-weight:bold;"&gt;Save Settings&lt;/span&gt; and you are done.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#1069f1;font-size:1.5em;"&gt;&lt;b&gt;Step #3 - Creating your expandable post&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;You can now follow the same way like in the blogger help to create your expandable post. When writing your new post, anything you put above the &lt;code style='color:green'&gt;&amp;lt;span class=”fullpost”&amp;gt;&lt;/code&gt; tag will be the teaser text. The main body of your post needs to go in between the &lt;code style='color:green'&gt;&amp;lt;span class=”fullpost”&amp;gt;&lt;/code&gt; and &lt;code style='color:green'&gt;&amp;lt;/span&amp;gt;&lt;/code&gt; tags. When you have finish typing your post, make sure you add &lt;span style='color:green;'&gt;"more"&lt;/span&gt; label in order for the “read more” link to work properly.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/SFAXEkbRF0I/AAAAAAAAA08/BqzxJW5BcOI/s1600-h/post-sample.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/SFAXEkbRF0I/AAAAAAAAA08/BqzxJW5BcOI/s400/post-sample.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210690136132622146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, you can Publish your post, and see the result. Have fun blogging!!!&lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt; Don't forget to subscribe my &lt;a href="http://feeds.feedburner.com/coderstalk"&gt;RSS Feed&lt;/a&gt; for more coding tricks. Feel free to link my blog on yours too... Heheh.&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post with teaser&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&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/3928190665450830956-1162912043435933231?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1162912043435933231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1162912043435933231' title='65 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1162912043435933231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1162912043435933231'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html' title='How to create expandable post summaries in Blogger'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SFAmZ6p90YI/AAAAAAAAA1M/o_QvZC99At8/s72-c/blogspot.jpg' height='72' width='72'/><thr:total>65</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1448403297074059291</id><published>2008-06-10T09:13:00.006+08:00</published><updated>2008-06-11T17:32:11.482+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>How to Install .rpm packages in Ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SE3Yuoln8dI/AAAAAAAAAzw/j5X7EvW_MLc/s1600-h/800px-RPM_Logo.svg.png"&gt;&lt;img style="float:right; margin:0 10px 0px 10px;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SE3Yuoln8dI/AAAAAAAAAzw/j5X7EvW_MLc/s200/800px-RPM_Logo.svg.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5210058639618339282" /&gt;&lt;/a&gt;Ubuntu normally use .deb package for application installer. However, if you have an rpm file for a package you wish to install, and if you cannot find a .deb debian package in any of the Ubuntu repositories or elsewhere, you can use the &lt;a href="http://kitenet.net/programs/alien/" target="_blank"&gt;alien package converter application&lt;/a&gt; to install the .rpm file.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.&lt;br /&gt;&lt;br /&gt;Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.&lt;br /&gt;&lt;br /&gt;Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can&amp;#8217;t uninstall the package without breaking your system, don&amp;#8217;t try to replace it with an alien version.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h4 style="font-weight:bold;font-size:5;"&gt;How to Install RPM Files Using Alien&lt;/h4&gt;&lt;h4&gt;Installing Alien&lt;/h4&gt;&lt;br /&gt;The &lt;strong&gt;alien&lt;/strong&gt; can be installed from the Ubuntu &lt;em&gt;Universe&lt;/em&gt; repository by adding the repository to your list of sources and issuing this commands:&lt;span class='fullpost'&gt;&lt;br /&gt;&lt;pre id=linuxterm&gt;$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install alien&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Installing the .rpm file&lt;/h4&gt;&lt;br /&gt;To install the .rpm file, you have to convert it first to a .deb file which then can be installed on Ubuntu.&lt;br /&gt;Assuming that you downloaded the package to your Desktop (~/Desktop is the directory)&lt;br /&gt;You can convert the .rpm to a .deb by using the following commands:&lt;br /&gt;&lt;br /&gt;&lt;pre id=linuxterm&gt;$ cd ~/Desktop&lt;/pre&gt;-This will change the directory to your desktop, where you have the .rpm file. &lt;br /&gt;&lt;br /&gt;&lt;pre id=linuxterm&gt;$ sudo alien -k name-of-rpm-file.rpm&lt;/pre&gt;- This will convert the .rpm to a .deb.&lt;br /&gt;- The &amp;#8220;-k&amp;#8221; will keep the version number. Otherwise alien adds a &amp;#8220;1&amp;#8243; to the version number.&lt;br /&gt;&lt;br /&gt;&lt;pre id=linuxterm&gt;$ sudo dpkg -i name-of-deb-file.deb&lt;/pre&gt;- This will install the .deb package&lt;br /&gt;&lt;br /&gt;Feel free to read the alien manpage for more details on how you can convert other kinds of packages and the options available.&lt;br /&gt;&lt;br /&gt;That's all for now, Good Luck!!&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;via [&lt;a href="http://ubuntu.wordpress.com/2005/09/23/installing-using-an-rpm-file/" target="_blank"&gt;ubuntu.wordpress&lt;/a&gt;]&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/3928190665450830956-1448403297074059291?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1448403297074059291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1448403297074059291' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1448403297074059291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1448403297074059291'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/how-to-install-rpm-packages-in-ubuntu.html' title='How to Install .rpm packages in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/SE3Yuoln8dI/AAAAAAAAAzw/j5X7EvW_MLc/s72-c/800px-RPM_Logo.svg.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7106914761850055451</id><published>2008-06-05T18:57:00.011+08:00</published><updated>2010-02-11T11:31:17.330+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux shell script'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>Bash Scripting - Script execution counter</title><content type='html'>This &lt;span style="font-weight:bold;"&gt;Linux shell script&lt;/span&gt; does nothing than just increasing n value every time it is executed and then keep the value in a file. When the value goes greater than 10, it will drop back to 1. Uhhh... this reminds me to the increasing of the fuel price. But that fuel price will just increase and will never drop back... Lol... Anyway, I wrote this &lt;span style="font-weight:bold;"&gt;bash script&lt;/span&gt; just to make a permanent variable to be used as bash script running counter. With this code, I can count how many time the script have been executed.&lt;br /&gt;&lt;br /&gt;Here's the code:&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;nfilename="./nvalue"&lt;br /&gt;&lt;br /&gt;n=0&lt;br /&gt;touch $nfilename&lt;br /&gt;. $nfilename&lt;br /&gt;&lt;br /&gt;echo "current n value is $n"&lt;br /&gt;&lt;br /&gt;n=$(expr $n + 1)&lt;br /&gt;&lt;br /&gt;if [ $n -gt 10 ]; then&lt;br /&gt;   n=1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;echo "new n value is $n"&lt;br /&gt;&lt;br /&gt;echo "n=$n" &gt; $nfilename&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Here's the step for testing the script for newbies bash scripter.&lt;br /&gt;&lt;br /&gt;1. Create one text file in your home folder. In this example I'm using &lt;span style="font-weight:bold;"&gt;ncounter&lt;/span&gt; as the file name:&lt;br /&gt;&lt;pre id=linuxterm&gt;apogee@apogee-persiasys:~ gedit ncounter&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2. Copy and paste the codes in this file, then save and close it.&lt;br /&gt;&lt;br /&gt;3. Change the file permission to executable:&lt;br /&gt;&lt;pre id=linuxterm&gt;apogee@apogee-persiasys:~ chmod +x ncounter&lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;4. Then you can test it... here's my output example:&lt;br /&gt;&lt;pre id=linuxterm&gt;apogee@apogee-persiasys:~$ ./ncounter &lt;br /&gt;current n value is 0&lt;br /&gt;new n value is 1&lt;br /&gt;apogee@apogee-persiasys:~$ ./ncounter &lt;br /&gt;current n value is 1&lt;br /&gt;new n value is 2&lt;br /&gt;apogee@apogee-persiasys:~$ ./ncounter &lt;br /&gt;current n value is 2&lt;br /&gt;new n value is 3&lt;br /&gt;apogee@apogee-persiasys:~$ ./ncounter &lt;br /&gt;current n value is 3&lt;br /&gt;new n value is 4&lt;br /&gt;apogee@apogee-persiasys:~$ &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Feel free to experiment and change the &lt;span style="font-weight:bold;"&gt;./nvalue&lt;/span&gt; file location to somewhere else where you have read and write permission. This is just another linux shell script that I haven't used yet... heheh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7106914761850055451?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7106914761850055451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7106914761850055451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7106914761850055451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7106914761850055451'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/bash-scripting-script-execution-counter.html' title='Bash Scripting - Script execution counter'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8421214921505042355</id><published>2008-06-03T09:08:00.011+08:00</published><updated>2008-06-11T17:34:16.300+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>PC in a Keyboard</title><content type='html'>Have you ever wished of having a desktop where your super slim LCD monitor attached to just a keyboard? And nothing else? &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/SESZwm-pneI/AAAAAAAAAzI/8IHVdMC7Tok/s1600-h/pc-in-keyboard-01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/SESZwm-pneI/AAAAAAAAAzI/8IHVdMC7Tok/s400/pc-in-keyboard-01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207456129523228130" /&gt;&lt;/a&gt;&lt;br /&gt;If you did, it is worth to have a look at this space saving desktop computer from &lt;span style="font-weight:bold;"&gt;Cybernet&lt;/span&gt;, the &lt;span style="font-weight:bold;"&gt;Computer in a Keyboard&lt;/span&gt;. This company has shrunk the CPU behind a regular sized keyboard and it comes complete with an &lt;span style="font-weight:bold;"&gt;Intel Core 2 Quad chip, DVD drive, hard disk drive, up to 4GB RAM, a touchpad, memory card slots and standard USB ports&lt;/span&gt;.&lt;span class='fullpost'&gt;&lt;br /&gt;&lt;br /&gt;Even thou it makes the keyboard bulky, it can be a small tradeoff for all the space saving that the PC achieves. You can plug your standard monitor or even your LCD monitors into this &lt;span style="font-weight:bold;"&gt;Computer in Keyboard&lt;/span&gt;. Isn't that great?&lt;br /&gt;&lt;br /&gt;&lt;div style="display:block; margin:0px auto 10px; text-align:center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SESaYznhAqI/AAAAAAAAAzo/r1-JjKuyVww/s1600-h/pc-in-keyboard-04.jpg"&gt;&lt;img style="border:0; margin:0px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SESaYznhAqI/AAAAAAAAAzo/r1-JjKuyVww/s200/pc-in-keyboard-04.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207456820110623394" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SESaQKnKupI/AAAAAAAAAzg/iJw8uBUPSww/s1600-h/zpc1.jpg"&gt;&lt;img style="border:0; margin:0px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SESaQKnKupI/AAAAAAAAAzg/iJw8uBUPSww/s200/zpc1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207456671664355986" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SESaJI9gGbI/AAAAAAAAAzY/SFoxPMWHP6M/s1600-h/pc-in-keyboard-03.jpg"&gt;&lt;img style="border:0; margin:0px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SESaJI9gGbI/AAAAAAAAAzY/SFoxPMWHP6M/s200/pc-in-keyboard-03.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207456550962076082" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/SESaAEst1CI/AAAAAAAAAzQ/KHbE6lpHmPI/s1600-h/pc-in-keyboard-02.jpg"&gt;&lt;img style="border:0; margin:0px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/SESaAEst1CI/AAAAAAAAAzQ/KHbE6lpHmPI/s200/pc-in-keyboard-02.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207456395199108130" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;As far as I know, the &lt;span style="font-weight:bold;"&gt;PC in keyboard&lt;/span&gt; is fully customizable and will cost around $700 to $1100. Enjoy!! &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-8421214921505042355?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8421214921505042355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8421214921505042355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8421214921505042355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8421214921505042355'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/pc-in-keyboard.html' title='PC in a Keyboard'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/SESZwm-pneI/AAAAAAAAAzI/8IHVdMC7Tok/s72-c/pc-in-keyboard-01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2603862954514748619</id><published>2008-06-02T12:11:00.006+08:00</published><updated>2008-06-04T09:44:13.509+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><title type='text'>Howto Create .ISO images from CD or DVD in Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/SEN1yVEa2BI/AAAAAAAAAzA/MtcIvVHVVgs/s1600-h/penguin-cd.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/SEN1yVEa2BI/AAAAAAAAAzA/MtcIvVHVVgs/s320/penguin-cd.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5207135101680015378" /&gt;&lt;/a&gt;In &lt;span style="font-weight:bold;"&gt;Linux computer&lt;/span&gt;, we have a simple tool to create CD or DVD .ISO file. This is very helpfull to backup your CD and DVD into ISO images:&lt;br /&gt;&lt;br /&gt;To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;for dvd:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ dd if=/dev/dvd of=mydvd.iso&lt;/pre&gt;&lt;br /&gt;for cdrom:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ dd if=/dev/cdrom of=mycd.iso&lt;/pre&gt;&lt;br /&gt;for scsi cdrom:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ dd if=/dev/scd0 of=mycd.iso&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And if you wanna make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.&lt;br /&gt;&lt;br /&gt;&lt;pre id="linuxterm"&gt;mkisofs -o /tmp/mycd.iso /tmp/directory/&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.&lt;br /&gt;&lt;br /&gt;For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at http://www.tldp.org. Enjoy Linux!! &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2603862954514748619?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2603862954514748619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2603862954514748619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2603862954514748619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2603862954514748619'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/06/howto-create-iso-images-from-cd-or-dvd.html' title='Howto Create .ISO images from CD or DVD in Linux'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/SEN1yVEa2BI/AAAAAAAAAzA/MtcIvVHVVgs/s72-c/penguin-cd.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6517419490458003829</id><published>2008-05-29T11:40:00.003+08:00</published><updated>2008-05-29T11:53:16.971+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>How to survive a day at the office</title><content type='html'>Hahahah... while reading my email, I receive this funny cartoon especially the &lt;span style="font-weight:bold;"&gt;Version Two&lt;/span&gt; about computer virus. Well, you cannot do this if you are using linux in your office. heheh&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;span style="font-weight:bold;color:blue"&gt;Version One&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SD4mxG0Sf6I/AAAAAAAAAyY/gPHbZSp9o2E/s1600-h/office-computer-survive-001.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SD4mxG0Sf6I/AAAAAAAAAyY/gPHbZSp9o2E/s400/office-computer-survive-001.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5205640844372246434" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;color:blue"&gt;Version Two&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SD4oNG0Sf7I/AAAAAAAAAyg/c8k6uQXiTqM/s1600-h/office-computer-survive-002.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SD4oNG0Sf7I/AAAAAAAAAyg/c8k6uQXiTqM/s400/office-computer-survive-002.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5205642424920211378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;Smile and have fun!! &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6517419490458003829?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6517419490458003829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6517419490458003829' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6517419490458003829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6517419490458003829'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/how-to-survive-day-at-office.html' title='How to survive a day at the office'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SD4mxG0Sf6I/AAAAAAAAAyY/gPHbZSp9o2E/s72-c/office-computer-survive-001.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-296987914363410001</id><published>2008-05-27T13:13:00.005+08:00</published><updated>2010-02-11T11:30:25.418+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux shell script'/><title type='text'>Linux Shell Script to Compare PID</title><content type='html'>Just my testing &lt;span style="font-weight:bold;"&gt;Linux bash script&lt;/span&gt; code to compare PID... I'm not really using it yet. But I'm thinking if I can use it to verify that there is running process with the same PID in &lt;span style="font-weight:bold;"&gt;/var/run/appname.pid&lt;/span&gt; on the running process snapshot (ps).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/S3N5jlbDrpI/AAAAAAAAB_E/gfmVQA4bJFg/s1600-h/getpid.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 321px; height: 189px;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/S3N5jlbDrpI/AAAAAAAAB_E/gfmVQA4bJFg/s400/getpid.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5436822827414302354" /&gt;&lt;/a&gt;&lt;br /&gt;if there is no such PID, maybe I can simply delete the .pid file. And the process which will check for this file can restart as usual. &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Here's the content of my &lt;span style="font-weight:bold;"&gt;~/pidcmp&lt;/span&gt; script:&lt;br /&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;thepid=`cat /var/run/ppp0.pid`&lt;br /&gt;echo "the pid is $thepid"&lt;br /&gt;spsaux=`ps aux | grep [p]ppd`&lt;br /&gt;okflag=0&lt;br /&gt;&lt;br /&gt;gettx ()&lt;br /&gt;{&lt;br /&gt;   local IFS=" "&lt;br /&gt;   i=0&lt;br /&gt;   for tx in $1; do&lt;br /&gt;      myarr[$i]=$tx&lt;br /&gt;      let i+=1&lt;br /&gt;   done&lt;br /&gt;}&lt;br /&gt;NEWLINE='&lt;br /&gt;';&lt;br /&gt;oldifs=$IFS&lt;br /&gt;IFS=$NEWLINE&lt;br /&gt;for line in $spsaux; do&lt;br /&gt;#   echo "line: $line"&lt;br /&gt;   gettx $line&lt;br /&gt;   foundpid=${myarr[1]}&lt;br /&gt;   if [ $foundpid == $thepid ]; then&lt;br /&gt;      echo "the pid is equal!!"&lt;br /&gt;      okflag=1&lt;br /&gt;   fi&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;#echo "foundpid: ${myarr[1]}"&lt;br /&gt;IFS=$oldifs&lt;br /&gt;&lt;br /&gt;echo "okflag = $okflag"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This is just my idea... The script is working for that purpose but use it at your own risk... Enjoy &lt;span style="font-weight:bold;"&gt;Linux bash scripting&lt;/span&gt;!!&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-296987914363410001?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/296987914363410001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=296987914363410001' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/296987914363410001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/296987914363410001'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/linux-shell-script-to-compare-pid.html' title='Linux Shell Script to Compare PID'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/S3N5jlbDrpI/AAAAAAAAB_E/gfmVQA4bJFg/s72-c/getpid.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3074000224334193482</id><published>2008-05-27T07:00:00.000+08:00</published><updated>2008-05-27T07:00:01.157+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Videos'/><title type='text'>Downloading Battle Programmer Shirase</title><content type='html'>Since my post about the &lt;a href="http://coderstalk.blogspot.com/2008/05/battle-programmer-shirase-episode-1.html"&gt;Battle Programmer Shirase videos&lt;/a&gt;, I'm searching if I can download all episodes... Then I found one good fast completed torrent download...&lt;br /&gt;&lt;br /&gt;You can get it too at &lt;a href="http://www.animesuki.com/series.php/258.html"&gt;http://www.animesuki.com/series.php/258.html &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My torrent downloads will finish soon... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3074000224334193482?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3074000224334193482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3074000224334193482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3074000224334193482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3074000224334193482'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/downloading-battle-programmer-shirase.html' title='Downloading Battle Programmer Shirase'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2910447524010810953</id><published>2008-05-26T18:07:00.006+08:00</published><updated>2008-06-04T09:56:44.484+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet connection'/><category scheme='http://www.blogger.com/atom/ns#' term='gprs'/><title type='text'>Maxis GPRS Connection</title><content type='html'>I'm putting this here just for my reference. Feel free to ask me on the comment section if you don't understand what I'm talking about...&lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; Please note that I'm using TS-7260 SBC from embedded arm which I've installed ts-7000 linux (debian-arm based) on SD card.&lt;br /&gt;&lt;br /&gt;I'm using this to have &lt;span style="font-weight:bold;"&gt;wireless connection&lt;/span&gt; fron my Rain Gauge device to the internet. To make &lt;span style="font-weight:bold;"&gt;internet connection&lt;/span&gt; via Maxis GPRS on a Linux computer with &lt;span style="font-weight:bold;"&gt;ppp dial up connection&lt;/span&gt;, we just need some files which is:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;/etc/ppp/peers/maxisGPRS&lt;/li&gt;&lt;li&gt;/etc/ppp/pap-secrets&lt;/li&gt;&lt;li&gt;/etc/ppp/chat/maxisGPRS&lt;/li&gt;&lt;li&gt;/etc/ppp/chat/gprs-disconnect&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;and make sure the ppp and chat package is installed on that box.&lt;br /&gt;&lt;br /&gt;To install ppp on debian, you can use&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ apt-get install ppp&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the contents of &lt;span style="font-weight:bold;"&gt;/etc/ppp/peers/maxisGPRS&lt;/span&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;hide-password&lt;br /&gt;noauth&lt;br /&gt;connect "/usr/sbin/chat -v -f /etc/ppp/chat/maxisGPRS"&lt;br /&gt;disconnect "/usr/sbin/chat -V -s -S -f /etc/ppp/chat/gprs-disconnect"&lt;br /&gt;debug&lt;br /&gt;crtscts&lt;br /&gt;/dev/ttyTS0&lt;br /&gt;9600&lt;br /&gt;defaultroute&lt;br /&gt;noipdefault&lt;br /&gt;user maxis&lt;br /&gt;lcp-echo-interval 0&lt;br /&gt;usepeerdns&lt;br /&gt;maxfail 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;here is the contents of &lt;span style="font-weight:bold;"&gt;/etc/ppp/pap-secrets&lt;/span&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 100px;text-align: left; overflow: auto"&gt;maxis   *       wap     *&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;here is the contents of &lt;span style="font-weight:bold;"&gt;/etc/ppp/chat/maxisGPRS&lt;/span&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;ABORT BUSY&lt;br /&gt;ABORT 'NO CARRIER'&lt;br /&gt;ABORT VOICE&lt;br /&gt;ABORT 'NO DIALTONE'&lt;br /&gt;ABORT 'NO DIAL TONE'&lt;br /&gt;ABORT 'NO ANSWER'&lt;br /&gt;ABORT DELAYED&lt;br /&gt;'' ATZ&lt;br /&gt;OK AT&lt;br /&gt;OK ATE0V1&lt;br /&gt;OK AT+CGDCONT=1,"IP","net"&lt;br /&gt;OK ATDT*99***1#&lt;br /&gt;CONNECT ''&lt;br /&gt;'' \d\c&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;here is the contents of &lt;span style="font-weight:bold;"&gt;/etc/ppp/chat/gprs-disconnect&lt;/span&gt;&lt;br /&gt;&lt;pre dir="ltr" style="margin: 0px;padding: 3px;border: 1px inset;width: 98%;height: 230px;text-align: left; overflow: auto"&gt;# This is called at &lt;ctrl-c&gt;, (termination of pppd)&lt;br /&gt;ABORT "BUSY"&lt;br /&gt;ABORT "ERROR"&lt;br /&gt;ABORT "NO DIALTONE"&lt;br /&gt;SAY "Sending break to the modem\n"&lt;br /&gt;"" "\K"&lt;br /&gt;"" "\K"&lt;br /&gt;"" "\K"&lt;br /&gt;"" "+++ATH"&lt;br /&gt;"" "+++ATH"&lt;br /&gt;"" "+++ATH"&lt;br /&gt;SAY "PDP context detached\n"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I've tested this and verified that it works on ubuntu Gutsy too... just plug in the Wavecom modem and change the &lt;span style="font-weight:bold;"&gt;/etc/ppp/peers/maxisGPRS&lt;/span&gt; file to use &lt;span style="font-weight:bold;"&gt;/dev/ttyS0&lt;/span&gt; or any serial port where you plug in the GPRS modem.&lt;br /&gt;&lt;br /&gt;to dial the gprs connection, use this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ pppd call maxisGPRS debug nodetach&lt;/pre&gt;&lt;br /&gt;(I'm using debug nodetach to see the output, you can strip out that two option if you wanna call this from cron or your script) &lt;br /&gt;&lt;br /&gt;OK, that's all... &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt; Enjoy!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2910447524010810953?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2910447524010810953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2910447524010810953' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2910447524010810953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2910447524010810953'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/maxis-gprs-connection.html' title='Maxis GPRS Connection'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3029593990009549441</id><published>2008-05-25T08:33:00.000+08:00</published><updated>2008-05-25T08:33:04.617+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>Do you trust your downloaded software?</title><content type='html'>In this Information Technology age, we have a lot of choices from hardware to software in order to solve our daily issues. When we need software, just google up and seek on what you need, maybe you got a free version or sometimes cracked by someone else... It doesn't matter. &lt;br /&gt;&lt;br /&gt;The only things that matter is, do you really trust the software that you recently downloaded won't do anything wrong to you? If you have no worries about it before, you may need to read this Jeff Atwood's post about &lt;a href="http://www.codinghorror.com/blog/archives/001072.html" target="_blank"&gt;A Question of Programming Ethics&lt;/a&gt; on his CodingHorror blog. THen you should think again... &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3029593990009549441?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3029593990009549441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3029593990009549441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3029593990009549441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3029593990009549441'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/do-you-trust-your-downloaded-software.html' title='Do you trust your downloaded software?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7244203148257922184</id><published>2008-05-24T09:13:00.002+08:00</published><updated>2009-01-22T09:54:09.810+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Videos'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackers'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><category scheme='http://www.blogger.com/atom/ns#' term='anime'/><title type='text'>Battle Programmer Shirase - Episode 1</title><content type='html'>I just noticed this anime about programmer and programming. Pretty cool because previously I've watched japanese anime about cars which influence people to be like the anime heroes like Inital-D and so on. But that works for car lover. And what about coders or programmers? Worry not, here it comes... Battle Programmer Shirase.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/RyWYYqyM85E&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/RyWYYqyM85E&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;I think I'm really late to know this because it have already aired since 2003. Wow... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;The story of Battle Programmer Shirase revolves around a "freelance programmer" named Akira Shirase. He's a very talented, yet mysterious computer programmer. Because of his incredible abilities, he's contacted by several individuals (curiously, all of them are very similar persons named Akizuki Kaoru) to do all sorts of strange computer-related hacking/security jobs. He's a very quiet guy who lives alone in a small apartment near his niece's house. At first, the episodes revolved around some freelance jobs that highlighted his abilities - however, later on in the series, characters came back and offered help or plot twists. The school that Shirase had gone to had been hinted throughout the series, and it finally made an appearance in the last episode, when some of the characters began to show their hidden relationships to the others. &lt;br /&gt;&lt;br /&gt;The series' story focus is on computers and ecchi comedy. The original series spans 5 story arcs across 15 episodes of 12 minutes each. According to wikipedia, the series was not continued. Anyway, just enjoy them... &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt; and hope there is continuation on this...&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2009/01/battle-programmer-shirase-episode-2.html'&gt;Battle Programmer Shirase - Episode 2&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7244203148257922184?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7244203148257922184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7244203148257922184' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7244203148257922184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7244203148257922184'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/battle-programmer-shirase-episode-1.html' title='Battle Programmer Shirase - Episode 1'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2596326483860977155</id><published>2008-05-21T11:31:00.005+08:00</published><updated>2008-06-12T19:00:41.029+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackers'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><title type='text'>How to build your own low cost superb wifi booster.</title><content type='html'>Wireless have been widely used in houses and offices. I'm also using the Linksys WRT54G in my house to allow me to access internet where ever I am in my house. Whether I'm in the living room, on my study room or even at my balcony. However, as my house have 2 floor, I found some spots where the signal is so weak... So, I'm searching on how to boost up the signal without having to buy new Access Point. Then I found this cheap hack to &lt;span style="font-weight:bold;"&gt;boost my wireless signal&lt;/span&gt;. It is a Parabolic Wifi Booster.&lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/u0uYtm-b3O4&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/u0uYtm-b3O4&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;I believe this hacks works well as it have many versions and have been widely used by others... You can have a look at this &lt;a href="http://www.freeantennas.com/projects/template2/index.html" target="_blank"&gt;Ez-12 Parabolic Reflector Template&lt;/a&gt; that use the same technique. Anyway, I'm gonna try it myself and will post the result soon...&lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2596326483860977155?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2596326483860977155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2596326483860977155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2596326483860977155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2596326483860977155'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/05/how-to-build-your-own-low-cost-superb.html' title='How to build your own low cost superb wifi booster.'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-4012662212875843833</id><published>2008-04-16T09:55:00.003+08:00</published><updated>2008-04-16T10:14:18.798+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gadget'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackers'/><category scheme='http://www.blogger.com/atom/ns#' term='Wii'/><title type='text'>Superb Wii Remote Hack by Johnny Lee</title><content type='html'>In December 2006, &lt;span style="font-weight: bold;"&gt;Nintendo&lt;/span&gt; released the &lt;span style="font-weight: bold;"&gt;Nintendo Wii&lt;/span&gt; which featured an innovative controller containing an accelerometer and pointing capability. This provided millions of people with a new ways to interact with computers. As an HCI researcher, Johnny Lee became interested to show to people what they can really do with their new toy that they never knew it could do.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Johnny Chung Lee&lt;/span&gt;, have made an amazingly Superb &lt;span style="font-weight: bold;"&gt;Wii Remote hacks&lt;/span&gt; - which &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;turn the $40 device into a digital whiteboard, multi-touch display, and 3-D viewer&lt;/span&gt; - have been a massive hit on YouTube, was invited to speak at the TED conference. Watch and be amazed by what a brilliant mind can do with a child’s toy.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="VE_Player" align="middle" height="285" width="432"&gt;&lt;param name="movie" value="http://static.videoegg.com/ted2/flash/loader.swf"&gt;&lt;param name="FlashVars" value="bgColor=FFFFFF&amp;amp;file=http://static.videoegg.com/ted/movies/JOHNNYLEE-2008_high.flv&amp;amp;autoPlay=false&amp;amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;amp;forcePlay=false&amp;amp;logo=&amp;amp;allowFullscreen=true"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="scale" value="noscale"&gt;&lt;param name="wmode" value="window"&gt;&lt;embed src="http://static.videoegg.com/ted2/flash/loader.swf" flashvars="bgColor=FFFFFF&amp;amp;file=http://static.videoegg.com/ted/movies/JOHNNYLEE-2008_high.flv&amp;amp;autoPlay=false&amp;amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;amp;forcePlay=false&amp;amp;logo=&amp;amp;allowFullscreen=true" quality="high" allowscriptaccess="always" bgcolor="#FFFFFF" scale="noscale" wmode="window" name="VE_Player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="285" width="432"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Check out &lt;a href="http://www.cs.cmu.edu/%7Ejohnny/projects/" target="_blank"&gt;Johnny Chung Lee's Project page&lt;/a&gt; for more stories about his fantastic research and innovations. &lt;img class="inline" src="http://img458.imageshack.us/img458/6599/sengih2ys5.gif" /&gt; Enjoy!!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-4012662212875843833?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/4012662212875843833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=4012662212875843833' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4012662212875843833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4012662212875843833'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/superb-wii-remote-hack-by-johnny-lee.html' title='Superb Wii Remote Hack by Johnny Lee'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3206075898775371371</id><published>2008-04-16T09:05:00.002+08:00</published><updated>2008-04-16T09:40:58.198+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>The Penguin Day...</title><content type='html'>I'm wondering... This is maybe the&lt;span style="font-weight: bold;"&gt; Penguin Day&lt;/span&gt;... The Penguin is ready to fly now... Everybody around me is &lt;span style="font-weight: bold;"&gt;talking about Linux&lt;/span&gt; and how to get rid of that full of viruses, Microsoft Windows Operating System. While I keep promoting the best Linux ever for these End Users, &lt;span style="font-weight: bold;"&gt;Ubuntu&lt;/span&gt;...&lt;br /&gt;&lt;br /&gt;They have feel the differences... They noticed the consequences... Another great &lt;span style="font-weight: bold;"&gt;Operating System&lt;/span&gt; without annoying pop-up on the bottom-right corner of their screen to tell and ask them, &lt;span style="color: rgb(255, 0, 0);"&gt;"Hey you!! You got &lt;span style="font-weight: bold;"&gt;XXX Virus!&lt;/span&gt;, You want me to Delete your &lt;span style="font-weight: bold;"&gt;precious&lt;/span&gt; file?"&lt;/span&gt; on a &lt;span style="font-weight: bold;"&gt;15&lt;/span&gt; minutes interval. &lt;img class="inline" src="http://img458.imageshack.us/img458/1977/tongue2fe6.gif" /&gt;&lt;br /&gt;&lt;br /&gt;Enjoy this Video, The Penguin is flying FREE Now!!&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/PLHjT5-XM9o&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/PLHjT5-XM9o&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"Everyone Can Fly... Be Linux!"&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Come on guys! Change your OS. I know, you didn't pay even a cent to Microsoft because your PC's technicians is selling a &lt;span style="font-weight: bold;"&gt;Ripped Off pirated version&lt;/span&gt; of that &lt;span style="font-weight: bold;"&gt;Microsoft Windows OS&lt;/span&gt;. You cannot even update them online just because you are afraid of Microsoft will block your Windows and give you a 30 days trial period... Then, what is the thing that you are proud of? &lt;img class="inline" src="http://img458.imageshack.us/img458/6599/sengih2ys5.gif" /&gt; &lt;a href="http://www.ubuntu.com/getubuntu" title="Get Ubuntu!!!" target="_blank"&gt;Grab Your Linux For FREE Now!!&lt;/a&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3206075898775371371?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3206075898775371371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3206075898775371371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3206075898775371371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3206075898775371371'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/penguin-day.html' title='The Penguin Day...'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8892193496508719229</id><published>2008-04-15T09:55:00.005+08:00</published><updated>2008-04-15T10:10:12.618+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='The Officials'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Waiting for The Official release</title><content type='html'>9 more days... for &lt;span style="font-weight:bold;"&gt;The Official Ubuntu 8.04 Hardy Heron Release&lt;/span&gt;... I'm waiting... I knew I can get it now but I just love to wait for the official coz I like &lt;span style="font-weight:bold;"&gt;The Official&lt;/span&gt; too &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/40uZsc7qZKs&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/40uZsc7qZKs&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Yes, I enjoy this kind of music since I was in secondary school &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;. &lt;a href="http://www.ubuntu.com/getubuntu"&gt;Get Ubuntu!!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-8892193496508719229?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8892193496508719229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8892193496508719229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8892193496508719229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8892193496508719229'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/waiting-for-official-release.html' title='Waiting for The Official release'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-4497466584385645979</id><published>2008-04-15T08:53:00.005+08:00</published><updated>2008-04-15T09:33:18.505+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='gsm modem'/><category scheme='http://www.blogger.com/atom/ns#' term='gprs'/><title type='text'>Howto Disable SIM card pin on Wavecom GSM Modem</title><content type='html'>&lt;a href="http://www.amazon.com/gp/product/B0007MYC1Y?ie=UTF8&amp;tag=coderstalkblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0007MYC1Y"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SAQD6e5TOgI/AAAAAAAAAwA/2Y6mKyY2l1Y/s400/gprs-modem.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5189276973898349058" /&gt;&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=coderstalkblo-20&amp;l=as2&amp;o=1&amp;a=B0007MYC1Y" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;Since I'm working on remote automation system development, I've been playing a lot with this &lt;span style="font-weight:bold;"&gt;Wavecom GSM Modem&lt;/span&gt; on my development since I use it for GPRS connection. The issue is, when I use a new SIM card, sometimes that SIM card have pin number which make the modem locked and cannot dial or connect to the internet via GPRS until I unlock the GSM Modem by issuing the pin number. That was annoying when you have put the pin number every time it is booting while you suppose to just leave this device to work and connect automatically.&lt;br /&gt;&lt;br /&gt;Actually, in order to fix this issue, I can just disable the SIM card pin. So, I would like to share my routine with new SIM card with pin number, assuming you knew some AT+Command basic and how to use it. Here's how to disable your SIM card pin via Wavecom Meastro, Fastrack or any compatible GSM modems:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Connect your modem to your computer.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open up serial terminal. I'm using &lt;span style="font-weight:bold;"&gt;minicom&lt;/span&gt; coz I'm on Linux box. On Windows, you can use HyperTerminal.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Turn on your GSM Modem&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Issue an AT command to test it. You may want to change to the right baudrate in order to get the reply:&lt;br /&gt;&lt;code&gt;AT&lt;/code&gt;&lt;br /&gt;the expected reply is:&lt;br /&gt;&lt;code&gt;OK&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Check if the Modem is locked by the SIM pin by issuing:&lt;br /&gt;&lt;code&gt;AT+CPIN?&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;the expected reply for unlocked modem should be: &lt;br /&gt;&lt;code&gt;+CPIN: READY&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;or else, you have to unlock it by issuing: (example: my default SIM card pin is 1234)&lt;br /&gt;&lt;code&gt;AT+CPIN="1234"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and it will reply &lt;code&gt;OK&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Now, we can disable the pin by issuing:&lt;br /&gt;&lt;code&gt;AT+CLCK="SC",0,"1234"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;where 1234 is your current SIM pin.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;That's all. You can now restart the modem and use it with your automated GPRS dialer. I don't know if this GSM AT Command will also works on siemens gsm modem or other GSM modems. You can try it and feel free to leave your comments. &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt; Have fun!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-4497466584385645979?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/4497466584385645979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=4497466584385645979' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4497466584385645979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4497466584385645979'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/howto-disable-sim-card-pin-on-wavecom.html' title='Howto Disable SIM card pin on Wavecom GSM Modem'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SAQD6e5TOgI/AAAAAAAAAwA/2Y6mKyY2l1Y/s72-c/gprs-modem.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7111419506556662561</id><published>2008-04-12T11:36:00.006+08:00</published><updated>2008-04-12T13:27:09.856+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='translation'/><category scheme='http://www.blogger.com/atom/ns#' term='embedded system'/><title type='text'>Embedded System in Malay Language</title><content type='html'>For technical writers who works with translations of documentation and manuals in &lt;span style="font-weight: bold;"&gt;Bahasa Malaysia&lt;/span&gt; would already noticed that it is really hard to translate computer or IT related documentations from english to malay. As I have already involved in my own &lt;a href="http://coderstalk.blogspot.com/2008/03/malay-translation-code.html" target="_blank" title="Malay Translation Code"&gt;personal project in translation&lt;/a&gt;, I found that there is difficulties in translating computer related terms into &lt;span style="font-weight: bold;"&gt;Malay Language&lt;/span&gt; without falling into other meanings where the real means of that terms isn't achieved or else I will up to creating new terms in Malay language that wouldn't be agreed by other documents with the same terms, translated by other translator.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/gp/product/0750698691?ie=UTF8&amp;amp;tag=coderstalkblo-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0750698691"&gt;&lt;img src="http://ecx.images-amazon.com/images/I/41YIEC7v1-L._SL500_BO2,204,203,200_PIsitb-dp-500-arrow,TopRight,45,-64_OU01_AA240_SH20_.jpg" style="margin: 0px 10px 10px 0px; float: left;" border="0" /&gt;&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=coderstalkblo-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=0750698691" alt="" style="border: medium none  ! important; margin: 0px ! important;" border="0" height="1" width="1" /&gt;I've been searching around for any standard meaning of &lt;span style="font-weight: bold;"&gt;Embedded System&lt;/span&gt; or Embedded Hardware in Malay language. I found that &lt;span style="font-weight: bold;"&gt;Embed means 'tanam'&lt;/span&gt; which also means buried if translated back to English. Actually, there is a lot of other words with the same meaning in Malay and that adds more difficulties in finding the right word that exactly match the computer terms.&lt;br /&gt;&lt;br /&gt;Other translation of &lt;span style="font-weight: bold;"&gt;Embed is 'benam'&lt;/span&gt;. While using my imagination on what will people read when I say 'Perkakasan Tertanam' (Embedded Hardware) where someone would imagine that there is a device that is buried under the sand or mud. I would laugh myself if someone would think like that. This is because the word 'tanam' itself is closely related to 'tanaman' (plantations) where it would quickly divert someones imagination onto that something is buried under the land.&lt;br /&gt;&lt;br /&gt;So, I come out with another malay word that might be close to the meaning of &lt;span style="font-weight: bold;"&gt;Embed which is 'benam'&lt;/span&gt;. While trying to say&lt;span style="font-weight: bold;"&gt; 'Perkakasan Terbenam' &lt;/span&gt;or &lt;span style="font-weight: bold;"&gt;'Sistem Terbenam'&lt;/span&gt; (Embedded System), I think this should be of the right meaning of it... I hope so &lt;img class="inline" src="http://img458.imageshack.us/img458/1977/tongue2fe6.gif" /&gt;. I also found that there is others who would be agreed with my terms even thou he translate this terms in Indonesian language. If you haven't heard any Malay or Indonesian Language, I can say that Malay and Indonesian Language is related in each other. The oldest and richest language may obviously Indonesian, but Malays also have our own way of translating terms. I will sometimes search and peep on how they translate IT terms from English to Indonesian in order to get the idea but I won't simply use their terms because sometimes they use words that will obviously sounds like Indonesian. Well, I don't want it to sound more like Indonesian translated documents either.&lt;img class="inline" src="http://img458.imageshack.us/img458/1977/tongue2fe6.gif" /&gt; Owh, I just found that Kukuh Prasetyo, an indonesian blogger is using the same terms &lt;a href="http://blogcoffee.net/archives/2007/05/29/istilah-embedded-systems-indonesia/" target="_blank"&gt;'Sistem Terbenam' for Embedded System&lt;/a&gt; like me too.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/SABHURVjhnI/AAAAAAAAAv4/TLO8qTsSHc0/s1600-h/paksamad.png" title="Datuk A. Samad Said"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/SABHURVjhnI/AAAAAAAAAv4/TLO8qTsSHc0/s200/paksamad.png" border="0" alt="Datuk A. Samad Said" id="BLOGGER_PHOTO_ID_5188225184307578482" /&gt;&lt;/a&gt;As the result, I chose the word &lt;span style="font-weight: bold; color: rgb(51, 51, 153);"&gt;'benam' for Embed, 'Sistem Terbenam' for Embedded System and 'Perkakasan Terbenam' for Embedded Hardware&lt;/span&gt;. Or, if you have found any better or standard terms for that in Malay Language, please leave your comments below. Maybe someone like &lt;span style="font-weight: bold;"&gt;Malaysian National Laureate &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://www.facebook.com/pages/A-Samad-Said/10916577161" target="_blank" title="Sasterawan Negara"&gt;Datuk A. Samad Said&lt;/a&gt; who I can say 'wizards' in 'Kesusasteraan Melayu' may have his own terms that would likely match and catch the audience. I am his fan too.&lt;img class="inline" src="http://img458.imageshack.us/img458/6599/sengih2ys5.gif" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7111419506556662561?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7111419506556662561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7111419506556662561' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7111419506556662561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7111419506556662561'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/embedded-system-in-malay-language.html' title='Embedded System in Malay Language'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/SABHURVjhnI/AAAAAAAAAv4/TLO8qTsSHc0/s72-c/paksamad.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2706397917827704212</id><published>2008-04-11T09:25:00.004+08:00</published><updated>2008-04-11T10:13:31.229+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='electronic'/><category scheme='http://www.blogger.com/atom/ns#' term='gadget'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Cool But Dangerous DIY Gadget: Plasma Speaker</title><content type='html'>I've been interested in &lt;span style="font-weight: bold;"&gt;Electronic&lt;/span&gt; since I worked in a small company developing a home automation designer software. I don't want to tell much about that company since I've already left the company and now working in another small company doing another automation stuff. I learned a lot that programing and electronic can be combined to create more hi-tech appliances.&lt;br /&gt;&lt;br /&gt;Electronic and programming is fun and fascinating. Take a look at this &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;cool DIY gadget&lt;/span&gt; called &lt;span style="font-weight: bold;"&gt;Plasma Speaker&lt;/span&gt; or &lt;span style="font-weight: bold;"&gt;Plasma Tweeter&lt;/span&gt;. But be careful because this cool things is dangerous too.&lt;img class="inline" src="http://img458.imageshack.us/img458/1977/tongue2fe6.gif" /&gt;&lt;br /&gt;&lt;br /&gt;There are various versions of this FM modulated plasma arc speakers. Even thou &lt;span style="font-weight: bold;"&gt;Plasma Speaker&lt;/span&gt; is not new in any way because they’ve been around since the late 1950’s. It is a cool thing for me. It sounds just like regular speakers, but plasma speakers work by creating compression waves in the air. Enjoy this show...&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/rasp88nbsRw&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/rasp88nbsRw&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;and another cool &lt;span style="font-weight: bold;"&gt;homebrew PVC pipe Plasma Speaker&lt;/span&gt;...&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/cEeWtBAE5LY&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/cEeWtBAE5LY&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Looks cool huh? I gotta build and try this if I have time. Here's more info on this Plasma Speaker.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;Plasma speakers&lt;/span&gt; (sometimes called flame speakers if the source of the plasma is combustion rather than gas ionization) are a form of loudspeaker which vary the intensity of a plasma, rather than using a magnetic field to push or pull a conventional driver, to create compression waves in air (which a listener perceives as sound).&lt;br /&gt;&lt;br /&gt;In a normal loudspeaker design, the inertia of the driver will resist an instantaneous change in its position as the magnetic field varies with the input. This decreases the fidelity of the speaker, as the input is distorted due to the physical limitations of the device, particularly for strong high frequencies. (This limitation is one of the reasons why tweeters are so much smaller than woofers.) In a plasma speaker, this limitation effectively does not exist, as the air itself is driven directly by expansion of the plasma as the current through it varies. (Ionization of a gas causes its electrical resistance to drop significantly; see for example the "Jacob's ladder" for an explanation.)&lt;br /&gt;&lt;br /&gt;Plasmatronics produced a commercial plasma speaker that used a helium tank to provide the ionization gas; other designs (some of which date to the 1950s) use combustion of natural gas or even candles[citation needed] to produce a plasma, through which current is then passed as in the gas plasma designs (though combustion designs do not require the initial high-voltage to create the plasma).&lt;br /&gt;&lt;br /&gt;The plasma speaker design is a member of the family of so-called massless speakers.&lt;br /&gt;&lt;br /&gt;--:Quoted from Wikipedia&lt;/blockquote&gt;&lt;br /&gt;So, If you are thinking about building this &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;cool gadget&lt;/span&gt; too, you can get more info on how they build this cool gadget at &lt;a href="http://www.plasmatweeter.de/eng_plasma.htm" target="_blank" title="Howto Build Plasma Speaker"&gt;Ulrich Haumann's DIY PLASMA TWEETER&lt;/a&gt;. Please note that this is not for beginners...&lt;img class="inline" src="http://img458.imageshack.us/img458/6599/sengih2ys5.gif" /&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2706397917827704212?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2706397917827704212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2706397917827704212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2706397917827704212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2706397917827704212'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/cool-but-dangerous-diy-gadget-plasma.html' title='Cool But Dangerous DIY Gadget: Plasma Speaker'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5952062181059916323</id><published>2008-04-10T10:31:00.004+08:00</published><updated>2008-04-10T10:54:31.092+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web programming'/><category scheme='http://www.blogger.com/atom/ns#' term='web master'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Firefox, Safari and IE Compatible CSS min-height</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/R_2BOBVjhmI/AAAAAAAAAvw/NtSdvWbwc20/s1600-h/css.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/R_2BOBVjhmI/AAAAAAAAAvw/NtSdvWbwc20/s200/css.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5187444423677675106" /&gt;&lt;/a&gt;All webmaster should already knows that some CSS code may not compatible from one browser to another. You may noticed that on the CSS code would be a list of redundant code in order to hack this out.&lt;br /&gt;&lt;br /&gt;However, while surfing today, I found one good simple tricks for min-height and min-width CSS code that is compatible across all common versions of Safari, Firefox and IE. Maybe you already found and use it. I'm posting this for my notes and maybe it could be helpful for others too...&lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The Cross Browser min-height CSS&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;    .foo {&lt;br /&gt;    min-height:100px;&lt;br /&gt;    height: auto !important;&lt;br /&gt;    height: 100px;&lt;br /&gt;    }&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This works because all of the more recent browsers will understand and respect the min-height setting as well as the &lt;span style="font-weight:bold;"&gt;!important&lt;/span&gt; designation. So in the example above, the block will be given the &lt;span style="font-weight:bold;"&gt;min-height&lt;/span&gt; setting you specify, and the height:auto will take precedence over the height:100px, even though it appears earlier in the code. With content shorter than 100px, the min-height setting is observed, and with content that is longer, the block is sized to fit the content.&lt;br /&gt;&lt;br /&gt;By the way, in the case of older versions of IE, neither the &lt;span style="font-weight:bold;"&gt;min-height&lt;/span&gt; parameter nor the &lt;span style="font-weight:bold;"&gt;!important&lt;/span&gt; designation are supported. Instead, the browser essentially sees a &lt;span style="font-weight:bold;"&gt;height:auto&lt;/span&gt;, immediately followed by a &lt;span style="font-weight:bold;"&gt;height:100px&lt;/span&gt;, and the latter takes precedence. Lucky for us, height parameter in older versions of IE function exactly like the min-height parameter. When content expands past the size of the element, it grows to accommodate it. When content is shorter, the specified height is respected.&lt;br /&gt;&lt;br /&gt;Logically, this should also works on min-width.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The Cross Browser min-width CSS&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;    .bar {&lt;br /&gt;    min-width:100px;&lt;br /&gt;    width: auto !important;&lt;br /&gt;    width: 100px;&lt;br /&gt;    }&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If you wonders, I got this trick from &lt;a href="http://www.hackszine.com/blog/archive/2008/03/easiest_crossbrowser_css_minhe.html?CMP=OTC-7G2N43923558" target="_blank"&gt;Hackszine&lt;/a&gt;. Enjoy!!! &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5952062181059916323?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5952062181059916323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5952062181059916323' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5952062181059916323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5952062181059916323'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/firefox-safari-and-ie-compatible-css.html' title='Firefox, Safari and IE Compatible CSS min-height'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/R_2BOBVjhmI/AAAAAAAAAvw/NtSdvWbwc20/s72-c/css.GIF' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-317310975389938216</id><published>2008-04-09T19:56:00.016+08:00</published><updated>2009-11-14T12:35:12.775+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='more'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>How to Create Hyperlink on Blogger Post</title><content type='html'>Well, this time I make a basic simple tutorial. For all advanced geek who read this blog, please ignore this post... &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&gt; I just wanna help myself not to teach the same basic thing on every newbies friends that really need help.&lt;br /&gt;&lt;br /&gt;OK guys, back to the howto...&lt;br /&gt;&lt;br /&gt;There are two ways to create a hyperlink on your blog post. One is the simple GUI way and the other is coders way. I prefer the coder way as I can have more control on it.&lt;br /&gt;&lt;br /&gt;I like to teach by example. So, let say you wanna create a hyperlink on this line of words...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;You can go &lt;span style="color: rgb(0, 153, 0); font-weight: bold;"&gt;here&lt;/span&gt; to see my art blog&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;where you wanna link the word &lt;span style="font-weight: bold;"&gt;"here"&lt;/span&gt; to the other page on your blog or on the internet. In this example, I wanna link it to my Art Of Apogee Blog post with the address:&lt;br /&gt;&lt;code&gt;http://artofapogee.blogspot.com/2008/03/gimp-best-free-photoshop.html&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And here is how to do it using both ways...&lt;span class='fullpost'&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;The simple GUI way&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you rollover every button on your Compose toolbar, you can see one button called "Link" where the word Link will pop up when you hover the button like this:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/R_y3VCMvaZI/AAAAAAAAAvI/pCDZm9DkU7c/s1600-h/howto-link3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/R_y3VCMvaZI/AAAAAAAAAvI/pCDZm9DkU7c/s400/howto-link3.png" alt="" id="BLOGGER_PHOTO_ID_5187222442819414418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now, all you have to do is to &lt;span style="font-weight: bold;"&gt;highlight&lt;/span&gt; or &lt;span style="font-weight: bold;"&gt;select&lt;/span&gt; the word "here" on that phrase, click the &lt;span style="font-weight: bold;"&gt;link button&lt;/span&gt; or press &lt;span style="font-weight: bold;"&gt;Ctrl+Shift+A&lt;/span&gt;, type or paste the URL (the link address) and &lt;span style="font-weight: bold;"&gt;press Enter&lt;/span&gt; or click &lt;span style="font-weight: bold;"&gt;OK&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Pretty fast huh?... here is the slow motion...&lt;br /&gt;1. Select the word "here"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/R_y8ciMvaaI/AAAAAAAAAvQ/v3o-rrHFDvw/s1600-h/select-here.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/R_y8ciMvaaI/AAAAAAAAAvQ/v3o-rrHFDvw/s400/select-here.png" alt="" id="BLOGGER_PHOTO_ID_5187228069226572194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2. Click on the &lt;span style="font-weight: bold;"&gt;Link&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Button&lt;/span&gt; or press &lt;span style="font-weight: bold;"&gt;Ctrl+Shift+A&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/R_y_GSMvabI/AAAAAAAAAvY/axA3XE8DBlM/s1600-h/link-button.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/R_y_GSMvabI/AAAAAAAAAvY/axA3XE8DBlM/s400/link-button.png" alt="" id="BLOGGER_PHOTO_ID_5187230985509366194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;3. Type or paste your link address (Um... technically it is called &lt;a href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator" target="_blank" title="Uniform Resource Locator"&gt;URL&lt;/a&gt;) and click &lt;span style="font-weight: bold;"&gt;OK&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/R_zBtCMvacI/AAAAAAAAAvg/VRLuQPrpfnA/s1600-h/press-ok.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/R_zBtCMvacI/AAAAAAAAAvg/VRLuQPrpfnA/s400/press-ok.png" alt="" id="BLOGGER_PHOTO_ID_5187233850252552642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Believe it or not, it's done...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;The Coder way&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The coder way may be a bit hard for newbies who's not familiar with HTML tags. But it is good if you wanna have more control on your resulting output...&lt;br /&gt;&lt;br /&gt;Using the same example situation, now go to the &lt;span style="font-weight: bold;"&gt;Edit Html&lt;/span&gt; tab. It is on the top-right of your typing area.&lt;br /&gt;&lt;br /&gt;And using the same method, select the word, click the &lt;span style="font-weight: bold;"&gt;Link Button&lt;/span&gt; or press &lt;span style="font-weight: bold;"&gt;Ctrl+Shift+A&lt;/span&gt;, paste the URL and click OK. But now, you can see the text should look something like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;You can go &amp;lt;a href="http://artofapogee.blogspot.com/2008/03/gimp-best-free-photoshop.html"&gt;here&amp;lt;/a&gt; to see my art blog&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Actually, it is basically done but I personally would love to add more things to that link code. For example, if I want a descriptive word to pop up and say "Art Of ApOgEE Blog", I can simply add this line of code:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;title="Art Of ApOgEE Blog"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;just before the &lt;span style="font-weight: bold;"&gt;&amp;gt;&lt;/span&gt; character. And I can also add this line:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;target="_blank"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;if I want my visitor to open up new window or tab if they click on that link. Very helpful for web surfer like me who don't wanna get lost from my main reading and have to click back button to reload my currently reading page...&lt;img class="inline" src="http://coderstalk.googlepages.com/sengih.gif" /&gt;&lt;br /&gt;&lt;br /&gt;Hey, there is more you can do with the HTML tag. You can do further reading on &lt;a href="http://www.w3schools.com/tags/tag_a.asp" target="_blank" title="HTML A TAG"&gt;HTML Anchor tag&lt;/a&gt; and use your imagination to add more.&lt;br /&gt;&lt;br /&gt;As usual, Here's the result of this howto:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;the code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;You can go &amp;lt;a href="http://artofapogee.blogspot.com/2008/03/gimp-best-free-photoshop.html" target="_blank" title=" Art Of ApOgEE Blog "&gt;here&amp;lt;/a&gt; to see my art blog&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;the output:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can go &lt;a href="http://artofapogee.blogspot.com/2008/03/gimp-best-free-photoshop.html" target="_blank" title=" Art Of ApOgEE Blog "&gt;here&lt;/a&gt; to see my art blog&lt;br /&gt;&lt;br /&gt;OK mates, that's all for now. Hope it helps all of you and you can start hyper linking your blog. Feel free to add a link to my blog too hehehehe... &lt;img class="inline" src="http://coderstalk.googlepages.com/tongue.gif" /&gt; Have Fun!!&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post with teaser&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html" target="_blank"&gt;How to create expandable post summaries in Blogger&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2009/11/how-to-create-hyperlink-on-blogger.html' target='_blank'&gt;How to Create Hyperlink on Blogger Header&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&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/3928190665450830956-317310975389938216?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/317310975389938216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=317310975389938216' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/317310975389938216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/317310975389938216'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/how-to-create-hyperlink-on-blogger-post.html' title='How to Create Hyperlink on Blogger Post'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/R_y3VCMvaZI/AAAAAAAAAvI/pCDZm9DkU7c/s72-c/howto-link3.png' height='72' width='72'/><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-4713225871941657278</id><published>2008-04-02T09:08:00.010+08:00</published><updated>2008-04-02T10:20:44.543+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows XP'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Jeff Atwood starts war against Linux?</title><content type='html'>&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/R_LluCMvaYI/AAAAAAAAAuo/AuGEXaCWLoA/s400/coding-horror-official-logo-small-greenscreen.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5184458700083915138" /&gt;I regularly visit &lt;span style="font-weight:bold;"&gt;CodingHorror Blog&lt;/span&gt; by Jeff Atwood... I love reading his posts and his readers comments. I feel like I'm in a coder's community who hang around listening and talking about what Jeff said.&lt;br /&gt;&lt;br /&gt;However, I don't know is it an April fool or it is for real where his posts on &lt;a href="http://www.codinghorror.com/blog/archives/001089.html" target="_blank"&gt;Let That Be a Lesson To You, Son: Never Upgrade&lt;/a&gt; is shockingly sounds like linux-bashing attempt:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;"Apparently, Linux is so complex that even a world class software engineer can't always get it to work.&lt;br /&gt;&lt;br /&gt;I find it highly disturbing that a software engineer of Jamie's caliber would give up on upgrading software. Jamie lives and breathes Linux. It is his platform of choice. If he throws in the towel on Linux upgrades, then what possible hope do us mere mortals have? " —Jeff Atwood:CodingHorror &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;I laugh aloud when Jeff said, "Jamie Lives and breathes Linux." while this Jamie guy said that he installed Ubuntu 10.7.... Where did he get that Ubuntu 10.7? I don't know... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt; &lt;br /&gt;Even thou I personally love linux and &lt;a href="http://coderstalk.blogspot.com/2008/03/libraries-pc-can-use-ubuntu.html" target="_blank"&gt;promote everyone to give it a try on linux&lt;/a&gt;, I don't wanna be bias to say that linux is way better than windows and OSX. You may read yourself how &lt;a href="http://ubuntulinuxtipstricks.blogspot.com/2008/03/ubuntu-beats-osx-and-vista-in-pwn-2-own.html" target="_blank"&gt;Ubuntu beats Vista and Mac OSX in Pwn 2 Own Hackathon&lt;/a&gt;. But please my friend, all OS are developed to help our computing task. You can try any OS yourself and choose which is good for you.&lt;br /&gt;&lt;br /&gt;By the way, the new shiny &lt;span style="font-weight:bold;"&gt;Ubuntu 8.04 (hardy Heron)&lt;/span&gt; will be officially launched on 24th April 2008. You can freely download the CD at &lt;a href="http://www.ubuntu.com" target="_blank"&gt;Ubuntu Website&lt;/a&gt;. Ubuntu is getting better and better. Even I have dual booted my laptop, I haven't booted to my windows about 5 months now and I'm happy doing everything in Ubuntu. Even video editing on it. Or, if you still isn't convinced that ubuntu will run smoothly on your PC, just download the LiveCD and boot to Ubuntu without installing it on your PC. Give it a try and enjoy!!. &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-4713225871941657278?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/4713225871941657278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=4713225871941657278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4713225871941657278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4713225871941657278'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/04/jeff-atwood-starts-war-against-linux.html' title='Jeff Atwood starts war against Linux?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/R_LluCMvaYI/AAAAAAAAAuo/AuGEXaCWLoA/s72-c/coding-horror-official-logo-small-greenscreen.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1924843819402291357</id><published>2008-03-31T08:42:00.010+08:00</published><updated>2008-06-12T19:04:20.316+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rar'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='unrar'/><title type='text'>Installing rar and unrar programs in Linux or Unix</title><content type='html'>I recently notice that I got some visitors bump in this &lt;a href="http://coderstalk.blogspot.com"&gt;coder's talk blog&lt;/a&gt;, searching for &lt;a href="http://coderstalk.blogspot.com/2008/03/create-and-extract-rar-files-in-linux.html" target="_blank"&gt;How to create and extract rar files in linux&lt;/a&gt; and I do remember that I didn't put on how to install rar and unrar program in other distributions of linux. I'm so sorry, my mistake. &lt;img class='inline' src='http://coderstalk.googlepages.com/tongue.gif'/&gt;&lt;br /&gt;&lt;br /&gt;However, I am a linux supporter and I don't want to make you upset while bumping into this blog and didn't really get what you need. So, here is how to install rar and unrar on other linux distributions...&lt;br /&gt;&lt;br /&gt;Under Debian Linux, you can use the same apt-get method as follows to install unrar program:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;apt-get install unrar&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;If you are using Fedora core Linux then use yum command as follows:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;yum install unrar&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;If you are using FreeBSD, you can use:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;pkg_add -v -r unrar&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;If any of above, methods is not working, you can download binary package from &lt;a href="http://www.rarlab.com/download.htm"&gt;official rarlab site&lt;/a&gt; and choose the right package for your machine... for example, i chose the latest (by the time i write this post):&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;cd /tmp&lt;/span&gt;&lt;br /&gt;$ &lt;span style="font-weight:bold;"&gt;wget http://www.rarlab.com/rar/rarlinux-3.7.1.tar.gz&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;then untar the file:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;tar -zxvf rarlinux-3.7.1.tar.gz&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Both rar and unrar commands are located in rar sub-directory. Just go to rar directory:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;cd rar&lt;/span&gt;&lt;br /&gt;$ &lt;span style="font-weight:bold;"&gt;./unrar&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now copy rar and unrar to /bin directory:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;cp rar unrar /bin&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Then you can use the same method on &lt;a href="http://coderstalk.blogspot.com/2008/03/create-and-extract-rar-files-in-linux.html" target="_blank"&gt;creating and extracting rar files in linux&lt;/a&gt; in my previous post.&lt;br /&gt;&lt;br /&gt;Another thing to add, you can also test the integrity of archive, with this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;unrar t filename.rar&lt;/span&gt; &lt;/pre&gt;&lt;br /&gt;or list the files inside the rar file using this command:&lt;br /&gt;&lt;pre id="linuxterm"&gt;$ &lt;span style="font-weight:bold;"&gt;unrar l filename.rar&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;that's it... hope it helps... &lt;img class='inline' src='http://coderstalk.googlepages.com/sengih.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-1924843819402291357?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1924843819402291357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1924843819402291357' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1924843819402291357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1924843819402291357'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/installing-rar-and-unrar-programs-in.html' title='Installing rar and unrar programs in Linux or Unix'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6360691585501891493</id><published>2008-03-31T01:57:00.003+08:00</published><updated>2008-03-31T02:10:59.168+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Libraries PC can use Ubuntu</title><content type='html'>Do you know that you can install Ubuntu as your &lt;span style="font-weight:bold;"&gt;library's PC Operating System&lt;/span&gt;. It's FREE and It's not difficult install. Now, we don't have to rely on expensively licensed operating system like windows and their other expensive softwares... &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;download Ubuntu&lt;/a&gt; and install it... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Here's a video on how this librarian install Ubuntu on her library's PC.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/nWIrxuF5NSo&amp;hl=en"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/nWIrxuF5NSo&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;It's easy right? &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;... If you are still on Microsoft Windows and badly using the pirated version of it. Stop now, change to Ubuntu!!&lt;br /&gt;&lt;br /&gt;Another great news is, It is VIRUS FREE!!... currently, we haven't found any virus in Ubuntu yet!! believe me!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6360691585501891493?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6360691585501891493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6360691585501891493' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6360691585501891493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6360691585501891493'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/libraries-pc-can-use-ubuntu.html' title='Libraries PC can use Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5315837779138116187</id><published>2008-03-28T17:49:00.008+08:00</published><updated>2010-12-06T10:15:14.280+08: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='TS-ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>Debian SSH problem after upgrading Sarge to Etch?</title><content type='html'>&lt;div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"&gt;&lt;a href="http://coderstalk.blogspot.com/"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_QmenDvyMjlk/TPxG4Euci8I/AAAAAAAACKk/8lFUoQyepuw/s1600/embedded-debian.png" /&gt;&lt;/a&gt;&lt;/div&gt;About 3 hour I've been strugling to figure it out... why my ssh keep closing the connection after I issued the correct password? Actually, I just upgrade the Debian on this TS-7260 board from the default Sarge to Etch.&lt;br /&gt;&lt;br /&gt;I search all the settings in /etc/ssh/sshd_config, nothing much different... i tried to check wether it is hosts.allow or hosts.deny problem but it wasn't...&lt;br /&gt;&lt;br /&gt;I keep on trying many times... thank god i can still access the board using serial console. I tried to restart the server but still, I can't get in. I've tried to ssh with -vv and this is what I got...&lt;br /&gt;&lt;pre dir="ltr" style="background-color: black; border: 1px inset rgb(0, 0, 0); color: #00dd00; height: 300px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;apogee@apogee-persiasys:~$ ssh -vv raingauge@10.1.1.92&lt;br /&gt;OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007&lt;br /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;br /&gt;debug1: Applying options for *&lt;br /&gt;debug2: ssh_connect: needpriv 0&lt;br /&gt;debug1: Connecting to 10.1.1.92 [10.1.1.92] port 22.&lt;br /&gt;debug1: Connection established.&lt;br /&gt;debug1: identity file /home/apogee/.ssh/identity type -1&lt;br /&gt;debug1: identity file /home/apogee/.ssh/id_rsa type -1&lt;br /&gt;debug1: identity file /home/apogee/.ssh/id_dsa type -1&lt;br /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-9&lt;br /&gt;debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*&lt;br /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;br /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1&lt;br /&gt;debug2: fd 3 setting O_NONBLOCK&lt;br /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;br /&gt;debug1: SSH2_MSG_KEXINIT received&lt;br /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1&lt;br /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;br /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;br /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;br /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;br /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;br /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib&lt;br /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib&lt;br /&gt;debug2: kex_parse_kexinit: &lt;br /&gt;debug2: kex_parse_kexinit: &lt;br /&gt;debug2: kex_parse_kexinit: first_kex_follows 0 &lt;br /&gt;debug2: kex_parse_kexinit: reserved 0 &lt;br /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1&lt;br /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;br /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;br /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;br /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;br /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;br /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com&lt;br /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com&lt;br /&gt;debug2: kex_parse_kexinit: &lt;br /&gt;debug2: kex_parse_kexinit: &lt;br /&gt;debug2: kex_parse_kexinit: first_kex_follows 0 &lt;br /&gt;debug2: kex_parse_kexinit: reserved 0 &lt;br /&gt;debug2: mac_init: found hmac-md5&lt;br /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;br /&gt;debug2: mac_init: found hmac-md5&lt;br /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;br /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;br /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;br /&gt;debug2: dh_gen_key: priv key bits set: 121/256&lt;br /&gt;debug2: bits set: 515/1024&lt;br /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;br /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;br /&gt;debug1: Host '10.1.1.92' is known and matches the RSA host key.&lt;br /&gt;debug1: Found key in /home/apogee/.ssh/known_hosts:7&lt;br /&gt;debug2: bits set: 537/1024&lt;br /&gt;debug1: ssh_rsa_verify: signature correct&lt;br /&gt;debug2: kex_derive_keys&lt;br /&gt;debug2: set_newkeys: mode 1&lt;br /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;br /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;br /&gt;debug2: set_newkeys: mode 0&lt;br /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;br /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;br /&gt;debug2: service_accept: ssh-userauth&lt;br /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;br /&gt;debug2: key: /home/apogee/.ssh/identity ((nil))&lt;br /&gt;debug2: key: /home/apogee/.ssh/id_rsa ((nil))&lt;br /&gt;debug2: key: /home/apogee/.ssh/id_dsa ((nil))&lt;br /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;br /&gt;debug1: Next authentication method: publickey&lt;br /&gt;debug1: Trying private key: /home/apogee/.ssh/identity&lt;br /&gt;debug1: Trying private key: /home/apogee/.ssh/id_rsa&lt;br /&gt;debug1: Trying private key: /home/apogee/.ssh/id_dsa&lt;br /&gt;debug2: we did not send a packet, disable method&lt;br /&gt;debug1: Next authentication method: keyboard-interactive&lt;br /&gt;debug2: userauth_kbdint&lt;br /&gt;debug2: we sent a keyboard-interactive packet, wait for reply&lt;br /&gt;debug2: input_userauth_info_req&lt;br /&gt;debug2: input_userauth_info_req: num_prompts 1&lt;br /&gt;Password: &lt;br /&gt;debug2: input_userauth_info_req&lt;br /&gt;debug2: input_userauth_info_req: num_prompts 0&lt;br /&gt;debug1: Authentication succeeded (keyboard-interactive).&lt;br /&gt;debug1: channel 0: new [client-session]&lt;br /&gt;debug2: channel 0: send open&lt;br /&gt;debug1: Entering interactive session.&lt;br /&gt;debug2: callback start&lt;br /&gt;debug2: client_session2_setup: id 0&lt;br /&gt;debug2: channel 0: request pty-req confirm 0&lt;br /&gt;debug1: Sending environment.&lt;br /&gt;debug1: Sending env LANG = en_US.UTF-8&lt;br /&gt;debug2: channel 0: request env confirm 0&lt;br /&gt;debug2: channel 0: request shell confirm 0&lt;br /&gt;debug2: fd 3 setting TCP_NODELAY&lt;br /&gt;debug2: callback done&lt;br /&gt;debug2: channel 0: open confirm rwindow 0 rmax 32768&lt;br /&gt;debug1: channel 0: free: client-session, nchannels 1&lt;br /&gt;&lt;b&gt;Connection to 10.1.1.92 closed by remote host.&lt;br /&gt;Connection to 10.1.1.92 closed.&lt;/b&gt;&lt;br /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 81 bytes in 0.1 seconds&lt;br /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 831.4&lt;br /&gt;debug1: Exit status -1&lt;br /&gt;apogee@apogee-persiasys:~$ &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;After checking all the settings again, I found one tiny little thing that I have to change to make it work... &lt;br /&gt;&lt;br /&gt;Simply change the line with:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;PasswordAuthentication &lt;span style="font-weight: bold;"&gt;yes&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;to &lt;br /&gt;&lt;br /&gt;&lt;code&gt;PasswordAuthentication &lt;span style="font-weight: bold;"&gt;no&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;in &lt;span style="font-weight: bold;"&gt;/etc/ssh/sshd_config&lt;/span&gt; solve the problem... that's all...&lt;img class="inline" src="http://img458.imageshack.us/img458/6599/sengih2ys5.gif" /&gt;&lt;br /&gt;&lt;br /&gt;Maybe because I'm trying to match the old &lt;span style="font-weight: bold;"&gt;Debian Sarge&lt;/span&gt; sshd_config, and I couldn't find it...&lt;br /&gt;&lt;br /&gt;So, here is my new &lt;span style="font-weight: bold;"&gt;/etc/ssh/sshd_config&lt;/span&gt; file contents:&lt;br /&gt;&lt;pre dir="ltr" style="border: 1px inset; height: 300px; margin: 0px; overflow: auto; padding: 3px; text-align: left; width: 98%;"&gt;# Package generated configuration file&lt;br /&gt;# See the sshd(8) manpage for defails&lt;br /&gt;&lt;br /&gt;# What ports, IPs and protocols we listen for&lt;br /&gt;Port 22&lt;br /&gt;# Use these options to restrict which interfaces/protocols sshd will bind to&lt;br /&gt;#ListenAddress ::&lt;br /&gt;#ListenAddress 0.0.0.0&lt;br /&gt;Protocol 2&lt;br /&gt;# HostKeys for protocol version 2&lt;br /&gt;HostKey /etc/ssh/ssh_host_rsa_key&lt;br /&gt;HostKey /etc/ssh/ssh_host_dsa_key&lt;br /&gt;#Privilege Separation is turned on for security&lt;br /&gt;UsePrivilegeSeparation no&lt;br /&gt;&lt;br /&gt;# ...but breaks Pam auth via kbdint, so we have to turn it off&lt;br /&gt;# Use PAM authentication via keyboard-interactive so PAM modules can&lt;br /&gt;# properly interface with the user (off due to PrivSep)&lt;br /&gt;#PAMAuthenticationViaKbdInt no&lt;br /&gt;# Lifetime and size of ephemeral version 1 server key&lt;br /&gt;KeyRegenerationInterval 3600&lt;br /&gt;ServerKeyBits 768&lt;br /&gt;&lt;br /&gt;# Logging&lt;br /&gt;SyslogFacility AUTH&lt;br /&gt;LogLevel INFO&lt;br /&gt;&lt;br /&gt;# Authentication:&lt;br /&gt;LoginGraceTime 600&lt;br /&gt;PermitRootLogin yes&lt;br /&gt;StrictModes yes&lt;br /&gt;&lt;br /&gt;RSAAuthentication yes&lt;br /&gt;PubkeyAuthentication yes&lt;br /&gt;#AuthorizedKeysFile     %h/.ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;# rhosts authentication should not be used&lt;br /&gt;#RhostsAuthentication no&lt;br /&gt;# Don't read the user's ~/.rhosts and ~/.shosts files&lt;br /&gt;IgnoreRhosts yes&lt;br /&gt;# For this to work you will also need host keys in /etc/ssh_known_hosts&lt;br /&gt;RhostsRSAAuthentication no&lt;br /&gt;# similar for protocol version 2&lt;br /&gt;HostbasedAuthentication no&lt;br /&gt;# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication&lt;br /&gt;#IgnoreUserKnownHosts yes&lt;br /&gt;&lt;br /&gt;# To enable empty passwords, change to yes (NOT RECOMMENDED)&lt;br /&gt;PermitEmptyPasswords yes&lt;br /&gt;&lt;br /&gt;# Uncomment to disable s/key passwords &lt;br /&gt;#ChallengeResponseAuthentication no&lt;br /&gt;&lt;br /&gt;# To disable tunneled clear text passwords, change to no here!&lt;br /&gt;&lt;b&gt;PasswordAuthentication no&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;# To change Kerberos options&lt;br /&gt;#KerberosAuthentication no&lt;br /&gt;#KerberosOrLocalPasswd yes&lt;br /&gt;#AFSTokenPassing no&lt;br /&gt;#KerberosTicketCleanup no&lt;br /&gt;&lt;br /&gt;# Kerberos TGT Passing does only work with the AFS kaserver&lt;br /&gt;#KerberosTgtPassing yes&lt;br /&gt;&lt;br /&gt;X11Forwarding no&lt;br /&gt;X11DisplayOffset 10&lt;br /&gt;PrintMotd no&lt;br /&gt;#PrintLastLog no&lt;br /&gt;KeepAlive yes&lt;br /&gt;UseLogin yes&lt;br /&gt;&lt;br /&gt;#MaxStartups 10:30:60&lt;br /&gt;#Banner /etc/issue.net&lt;br /&gt;#ReverseMappingCheck yes&lt;br /&gt;&lt;br /&gt;Subsystem sftp /usr/lib/openssh/sftp-server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;UsePAM yes&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So, lesson learned... your SSH setting from previous version may not match, have the same meaning or function the same way it used to work. Hack it around and you'll find the fix... Keep google handy! Hope it helps others who gonna deal with this &lt;span style="font-weight: bold;"&gt;TS-ARM board&lt;/span&gt; like me... with Debian Arm...&lt;img class="inline" src="http://img458.imageshack.us/img458/1977/tongue2fe6.gif" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5315837779138116187?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5315837779138116187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5315837779138116187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5315837779138116187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5315837779138116187'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/debian-ssh-problem-after-upgrading.html' title='Debian SSH problem after upgrading Sarge to Etch?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/TPxG4Euci8I/AAAAAAAACKk/8lFUoQyepuw/s72-c/embedded-debian.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8157744786854834519</id><published>2008-03-19T14:05:00.006+08:00</published><updated>2008-03-19T19:01:53.072+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web programming'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>DNS Domain Expiration Checker Script [Update for .my domain]</title><content type='html'>Do you have more than one domain to manage? Have you ever failed to renew your domain before it expires? This simple domain-check script maybe your life saver. Originally, it was written by &lt;a href="http://prefetch.net/" target="_blank"&gt;Ryan Matteson&lt;/a&gt;. Then &lt;a href="http://www.cyberciti.biz/tips/domain-check-script.html" target="_blank"&gt;Vivek Gite&lt;/a&gt; add up support to .org, .in, .biz and .info domain names.&lt;br /&gt;&lt;br /&gt;And now, I've updated the domain-check script to support Malaysia (.my) domain. I should call this &lt;span style="font-weight:bold;"&gt;DNS Domain Expiration Checker Version 1.6&lt;/span&gt; &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br /&gt;In order to use the script, you can simply &lt;a href="http://coderstalk.googlepages.com/domain-check.txt"&gt;download the script&lt;/a&gt; and rename it to &lt;span style="font-weight:bold;"&gt;domain-check&lt;/span&gt;. Then &lt;code&gt;chmod +x&lt;/code&gt; to be able to execute it. You can run it to parse a list of domain in a text file and send an email alert to you for any domain that about to expire. &lt;br /&gt;&lt;br /&gt;Command line code to download:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;wget http://coderstalk.googlepages.com/domain-check.txt -O domain-check&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Sample Usage: (in directory where you place the script)&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;apogee@apogee-persiasys:~$ &lt;span style="font-weight:bold;"&gt;./domain-check -d google.com.my&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Domain                              Registrar         Status   Expires     Days Left&lt;br /&gt;----------------------------------- ----------------- -------- ----------- ---------&lt;br /&gt;google.com.my                       RGA000733         Valid    31-JUL-2008   134  &lt;br /&gt;&lt;br /&gt;apogee@apogee-persiasys:~$ &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;code&gt;&lt;span style="font-style:italic;"&gt;[Note: you can place this on your "sbin" directory and run without "./" ]&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh3.google.com/jerungkun/R-DxLVv9iYI/AAAAAAAAAug/KCCrrY2hWrc/s400/domain-check.png" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;You can also get an email if google.com.my going to expire in 30 days:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;domain-check -a -d google.com.my -q -x 30 -e apogee@mailserver.com&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I would like to dedicate this updated script to &lt;a href="http://blog.myfenris.net/" target="_blank"&gt;fenris&lt;/a&gt; for having lot of domain to manage hehehe... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; Hope it help you dude!! Enjoy!!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-8157744786854834519?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8157744786854834519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8157744786854834519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8157744786854834519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8157744786854834519'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/dns-domain-expiration-checker-script.html' title='DNS Domain Expiration Checker Script [Update for .my domain]'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7597698210439547524</id><published>2008-03-11T12:08:00.006+08:00</published><updated>2008-03-31T09:44:12.651+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Create and Extract RAR Files in Linux</title><content type='html'>I've been sharing mp3s with my close friends for years. We share mp3 files within our same interest in music. As I'm now a &lt;span style="font-weight:bold;"&gt;total Linux desktop user&lt;/span&gt; (I didn't use windows anymore &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; ), I have to find way to create and extract RAR files in Linux since we share the files in compressed RAR files in less than 5MB split.&lt;br /&gt;&lt;br /&gt;I always think that my findings in my Linux journey can also help others... So, here is the way to &lt;span style="font-weight:bold;"&gt;create RAR file in Ubuntu Linux&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;First, make sure you have already install unrar and rar which you can get it by issuing this command  in your terminal (&lt;span style="font-weight:bold;"&gt;Application &gt; Accessories &gt; Terminal&lt;/span&gt;) ...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;sudo apt-get install rar unrar&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://lh6.google.com/jerungkun/R9YSYDpTQdI/AAAAAAAAArw/ba37grFhXTY/s400/apt-get-rar-unrar.png" /&gt;&lt;br /&gt;In order to create RAR file, you can just right click on the selected files and click on "Create Archive...", select .rar on the archive dropdown and click on "Create". But, if you wanna extra control, you can use your great powerful terminal to do so. Here's what I do to Create a RAR file splitted to less than 5MB parts...&lt;br /&gt;&lt;br /&gt;Open up your terminal and &lt;code&gt;cd&lt;/code&gt; to directory with your file to RAR and split. As it is on my &lt;code&gt;/home/apogee/Music&lt;/code&gt; directory, I'm going there to find my files. &lt;span style="font-style:italic;"&gt;&lt;code&gt;[Note: just type the command in bold without the dollar sign]&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;cd /home/apogee/Music&lt;br /&gt;$ ls -lh *.mp3&lt;/span&gt;&lt;br /&gt;-rw-r--r-- 1 apogee apogee 6.7M 2008-03-10 16:21 Senandung-malam.mp3&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;then I issue this command to create RAR file containing this mp3 file. I want each part to be less than 4MB...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;rar a -v4000k Senandung-malam.mp3.rar Senandung-malam.mp3 &lt;/span&gt;&lt;br /&gt;RAR 3.70 beta 1   Copyright (c) 1993-2007 Alexander Roshal   8 Jan 2007&lt;br /&gt;Shareware version         Type RAR -? for help&lt;br /&gt;&lt;br /&gt;Evaluation copy. Please register.&lt;br /&gt;&lt;br /&gt;Creating archive Senandung-malam.mp3.rar&lt;br /&gt;&lt;br /&gt;Adding    Senandung-malam.mp3                                            &lt;br /&gt;Calculating the control sum     &lt;br /&gt;&lt;br /&gt;Creating archive Senandung-malam.mp3.part2.rar&lt;br /&gt;&lt;br /&gt;...       Senandung-malam.mp3                                         OK &lt;br /&gt;Calculating the control sum     &lt;br /&gt;Done&lt;br /&gt;$ &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now I have two parts of rar files. Extracting these files should be more simpler on GUI. Check it out on my previous post on &lt;a href="http://coderstalk.blogspot.com/2008/02/extracting-rar-files-in-ubuntu.html"&gt;How to Extract RAR files in Ubuntu Linux&lt;/a&gt;. In case of many parts, just right click on the first part and choose extract here.&lt;br /&gt;&lt;br /&gt;In order to do it in your terminal, just issue this command...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ &lt;span style="font-weight:bold;"&gt;unrar e Senandung-malam.mp3.part1.rar .&lt;/span&gt;&lt;/code&gt;  &lt;br /&gt;&lt;br /&gt;The program will find for the continuous parts and extract the file. That's all.. Hope it helps you... Good Luck and have fun!&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/03/installing-rar-and-unrar-programs-in.html' target='_blank'&gt;Installing rar and unrar in other linux distributions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/extracting-rar-files-in-ubuntu.html' target='_blank'&gt;Extracting RAR files in Ubuntu&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7597698210439547524?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7597698210439547524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7597698210439547524' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7597698210439547524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7597698210439547524'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/create-and-extract-rar-files-in-linux.html' title='Create and Extract RAR Files in Linux'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5018671141379406489</id><published>2008-03-10T16:42:00.005+08:00</published><updated>2008-03-10T17:14:10.818+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>mp3 Support for Rhythmbox Music Player</title><content type='html'>I just download some mp3 songs. I haven't opened Rhythmbox Music Player in my office PC since I don't have any speaker here&lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;... After grabbing my mate's headphone, I noticed my Rhythmbox Music Player don't have mp3 support yet but I can play them well in VLC media player anyway. &lt;br /&gt;&lt;br /&gt;Yes, by default, there is no mp3 support in &lt;span style="font-weight:bold;"&gt;Rhythmbox Music Player&lt;/span&gt; in &lt;span style="font-weight:bold;"&gt;Ubuntu Gutsy Gibbon 7.10&lt;/span&gt;. If you search in google, you can find some blogs saying you can install gstreamer-0.8-plugins. However, when you type them on your terminal, you'll find out that the package isn't there anymore... Don't panic, you just have to install something else in gstreamer package. My lucky day maybe, I choose the right package in my first try without further reading about it... here's what I do...&lt;br /&gt;&lt;br /&gt;I typed..&lt;br /&gt;&lt;code&gt;apogee@apogee-persiasys:~$ &lt;span style="font-weight:bold;"&gt;sudo apt-get install gstreamer&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;then press TAB twice, and the list come out...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_QmenDvyMjlk/R9T6TzpTQcI/AAAAAAAAArQ/AH_yYbe6g_g/s1600-h/Screenshot-installgstreamer.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_QmenDvyMjlk/R9T6TzpTQcI/AAAAAAAAArQ/AH_yYbe6g_g/s400/Screenshot-installgstreamer.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5176037089943437762" /&gt;&lt;/a&gt;&lt;br /&gt;So I choose to install the one that have mp3 in its name... &lt;br /&gt;&lt;br /&gt;&lt;code&gt;apogee@apogee-persiasys:~$ &lt;span style="font-weight:bold;"&gt;sudo apt-get install gstreamer0.10-fluendo-mp3&lt;/span&gt;&lt;/code&gt;&lt;br /&gt; &lt;br /&gt;everything installed smoothly... So, I grabbed my Rhythmbox Music Player in the desktop, select my newly downloaded mp3 files in the folder and drag it to my Rhythmbox Music Player... Now my Rhythmbox can play mp3.. heheh... time to download more Keroncong mp3s hahahaha...&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt; Enjoy!!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5018671141379406489?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5018671141379406489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5018671141379406489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5018671141379406489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5018671141379406489'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/mp3-support-for-rhythmbox-music-player.html' title='mp3 Support for Rhythmbox Music Player'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QmenDvyMjlk/R9T6TzpTQcI/AAAAAAAAArQ/AH_yYbe6g_g/s72-c/Screenshot-installgstreamer.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-621815728820120584</id><published>2008-03-10T12:23:00.006+08:00</published><updated>2008-03-10T14:57:27.832+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web programming'/><category scheme='http://www.blogger.com/atom/ns#' term='translation'/><title type='text'>Malay translation code</title><content type='html'>Long time ago, I've been interested in creating an application to &lt;span style="font-weight:bold;"&gt;translate English to Malay, and Malay to English&lt;/span&gt;. However, up until now, I'm still here, sitting with nothing comes out of my tiny little brain. No single code... &lt;br /&gt;&lt;br /&gt;Hopefully, if I have time to spent on this "personal" non-profit project, I want to share it with all of you. Maybe I'll create a page like &lt;span style="font-weight:bold;"&gt;Babel Fish&lt;/span&gt; or &lt;span style="font-weight:bold;"&gt;Google Translate&lt;/span&gt; to help you in translating English phrase or website to Malay and vice versa. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_QmenDvyMjlk/R9TbqTpTQbI/AAAAAAAAArI/5dDwQx8hOcc/s1600-h/translate-en-malay.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/R9TbqTpTQbI/AAAAAAAAArI/5dDwQx8hOcc/s400/translate-en-malay.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5176003391630033330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Babel Fish&lt;/span&gt; is using &lt;span style="font-weight:bold;"&gt;SYSTRAN&lt;/span&gt;, while &lt;span style="font-weight:bold;"&gt;Google Translate&lt;/span&gt; use their own translation software. I always interested in what google is doing, because maybe I'm crazy about how google have done in revolutionize this information technology world as we already know. Many thanks to people in google for helping me out with this FREE technology. They make my self-learning journey become easier from day to day. Uh, I do get money from Google Adsense too...&lt;br /&gt;&lt;br /&gt;Back to the story, I did look after what technology lies behind Google Translate. As written in Wikipedia (another great internet revolution), Google Translate is based on an approach called statistical machine translation, and more specifically, on research by Franz-Josef Och who won the DARPA contest for speed machine translation in 2003. Och is now the head of Google's machine translation department.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Statistical Machine Translation(SMT)&lt;/span&gt; is a machine translation paradigm where translations are generated on the basis of statistical models whose parameters are derived from the analysis of bilingual text corpora. The statistical approach contrasts with the rule-based approaches to machine translation as well as with example-based machine translation.&lt;br /&gt;&lt;br /&gt;Still, I haven't got any idea on how can I create my own &lt;span style="font-weight:bold;"&gt;English to Malay Translator&lt;/span&gt;. The idea bulb haven't blink on my head yet... But I'll keep think about it and grab as much information as I can get to help me creating my own translation engine.&lt;br /&gt;&lt;br /&gt;Anyway, If you bump to this page because you have think the same idea like me, you may love to have a look to these translation resource links. Maybe, if I can't do it, someone else can...&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://translate.google.com/" target="_blank"&gt;Google Translate&lt;/a&gt; - my dream to achieve... so far away&lt;/li&gt;&lt;li&gt;&lt;a href="http://babelfish.altavista.com/" target="_blank"&gt;BabelFish&lt;/a&gt; - another online translator by Altavista, now own by Yahoo!&lt;/li&gt;&lt;li&gt;&lt;a href="http://logos-os.dfki.de/" target="_blank"&gt;OpenLogos&lt;/a&gt; - machine translation, I can't get it to work for me yet.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.statmt.org/" target="_blank"&gt;Statistical Machine Translation&lt;/a&gt; - the research page of SMT&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.statmt.org/moses/" target="_blank"&gt;Moses: a state-of-the-art open source SMT system&lt;/a&gt; - got to try this... soon.&lt;/li&gt;&lt;li&gt;&lt;a href="http://citcat.com" target="_blank"&gt;CitCat&lt;/a&gt; - They have done English to Malay and Malay to English online translation... but still in BETA&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Comparison_of_Machine_translation_applications" target="_blank"&gt;Machine Translation&lt;/a&gt; - comparison of machine translation applications on wikipedia&lt;/li&gt;&lt;li&gt;&lt;a href="http://tashian.com/multibabel/" target="_blank"&gt;Lost In Translation&lt;/a&gt; - ever think about funny stuff here? here's one... hahaha &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;What can I do now in this translation for non-profit initiative is by helping the translation team in some open source project, manually...LOL... If you're interested in helping too, feel free to join us at &lt;a href="https://translations.launchpad.net/~apogee/" target="_blank"&gt;launchpad&lt;/a&gt; where we can help to translate a lot of open source software that we can then use it together in our mother tongue language. &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-621815728820120584?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/621815728820120584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=621815728820120584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/621815728820120584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/621815728820120584'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/malay-translation-code.html' title='Malay translation code'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/R9TbqTpTQbI/AAAAAAAAArI/5dDwQx8hOcc/s72-c/translate-en-malay.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-8993959682903226644</id><published>2008-03-06T19:50:00.007+08:00</published><updated>2008-03-06T20:10:29.490+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><title type='text'>Malicious Content on my new wordpress blog... WTF?</title><content type='html'>Duh... I'm playing around with my &lt;a href="http://coderstalk.blogspot.com/2008/03/my-wordpress-blog-is-up-and-running.html"&gt;000webhost.com cpanel and my wordpress&lt;/a&gt;... then I got some problem where I tried to point my sub domain of other domain I have to this blog. I got error page for a while and then manage to get it fixed... &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Lol, I changed the wordpress URL to my other subdomain and then redirect the subdomain to the wordpress blog... the blog goes crazy for a while. I can't reset the domain until I log on to cpanel and modify the database. All is OK then... but after a while, I end up getting redirect page which says, the admin is checking my website for malicious content.... WTF?&lt;br /&gt;&lt;br /&gt;here's what you can read on the blog now... &lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh3.google.com/jerungkun/R8_bH8tIuDI/AAAAAAAAAqg/WM6KOhHyahs/s400/checking-malicious-content-wtf.png" /&gt;&lt;/center&gt;&lt;br /&gt;Demmit!... better go home and sleep coz I can't do nothing now... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Anyway, instead of this broken heart story, thank god I managed to get my PPTP on &lt;a href="http://coderstalk.blogspot.com/2008/02/enabling-serial-console-on-devttyam1-in.html"&gt;my debian TS-ARM running&lt;/a&gt;... heheh... Look at the ps aux output&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href="http://lh6.google.com/jerungkun/R8_dHstIuEI/AAAAAAAAAqo/H9iQ4Cfz-Tg/s800/pptp-running.png" target="_blank"&gt;&lt;img src="http://lh6.google.com/jerungkun/R8_dHstIuEI/AAAAAAAAAqo/H9iQ4Cfz-Tg/s400/pptp-running.png" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;It's up and connected... I can ssh my gprs board now... hohohoho...&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-8993959682903226644?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/8993959682903226644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=8993959682903226644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8993959682903226644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/8993959682903226644'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/malicious-content-on-my-new-wordpress.html' title='Malicious Content on my new wordpress blog... WTF?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-41049404130071782</id><published>2008-03-06T15:32:00.002+08:00</published><updated>2008-03-06T16:00:32.669+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>My Wordpress Blog is up and running...</title><content type='html'>Yes, I've made it... since I told you about the &lt;a href="http://coderstalk.blogspot.com/2008/03/000webhostcom-my-new-php-testing-ground.html" target="_blank"&gt;superb free hosting site&lt;/a&gt; as my PHP testing ground, I download wordpress and install it within minutes... Now I have made my wordpress blog up and running on this free host. Hope the host will last long. Here's the screenshot of my new wordpress blog.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href="http://apogee.890m.com/blog/" target="_blank"&gt;&lt;img src="http://lh4.google.com/jerungkun/R8-jPMtIuCI/AAAAAAAAAqY/NDj5PSuZTP8/s400/apogee-890m-blog.png" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;Nothing much to code yet, I just install it by following the installation steps on wordpress.com. Feel free to visit the blog and add your comments at my &lt;a href="http://apogee.890m.com/blog/" target="_blank"&gt;ApOgEE 890m Blog&lt;/a&gt;&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-41049404130071782?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/41049404130071782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=41049404130071782' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/41049404130071782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/41049404130071782'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/my-wordpress-blog-is-up-and-running.html' title='My Wordpress Blog is up and running...'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1247273349983065584</id><published>2008-03-05T14:31:00.003+08:00</published><updated>2008-03-05T14:51:23.599+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web programming'/><category scheme='http://www.blogger.com/atom/ns#' term='php programming'/><title type='text'>000webhost.com My New PHP testing ground</title><content type='html'>I found a new free web hosting plan without ads or anything... It's really great to share it with you. before you talk back to me, please note that this is not a so called 'paid article' for them... I'm sharing this for free. Because they are so good.&lt;br /&gt;&lt;br /&gt;You can check it out yourself at &lt;a href="http://www.000webhost.com/?id=26423" target="_blank"&gt;http://www.000webhost.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;So, what's good about this host?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Actually, I just register and see the features... I got total access to my cpanel and host. they give me a free domain &lt;a href="http://apogee.890m.com"&gt;http://apogee.890m.com&lt;/a&gt;. I can have up to 5 sql databases and up to 5 email accounts. I also got an ftp account and can have up to 5 ftp accounts. You can have PHP and MySQL too... Hey, who's gonna give you 250MB free web space?... Isn't that great?&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Then, What I'm gonna do?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So, currently I've planned to install wordpress and play around with PHP and MySQL on this account. I'll call it my online &lt;span style="font-weight:bold;"&gt;PHP-MySQL code&lt;/span&gt; testing ground. Wow, it could be my adsense source too... heheh.&lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Here's their cool banner, feel free to spread the word to others!!&lt;br /&gt;&lt;a href="http://www.000webhost.com/?id=26423" target="_blank"&gt;&lt;img src="http://www.000webhost.com/images/banners/468x60/banner6.gif" alt="Free Web Hosting" width="468" height="60" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or just copy and paste this code on your blog if you like:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;a href="http://www.000webhost.com/?id=26423" target="_blank"&gt;&amp;lt;img src="http://www.000webhost.com/images/banners/468x60/banner6.gif" alt="Free Web Hosting" width="468" height="60" border="0" /&gt;&amp;lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;that's all for now... hope you enjoy!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-1247273349983065584?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1247273349983065584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1247273349983065584' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1247273349983065584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1247273349983065584'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/000webhostcom-my-new-php-testing-ground.html' title='000webhost.com My New PHP testing ground'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6077931543845731385</id><published>2008-03-05T08:39:00.005+08:00</published><updated>2008-03-05T09:10:53.635+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coder&apos;s talk'/><category scheme='http://www.blogger.com/atom/ns#' term='pagerank'/><title type='text'>PageRank Code... What's wrong?</title><content type='html'>Today, I notice something wrong with my pagerank at one of my scrap blog, &lt;a href="http://jerungkun.blogspot.com" target="_blank"&gt;The Rojak Blog&lt;/a&gt;. As a loyal Firefox user, I also use google toolbar to access my google bookmarks and I do wanna know pagerank of certain page because I'm also google's loyal fan... heheh &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Then, what's wrong with the code anyway? I see my pagerank icon on the blog from http://pr.blogflux.com/ shows zero (0/10) while my google toolbar shows 3/10. Which one do you think is more accurate? Obviously, the toolbar is from google and the pagerank value is also from google.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jerungkun.blogspot.com/" target="blank"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/R83xwstIt9I/AAAAAAAAApY/ZxXsRPJDnrU/s400/rojak-blog.png" border="0" alt="the rojak blog" id="BLOGGER_PHOTO_ID_5174057365855057874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The Verification...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So, I go to pr.blogflux.com to verify the rank and blogflux still says that the pagerank of http://jerungkun.blogspot.com is 0/10. Then I go to another pagerank checker page at http://www.prchecker.info and it says 3/10 for that same &lt;a href="http://jerungkun.blogspot.com" target="_blank"&gt;scrap blog&lt;/a&gt;. Now, I can verify that there might be something wrong on pr.blogflux. Maybe they have to fix their code to keep people link to their site.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The Solution...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Instead of emailing pr.blogflux and told them that their &lt;span style="font-weight:bold;"&gt;pagerank checker code&lt;/span&gt; is wrong, I took a quick solution which is to just change my prchecker. I get it from &lt;a href="http://www.prchecker.info/pagerank-check-button.php" target="_blank"&gt;www.prchecker.info&lt;/a&gt;. Pretty simple right? bye-bye blogflux...&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6077931543845731385?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6077931543845731385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6077931543845731385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6077931543845731385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6077931543845731385'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/pagerank-code-whats-wrong.html' title='PageRank Code... What&apos;s wrong?'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/R83xwstIt9I/AAAAAAAAApY/ZxXsRPJDnrU/s72-c/rojak-blog.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6544185423787640754</id><published>2008-03-02T01:09:00.007+08:00</published><updated>2010-02-11T11:02:34.298+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='xss'/><category scheme='http://www.blogger.com/atom/ns#' term='fakap'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>XSS on maxgames.com</title><content type='html'>I got bored tonite... found and try these (actually noted by a friend)... XSS on maxgames.com &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/R8mPIpl0NoI/AAAAAAAAApA/TdOKWDp3jKc/s1600-h/xss-fakap.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/R8mPIpl0NoI/AAAAAAAAApA/TdOKWDp3jKc/s400/xss-fakap.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5172823025777915522" /&gt;&lt;/a&gt;&lt;br /&gt;XSS means &lt;span style="font-weight:bold;"&gt;Cross Site Scripting&lt;/span&gt;. Be careful if your site having these vulnerabilities.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000"&gt;Update:&lt;/span&gt; one more maxgames site got xss too... maxgames.com.my&lt;br /&gt;it is maxis hotlink's maxgames site... &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_QmenDvyMjlk/R8mWApl0NpI/AAAAAAAAApI/a1nEUGuClfg/s1600-h/fakap-lagi.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_QmenDvyMjlk/R8mWApl0NpI/AAAAAAAAApI/a1nEUGuClfg/s400/fakap-lagi.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5172830584920356498" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;* credit to z4w3p for the alert... hehehe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6544185423787640754?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6544185423787640754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6544185423787640754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6544185423787640754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6544185423787640754'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/03/xss-on-maxgamescom.html' title='XSS on maxgames.com'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QmenDvyMjlk/R8mPIpl0NoI/AAAAAAAAApA/TdOKWDp3jKc/s72-c/xss-fakap.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-6414318365534647676</id><published>2008-02-26T19:20:00.004+08:00</published><updated>2008-02-26T19:52:38.855+08: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='TS-ARM'/><title type='text'>Enabling Serial Console on /dev/ttyAM1 in TS-7260</title><content type='html'>&lt;center&gt;&lt;img src="http://lh5.google.com/jerungkun/R8P8zG1lqcI/AAAAAAAAAo4/DdBqlJGQTB4/s400/login-incorrect.png" /&gt;&lt;/center&gt;&lt;br /&gt;I'm running Debian on SD card for this TS-7260. I decided to switch the serial console to the second port which is /dev/ttyAM1 because I'm going to use the first serial /dev/ttyAM0 for my Wavecom GPRS modem. So, I open the /etc/inittab and just realize that serial console on /dev/ttyAM1 is already there.&lt;br /&gt;&lt;br /&gt;Then I grab my RS-232 cable and plug it from my /dev/ttyS0 on my PC to the /dev/ttyAM1 on the TS-ARM board... after waiting for some seconds, my minicom shows the login... &lt;br /&gt;&lt;code&gt;&lt;br /&gt;Debian GNU/Linux 3.1 ts7000 ttyAM1&lt;br /&gt;&lt;br /&gt;ts7000 login: &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;So, I type root and press the enter... the console returns, "Login incorrect"... WTF!!&lt;br /&gt;&lt;br /&gt;How come the serial console on the second port is useless for root? The solution for this is actually very simple. But it took me some minutes to figure it out... hehehe...&lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Thank god, i've already fixed the ssh, so i can ssh to the board...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ ssh root@10.1.1.91&lt;br /&gt;$ Password:&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The solution is, edit the /etc/securetty file...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ vi /etc/securetty&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;And then add the line ttyAM1 under the ttyAM0 in the /etc/securetty file... press escape and type :wq&lt;br /&gt;&lt;br /&gt;That's it. Reboot the board. and now i can login with root on my second serial console. Thanks to the guys in #debian at freenode for pointing me to the right direction. &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-6414318365534647676?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/6414318365534647676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=6414318365534647676' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6414318365534647676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/6414318365534647676'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/enabling-serial-console-on-devttyam1-in.html' title='Enabling Serial Console on /dev/ttyAM1 in TS-7260'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5792151632406999973</id><published>2008-02-26T12:21:00.004+08:00</published><updated>2008-02-26T12:46:41.626+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Speed Up your Internet Speed in Ubuntu</title><content type='html'>Did you know that you can boost up your internet speed in Ubuntu Gutsy Gibbon 7.10 by some simple changes in a test file? Have a try on these...&lt;br /&gt;&lt;br /&gt;Open up your Terminal (Applications &gt; Accessories &gt; Terminal) and type this command:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo gedit /etc/modprobe.d/aliases&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh6.google.com/jerungkun/R8OUoW1lqbI/AAAAAAAAAow/OHLFcl9NGfI/s400/Screenshot-modprobe.png" /&gt;&lt;/center&gt;&lt;br /&gt;After that, find for a line that looks like this...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;alias net-pf-10 ipv6&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;and comment it out.&lt;br /&gt;&lt;br /&gt;then just add this 3 more lines after that commented line...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;alias net-pf-10 ipv6 off&lt;br /&gt;alias net-pf-10 off&lt;br /&gt;alias ipv6 off&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh5.google.com/jerungkun/R8OUoG1lqaI/AAAAAAAAAoo/6Tqgqf-oZDY/s800/alias-ipv6.png" /&gt;&lt;/center&gt;&lt;br /&gt;Save it and close... That's all... restart your PC and you'll feel the difference... have nice day! &lt;br /&gt;&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5792151632406999973?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5792151632406999973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5792151632406999973' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5792151632406999973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5792151632406999973'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/speed-up-your-internet-speed-in-ubuntu.html' title='Speed Up your Internet Speed in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-278510133727949402</id><published>2008-02-25T12:21:00.003+08:00</published><updated>2008-02-25T12:53:57.462+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Extracting RAR files in Ubuntu</title><content type='html'>RAR files is common package and compression format that is used by people who share files in rapidshare. As one of rapidshare fan, I always found the shared files are in RAR format. So, if you are Ubuntu Gutsy user like me, you may notice that unrar (the program to open RAR files) is not installed by default.&lt;br /&gt;&lt;br /&gt;No Problem... you can simply install it in less than a minute. Open up your Terminal (Application &gt; Accessories &gt; Terminal ) and issue this command:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get install unrar&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Then after it is installed, you can now right click on the file and click on Extract Here. Isn't it simple? &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.google.com/jerungkun/R8JJjm1lp4I/AAAAAAAAAj8/rYD3L3aJimw/s800/extract-rar-ubuntu.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-278510133727949402?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/278510133727949402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=278510133727949402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/278510133727949402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/278510133727949402'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/extracting-rar-files-in-ubuntu.html' title='Extracting RAR files in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-4708471469951735936</id><published>2008-02-22T10:57:00.007+08:00</published><updated>2008-02-25T11:36:34.882+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Installing Microsoft Fonts in Ubuntu</title><content type='html'>You may want to install Microsoft Truetype fonts in Ubuntu for any reason. It's very simple. All you need to do in your &lt;span style="font-weight:bold;"&gt;Ubuntu&lt;/span&gt; Gutsy Gibbon 7.10 is to install the &lt;span style="font-weight:bold;"&gt;msttcorefonts&lt;/span&gt; package.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.google.com/jerungkun/R8I3Dm1lp2I/AAAAAAAAAjs/yYCrUOMPfyg/s800/ubuntu-microsoft-fonts.png" /&gt;&lt;br /&gt;&lt;br /&gt;The Truetype Microsoft fonts provided by the package include:&lt;ul&gt;&lt;li&gt;Andale Mono&lt;/li&gt;&lt;li&gt;Arial Black&lt;/li&gt;&lt;li&gt;Arial (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Comic Sans MS (Bold)&lt;/li&gt;&lt;li&gt;Courier New (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Georgia (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Impact&lt;/li&gt;&lt;li&gt;Times New Roman (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Trebuchet (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Verdana (Bold, Italic, Bold Italic)&lt;/li&gt;&lt;li&gt;Webdings&lt;/li&gt;&lt;/ul&gt;To install msttcorefonts package, open a Terminal... &lt;b&gt;&lt;i&gt;Application &gt; Accessories &gt; Terminal&lt;/i&gt;&lt;/b&gt; and type (without the dollar sign):&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get install msttcorefonts&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;After doing this, you can also install other TTF fonts in your collection by copying them in your &lt;b&gt;&lt;i&gt;~/.fonts&lt;/i&gt;&lt;/b&gt; folder. After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;$ sudo fc-cache -fv&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;That's all. Anyway, I wanna credit Carthik of Ubuntu Wordpress where I learn this from his post on &lt;a href="http://ubuntu.wordpress.com/2005/09/09/installing-microsoft-fonts/" target="_blank"&gt;Installing Microsoft Fonts&lt;/a&gt; &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; Hope it will help others too.&lt;br /&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-4708471469951735936?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/4708471469951735936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=4708471469951735936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4708471469951735936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4708471469951735936'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/installing-microsoft-fonts-in-ubuntu.html' title='Installing Microsoft Fonts in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-4863778718707231991</id><published>2008-02-21T00:39:00.009+08:00</published><updated>2008-06-14T01:15:55.034+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>How to Show and Hide Text in Blog Post with teaser</title><content type='html'>&lt;a href="http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html" target="_blank"&gt;&lt;img src="http://lh4.google.com/jerungkun/R8I7GG1lp3I/AAAAAAAAAj0/JqTavgsBbNA/s200/show-hide-blog-post.png" style="float:left; margin: 0 10px 10px 0;"  /&gt;&lt;/a&gt;As my reply to Andrea's question in the comment section of my previous post on &lt;a href="http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html" target="_blank"&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;, Here is how to show and hide text in blog post with something like 300 words teaser before the link to read the rest of the story...&lt;br /&gt;&lt;span class='postshown' id='the-story-link-0001'&gt;&lt;a href="javascript:expandcollapse('the-story-link-0001');expandcollapse('the-story-0001');"&gt;Click here to read more...&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='posthidden' id='the-story-0001'&gt;This post is already the example to show that it is possible to use the same technique in my previous &lt;a href="http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html" target="_blank"&gt;show/hide blog post&lt;/a&gt; article to have a teaser before the link to show the rest of the story.&lt;br /&gt;&lt;br /&gt;What I've done here is just placing the "span" tags at the right position where i wanted it to be. To make it short and clear, here is the sample template to this kind of blog post...&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;pre&gt;&lt;br /&gt;--- Place your 300 words teaser here --- &lt;br /&gt;&amp;lt;span class="postshown" id="your-topic-link-id-0001"&gt;&lt;br /&gt;&amp;lt;a href="javascript:expandcollapse('your-topic-link-id-0001');&lt;br /&gt;expandcollapse('your-topic-id-0001');"&gt;&lt;br /&gt;Click here for more...&amp;lt;/a&gt;&amp;lt;/span&gt;&lt;br /&gt;&amp;lt;span class="posthidden" id="your-topic-id-0001"&gt;&lt;br /&gt;--- place the rest of your story here ---&lt;br /&gt;&amp;lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Here's the screenshot of where exactly you should place all these codes and text:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_QmenDvyMjlk/SFKq0SoqllI/AAAAAAAAA1U/-oZlPjmM6bM/s1600-h/300-teaser.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_QmenDvyMjlk/SFKq0SoqllI/AAAAAAAAA1U/-oZlPjmM6bM/s400/300-teaser.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5211415534153406034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Done! that's all it takes to do it assuming you have already follow the necessary steps on editing the CSS and everything before making the blog post. Good Luck! &lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html' target='_blank'&gt;How to create expandable post summaries in Blogger&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-4863778718707231991?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/4863778718707231991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=4863778718707231991' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4863778718707231991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/4863778718707231991'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' title='How to Show and Hide Text in Blog Post with teaser'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QmenDvyMjlk/SFKq0SoqllI/AAAAAAAAA1U/-oZlPjmM6bM/s72-c/300-teaser.png' height='72' width='72'/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-2990214309881586966</id><published>2008-02-12T14:33:00.000+08:00</published><updated>2008-02-12T16:11:02.820+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Socket'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Simple Linux Socket Programming in Ubuntu</title><content type='html'>After years of programming in Microsoft Windows, now I'm exploring new programming skill in &lt;span style="font-weight:bold;"&gt;linux&lt;/span&gt;. Previously, I've been struggling to run linux on my laptop. I tried Red Hat, Fedora, Mandrake... but they are not stable in my old laptop. Until I found Ubuntu... Now, I'm really satisfied to settle down with this great, easy to use and pretty stable open source Operating System for my laptop. So, I have &lt;span style="font-weight:bold;"&gt;Ubuntu Gutsy Gibbon 7.10&lt;/span&gt; on my lappy now and I thought I'll forget windows soon... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Normally, people start learning programming with some simple typical &lt;span style="font-weight:bold;"&gt;Hello World&lt;/span&gt; sample. However, I'm searching for some challenge as my first try. So, I pick &lt;span style="font-weight:bold;"&gt;linux socket programming&lt;/span&gt; as my quick start. During my short journey on the web, I found this simple &lt;a href="http://linuxgazette.net/issue74/tougher.html" target="_blank"&gt;tutorial by Rob Tougher&lt;/a&gt;. Pretty cool and complete for my starting point... So, if you wanna try it too, feel free to get the code from Rob Tougher's tutorial page and compile it yourself. Modify the codes as you like and learn new things.&lt;br /&gt;&lt;br /&gt;While working on the codes downloaded from that page, I found errors while compiling it. Maybe Rob leave this error for us to learn... Anyway, don't worry mates, I'll share the answer... heheheh...&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br /&gt;Here's the error on my first try...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ make&lt;br /&gt;g++    -c -o ServerSocket.o ServerSocket.cpp&lt;br /&gt;g++    -c -o Socket.o Socket.cpp&lt;br /&gt;Socket.cpp: In member function ‘int Socket::recv(std::string&amp;) const’:&lt;br /&gt;Socket.cpp:135: error: ‘cout’ is not a member of ‘std’&lt;br /&gt;make: *** [Socket.o] Error 1&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;g++ returns this error not because there is no &lt;span style="font-weight:bold;"&gt;'cout'&lt;/span&gt; in &lt;span style="font-weight:bold;"&gt;std&lt;/span&gt;. But, because we didn't properly declare the &lt;span style="font-weight:bold;"&gt;std&lt;/span&gt; to use &lt;span style="font-weight:bold;"&gt;'cout'&lt;/span&gt;. In order to fix this, I just add this line...&lt;code&gt;#include &amp;lt;iostream&amp;gt;&lt;/code&gt; in Socket.cpp (you can place it on top, just after all &lt;code&gt;#include&lt;/code&gt; codes) and try to &lt;span style="font-weight:bold;"&gt;'make'&lt;/span&gt; again. I'm sure this error will disappear.&lt;br /&gt;&lt;br /&gt;Then, here's the second 'make' trial...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ make&lt;br /&gt;g++    -c -o Socket.o Socket.cpp&lt;br /&gt;g++    -c -o simple_server_main.o simple_server_main.cpp&lt;br /&gt;simple_server_main.cpp: In function ‘int main(int, int*)’:&lt;br /&gt;simple_server_main.cpp:7: error: ‘cout’ is not a member of ‘std’&lt;br /&gt;simple_server_main.cpp:35: error: ‘cout’ is not a member of ‘std’&lt;br /&gt;make: *** [simple_server_main.o] Error 1&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ups... still got the error... &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt; but this time, it is in simple_server_main.cpp... No problem, let's do the same on this file too... save them and here is the third 'make' trial...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ make&lt;br /&gt;g++    -c -o simple_server_main.o simple_server_main.cpp&lt;br /&gt;g++ -o simple_server ServerSocket.o Socket.o simple_server_main.o&lt;br /&gt;g++    -c -o ClientSocket.o ClientSocket.cpp&lt;br /&gt;g++    -c -o simple_client_main.o simple_client_main.cpp&lt;br /&gt;g++ -o simple_client ClientSocket.o Socket.o simple_client_main.o&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;SUCCESS!!! without errors anymore... And now, time for testing... open up a terminal and you will see this output when you type &lt;code&gt;./simple_server&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ ./simple_server &lt;br /&gt;running....&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then open another terminal and run the simple client... I run it 3 times...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ ./simple_client &lt;br /&gt;We received this response from the server:&lt;br /&gt;"Test message."&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ ./simple_client &lt;br /&gt;We received this response from the server:&lt;br /&gt;"Test message."&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ ./simple_client &lt;br /&gt;We received this response from the server:&lt;br /&gt;"Test message."&lt;br /&gt;apogee@apogee-laptop:~/C-codes/socketserver$ &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now, I can start modifying the code to learn how it really works. Feel free to download my &lt;a href="http://coderstalk.googlepages.com/simple-socket.tgz"&gt;'fixed version' of Rob Tougher's code&lt;/a&gt;. You can simply untar it by issuing this command in your newly created project folder...&lt;br /&gt;&lt;code&gt;&lt;br /&gt;prompt:~$ tar -zxvf simple-socket.tgz&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Programming is fun! give it a try if you haven't tried once! Good luck!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-2990214309881586966?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/2990214309881586966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=2990214309881586966' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2990214309881586966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/2990214309881586966'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2008/02/simple-linux-socket-programming-in.html' title='Simple Linux Socket Programming in Ubuntu'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1831163769034450738</id><published>2007-09-30T15:08:00.000+08:00</published><updated>2007-09-30T15:59:49.268+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBScript'/><title type='text'>VBScript to Replace Underscores in Filename with Spaces for All Files in a Folder</title><content type='html'>Sometimes I wanted to remove underscores in file name and replace it with space. For example I would like to see the filename as &lt;span style="font-weight:bold;"&gt;'Sharifah Aini - Suasana Hari Raya.mp3'&lt;/span&gt; instead of &lt;span style="font-weight:bold;"&gt;'Sharifah_Aini_-_Suasana_Hari_Raya.mp3'&lt;/span&gt;. I often have this kind of files when I download mp3s on the internet. I know this maybe so simple because you can just select the file in &lt;span style="font-weight:bold;"&gt;Windows Explorer&lt;/span&gt;, &lt;span style="font-weight:bold;"&gt;Press F2&lt;/span&gt; and manually rename the file. But for a collections of files in a folder, this may be a boring repetitive task that I'll hate to do. &lt;br /&gt;&lt;br /&gt;So, as a damn lazy coder &lt;img class='inline' src='http://img458.imageshack.us/img458/1977/tongue2fe6.gif'/&gt;, I've wrote a short Visual Basic Script to automatically do the task with only one simple command. I think this &lt;span style="font-weight:bold;"&gt;VBScript&lt;/span&gt; maybe useful for you too. So, I would like to share my VBScript to replace underscores in filename with spaces for all files within a folder. Here's the script...&lt;br /&gt;&lt;FONT COLOR="#000000"&gt;&lt;TT&gt;&lt;PRE&gt;&lt;br /&gt;&lt;FONT COLOR = "#008800"&gt;'========================================================&lt;br /&gt;' VBScript to replace underscore in file name with space &lt;br /&gt;' for each files in a folder&lt;br /&gt;' Written by ApOgEE of http://coderstalk.blogspot.com&lt;br /&gt;'========================================================&lt;br /&gt;&lt;/FONT&gt;&lt;FONT COLOR = "#000088"&gt;Dim &lt;/FONT&gt;sName&lt;br /&gt;&lt;FONT COLOR = "#000088"&gt;Dim &lt;/FONT&gt;fso&lt;br /&gt;&lt;FONT COLOR = "#000088"&gt;Dim &lt;/FONT&gt;fol&lt;br /&gt;&lt;br /&gt;&lt;FONT COLOR = "#008800"&gt;' create the filesystem object&lt;br /&gt;&lt;/FONT&gt;&lt;FONT COLOR = "#000088"&gt;Set &lt;/FONT&gt;fso = WScript.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;    &lt;br /&gt;&lt;FONT COLOR = "#008800"&gt;' get current folder&lt;br /&gt;&lt;/FONT&gt;&lt;FONT COLOR = "#000088"&gt;Set &lt;/FONT&gt;fol = fso.GetFolder(".")&lt;br /&gt;&lt;br /&gt;&lt;FONT COLOR = "#008800"&gt;' go thru each files in the folder&lt;br /&gt;&lt;/FONT&gt;&lt;FONT COLOR = "#000088"&gt;For Each &lt;/FONT&gt;fil &lt;FONT COLOR = "#000088"&gt;In &lt;/FONT&gt;fol.Files&lt;br /&gt;    &lt;FONT COLOR = "#008800"&gt;' check if the file name contains underscore&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#000088"&gt;If &lt;/FONT&gt;InStr(1, fil.Name, "_") &lt;&gt; 0 &lt;FONT COLOR = "#000088"&gt;Then&lt;br /&gt;&lt;/FONT&gt;        &lt;FONT COLOR = "#008800"&gt;' replace underscore with space&lt;br /&gt;&lt;/FONT&gt;        sName = Replace(fil.Name, "_", " ")&lt;br /&gt;        &lt;FONT COLOR = "#008800"&gt;' rename the file&lt;br /&gt;&lt;/FONT&gt;        fil.Name = sName&lt;br /&gt;    &lt;FONT COLOR = "#000088"&gt;End If&lt;br /&gt;Next&lt;br /&gt;&lt;/FONT&gt;&lt;br /&gt;&lt;FONT COLOR = "#008800"&gt;' echo the job is completed&lt;br /&gt;&lt;/FONT&gt;WScript.Echo "Completed!"&lt;br /&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;/TT&gt;&lt;br /&gt;To use the script, you just need to copy this scripts to a text file and then name the textfile with &lt;span style="font-weight:bold;"&gt;'rmus.vbs'&lt;/span&gt; or any other name you like with &lt;span style="font-weight:bold;"&gt;'.vbs'&lt;/span&gt; extension which is for vbscript.&lt;br /&gt;&lt;br /&gt;There is lots of ways to use the script. One of them is, copy the .vbs file to the folder you want the task to be done and then double click the .vbs file in that folder. When the script is done, it will prompt you with a message box which says &lt;span style="font-weight:bold;"&gt;'Completed!'&lt;/span&gt;. I'll post the other ways to run this kind of scripts later. Feel free to bookmark or subscribe this blog to automatically get updates on this blog.&lt;br /&gt;&lt;br /&gt;If you like this code, feel free to use it and if you like to spread it on the net, please gimme a link to this page. I would love to hear your comments too!&lt;img class='inline' src='http://img458.imageshack.us/img458/6599/sengih2ys5.gif'/&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-1831163769034450738?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/1831163769034450738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=1831163769034450738' title='27 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1831163769034450738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/1831163769034450738'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/09/vbscript-to-replace-underscores-in.html' title='VBScript to Replace Underscores in Filename with Spaces for All Files in a Folder'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>27</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5345955545113381094</id><published>2007-09-23T16:59:00.000+08:00</published><updated>2007-09-23T17:01:27.129+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual basic'/><category scheme='http://www.blogger.com/atom/ns#' term='VB6'/><title type='text'>Visual Basic Programming: How to check element exists in Collection</title><content type='html'>One of the missing function code that made by the VB Class Builder while making a Collection Class is CheckExists function to check whether the key associated to an object in the collection is already exists or not.&lt;br /&gt;&lt;h4&gt;Collections in Visual Basic&lt;/h4&gt;In general, a collection is an object used for grouping and managing related objects. Check out &lt;span style="font-weight:bold;"&gt;Microsoft&lt;/span&gt; article about &lt;a href="http://msdn2.microsoft.com/en-us/library/a1y8b3b3(vs.80).aspx"&gt;Collections in Visual Basic&lt;/a&gt;&lt;br /&gt;&lt;h4&gt;Creating Collection Class using VB Class Builder&lt;/h4&gt;The simplest way to create collection class is by using the VB Class Builder. Here's the simple step:&lt;ul&gt;&lt;li&gt;Right click on the &lt;span style="font-weight:bold;"&gt;Project Explorer&lt;/span&gt; area&lt;/li&gt;&lt;li&gt;Select &lt;span style="font-weight:bold;"&gt;Add &gt; Class Module&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Select &lt;span style="font-weight:bold;"&gt;VB Class Builder&lt;/span&gt;, and click &lt;span style="font-weight:bold;"&gt;Open&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Select &lt;span style="font-weight:bold;"&gt;File &gt; New &gt; Collection&lt;/span&gt; and Set your class to be grouped it the Collection Class, Set The collection Name and click &lt;span style="font-weight:bold;"&gt;OK&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Update Project&lt;/span&gt; and Close the Builder&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Notice, you will have one new class based on the name you set on the Builder. Open the code window for the New Collection Class and you will notice there is no CheckExists function to check whether the key associated to an object it the collection is already exists or not.&lt;br /&gt;&lt;br /&gt;Here is my function code to check if an object exists in a collection object&lt;br /&gt;&lt;FONT COLOR="#000000"&gt;&lt;TT&gt;&lt;PRE&gt;&lt;FONT COLOR = "#000088"&gt;Public Function &lt;/FONT&gt;CheckExists(vntIndexKey &lt;FONT COLOR = "#000088"&gt;As Variant&lt;/FONT&gt;) &lt;FONT COLOR = "#000088"&gt;As Boolean&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#000088"&gt;On Error Resume Next&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#000088"&gt;Dim &lt;/FONT&gt;cObj &lt;FONT COLOR = "#000088"&gt;As Object&lt;br /&gt;&lt;/FONT&gt;    &lt;br /&gt;    &lt;FONT COLOR = "#008800"&gt;' just get the object&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#000088"&gt;Set &lt;/FONT&gt;cObj = mCol(vntIndexKey)&lt;br /&gt;    &lt;br /&gt;    &lt;FONT COLOR = "#008800"&gt;' here's the key! Trap the Error Code&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#008800"&gt;' when the error code is 5 then the Object is Not Exists&lt;br /&gt;&lt;/FONT&gt;    CheckExists = (Err &lt;&gt; 5)&lt;br /&gt;    &lt;br /&gt;    &lt;FONT COLOR = "#008800"&gt;' just to clear the error&lt;br /&gt;&lt;/FONT&gt;    &lt;FONT COLOR = "#000088"&gt;If &lt;/FONT&gt;Err &lt;&gt; 0 &lt;FONT COLOR = "#000088"&gt;Then Call &lt;/FONT&gt;Err.Clear&lt;br /&gt;    &lt;FONT COLOR = "#000088"&gt;Set &lt;/FONT&gt;cObj = Nothing&lt;br /&gt;&lt;FONT COLOR = "#000088"&gt;End Function&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;/TT&gt;&lt;br /&gt;You can simply copy this code and paste it in the Collection class and now you have the CheckExists function in your collection Class. Good Luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5345955545113381094?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5345955545113381094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5345955545113381094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5345955545113381094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5345955545113381094'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/09/visual-basic-programming-how-to-check.html' title='Visual Basic Programming: How to check element exists in Collection'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5568971845591927485</id><published>2007-09-22T12:40:00.000+08:00</published><updated>2007-09-22T13:13:43.483+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='my notes'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Some Useful Linux Commands</title><content type='html'>I can't declare myself as linux user since I didn't use linux as my main operating system on my computers. But I do use linux when needed. Since then, I always forget the commands when I didn't touch linux for years. Now I'm working on with linux again and I have to recall all the commands back again. So, to make my future search for useful commands more quickly, I compiled my linux commands here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ls&lt;/span&gt; - list file or directory&lt;br /&gt;Example Usage:&lt;br /&gt;&lt;pre&gt;root@OpenWrt:/# ls&lt;br /&gt;bin   dev   etc   jffs  lib   mnt   proc  rom   sbin  tmp   usr   var   www&lt;br /&gt;root@OpenWrt:/#&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd&lt;/span&gt; - change directory&lt;br /&gt;Example usage:&lt;br /&gt;&lt;pre&gt;root@OpenWrt:~# cd /jffs&lt;br /&gt;root@OpenWrt:/jffs#&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cat&lt;/span&gt; - view text in a file&lt;br /&gt;Example usage:&lt;br /&gt;&lt;pre&gt;root@OpenWrt:/etc# cat banner&lt;br /&gt;  _______                     ________        __&lt;br /&gt; |       |.-----.-----.-----.|  |  |  |.----.|  |_&lt;br /&gt; |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|&lt;br /&gt; |_______||   __|_____|__|__||________||__|  |____|&lt;br /&gt;          |__| W I R E L E S S   F R E E D O M&lt;br /&gt; WHITE RUSSIAN (0.9) -------------------------------&lt;br /&gt;  * 2 oz Vodka   Mix the Vodka and Kahlua together&lt;br /&gt;  * 1 oz Kahlua  over ice, then float the cream or&lt;br /&gt;  * 1/2oz cream  milk on the top.&lt;br /&gt; ---------------------------------------------------&lt;br /&gt;root@OpenWrt:/etc#&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;echo&lt;/span&gt; - echo a strings&lt;br /&gt;&lt;pre&gt;root@OpenWrt:/# echo 'this is the first line&lt;br /&gt;&gt; and second line&lt;br /&gt;&gt; the third&lt;br /&gt;&gt; and then fourth' &gt; mytextfile&lt;br /&gt;root@OpenWrt:/# cat mytextfile&lt;br /&gt;this is the first line&lt;br /&gt;and second line&lt;br /&gt;the third&lt;br /&gt;and then fourth&lt;br /&gt;root@OpenWrt:/#&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;insmod&lt;/span&gt; - install a kernel module &lt;br /&gt;&lt;pre&gt;root@OpenWrt:/# insmod mmc&lt;br /&gt;Using /lib/modules/2.4.30/mmc.o&lt;br /&gt;root@OpenWrt:/#&lt;/pre&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;lsmod&lt;/span&gt; - list of installed kernel module&lt;br /&gt;&lt;pre&gt;root@OpenWrt:/# lsmod&lt;br /&gt;Module                  Size  Used by    Tainted: P&lt;br /&gt;mmc                    26604   0 (unused)&lt;br /&gt;wlcompat               15744   0 (unused)&lt;br /&gt;ip_nat_irc              2336   0 (unused)&lt;br /&gt;ip_conntrack_irc        3128   1&lt;br /&gt;ip_nat_tftp             1824   0 (unused)&lt;br /&gt;ip_conntrack_tftp       1728   1&lt;br /&gt;ip_nat_ftp              2960   0 (unused)&lt;br /&gt;ip_conntrack_ftp        4320   1&lt;br /&gt;wl                    423640   0 (unused)&lt;br /&gt;switch-robo             4460   0 (unused)&lt;br /&gt;switch-core             4912   0 [switch-robo]&lt;br /&gt;diag                   19808   0 (unused)&lt;br /&gt;root@OpenWrt:/#&lt;/pre&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;rmmod&lt;/span&gt; - uninstall a kernel module &lt;br /&gt;&lt;pre&gt;root@OpenWrt:/# rmmod mmc&lt;br /&gt;root@OpenWrt:/#&lt;/pre&gt;&lt;br /&gt;Umm... maybe enough for today coz I have things to do now. I'll update this post later...&lt;br /&gt;&lt;pre&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5568971845591927485?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5568971845591927485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5568971845591927485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5568971845591927485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5568971845591927485'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/09/some-useful-linux-commands.html' title='Some Useful Linux Commands'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3418449634040686729</id><published>2007-09-20T17:02:00.000+08:00</published><updated>2007-09-20T17:03:28.638+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows XP'/><title type='text'>How to get Windows XP command prompt output to Notepad</title><content type='html'>Sometimes we need to copy output from a command prompt and paste it into a Windows program such as Notepad. Usually, you’ll try to use the Mark and Copy commands on the command prompt’s Edit menu. I recently found an article from &lt;b&gt;Tech Republic&lt;/b&gt; about &lt;b&gt;Copy and paste from Windows XP Pro’s command prompt straight to the Clipboard&lt;/b&gt; where &lt;b&gt;Greg Shultz&lt;/b&gt; is introducing a command line tool called Clip.exe. But I have my own way to get information from a command prompt and onto your notepad without using the Clip.exe.&lt;br /&gt;&lt;br /&gt;It is so simple. Lets say, you want to get the output from ipconfig command, then just add a '&gt;' and type the name of text file you want like 'ipconf.txt'. On the command prompt it will look like this:&lt;br /&gt;&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer;" src="http://lh6.google.com/jerungkun/RvIwKNsD4MI/AAAAAAAAAc4/EplkAlvGJVI/s800/ipconf.JPG" border="0" alt="" /&gt;&lt;br /&gt;Then, you can view your output on notepad by simply type 'notepad ipconf.txt' and press enter like this:&lt;br /&gt;&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer;" src="http://lh3.google.com/jerungkun/RvIyidsD4NI/AAAAAAAAAdA/c8Lh5J3USWA/s800/npad.JPG" border="0" alt="" /&gt;&lt;br /&gt;That's all. Good Luck and have fun! Anyway, you may want to view Greg Shultz's tips on how to &lt;a href="http://blogs.techrepublic.com.com/window-on-windows/?p=521"&gt;Copy and paste from Windows XP Pro’s command prompt straight to the Clipboard&lt;/a&gt; using Clip.exe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3418449634040686729?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3418449634040686729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3418449634040686729' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3418449634040686729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3418449634040686729'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/09/how-to-get-windows-xp-command-prompt.html' title='How to get Windows XP command prompt output to Notepad'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-7931816504108111211</id><published>2007-09-08T19:01:00.000+08:00</published><updated>2007-09-08T19:13:48.213+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='About me'/><category scheme='http://www.blogger.com/atom/ns#' term='Computer Science'/><title type='text'>The Science of Computers</title><content type='html'>Apart from being a &lt;span style="font-weight:bold;"&gt;Software Engineer&lt;/span&gt; for a Wireless Broadband company in Malaysia, a part time graphic designer who has that passion of &lt;a href="http://artofapogee.blogspot.com" target="_blank"&gt;art and designs&lt;/a&gt;, a husband of a beautiful wife and a part time blogger, I’m also an undergraduate student of &lt;a href="http://www.spaceutm.edu.my/" target="_blank"&gt;SPACE&lt;/a&gt; (School of Professional and Continuing Education) under &lt;a href="http://www.utm.my/" target="_blank"&gt;UTM&lt;/a&gt; (University Technology Malaysia) pursuing my Degree in Computer Science.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/jerungkun/CodersTalk02/photo#5107786331618737314"&gt;&lt;img style="float:left; margin: 0 10px 10px 0;" src="http://lh4.google.com/jerungkun/RuKAmzy6_KI/AAAAAAAAAas/uYWtsCzH4T4/s288/apogeeSketch.jpg" /&gt;&lt;/a&gt;You may wonder how busy my daily routine is. But that’s what I’m currently doing. And that’s also why sometimes I have to leave this blog untouched without an updates. However, I’m trying to keep this blog alive and now I’m planning to share my understanding in subjects taken through my degree courses which I think may be helpful for those who are interested about &lt;span style="font-weight:bold;"&gt;Computer Science&lt;/span&gt; on this &lt;span style="font-weight:bold;"&gt;Coder’s Talk Blog&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This semester, I’m taking three subjects which were &lt;span style="font-weight:bold;"&gt;Accounting Information System (SCM4253), Office Automation (SCM4213) and Strategic Management and Information System (SCM3153)&lt;/span&gt;. So this time, I will blog about this three subjects until the end of semester. So stay tune with this blog and we will soon discover and understand these three subjects in the adventure to discover &lt;span style="font-weight:bold;"&gt;the Science of Computer&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-7931816504108111211?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/7931816504108111211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=7931816504108111211' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7931816504108111211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/7931816504108111211'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/09/science-of-computers.html' title='The Science of Computers'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-5341012075358471705</id><published>2007-07-26T17:05:00.000+08:00</published><updated>2007-07-26T18:02:18.770+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web programming'/><category scheme='http://www.blogger.com/atom/ns#' term='php programming'/><title type='text'>How to Redirect Using PHP</title><content type='html'>&lt;img src='http://img222.imageshack.us/img222/6343/phpug8.jpg' style='float:left;margin:0 10px 0 0;' alt='PHP'&gt;A simple PHP script could be use to redirect visitor from the page they entered to a different web page. There is lot of reason you may want to do this including:&lt;br /&gt;&lt;div style='padding-left:150px;'&gt;&lt;ul&gt;&lt;li&gt;You may have links that is no longer exists in your domain&lt;/li&gt;&lt;li&gt;You don't want anybody to browse your parent directory where you don't have any index page in it&lt;/li&gt;&lt;li&gt;Or maybe you may want to shorten your long url like TinyUrl.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;Using this simple method, they can be seamlessly transfered to the new page without having to click a link to continue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Why use PHP for redirecting?&lt;/span&gt;&lt;br /&gt;Here's some reason on why we are using PHP for redirecting.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Users are redirected quickly and seamlessly&lt;/li&gt;&lt;li&gt;When using the 'Back' button, the user is taken to the last viewed page, not the redirect page&lt;/li&gt;&lt;li&gt;Works on all browsers&lt;/li&gt;&lt;/ul&gt;However, you have to make sure that your web host do support PHP in order to do this.&lt;br /&gt;&lt;br /&gt;In this example, assuming Mikey want to redirect his visitor who go to his domain http://mikey.com to his blog Url which is at http://mikey.com/blog. What mikey have to do is simply create a text file in his parent folder and type this:&lt;br /&gt;&lt;br /&gt;&lt;div style="padding: 10px; width: 80%; background-color: rgb(238, 238, 238);"&gt;&lt;code&gt;&amp;lt;?php&lt;br /&gt;header( 'Location: http://mikey.com/blog' ) ;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Then save the file as 'index.php'. Now, all visitors who go to http://mikey.com will be seamlessly redirected to http://mikey.com/blog. Isn't it easy? Enjoy programming and have fun!&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-5341012075358471705?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/5341012075358471705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=5341012075358471705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5341012075358471705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/5341012075358471705'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/07/how-to-redirect-using-php.html' title='How to Redirect Using PHP'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-3540199886073946403</id><published>2007-07-12T18:06:00.003+08:00</published><updated>2010-02-11T11:08:24.645+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot hack'/><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>How to Show and Hide Text in Blog Post</title><content type='html'>I would like to share on how to make a Show/Hide text in your blog post. I'm sorry if I didn't explain detail enough because I want to keep my post short as I'm in a hurry. However, you can read the detail explanation on &lt;a href="http://help.blogger.com/bin/answer.py?answer=42214&amp;topic=8932" target="_blank"&gt;Blogger Help&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In this example, I assume you have sub topics that you want to make it hidden until reader clicks on the headline. Without the show/hide trick, it would look like this...&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;h4&gt;Title One&lt;/h4&gt;This is the example text for title one.&lt;br /&gt;&lt;h4&gt;Title Two&lt;/h4&gt;This is the example text for title two.&lt;br /&gt;&lt;h4&gt;Title Three&lt;/h4&gt;This is the example text for title three.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Here's my step to do this... Firstly, edit your template and add the following code in the CSS area.&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;code&gt;&lt;br /&gt;.posthidden {display:none}&lt;br /&gt;.postshown {display:inline}&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;Then add the following javascript code on your blog template between the &lt;code&gt;&amp;lt;head&gt;&amp;lt;/head&gt;&lt;/code&gt; tag.&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;pre&gt;&amp;lt;script type="text/Javascript"&gt; &lt;br /&gt;&lt;br /&gt;function expandcollapse (postid) { &lt;br /&gt;&lt;br /&gt;   whichpost = document.getElementById(postid); &lt;br /&gt;   &lt;br /&gt;   if (whichpost.className=="postshown") { &lt;br /&gt;      whichpost.className="posthidden"; &lt;br /&gt;   } &lt;br /&gt;   else { &lt;br /&gt;      whichpost.className="postshown"; &lt;br /&gt;   } &lt;br /&gt;} &lt;br /&gt;&amp;lt;/script&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Now save your template and all you have to do in each post you want to have the expandable sub topic is to create unique id for each sub topics where the code will look like this:&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;pre&gt;&amp;lt;a href="javascript:expandcollapse('subtopic0001')"&gt;&lt;br /&gt;&amp;lt;h4&gt;Title One&amp;lt;/h4&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;span class="posthidden" id="subtopic0001"&gt;&lt;br /&gt;This is the example text for title one.&amp;lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;a href="javascript:expandcollapse('subtopic0002')"&gt;&lt;br /&gt;&amp;lt;h4&gt;Title Two&amp;lt;/h4&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;span class="posthidden" id="subtopic0002"&gt;&lt;br /&gt;This is the example text for title two.&amp;lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;a href="javascript:expandcollapse('subtopic0003')"&gt;&lt;br /&gt;&amp;lt;h4&gt;Title Three&amp;lt;/h4&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;span class="posthidden" id="subtopic0003"&gt;&lt;br /&gt;This is the example text for title three.&amp;lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;And, here's the result...&lt;br /&gt;&lt;br /&gt;&lt;div style="width:80%;background-color:#EEEEEE;padding:10px;"&gt;&lt;a href="javascript:expandcollapse('subtopic0001')"&gt;&lt;h4&gt;Title One&lt;/h4&gt;&lt;/a&gt;&lt;span class="posthidden" id="subtopic0001"&gt;This is the example text for title one. The long text is just an example that this area will automatically move the space down. Subscribe to coderstalk.blogspot.com for more free code from me. Or simply check me out for latest update soon.&lt;/span&gt;&lt;br /&gt;&lt;a href="javascript:expandcollapse('subtopic0002')"&gt;&lt;h4&gt;Title Two&lt;/h4&gt;&lt;/a&gt;&lt;span class="posthidden" id="subtopic0002"&gt;This is the example text for title two. Come on my friend, you can even hide images in here. Look at this...&lt;br /&gt;&lt;center&gt;&lt;a href="http://img157.imageshack.us/my.php?image=avatar9xp.gif" target="_blank"&gt;&lt;img src='http://img157.imageshack.us/img157/5549/avatar9xp.gif' alt='ApOgEE Avatar' title='ApOgEE'&gt;&lt;/a&gt;&lt;/center&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="javascript:expandcollapse('subtopic0003')"&gt;&lt;h4&gt;Title Three&lt;/h4&gt;&lt;/a&gt;&lt;span class="posthidden" id="subtopic0003"&gt;This is the example text for title three.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;That's all... Good luck and have a nice day!&lt;br /&gt;&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 242px;" src="http://3.bp.blogspot.com/_QmenDvyMjlk/S3N0H5QemHI/AAAAAAAAB-0/bgEUvI24vBA/s400/javascript-pic.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5436816854144161906" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="padding: 10px; background-color: rgb(255, 250, 218);"&gt;&lt;b&gt;You may also love to read:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/02/how-to-show-and-hide-text-in-blog-post.html' target='_blank'&gt;How to Show and Hide Text in Blog Post with teaser&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://coderstalk.blogspot.com/2008/06/how-to-create-expandable-post-summaries.html' target='_blank'&gt;How to create expandable post summaries in Blogger&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3928190665450830956-3540199886073946403?l=coderstalk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderstalk.blogspot.com/feeds/3540199886073946403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3928190665450830956&amp;postID=3540199886073946403' title='38 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3540199886073946403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3928190665450830956/posts/default/3540199886073946403'/><link rel='alternate' type='text/html' href='http://coderstalk.blogspot.com/2007/07/how-to-show-and-hide-text-in-blog-post.html' title='How to Show and Hide Text in Blog Post'/><author><name>ApOgEE</name><uri>http://www.blogger.com/profile/10350138531363117428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-Hn5AXEi2soE/TXWOAwMrbLI/AAAAAAAACNo/1GS_wHPVbD0/s220/apogee-pergh.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QmenDvyMjlk/S3N0H5QemHI/AAAAAAAAB-0/bgEUvI24vBA/s72-c/javascript-pic.jpg' height='72' width='72'/><thr:total>38</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3928190665450830956.post-1343351264532851109</id><published>2007-06-22T21:34:00.001+08:00</published><updated>2007-06-22T21:34:46.159+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My List'/><title type='text'>MyList Update</title><content type='html'>OK guys... this is my &lt;font color="#ff6600"&gt;My List Update&lt;/font&gt;...&lt;br /&gt;&lt;br /&gt;&lt;font size="3"&gt;&lt;strong&gt;&lt;font color="#ff6600"&gt;My List&lt;/font&gt; stands for the giving hearted and goodwill of Malaysians to help one another and also most definitely for the &lt;font color="#ff0000"&gt;Malaysian Boleh!&lt;/font&gt; spirit in the great big world of blogsphere!&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://earn-money-blogging.com/my-list/' target='_blank'&gt;&lt;br /&gt;&lt;img src='http://i55.photobucket.com/albums/g136/vectorian/Banners/mylist_yellow_ns.gif' border='0' alt='My List'&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://earn-money-blogging.com/my-list/" title="Dedicated My List Page" target="_blank"&gt;&lt;b&gt;My List Participants&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;font size="1px"&gt;&lt;br /&gt;&lt;a href="http://fairys-journal.blogdrive.com/" target="_blank" title="Once Upon A Time"&gt;Once Upon A Time&lt;/a&gt;&lt;br /&gt;&lt;a href="http://m2-blog.blogspot.com/" target="_blank" title="Money Making Blog"&gt;Money Making Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.sweetpeamy.blogspot.com/" target="_blank" title="Bubba Stuff"&gt;Bubba Stuff&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.littleraymond.blogspot.com/" target="_blank" title="Thoughts and experiences of my daily life"&gt;Little Raymond's&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.quaintmelody.com/" target="_blank" title="i hear melodies coming my way"&gt;quaint melody&lt;/a&gt;&lt;br /&gt;&lt;a href="http://chronicles.seraphstudios.net/" target="_blank" title="Chronicles Of My Life"&gt;Seraph Chronicles&lt;/a&gt;&lt;br /&gt;&lt;a href="http://misty-street.blogspot.com/" target="_blank" title="Route Brumeuse"&gt;Route Brumeuse&lt;/a&gt;&lt;br /&gt;&lt;a href="http://coderstalk.blogspot.com/" target="_blank" title="Coder's Talk"&gt;Coder's Talk&lt;/a&gt;&lt;br /&gt;&lt;a href="http://reggae-and-ska.blogspot.com/" target="_blank" title="Reggae And SKA"&gt;Reggae And SKA&lt;/a&gt;&lt;br /&gt;&lt;a href="http://artofapogee.blogspot.com/" target="_blank" title="Art iS eVeRyThiNg WhEn YoU sEE EvErYtHinG iS ArT"&gt;Art Of ApOgEE&lt;/a&gt;&lt;br /&gt;&lt;a href="http://vegemaster.blogspot.com/" target="_blank" title="Just daily experiences that i went through without u even knowing"&gt;THE VEGEMASTER LIFE&lt;/a&gt;&lt;br /&gt;&lt;a href="http://boonage.pjss2.net/" target="_blank" title="Boonage"&gt;Boonage&lt;/a&gt;&lt;br /&gt;&lt;a href="http://matsbp.blogspot.com/" target="_blank" title="Coretan Pengalaman Mat"&gt;Coretan Pengalaman Mat&lt;/a&gt;&lt;br /&gt;&lt;a href="http://silverhorsegunnysack.blogspot.com/" target="_blank" title="A tiny weeny place for silverhorse to run wild once in a bluemoon"&gt;Silverhorsegunnysack&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blueapple880404.blogspot.com/" target="_blank" title="BLUEAPPLE"&gt;BLUEAPPLE&lt;/a&gt;&lt;br /&gt;&lt;a href="http://priscillayeoh.blogspot.com/" target="_blank" title="my documented journey"&gt;scribbles&lt;/a&gt;&lt;br /&gt;&lt;a href="http://colematherapy.blogspot.com/" target="_blank" title="Diet &amp; Detoxification"&gt;Diet &amp; Detoxification&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lilianchan.blogspot.com/" target="_blank" title="Karma Kameleon"&gt;Karma Kameleon&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cheehsien.blogspot.com/" target="_blank" title="The Secret Life of... Chee Hsieng"&gt;Hsien's Dirty Little Secret&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jerungkun.blogspot.com/" target="_blank" title="The Rojak Blog"&gt;The Rojak Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://keeyit.blogspot.com/" target="_blank" title="My English Blog"&gt;keeyit&lt;/a&gt;&lt;br /&gt;&lt;a href="http://malcolmwong.blogspot.com/" target="_blank" title="My Life Online"&gt;My Life Online&lt;/a&gt;&lt;br /&gt;&lt;a href="http://funstuffscommunity.blogspot.com/" target="_blank" title="Fun Stuff Community for fun loving people"&gt;Fun Stuffs&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.donny2bits.blogspot.com/" target="_blank" title="Donny's Bits"&gt;Donny's Bits&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.nickchan.net/" target="_blank" title="Can You Think About It"&gt;Nicholas Chan's Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.vrxueji.com/blog/yuik" target="_blank" title="dream of's DESIGN"&gt;dream of's DESIGN&lt;/a&gt;&lt;br /&gt;&lt;a href="http://strikefreedom115.blogspot.com/" target="_blank" title="In the search of prefect Massive Multiple Online Games"&gt;strike freedom 115&lt;/a&gt;&lt;br /&gt;&lt;a href="http://trulymalaysia.wordpress.com/" target="_blank" title="Truly Malaysia"&gt;Truly Malaysia&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.xanga.com/seanlel" target="_blank" title="It's another new day"&gt;It's another new day&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lisansscribbles.blogspot.com/" target="_blank" title="Scribbles on life, love and myself"&gt;Lisan's Scribbles&lt;/a&gt;&lt;br /&gt;&lt;a href="http://worthless123.wordpress.com/" target="_blank" title="happy, sad, ups and downs"&gt;Ramblings of a 22 years old&lt;/a&gt;&lt;br /&gt;&lt;a href="http://myaveragejoe.blogspot.com" target="_blank" title="The Towering Joe"&gt;The Towering Joe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.xanga.com/cbenc12" target="_blank" title="Life's a Breeze"&gt;Life's a Breeze&lt;/a&gt;&lt;br /&gt;&lt;a href="http://chin12.easyjournal.com/" target="_blank" title="Life's Roller Coaster"&gt;Life's Roller Coaster&lt;/a&gt;&lt;br /&gt;&lt;a href="http://aceone118.blogspot.com/" target="_blank" title="Yinsi Yat 118"&gt;AceOne118&lt;/a&gt;&lt;br /&gt;&lt;a href="http://michemaylee.liquidblade.com/" target="_blank" title="In His Time"&gt;In His Time&lt;/a&gt;&lt;br /&gt;&lt;a href="http://michemaylee.blogspot.com/" target="_blank" title="in His time"&gt;in His time&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.d-sanctuary.com" target="_blank" title="The New Sanctuary"&gt;The New Sanctuary&lt;/a&gt;&lt;br /&gt;&lt;a href="http://clementwongpy.blogspot.com/" target="_blank" title="a life full of surprises"&gt;a life full of surprises&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.michemaylee.com/" target="_blank" title="Sketches of Life"&gt;Sketches of Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shannonchong.blogspot.com/" target="_blank" title="Shannon's Old Space"&gt;Shannon's Old Space&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pikeydude.blogspot.com/" target="_blank" title="A single working male in a great city striving for life"&gt;Pikey Dude&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.larrylim.net/seo-online-marketing/" target="_blank" title="SEO &amp; Online Marketing Blog"&gt;SEO &amp; Online Marketing Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.showmemoneybiz.com/" target="_blank" title="A Novice's Simple ways to Make Money Online"&gt;ShowMeMoneyBiz.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://malaysiansnapshots.blogspot.com/" target="_blank" title="A Penangite view of Life in Malaysia"&gt;Snapshots&lt;/a&gt;&lt;br /&gt;&lt;a href="http://kahpeng.com/weblog" target="_blank" title="KahPeng Blog"&gt;kahpengBlog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.yapnwun.com/" target="_blank" title="Self Improvement, Web Discovery"&gt;I am Who I am&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scorpionade.blogspot.com/" target="_blank" title="there needn't any reason for being special"&gt;yung . silent whisper&lt;/a&gt;&lt;br /&gt;&lt;a href="http://flsam.blogspot.com/" target="_blank" title="Don't Worry. Be Happy."&gt;Simple Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://baby-sa.blogspot.com/" target="_blank" title="One blog.One girl.One story"&gt;One blog.One girl.One story&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ahbu74.blogspot.com/" target="_blank" title="The World Through My Eyes"&gt;The World Through My Eyes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://whymustvisitmalaysia.blogspot.com/" target="_blank" title="Why Malaysia?"&gt;Why Malaysia?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.baby-ryanlim.blogspot.com" target="_blank" title="Etcetera Etcetera About Ryan Lim Yuen Jou"&gt;Etcetera~Etcetera&lt;/a&gt;&lt;br /&gt;&lt;a href="http://giddytigers.com/" target="_blank" title="I was blind but now I see…"&gt;Giddy Tigers&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.bleargh.net/makemoney/" target="_blank" title="Make Money Online: Exploring The Dark Side of Blogging"&gt;Make Money Online: Exploring The Dark Side of Blogging&lt;/a&gt;&lt;br /&gt;&lt;a href="http://yapnwun.blogspot.com/" target="_blank" title="Xilly's Blog"&gt;Xilly's Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://malaika-xiaoyu.blogspot.com/" target="_blank" title="Malaika Xiao Yu"&gt;Malaika Xiao Yu&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msaufong.com/myhomerecipe" target="_blank" title="My Home Recipe"&gt;My Home Recipe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sqkiki.msaufong.com/" target="_blank" title="SQKIKI’s Simple Tech"&gt;SQKIKI’s Simple Tech&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.azhad.com/" target="_blank" title="Nukilan Jejari Azhad"&gt;Nukilan Jejari Azhad&lt;/a&gt;&lt;br /&gt;&lt;a href="http://itchyhandseng.blogspot.com/" target="_blank" title="Wat Do You Do When Ur Hands Are Itchy?"&gt;ITCHY HANDseng&lt;/a&gt;&lt;br /&gt;&lt;a href="http://myorganiclife.blogspot.com/" target="_blank" title="Just My Lil' Organic Life"&gt;Just My Lil' Organic Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://samanthayeap.blogspot.com/" target="_blank" title="Oooh La La..."&gt;Oooh La La...&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lawak-jokes-weirdstuff.blogspot.com/" target="_blank" title="a different world"&gt;Weird World of MerapuMan&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iknit.samanthayeap.com/" target="_blank" title="iKnit… iCrochet… iCross-stitch… iQuilt…"&gt;Fibre Art&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.samanthayeap.com/" target="_blank" title="The World at My Fingertips"&gt;The World at My Fingertips&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.myorganicincome.com/" target="_blank" title="It’s all about Money"&gt;Organic Income&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.organicparade.com/" target="_blank" title="Health &amp; Wealth - The Organic Way Of Life"&gt;Organic Parade&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shoppingflavor.womenmumbles.com/" target="_blank" title="Shopping Flavor"&gt;Shopping Flavor&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.chunglingstudent.com/" target="_blank" title="Daily postings of a chung ling student"&gt;Daily postings of a chung ling student&lt;/a&gt;&lt;br /&gt;&lt;a href="http://joshualai.blogspot.com/" target="_blank" title="Something about LAI"&gt;Something about LAI&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.kennyp.cn/" target="_blank" title="KennyP’s Technology Blog"&gt;KennyP’s Technology Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://womenmumbles.com/" target="_blank" title="Women Mumbles"&gt;Women Mumbles&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.kukujian.com/" target="_blank" title="Where KuKu is A Form of Expression"&gt;KuKuJian.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jess2princess.blogspot.com/" target="_blank" title="Lyon &amp; Wien"&gt;Lyon &amp; Wien&lt;/a&gt;&lt;br /&gt;&lt;a href="http://kazyiau.blogspot.com/" target="_blank" title="Under The SUN"&gt;Under The SUN&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.shannonchong.com/" target="_blank" title="Crumbs In Life"&gt;Crumbs In Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://robbyaoi.blogspot.com" target="_blank" title="SotongZai's Flow In the Ocean"&gt;SotongZai's Flow In the Ocean&lt;/a&gt;&lt;br /&gt;&lt;a href="http://allthingspurple.blogspot.com/" target="_blank" title="allthingspurple"&gt;allthingspurple&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.christeneskitchen.blogspot.com/" target="_blank" title="Christene's Kitchen"&gt;Christene's Kitchen&lt;/a&gt;&lt;br /&gt;&lt;a href="http://toxicle.org/" target="_blank" title="toxicle.org"&gt;toxicle.org&lt;/a&gt;&lt;br /&gt;&lt;a href="http://electronicfly.blogspot.com/" target="_blank" title="Dry ice is H2O without water"&gt;[ Wood ] [ Earth ] [ Cheap ] [ Flight ]&lt;/a&gt;&lt;br /&gt;&lt;a href="http://inhairstudio.blogspot.com/" target="_blank" title="COMtech"&gt;COMtech&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pickmeuphere.blogspot.com/" target="_blank" title="Totally real and random rubbish"&gt;Ah Ling's blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://judychow.blogspot.com/" target="_blank" title="CRoSs mY hE@Rt"&gt;Memoirs.:*CRoSs mY hE@Rt&lt;/a&gt;&lt;br /&gt;&lt;a href="http://aaronwoolala.blogspot.com/" target="_blank" title="WoOLaLA"&gt;~WoOLaLA~&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.vivivava.com/" target="_blank" title="vivivava Design"&gt;vivivava Design&lt;/a&gt;&lt;br /&gt;&lt;a href="http://motheringcorner.com/" target="_blank" title="My Mothering Corner"&gt;My Mothering Corner&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shoppingmumshomeoffice.com/" target="_blank" title="Shoppingmum’s Home Office"&gt;Shoppingmum’s Home Office&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shoppingmumsparadise.blogspot.com/" target="_blank" title="My Filling Station"&gt;My Filling Station&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shoppingmum.blogspot.com/" target="_blank" title="Shopping Mum"&gt;Shopping Mum&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iamshoppingmum.com/vanity/" target="_blank" title="All about Beauty"&gt;All about Beauty&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iamshoppingmum.com/" target="_blank" title="Shoppingmum and Kids"&gt;Shoppingmum and Kids&lt;/a&gt;&lt;br /&gt;&lt;a href="http://conancat.blogspot.com/" target="_blank" title="Total Randommess"&gt;datotalrandommessy.grey&lt;/a&gt;&lt;br /&gt;&lt;a href="http://notesfrommyheart.com/" target="_blank" title="Notes from my heart"&gt;Notes from my heart&lt;/a&gt;&lt;br /&gt;&lt;a href="http://joymontessori.blogspot.com/" target="_blank" title="The Joy of Learning"&gt;Joy Montessori&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.wahlau.org" target="_blank" title="wahlau's online hut"&gt;wahlau's online hut&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cedricang.com" target="_blank" title="Cedric’s Asylum"&gt;Cedric’s Asylum&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mott.blogsome.com" target="_blank" title="mott’s mutterings"&gt;mott’s mutterings&lt;/a&gt;&lt;br /&gt;&lt;a href="http://justmytots.com" target="_blank" title="Just My Thoughts"&gt;Just My Thoughts&lt;/a&gt;&lt;br /&gt;&lt;a href="http://delephant.blogspot.com" target="_blank" title=" delephant"&gt; delephant&lt;/a&gt;&lt;br /&gt;&lt;a href="http://opstupe.blogspot.com" target="_blank" title="Incoherent Ramblings"&gt;Incoherent Ramblings&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hot.louyeh.com/" target="_blank" title="HOT STUFF"&gt;HOT STUFF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://malaysian-agloco.blogspot.com" target="_blank" title="Make Money Online with Malaysia Love AGLOCO"&gt;Make Money Online with Malaysia Love AGLOCO&lt;/a&gt;&lt;br /&gt;&lt;a href="http://montessorimum.com" target="_blank" title="MONTESSORIMUM.COM"&gt;MONTESSORIMUM.COM&lt;/a&gt;&lt;br /&gt;&lt;a href="http://funkycookies.blogspot.com" target="_blank" title="Funky Cookies"&gt;Funky Cookies&lt;/a&gt;&lt;br /&gt;&lt;a href="http://earn-money-blogging.com" target="_blank" title="Earn Money Online"&gt;Earn Money Online&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pablopabla.blogspot.com" target="_blank" title="PabloPabla's Whatever"&gt;PabloPabla's Whatever&lt;/a&gt;&lt;br /&gt;&lt;a href="http://5xmom.com" target="_blank" title="Make Money with Blogging"&gt;Make Money with Blogging&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.parisbeaverbanks.com" target="_blank" title="Paris Beaverbanks"&gt;Paris Beaverbanks&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ahpek.com" target="_blank" title="Free Links Giveaway"&gt;Free Links Giveaway&lt;/a&gt;&lt;br /&gt;&lt;a href="http://how2make.blogspot.com" target="_blank" title="Free Blogger Templates"&gt;Free Blogger Templates&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogsreview.net" target="_blank" title="Blogs Review"&gt;Blogsreview.Net&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.louyeh.com" target="_blank" title="Making a Living"&gt;Making a Living&lt;/a&gt;&lt;br /&gt;&lt;a href="http://chanlilian.net" target="_blank" title="5xmom"&gt;5xmom&lt;/a&gt;&lt;br /&gt;&lt;a href="http://makanon.com" target="_blank" title="How to be a Better Blogger"&gt;How to be a Better Blogger&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mywomenstuff.com" target="_blank" title="My Women Stuff"&gt;My Women Stuff&lt;/a&gt;&lt;br /&gt;&lt;a href="http://deliciousasianfood.com" target="_blank" title="Hochiak! Delicious Asian Food"&gt;Hochiak! Delicious Asian Food&lt;/a&gt;&lt;br /&gt;&lt;a href="http://malaysiabest.net" target="_blank" title="Best Recipes"&gt;Best Recipes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shopaholickl.blogspot.com" target="_blank" title="Champagne Tastes on a Beer Budget"&gt;Champagne Tastes on a Beer Budget&lt;/a&gt;&lt;br /&gt;&lt;a href="http://daryl-discovery.blogspot.com" target="_blank" title="Daryl's Personal Blog"&gt;Daryl's Discovery Journey&lt;/a&gt;&lt;br /&gt;&lt;a href="http://parisbeaverbanks.blogspot.com" target="_blank" title="The fluff must go somewhere"&gt;The fluff must go somewhere&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;font size="1px"&gt;&lt;br /&gt;&lt;a href="http://foodie.parisbeaverbanks.com/" target="_blank" title="Experimenting in and out of the kitchen"&gt;Kitchen Experiments&lt;/a&gt;&lt;br /&gt;&lt;a href="http://elliottwavesignal.com/" target="_blank" title="Providing Elliottwave Resources"&gt;Elliottwave Signal&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.internet-crazy.com/blog/" target="_blank" title="Internet-Crazy Blog"&gt;Internet-Crazy Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://newopps.blogsome.com/" target="_blank" title="Newopps Blog"&gt;Newopps Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.hoobin.com" target="_blank" title="Make Money Online Review Center"&gt;Make Money Online Review Center&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.littlepenang.com/" target="_blank" title="Is All About the Island of Penang"&gt;Little Penang&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iflicks.myorganicincome.com/" target="_blank" title="iFlicks"&gt;iFlicks&lt;/a&gt;&lt;br /&gt;&lt;a href="http://simplehealingtips.blogspot.com/" target="_blank" title="Healing tips and home remedies"&gt;Healing tips and home remedies&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zda-fishenthusiast.blogspot.com/" target="_blank" title="Ornamental Fish"&gt;Ornamental Fish&lt;/a&gt;&lt;br /&gt;&lt;a href="http://darktryst.blogspot.com/" target="_blank" title=" Grasp! Seize! Get hold of it!"&gt; Grasp! Seize! Get hold of it!&lt;/a&gt;&lt;br /&gt;&lt;a href="http://markkie.com/" target="_blank" title="mistake can only be done once"&gt;Life Snapshot&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zerointimidation.wordpress.com/" target="_blank" title="Of Life, Money, Reviews, Politics and The Doodles"&gt;Mental Freedom, Por Favor&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tummytreats.blogspot.com/" target="_blank" title="Eat. Live. Be Merry!"&gt;Eat. Live. Be Merry!&lt;/a&gt;&lt;br /&gt;&lt;a href="http://funnylah.com/" target="_blank" title="The best site for laughing out loud"&gt;Funny Junk Addicting Flash Games Pictures Video Clips&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mottisland.com/blog/" target="_blank" title="mott’s island"&gt;mott’s island&lt;/a&gt;&lt;br /&gt;&lt;a href="http://clinke.com/blog/" target="_blank" title="Clinke Bidding Directory Blog"&gt;Clinke Bidding Directory Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.easy-home-cooking.com/" target="_blank" title="Easy Home Cooking"&gt;Easy Home Cooking&lt;/a&gt;&lt;br /&gt;&lt;a href="http://frenzrss.com/" target="_blank" title="Where friendly bloggers gather"&gt;FrenzRSS.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pinkpoisonstore.com/" target="_blank" title="Pink Poison Store"&gt;Pink Poison Store&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.showmehealthbiz.com/" target="_blank" title="Show Me Health Biz"&gt;Show Me Health Biz&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jess.tub-r.com/" target="_blank" title="The Undeniable Beauty - Revamped"&gt;The Undeniable Beauty - Revamped&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mycrapsheet.blogspot.com/" target="_blank" title="Random Thoughts From A Blank Mind"&gt;An Anonymous Journal&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cyberpartygal.blogspot.com/" target="_blank" title="Ramblings of an e-trader"&gt;Cyberpartygal&lt;/a&gt;&lt;br /&gt;&lt;a href="http://journal.cyberpartygal.com/" target="_blank" title="Blank Canvas"&gt;Blank Canvas&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.cyberpartygal.com/" target="_blank" title="She Rambles On"&gt;She Rambles On&lt;/a&gt;&lt;br /&gt;&lt;a href="http://charcamayne.blogspot.com/" target="_blank" title="charcamayne"&gt;charcamayne&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cybergold.blogspot.com/" target="_blank" title="Money Online | Adsense Money | Tips For Adsense"&gt;Money Online | Adsense Money | Tips For Adsense&lt;/a&gt;&lt;br /&gt;&lt;a href="http://membuatblog.com/" target="_blank" title="Belajar Cara Membuat Blog Wordpress"&gt;Belajar Cara Membuat Blog Wordpress&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sukeri.com/" target="_blank" title="Usahawan Internet"&gt;Usahawan Internet&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pendapataninternet.com/" target="_blank" title="Pendapatan Internet"&gt;Peluang Perniagaaan Internet&lt;/a&gt;&lt;br /&gt;&lt;a href="http://i-nicholas.blogspot.com/" target="_blank" title="iNicholas"&gt;iNicholas&lt;/a&gt;&lt;br /&gt;&lt;a href="http://madeinpenang.blogspot.com/" target="_blank" title="Made In Penang"&gt;Made In Penang&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.syafthegeek.com/" target="_blank" title="Let’s make computing much fun, shall we?"&gt;Syaf The Geek&lt;/a&gt;&lt;br /&gt;&lt;a href="http://snapshotswithchengleng.com/" target="_blank" title="snapshots of life with Cheng Leng"&gt;snapshots of life with Cheng Leng&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.icalvyn.com" target="_blank" title="Your Gateway to IT Officer Knowledge"&gt;iCalvyn.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.hitthenet.org/depressionblog/" target="_blank" title="Blogging Through Depression &amp; Lifer"&gt;Blogging Through Depression &amp; Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://budgetize.blogspot.com/" target="_blank" title="Living within budget"&gt;Trying to Save Money&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wan.pengganas.net/" target="_blank" title="novatech personal playground"&gt;novatech personal playground&lt;/a&gt;&lt;br /&gt;&lt;a href="http://little-world-of-thoughts.blogspot.com/" target="_blank" title="Little World Of Thoughts"&gt;Little World Of Thoughts&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dekolamanda.wordpress.com/" target="_blank" title="Sumber Dekorasi &amp; Laman Anda"&gt;Sumber Dekorasi &amp; Laman Anda&lt;/a&gt;&lt;br /&gt;&lt;a href="http://business-marketings.com/blog/" target="_blank" title="Menarik.com"&gt;Menarik.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lovingdoc.blogspot.com/" target="_blank" title="INSIDE MY MIND"&gt;INSIDE MY MIND&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sleepyhao.blogspot.com/" target="_blank" title="Sleepy As Usual"&gt;Sleepy As Usual&lt;/a&gt;&lt;br /&gt;&lt;a href="http://chriskong57.blogspot.com/" target="_blank" title="thoughts ---&gt; blogs"&gt;thoughts ---&gt; blogs&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.sharingthelife.blogspot.com/" target="_blank" title="Share Everything In Life"&gt;Share Everything In Life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.valuebookshop.com/" target="_blank" title="Helping Parents Help Their Children"&gt;Value Bookshop’s Reading Notes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mamasbagoftricks.blogspot.com/" target="_blank" title="Tips and Tricks to Happy Parenting"&gt;Tips and Tricks to Happy Parenting&lt;/a&gt;&lt;br /&gt;&lt;a href="http://restubiz.wordpress.com/" target="_blank" title="Mencari Ruang Dalam Mengejar Impian"&gt;BERSAMA MEMBINA KEJAYAAN&lt;/a&gt;&lt;br /&gt;&lt;a href="http://queenbs.wordpress.com/" target="_blank" title="THE BITCH CLUB"&gt;THE BITCH CLUB&lt;/a&gt;&lt;br /&gt;&lt;a href="http://conancat.com/" target="_blank" title="datotalrandommessy.grey"&gt;datotalrandommessy.grey&lt;/a&gt;&lt;br /&gt;&lt;a href="http://artmaker.blogspot.com/" target="_blank" title="Artmaker"&gt;Artmaker&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogwawasan.com/" target="_blank" title="BlogWawasan.com"&gt;BlogWawasan.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.life-is-beautiful.com/me/" target="_blank" title="life is beautiful"&gt;life is beautiful&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.adinochang.com/" target="_blank" title="Adino Chang’s Personal Website"&gt;Adino Online&lt;/a&gt;&lt;br /&gt;&lt;a href="http://penang-homes.com/" target="_blank" title="Penang Homes"&gt;Penang Homes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://physical-e.jasonmumbles.com/" target="_blank" title="Physical-e"&gt;Physical-e&lt;/a&gt;&lt;br /&gt;&lt;a href="http://a-moms-diary.blogspot.com/" target="_blank" title="A Mom's Diary"&gt;A Mom's Diary&lt;/a&gt;&lt;br /&gt;&lt;a href="http://healthfreakmommy.blogspot.com/" target="_blank" title="Health Freak Mommy"&gt;Health Freak Mommy&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mrdefinite.com/" target="_blank" title="mrdefinite.com - It’s hot"&gt;mrdefinite.com - It’s hot&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dart.bloopbloop.net/" target="_blank" title="Tracking Movies"&gt;Tracking Movies&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.squarecookies.com/" target="_blank" title="SquareCookies"&gt;SquareCookies&lt;/a&gt;&lt;br /&gt;&lt;a href="http://monkeywong.com/" target="_blank" title="It’s just another monkey’s story"&gt;MonkeyWong&lt;/a&gt;&lt;br /&gt;&lt;a href="http://princesskyliemc.blogspot.com/" target="_blank" title="Voice of a Glass Doll"&gt;Voice of a Glass Doll&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.onlinejer.com/blog/" target="_blank" title="Online Article Directory"&gt;Online Article Directory&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mdbambang.blogspot.com/" target="_blank" title="Bambang"&gt;Bambang&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiselifeadvice.com/" target="_blank" title="Wise Life Advice"&gt;Wise Life Advice&lt;/a&gt;&lt;br /&gt;&lt;a href="http://kaklong.net/" target="_blank" title="Kaklong Online Portal"&gt;Kaklong Online Portal&lt;/a&gt;&lt;br /&gt;&lt;a href="http://venusmaria.blogspot.com/" target="_blank" title="Down Memory Lanes"&gt;Down Memory Lanes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lilnut.net/" target="_blank" title="Sleeping Princess"&gt;Sleeping Princess&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.onlinebisnes.com/blog/" target="_blank" title="Online Bisnes Forex Marketing Blog"&gt;Online Bisnes Forex Marketing Blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://project010.net/" target="_blank" title="People's Revelation On Justice"&gt;project010&lt;/a&gt;&lt;br /&gt;&lt;a href="http://protechwang.com/" target="_blank" title="ProTechWang.Com"&gt;ProTechWang.Com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.bleargh.net/wordpress/" target="_blank" title="Humour Heals Better Than Anything Else"&gt;Bleargh&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pigeoncard.com/" target="_blank" title="We celebrate everybody’s birthday"&gt;Pigeon Card&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pianologist.com/" target="_blank" title="Pianologist"&gt;Pianologist&lt;/a&gt;&lt;br /&gt;&lt;a href="http://kclau.com/" target="_blank" title="KCLau’s Money Tips"&gt;KCLau’s Money Tips&lt;/a&gt;&lt;br /&gt;&lt;a href="http://swiftywriting.blogspot.com" target="_blank" title="The Great Swifty Speaketh"&gt;The Great Swifty Speaketh&lt;/a&gt;&lt;br /&gt;&lt;a href="http://hanselgreetel.blogspot.com/" target="_blank" title="Mr &amp; Mrs. Imran"&gt;Mr &amp; Mrs. Imran&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sarynkay.blogspot.com/" target="_blank" title="If fate allow our destinies to meet"&gt;If fate allow our destinies to meet&lt;/a&gt;&lt;br /&gt;&lt;a href="http://live2eatfoodie.blogspot.com/" target="_blank" title="From chopstix to steak knives"&gt;From chopstix to steak knives&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wheresmynoose.blogspot.com/" target="_blank" title="Where's My Noose?"&gt;Where's My Noose?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dukeamienerev.blogspot.com/" target="_blank" title="Duke Amiene Rev"&gt;Duke Amiene Rev&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mummyinvain.com/" target="_blank" title="Mum &amp; Kids In Wonderland"&gt;Mum &amp; Kids In Wonderland&lt;/a&gt;&lt;br /&gt;&lt;a href="http://yum-yumcuisine.blogspot.com/" target="_blank" title="Yum-Yum Cuisine"&gt;Yum-Yum Cuisine&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.sapphireknight.com/" target="_blank" title="Software, Web Development and Technology"&gt;Software, Web Development and Technology&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wongkokwah.blogspot.com/" target="_blank" title="just another ordinary story"&gt;just another ordinary story&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mummyinvain.blogspot.com/" target="_blank" title="Mummy In Vain's Little World"&gt;Mummy In Vain's Little World&lt;/a&gt;&lt;br /&gt;&lt;a href="http://how-to-solve.blogspot.com/" target="_blank" title="How To Solve Your Question"&gt;How To Solve Your Question&lt;/a&gt;&lt;br /&gt;&lt;a href="http://inverted-fairytales.blogspot.com/" target="_blank" title="FáLLiÑg LéÃVéS"&gt;FáLLiÑg LéÃVéS&lt;/a&gt;&lt;br /&gt;&lt;a href="http://weeks87.blogspot.com/" target="_blank" title="add this to my life"&gt;add this to my life&lt;/a&gt;&lt;br /&gt;&lt;a href="http://encyclopedia.edu.ms/" target="_blank" title="Free Encyclopedia"&gt;Free Encyclopedia&lt;/a&gt;&lt;br /&gt;&lt;a href="http://toppayinglist.blogspot.com/" target="_blank" title="High Paying Keywords"&gt;High Paying Keywords&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mfa-trytest.blogspot.com/" target="_blank" title="try-test"&gt;try-test&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sgpenchala.blogspot.com/" target="_blank" title="the pictures of my life's journey"&gt;arshad's photojourney&lt;/a&gt;&lt;br /&gt;&lt;a href="http://evelynholic.blogspot.com/" target="_blank" title="EvelynHolic"&gt;EvelynHolic&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rajablog.info/blog/" target="_blank" title="RajaBLog.info"&gt;RajaBLog.info&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lovelymummysbay.blogs
