<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0QGQHo-eCp7ImA9WhRbF0Q.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322</id><updated>2012-02-09T05:48:41.450-08:00</updated><category term=".profile" /><category term="install" /><category term="Tab layout" /><category term="flash" /><category term="xvid" /><category term="git-pull" /><category term="C" /><category term="AC2726" /><category term="development" /><category term="device" /><category term="mysql server" /><category term="EVO" /><category term="mencoder" /><category term="ZTE" /><category term="linux-kernel-module" /><category term="OpenSUSE SUSE firewall" /><category term="phone" /><category term="home" /><category term="pppd" /><category term="pointers" /><category term="firefox" /><category term="ppp" /><category term="audio" /><category term="ppa" /><category term="git" /><category term="rails" /><category term="sun" /><category term="internet speed" /><category term="app" /><category term="MapVIew" /><category term="vim" /><category term="transform" /><category term="alltray" /><category term="peer programming" /><category term="image quality" /><category term="limit" /><category term="recordmydesktop" /><category term="knockd" /><category term="pen drive" /><category term="mysql-query-browser" /><category term="*.ld" /><category term="good programming practice" /><category term="pptp-linux" /><category term="Title" /><category term="TabWidget" /><category term="HTC" /><category term="jre" /><category term="PTCL" /><category term="music player" /><category term="pixelation" /><category term="etc" /><category term="internet bandwidth" /><category term="Marker" /><category term="dbms" /><category term="Extreme Programming" /><category term="adb uninstall" /><category term="ctags" /><category term="filesystem" /><category term="bandwidth" /><category term="indicator-applet" /><category term="Administrator" /><category term="signing" /><category term="mongrel" /><category term="collective ownership" /><category term="bandwidth monitoring" /><category term=".bashrc" /><category term="EVDO" /><category term="adb install" /><category term="ubuntu" /><category term="2726" /><category term="grep options linux bash search" /><category term="mysql-admin" /><category term="filesystem hierarchy standard" /><category term="Installation" /><category term="envelope" /><category term="screencast" /><category term="&quot;configure: error: no termcap library found&quot; termcap gdb gdbserver" /><category term="vnstat" /><category term="media player" /><category term="ruby" /><category term=".bash_profile" /><category term="zxing" /><category term="Pair programming" /><category term="linker" /><category term="TabHost" /><category term="XP" /><category term="debugging" /><category term="bin" /><category term="tablet" /><category term="vitual CD" /><category term="iso" /><category term="Bitmap" /><category term="skype" /><category term="pidgin" /><category term="fedora" /><category term="gnu" /><category term="win xp" /><category term="mplayer" /><category term="rpm" /><category term="evolution" /><category term="sqlite3" /><category term="pon" /><category term="encrypt" /><category term="linux directory structure" /><category term="rules.d" /><category term="avi" /><category term="script" /><category term="LG" /><category term="cryptmount" /><category term="ld" /><category term="bare repo" /><category term="firewall" /><category term="git-clone" /><category term="kdocker" /><category term="ogv" /><category term="Android" /><category term="git-checkout" /><category term="VPTCL" /><category term="PTCL Wireless" /><category term="empathy" /><category term="hardware" /><category term="database" /><category term="manual" /><category term="linux-device-drivers" /><category term="firefox 4.0" /><category term="apk" /><category term="bandwidth monitor" /><category term="boot" /><category term="scale" /><category term="git --bare" /><category term="mysql-server" /><category term="10.04" /><category term="dock" /><category term="network monitor" /><category term="fhs" /><category term="tutorial" /><category term="mount" /><category term="intent" /><category term="modem" /><category term="git-push" /><category term="ssh" /><category term="Query browser" /><category term="sbin" /><category term="Motorola" /><category term="programming advice" /><category term="jvm" /><category term="Google" /><category term="traffic monitoring" /><category term="var" /><category term="indicator-messages" /><category term="Canvas" /><category term="Linux" /><category term="netlink" /><category term="usb modem" /><category term="gcc" /><category term="vpn" /><category term="Samsung" /><category term="iptables" /><category term="java 6.0" /><title>Learning</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://binwaheed.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/learning" /><feedburner:info uri="blogspot/learning" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0QGQHo-fip7ImA9WhRbF0Q.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-7528370847650219921</id><published>2012-02-09T05:35:00.000-08:00</published><updated>2012-02-09T05:48:41.456-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T05:48:41.456-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="image quality" /><category scheme="http://www.blogger.com/atom/ns#" term="pixelation" /><category scheme="http://www.blogger.com/atom/ns#" term="transform" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="scale" /><category scheme="http://www.blogger.com/atom/ns#" term="Canvas" /><category scheme="http://www.blogger.com/atom/ns#" term="Bitmap" /><title>Android: How to transform/scale a bitmap and draw it on Canvas without losing quality</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/7528370847650219921/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=7528370847650219921" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7528370847650219921?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7528370847650219921?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/uM7-7Dcfjw4/android-how-to-transformscale-bitmap.html" title="Android: How to transform/scale a bitmap and draw it on Canvas without losing quality" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">If you want to rotate a bitmap and paint it on a Canvas in an Android app, you will probably use Canvas.rotate(degrees) to rotate the canvas and then paint your bitmap using any of Canvas.drawBitmap methods. Nothing fancy but the painted image will be too pixelated - except when the rotation is in multiple of 90 degrees.

The last argument to all Canvas.drawBitmap* methods is a Paint object and 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NPM1y_6D2YA_TaxjoQuANnHa_OA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPM1y_6D2YA_TaxjoQuANnHa_OA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NPM1y_6D2YA_TaxjoQuANnHa_OA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPM1y_6D2YA_TaxjoQuANnHa_OA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/uM7-7Dcfjw4" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2012/02/android-how-to-transformscale-bitmap.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEAR3g_cCp7ImA9WhRWFUo.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-6168292211713822653</id><published>2011-12-17T06:28:00.000-08:00</published><updated>2012-01-02T22:37:26.648-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-02T22:37:26.648-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="device" /><category scheme="http://www.blogger.com/atom/ns#" term="Samsung" /><category scheme="http://www.blogger.com/atom/ns#" term="development" /><category scheme="http://www.blogger.com/atom/ns#" term="tablet" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="debugging" /><category scheme="http://www.blogger.com/atom/ns#" term="phone" /><category scheme="http://www.blogger.com/atom/ns#" term="HTC" /><category scheme="http://www.blogger.com/atom/ns#" term="Motorola" /><category scheme="http://www.blogger.com/atom/ns#" term="rules.d" /><category scheme="http://www.blogger.com/atom/ns#" term="LG" /><category scheme="http://www.blogger.com/atom/ns#" term="Google" /><category scheme="http://www.blogger.com/atom/ns#" term="hardware" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="10.04" /><title>Android: Debugging your application on real hardware (phone/tablet)  on Ubuntu 10.10</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/6168292211713822653/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=6168292211713822653" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/6168292211713822653?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/6168292211713822653?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/MX94t0RGMu4/android-debugging-your-application-on.html" title="Android: Debugging your application on real hardware (phone/tablet)  on Ubuntu 10.10" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-0tJ_AsuIFhM/Tuyrub4fh1I/AAAAAAAAAvU/RbQYoXijTG8/s72-c/Screenshot.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">
If you own an Android smartphone and want to debug your application on your smartphone instead of emulator, you need to declare your application debuggable and setup your device.

To declare your application debuggable, add android:debuggable="true" to  element in your application's AndroidManifest.xml

To setup your device, connect it to your computer with a usb cable and run following command:
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E0caoDhezn71No4c2lpb7P5EcUQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E0caoDhezn71No4c2lpb7P5EcUQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E0caoDhezn71No4c2lpb7P5EcUQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E0caoDhezn71No4c2lpb7P5EcUQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/MX94t0RGMu4" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/12/android-debugging-your-application-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04EQHk5eip7ImA9WhRWFUo.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-412440222291045508</id><published>2011-08-31T07:02:00.000-07:00</published><updated>2012-01-02T22:25:01.722-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-02T22:25:01.722-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="media player" /><category scheme="http://www.blogger.com/atom/ns#" term="music player" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="intent" /><title>Android: How to start MusicPlayer without specifying any music file</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/412440222291045508/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=412440222291045508" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/412440222291045508?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/412440222291045508?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/_Hjbu9VVV-U/android-how-to-start-musicplayer.html" title="Android: How to start MusicPlayer without specifying any music file" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">
Recently I needed to launch standard MusicPlayer from withing my app but without specifying any media file. The requirement was to show the MusicPlayer but not to play anything by default. User can then browse their music file and play any music they want, just as they would do if they launched the music player from home screen.

There are many resources on the web which discuss how to play 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Lu-5Qaug6jnWZv1vP3pD7qT3M50/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lu-5Qaug6jnWZv1vP3pD7qT3M50/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Lu-5Qaug6jnWZv1vP3pD7qT3M50/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lu-5Qaug6jnWZv1vP3pD7qT3M50/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/_Hjbu9VVV-U" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/08/android-how-to-start-musicplayer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMDQ3Y5eCp7ImA9WhdaEU0.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-2887360840940520743</id><published>2011-07-06T00:57:00.000-07:00</published><updated>2011-10-20T02:37:52.820-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-20T02:37:52.820-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="adb install" /><category scheme="http://www.blogger.com/atom/ns#" term="adb uninstall" /><category scheme="http://www.blogger.com/atom/ns#" term="zxing" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Android: How to install and uninstall an apk to Android Emulator from Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/2887360840940520743/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=2887360840940520743" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/2887360840940520743?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/2887360840940520743?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/aDhgFiH3qQI/android-how-to-install-and-uninstall.html" title="Android: How to install and uninstall an apk to Android Emulator from Ubuntu" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">
Android emulator that is installed with the SDK does not have Android Market installed. So you can not install apps from the market. But if you can find the .apk file for the app that you are looking for you can still install it.
Recently I needed to install Zxing Barcode Scanner app to emulator so that I can use barcode scanning in my app. Zxing's website provides the apk for most recent 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/54epmaAQZ6guW6QSk49dceVsQ4k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/54epmaAQZ6guW6QSk49dceVsQ4k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/54epmaAQZ6guW6QSk49dceVsQ4k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/54epmaAQZ6guW6QSk49dceVsQ4k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/aDhgFiH3qQI" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/07/android-how-to-install-and-uninstall.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UERHg7eCp7ImA9WhZVFE4.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-5326862067976930632</id><published>2011-05-23T05:53:00.000-07:00</published><updated>2011-05-26T12:46:45.600-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-26T12:46:45.600-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C" /><category scheme="http://www.blogger.com/atom/ns#" term="programming advice" /><category scheme="http://www.blogger.com/atom/ns#" term="good programming practice" /><category scheme="http://www.blogger.com/atom/ns#" term="pointers" /><category scheme="http://www.blogger.com/atom/ns#" term="peer programming" /><title>DON'T hide pointers</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/5326862067976930632/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=5326862067976930632" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/5326862067976930632?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/5326862067976930632?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/R0knMOB0N2w/don-hide-pointers.html" title="DON&amp;#39;T hide pointers" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>1</thr:total><content type="html">I have seen alot of code where typedefs are used to create pointer types like:

typedef unsigned char *Message;Some people might think that this is a very good thing to do or that it serves some (obscure) purpose but in my opinion such typedefs are plain wrong and evil. They cause alot of errors. Why would a sane person want to hide the fact that a variable of type Message is actually a pointer? 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EcFwMVeAr8qhBRUdEyGUgGKgYhI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EcFwMVeAr8qhBRUdEyGUgGKgYhI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EcFwMVeAr8qhBRUdEyGUgGKgYhI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EcFwMVeAr8qhBRUdEyGUgGKgYhI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/R0knMOB0N2w" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/don-hide-pointers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEENQnc-eyp7ImA9WhRQGEs.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-7115973423705854757</id><published>2011-05-22T12:55:00.000-07:00</published><updated>2011-12-14T03:38:13.953-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-14T03:38:13.953-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MapVIew" /><category scheme="http://www.blogger.com/atom/ns#" term="Title" /><category scheme="http://www.blogger.com/atom/ns#" term="Marker" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Android: Display a Title on a Location Marker (an OverlayItem) in Android MapView</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/7115973423705854757/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=7115973423705854757" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7115973423705854757?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7115973423705854757?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/GZlzyKU01CI/android-display-title-on-marker-in.html" title="Android: Display a Title on a Location Marker (an OverlayItem) in Android MapView" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-gwpI4JvbkXM/TdlqCJmAA6I/AAAAAAAAAcc/I5WLrufuwyE/s72-c/Screenshot.png" height="72" width="72" /><thr:total>2</thr:total><content type="html">

I recently needed to display a title over a location marker in Android MapView. I was realy surprised to find out that there is no direct functionality available for doing this. Although the second argument in OverlayItem's constructor is Title and one would think that there must be some way to display this text as title over the marker but strangely there isnt. Anyway, if you are trying to do 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6r8OUzgyDyyVdndlLcm0bKnuVlc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6r8OUzgyDyyVdndlLcm0bKnuVlc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6r8OUzgyDyyVdndlLcm0bKnuVlc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6r8OUzgyDyyVdndlLcm0bKnuVlc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/GZlzyKU01CI" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/android-display-title-on-marker-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMMQnczfip7ImA9WhdaEU0.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-6029106563249438126</id><published>2011-05-21T11:35:00.000-07:00</published><updated>2011-10-20T02:38:03.986-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-20T02:38:03.986-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PTCL" /><category scheme="http://www.blogger.com/atom/ns#" term="VPTCL" /><category scheme="http://www.blogger.com/atom/ns#" term="PTCL Wireless" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>VPTCL Wireless: Connect to internet using VPTCL from Ubuntu 10.04</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/6029106563249438126/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=6029106563249438126" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/6029106563249438126?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/6029106563249438126?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/2EUFZKw8AsE/vptcl-wireless-connect-to-internet.html" title="VPTCL Wireless: Connect to internet using VPTCL from Ubuntu 10.04" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">
PTCL DSL is great. Its cheap and offers good (reasonable) speed. But PTCL landlines are very untrustworthy and you never know when it will stop working. So I keep VPTCL as my backup internet connection. It is not fast but it works and has almost no down time. PTCL provides drivers and documentation for connecting to internet with VPTCL but everything is for Windows. So you are at loss if you are
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kEFexmn1LPoIGGIXfWsOHxqJWXc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kEFexmn1LPoIGGIXfWsOHxqJWXc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kEFexmn1LPoIGGIXfWsOHxqJWXc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kEFexmn1LPoIGGIXfWsOHxqJWXc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/2EUFZKw8AsE" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/vptcl-wireless-connect-to-internet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMMSHc8eyp7ImA9WhdaEU0.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-3811027569957692014</id><published>2011-05-06T04:13:00.000-07:00</published><updated>2011-10-20T02:38:09.973-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-20T02:38:09.973-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="apk" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Android: "Application not installed" error when trying to install an app from sdcard</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/3811027569957692014/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=3811027569957692014" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3811027569957692014?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3811027569957692014?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/Wjgr1V6gXnQ/android-not-installed-error-when-trying.html" title="Android: &amp;quot;Application not installed&amp;quot; error when trying to install an app from sdcard" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">
When programming for Android using Eclipse + ADT plugin, whenever you build your app, your application's installable file (.apk) is created in Bin directory under the project folder. This apk file can be used to test your application on any Android device. Recently when I wanted to test my app, I decided to use the export wizard to export an apk file instead of using the one created in Bin 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hpqX4E-WyqDiyqO07IuTz1F0aF4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hpqX4E-WyqDiyqO07IuTz1F0aF4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hpqX4E-WyqDiyqO07IuTz1F0aF4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hpqX4E-WyqDiyqO07IuTz1F0aF4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/Wjgr1V6gXnQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/android-not-installed-error-when-trying.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04GRn4zeyp7ImA9WhZXFko.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-1595527201777145617</id><published>2011-05-06T04:05:00.001-07:00</published><updated>2011-05-06T04:05:27.083-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-06T04:05:27.083-07:00</app:edited><title>How to enable ARM1136JFS (ARM v6) MMU to have one to one mapping between physical and virtual address space?</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/1595527201777145617/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=1595527201777145617" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/1595527201777145617?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/1595527201777145617?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/Ga3vicPZv2Y/how-to-enable-arm1136jfs-arm-v6-mmu-to.html" title="How to enable ARM1136JFS (ARM v6) MMU to have one to one mapping between physical and virtual address space?" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">Sometime ago I wanted to enable L2 cache on an ARM1136-JFS based processor. The problem with this ARM core is that you cant enable L2 cache without enabling MMU and enabling MMU means to have a physical to virtual address mapping. But I didnt need any virtual memory and only wanted to enable L2 cache. The only way that I could think of was to create a one-to-one physical-to-virtual address 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4c6xME7-HYz6itBWxd-BX4BctYY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4c6xME7-HYz6itBWxd-BX4BctYY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4c6xME7-HYz6itBWxd-BX4BctYY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4c6xME7-HYz6itBWxd-BX4BctYY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/Ga3vicPZv2Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/how-to-enable-arm1136jfs-arm-v6-mmu-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MFQ305eyp7ImA9WhdQEU4.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-2513309102246131527</id><published>2011-05-02T02:16:00.000-07:00</published><updated>2011-08-11T23:43:32.323-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T23:43:32.323-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="app" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="signing" /><title>Android: How to sign your application</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/2513309102246131527/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=2513309102246131527" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/2513309102246131527?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/2513309102246131527?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/XmJm2RdqmkA/android-how-to-sign-your-application.html" title="Android: How to sign your application" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">If you want to install and run your Android app on your phone or if you want to market it, you need to sign your app. Signing apps helps prevent the user from fraudulent apps. Signing your app is simple and can be done with standard tools i.e keytool and jarsigner that come with a Java JDK. To sign your app first generate a valid key. You can use the following command for that purpose:

 keytool 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qXo-QrAmdhagshvGFq3r5UXPa-A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qXo-QrAmdhagshvGFq3r5UXPa-A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qXo-QrAmdhagshvGFq3r5UXPa-A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qXo-QrAmdhagshvGFq3r5UXPa-A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/XmJm2RdqmkA" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/05/android-how-to-sign-your-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YAQXg9fyp7ImA9WhZXFkU.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-4178329948927098041</id><published>2011-04-30T13:37:00.000-07:00</published><updated>2011-05-06T04:25:40.667-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-06T04:25:40.667-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tab layout" /><category scheme="http://www.blogger.com/atom/ns#" term="TabHost" /><category scheme="http://www.blogger.com/atom/ns#" term="TabWidget" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Android Tabbed Layout with single activity.</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/4178329948927098041/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=4178329948927098041" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4178329948927098041?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4178329948927098041?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/vi6T6boDyIU/android-tabbed-layout-with-single.html" title="Android Tabbed Layout with single activity." /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">In Android, the content for each tab in a Tab Layout can be implemented in one of two ways:
1. Use tabs to switch views within the same activity.2. Use tabs to switch between different activities.The tutorial in the Android documentation shows how to do it the 2nd way i.e use tabs to switch between activities but I couldnt find a reasonable example of the first case so I have created one and the 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F9Qx80i2uwR_iXN05aFWoW3TwzE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F9Qx80i2uwR_iXN05aFWoW3TwzE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F9Qx80i2uwR_iXN05aFWoW3TwzE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F9Qx80i2uwR_iXN05aFWoW3TwzE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/vi6T6boDyIU" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/04/android-tabbed-layout-with-single.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUFSHgyeSp7ImA9WhZSE0Q.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-7066992748680932457</id><published>2011-03-29T02:16:00.000-07:00</published><updated>2011-03-29T02:16:59.691-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-29T02:16:59.691-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="firefox 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Install Firefox 4 in Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/7066992748680932457/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=7066992748680932457" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7066992748680932457?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7066992748680932457?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/rdpM7dbnfPg/install-firefox-4-in-ubuntu.html" title="Install Firefox 4 in Ubuntu" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>1</thr:total><content type="html">Firefox 4 is available for Ubuntu 10.04 and 10.10. To install it use the following commands

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
This will update your Firefox to version 4. Note that this will not install Firefox 4 side by side with your previous version as used to be the case with beta versions. As this installs the stable release 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FXD5o-VHtDAI_iCimN3A1X5Uo_A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FXD5o-VHtDAI_iCimN3A1X5Uo_A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FXD5o-VHtDAI_iCimN3A1X5Uo_A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FXD5o-VHtDAI_iCimN3A1X5Uo_A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/rdpM7dbnfPg" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/03/install-firefox-4-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQAR3o4eSp7ImA9Wx9bGUQ.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-7994610332848656476</id><published>2011-03-01T07:28:00.000-08:00</published><updated>2011-03-01T07:29:06.431-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-01T07:29:06.431-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="git --bare" /><category scheme="http://www.blogger.com/atom/ns#" term="git-push" /><category scheme="http://www.blogger.com/atom/ns#" term="git" /><category scheme="http://www.blogger.com/atom/ns#" term="git-clone" /><category scheme="http://www.blogger.com/atom/ns#" term="bare repo" /><category scheme="http://www.blogger.com/atom/ns#" term="git-pull" /><category scheme="http://www.blogger.com/atom/ns#" term="git-checkout" /><title>git bare repos</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/7994610332848656476/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=7994610332848656476" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7994610332848656476?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7994610332848656476?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/glJlps4PROY/git-bare-repos.html" title="git bare repos" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">A normal git repository is a directory that contains:
Our files: Files and directories that we have created and which contain our data. These files and directories are collectively known as working tree.
.git directory: This folder contains all of the Git's control files.
A bare git repository does not have working tree and it also does not have .git directory either. All of the Git's control and
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/62gah2iGgtE4vPfNZmDuHGGQufU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/62gah2iGgtE4vPfNZmDuHGGQufU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/62gah2iGgtE4vPfNZmDuHGGQufU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/62gah2iGgtE4vPfNZmDuHGGQufU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/glJlps4PROY" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/03/git-bare-repos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHRH0yfSp7ImA9Wx9bFUk.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-5278212712933292944</id><published>2011-02-24T01:55:00.000-08:00</published><updated>2011-02-24T01:55:35.395-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-24T01:55:35.395-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="grep options linux bash search" /><title>5 useful Grep options that you must know</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/5278212712933292944/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=5278212712933292944" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/5278212712933292944?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/5278212712933292944?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/Tl1JhjDWkN8/5-useful-grep-options-that-you-must.html" title="5 useful Grep options that you must know" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">Grep is a very handy utility for searching for a pattern in files. While it has many options, every grep user should at-least know the following five options


-R, -r, --recursive
This option makes grep search all the files in the specified directory and its sub-directories, recursively. This specifically comes in handy for programmers when they are looking for the declaration or all uses of some
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uMFojQnwvibeCQry26DoopVZyqg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uMFojQnwvibeCQry26DoopVZyqg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uMFojQnwvibeCQry26DoopVZyqg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uMFojQnwvibeCQry26DoopVZyqg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/Tl1JhjDWkN8" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/02/5-useful-grep-options-that-you-must.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8MQno6fSp7ImA9Wx9UFEw.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-480838326977716669</id><published>2011-02-10T01:32:00.000-08:00</published><updated>2011-02-10T23:54:43.415-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-10T23:54:43.415-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OpenSUSE SUSE firewall" /><title>OpenSUSE: turn firewall off</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/480838326977716669/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=480838326977716669" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/480838326977716669?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/480838326977716669?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/7u097Smi76g/opensuse-turn-firewall-off.html" title="OpenSUSE: turn firewall off" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">To disable the firewall on OpenSUSE use the following command as root user:
/sbin/SuSEfirewall2 offTo turn it back on use:
/sbin/SuSEfirewall2 on
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JZkNOfqx7uQFR9XCxr0nQ-cXIO8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JZkNOfqx7uQFR9XCxr0nQ-cXIO8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JZkNOfqx7uQFR9XCxr0nQ-cXIO8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JZkNOfqx7uQFR9XCxr0nQ-cXIO8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/7u097Smi76g" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/02/opensuse-turn-firewall-off.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4EQX85cCp7ImA9Wx9UFEw.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-926818635595556279</id><published>2011-01-30T01:50:00.000-08:00</published><updated>2011-02-10T23:55:00.128-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-10T23:55:00.128-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="indicator-messages" /><category scheme="http://www.blogger.com/atom/ns#" term="envelope" /><category scheme="http://www.blogger.com/atom/ns#" term="pidgin" /><category scheme="http://www.blogger.com/atom/ns#" term="empathy" /><category scheme="http://www.blogger.com/atom/ns#" term="indicator-applet" /><title>Remove envelope icon from Indicator Applet</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/926818635595556279/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=926818635595556279" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/926818635595556279?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/926818635595556279?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/RO4mUGuy7gM/remove-envelope-icon-from-indicator.html" title="Remove envelope icon from Indicator Applet" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">The envelope icon in Indicator Applet really annoys me. It unnecessarily increases the number of clicks needed to open an application like Empathy or Pidgin. To remove that icon uninstall the indicator-messages package using following command:
sudo apt-get remove indicator-messagesThis makes that envelope icon disappear and applications start appearing in Notification Area.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NZktpPslM981I773ILC3m7NyU6U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZktpPslM981I773ILC3m7NyU6U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NZktpPslM981I773ILC3m7NyU6U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZktpPslM981I773ILC3m7NyU6U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/RO4mUGuy7gM" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/01/remove-envelope-icon-from-indicator.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ANR3wzeSp7ImA9Wx9WFEk.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-3340524892884292577</id><published>2011-01-19T06:51:00.000-08:00</published><updated>2011-01-19T07:09:56.281-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-19T07:09:56.281-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="limit" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="internet speed" /><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth" /><category scheme="http://www.blogger.com/atom/ns#" term="internet bandwidth" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Limit Internet Bandwidth Usage (internet speed) in Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/3340524892884292577/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=3340524892884292577" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3340524892884292577?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3340524892884292577?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/Lux7SRgMNv4/limit-internet-bandwidth-usage-internet.html" title="Limit Internet Bandwidth Usage (internet speed) in Ubuntu" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_zIIrKMHL_6A/TTb44tUWipI/AAAAAAAAAUk/jAlA1BqlzMg/s72-c/console.jpg" height="72" width="72" /><thr:total>1</thr:total><content type="html">There are many reasons one would want to limit internet bandwidth/speed on a system e.g you dont want your siblings to choke your internet or, if you are a network admin, you dont want one user, downloading a big movie over torrent, to hurt every one else's surfing.

To limit internet bandwidth on a Ubuntu machine install wondershaper. For this open a terminal and type following command:
sudo 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JNgTjF0lwcM0Wa6LF75T4wVp5sw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JNgTjF0lwcM0Wa6LF75T4wVp5sw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JNgTjF0lwcM0Wa6LF75T4wVp5sw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JNgTjF0lwcM0Wa6LF75T4wVp5sw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/Lux7SRgMNv4" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/01/limit-internet-bandwidth-usage-internet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkACQX8_eip7ImA9Wx9WFEk.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-4989937171596363729</id><published>2011-01-19T06:16:00.000-08:00</published><updated>2011-01-19T06:52:40.142-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-19T06:52:40.142-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C" /><category scheme="http://www.blogger.com/atom/ns#" term="gnu" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="ld" /><category scheme="http://www.blogger.com/atom/ns#" term="*.ld" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><category scheme="http://www.blogger.com/atom/ns#" term="linker" /><title>Using LD, the GNU Linker, to create a relocatable section of code or data</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/4989937171596363729/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=4989937171596363729" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4989937171596363729?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4989937171596363729?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/SMxbyFuINo0/using-ld-gnu-linker-to-create.html" title="Using LD, the GNU Linker, to create a relocatable section of code or data" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">Relocatable sections are used when you cant load a section of code/data directly where you want. This may be for many reasons for example the memory where the code is supposed to go needs to be initialized first as is the case in ROM images.

For a relocatable section you need two addresses:
1. Relocation Address
2. Load Address

Relocation Address is the address for which the section is linked. 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oDesqt08PAchZdPME5pO39l9LMw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oDesqt08PAchZdPME5pO39l9LMw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oDesqt08PAchZdPME5pO39l9LMw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oDesqt08PAchZdPME5pO39l9LMw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/SMxbyFuINo0" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2011/01/using-ld-gnu-linker-to-create.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UDQnk9eSp7ImA9WhZXFUw.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-8578795107906554439</id><published>2010-12-21T22:55:00.000-08:00</published><updated>2011-05-04T05:14:33.761-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-04T05:14:33.761-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="firefox 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="ppa" /><title>Install Firefox 4 beta (Minefield) on Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/8578795107906554439/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=8578795107906554439" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/8578795107906554439?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/8578795107906554439?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/1kp8YeQfzHo/install-firefox-4-beta-minefield-on.html" title="Install Firefox 4 beta (Minefield) on Ubuntu" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">UPDATE: Firefox 4 (stable version) is now available for Ubuntu. So you can install it instead. Instructions on installing Firefox 4 can be found here

To install Firefox 4 beta on Ubuntu execute following commands
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppasudo apt-get updatesudo apt-get -y install firefox-4.0The new browser will appear as Minefield 4.0 Web Browser in Applications Menu. 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v68sx1sn-LyM82GdLvDaNR1GFJ4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v68sx1sn-LyM82GdLvDaNR1GFJ4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v68sx1sn-LyM82GdLvDaNR1GFJ4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v68sx1sn-LyM82GdLvDaNR1GFJ4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/1kp8YeQfzHo" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/install-firefox-4-beta-minefield-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8HQXcyfSp7ImA9Wx9QFEo.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-3392014326520130056</id><published>2010-12-19T10:01:00.000-08:00</published><updated>2010-12-27T11:23:50.995-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-27T11:23:50.995-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="network monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth monitoring" /><category scheme="http://www.blogger.com/atom/ns#" term="traffic monitoring" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Track Your Internet Bandwidth Usage with NTM (Network Traffic Monitor)</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/3392014326520130056/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=3392014326520130056" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3392014326520130056?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3392014326520130056?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/z7sG5vUkdqM/track-your-internet-bandwidth-usage.html" title="Track Your Internet Bandwidth Usage with NTM (Network Traffic Monitor)" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zIIrKMHL_6A/TQ5DGObWbwI/AAAAAAAAAT0/2NjcCsfCcLA/s72-c/ntm.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">For those of us with limited network connection Network Traffic Monitor (NTM) is a very helpful tool. It can monitor upload, download or total network traffic. It can also monitor time spent online and lot of other things. NTM is not available in Ubuntu repositories so you will have to download the .deb from here and install it. After installing start NTM from Applications-&amp;gt;internet-&amp;gt;NTM. Now 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tMWLlqTsZ4g5Lf4VwnaPqxi7N64/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tMWLlqTsZ4g5Lf4VwnaPqxi7N64/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tMWLlqTsZ4g5Lf4VwnaPqxi7N64/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tMWLlqTsZ4g5Lf4VwnaPqxi7N64/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/z7sG5vUkdqM" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/track-your-internet-bandwidth-usage.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8HSXo_fip7ImA9WhZXFkU.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-1270699051603863299</id><published>2010-12-18T11:51:00.000-08:00</published><updated>2011-05-06T04:20:38.446-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-06T04:20:38.446-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ZTE" /><category scheme="http://www.blogger.com/atom/ns#" term="PTCL" /><category scheme="http://www.blogger.com/atom/ns#" term="modem" /><category scheme="http://www.blogger.com/atom/ns#" term="2726" /><category scheme="http://www.blogger.com/atom/ns#" term="AC2726" /><category scheme="http://www.blogger.com/atom/ns#" term="usb modem" /><category scheme="http://www.blogger.com/atom/ns#" term="EVO" /><category scheme="http://www.blogger.com/atom/ns#" term="EVDO" /><title>Connect To PTCL EVDO(Evo) from Ubuntu Linux - Part 2</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/1270699051603863299/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=1270699051603863299" title="22 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/1270699051603863299?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/1270699051603863299?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/sbHvY1VsMMQ/connect-to-ptcl-evdoevo-from-ubuntu.html" title="Connect To PTCL EVDO(Evo) from Ubuntu Linux - Part 2" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_zIIrKMHL_6A/TQ0OBYPLiKI/AAAAAAAAATk/_nGYi4Zed5g/s72-c/pic1.jpg" height="72" width="72" /><thr:total>22</thr:total><content type="html">Starting from Ubuntu 9.10, Network Manager uses ModemManager to communicate with mobile broadband (CDMA, UMTS and others) cards. Ubuntu 9.10 uses version 0.2 of ModemManager which most probably has some bug because of which few modems dont get recognized. ZTE AC2726, the modem which comes with PTCL EVDO, is one of the unfortunate ones. In a previous post we have covered how to connect to PTCL 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WskS9FWm_hdEWITJwE5wDfUxYkM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WskS9FWm_hdEWITJwE5wDfUxYkM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WskS9FWm_hdEWITJwE5wDfUxYkM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WskS9FWm_hdEWITJwE5wDfUxYkM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/sbHvY1VsMMQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/connect-to-ptcl-evdoevo-from-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8CQXo8cCp7ImA9Wx9QFEo.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-4022425479024288565</id><published>2010-12-13T22:59:00.000-08:00</published><updated>2010-12-27T11:24:20.478-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-27T11:24:20.478-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="recordmydesktop" /><category scheme="http://www.blogger.com/atom/ns#" term="ogv" /><category scheme="http://www.blogger.com/atom/ns#" term="mencoder" /><category scheme="http://www.blogger.com/atom/ns#" term="xvid" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="screencast" /><category scheme="http://www.blogger.com/atom/ns#" term="avi" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="mplayer" /><title>Creating a screencast in Ubuntu Linux</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/4022425479024288565/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=4022425479024288565" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4022425479024288565?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/4022425479024288565?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/uivGHmsPD4U/creating-screencast-in-ubuntu-linux.html" title="Creating a screencast in Ubuntu Linux" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_zIIrKMHL_6A/TQcMK1aEIBI/AAAAAAAAATI/v6MNBsmGdCY/s72-c/Screenshot-1.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">To create a screen cast in Ubuntu we need three softwares
recordmydesktop for capturing and recording the desktop
gtk-recordmydesktop, a graphical frontend for recordmydesktop
mencoder for encoding the recorded video to xvid or any other format.

If you also need to record your voice in the screencast then you will need a properly configured sound card along with a decent microphone. You can test
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/C8bxHSxXOdQo0GqQPdEUVwbfhAk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C8bxHSxXOdQo0GqQPdEUVwbfhAk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/C8bxHSxXOdQo0GqQPdEUVwbfhAk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C8bxHSxXOdQo0GqQPdEUVwbfhAk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/uivGHmsPD4U" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/creating-screencast-in-ubuntu-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEMRno5eSp7ImA9Wx9REEU.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-8648446976575307322</id><published>2010-12-11T09:07:00.000-08:00</published><updated>2010-12-11T09:14:47.421-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-11T09:14:47.421-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Linux Tutorial 1 - Installing Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/8648446976575307322/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=8648446976575307322" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/8648446976575307322?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/8648446976575307322?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/d1iJNzjbZac/linux-tutorial-1-installing-ubuntu.html" title="Linux Tutorial 1 - Installing Ubuntu" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>1</thr:total><content type="html">This is my first attempt at creating a screencast, a video tutorial explaining the installation of Ubuntu Linux.

Part 1: Installation




Part 2: Post Install
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/onUEpHoXFBRSCuIR2AMep9_IeGU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/onUEpHoXFBRSCuIR2AMep9_IeGU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/onUEpHoXFBRSCuIR2AMep9_IeGU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/onUEpHoXFBRSCuIR2AMep9_IeGU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/d1iJNzjbZac" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/linux-tutorial-1-installing-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IMSH08eCp7ImA9Wx9SGEU.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-7890669122323024000</id><published>2010-12-09T01:01:00.000-08:00</published><updated>2010-12-09T01:06:29.370-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-09T01:06:29.370-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="network monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth monitoring" /><category scheme="http://www.blogger.com/atom/ns#" term="vnstat" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Simple network usage tracking with vnstat</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/7890669122323024000/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=7890669122323024000" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7890669122323024000?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/7890669122323024000?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/QEKhjUFINVc/simple-network-usage-tracking-with.html" title="Simple network usage tracking with vnstat" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zIIrKMHL_6A/TQCaAqfyRVI/AAAAAAAAASc/RqnHc9zvB1A/s72-c/Screenshot.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">If you use Linux, you can use vnstat to track your network usage.
Install vnstat using
sudo apt-get install vnstatthen configure it to monitor a network interface
sudo vnstat -u -iyou can find your network interface name using ifconfig or ip addr command. In my case its eth0

Now to see your network usage issue vnstat command


to view daily, weekly or monthly stats you can use -d, -w or -m 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AVIPC7uBy2og1Xa4MKOfSWsbd9Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVIPC7uBy2og1Xa4MKOfSWsbd9Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AVIPC7uBy2og1Xa4MKOfSWsbd9Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVIPC7uBy2og1Xa4MKOfSWsbd9Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/QEKhjUFINVc" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/12/simple-network-usage-tracking-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IBRn49eSp7ImA9Wx9SEUU.&quot;"><id>tag:blogger.com,1999:blog-6777661106561028322.post-3150546132953067481</id><published>2010-11-30T01:14:00.000-08:00</published><updated>2010-11-30T22:39:17.061-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-30T22:39:17.061-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".profile" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term=".bash_profile" /><category scheme="http://www.blogger.com/atom/ns#" term=".bashrc" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>About .bashrc .bash_profile .profile .bash_login and /etc/profile</title><link rel="replies" type="application/atom+xml" href="http://binwaheed.blogspot.com/feeds/3150546132953067481/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6777661106561028322&amp;postID=3150546132953067481" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3150546132953067481?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6777661106561028322/posts/default/3150546132953067481?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/learning/~3/mduVoSSzKoE/about-bashrc-bashprofile-profile.html" title="About .bashrc .bash_profile .profile .bash_login and /etc/profile" /><author><name>Adnan</name><uri>http://www.blogger.com/profile/08004557701483380623</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/_zIIrKMHL_6A/S9fv7Wpju8I/AAAAAAAAAPw/cHnAcSPNbq4/S220/DSC00018.JPG" /></author><thr:total>0</thr:total><content type="html">Have you ever wondered what is the purpose of ~/.bashrc ~/.bash_profile ~/.bash_login ~/.profile and /etc/profile files in Linux.
Bash is the default shell on most of the Linux distributions like Fedora and Ubuntu. If you take a look at man pages for Bash, you will get the following explanation:When bash is invoked as an interactive login shell, or as a  non-interactive  shell with the --login 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DojXDR1c4qCs0DDztNlbFk-pmaI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DojXDR1c4qCs0DDztNlbFk-pmaI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DojXDR1c4qCs0DDztNlbFk-pmaI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DojXDR1c4qCs0DDztNlbFk-pmaI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/learning/~4/mduVoSSzKoE" height="1" width="1"/&gt;</content><feedburner:origLink>http://binwaheed.blogspot.com/2010/11/about-bashrc-bashprofile-profile.html</feedburner:origLink></entry></feed>

