<?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:blogger='http://schemas.google.com/blogger/2008' 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-8599868743041176469</id><updated>2024-09-02T00:44:10.161-07:00</updated><category term="Ubuntu Proxy"/><category term="Ubuntu Terminal"/><category term="Ubuntu Network"/><category term="Ubuntu Arabic"/><category term="Ubuntu Power Consumption"/><category term="Ubuntu PHP"/><category term="Blogger Tutorial"/><category term="Ubuntu Apache"/><category term="Ubuntu Shell"/><category term="Ubuntu Subversion"/><category term="Ubuntu Upgrade"/><category term="Vim"/><title type='text'>Linux Ubuntu for Daily Life :)</title><subtitle type='html'>Avoid the Gates of Hell. Use Linux. (Anonymous)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-6624782659552793026</id><published>2011-09-12T21:34:00.000-07:00</published><updated>2011-09-12T21:38:43.989-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Terminal"/><title type='text'>How to Delete One Word in Terminal</title><content type='html'>&lt;div&gt;Every day working with Terminal, we need a lot of shortcut to speed up our task. One of my frequently used shortcut is deleting one word in the left side of cursor:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre&gt;Alt + Backspace&lt;pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;Enjoy!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/6624782659552793026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/6624782659552793026?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6624782659552793026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6624782659552793026'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/09/how-to-delete-one-word-in-terminal.html' title='How to Delete One Word in Terminal'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-8603479580419489103</id><published>2011-09-12T03:32:00.000-07:00</published><updated>2011-09-12T03:35:05.282-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Vim"/><title type='text'>How to Delete One Line in Vim</title><content type='html'>This is the way I delete one line in Vim&lt;br /&gt;&lt;pre&gt;:d&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/8603479580419489103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/8603479580419489103?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8603479580419489103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8603479580419489103'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/09/how-to-delete-one-line-in-vim.html' title='How to Delete One Line in Vim'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-25772652336857123</id><published>2011-05-27T03:57:00.000-07:00</published><updated>2011-05-27T04:00:34.776-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>[Ubuntu] How to Launch Network Proxy Properties in Terminal</title><content type='html'>I want to bypass System*Preferences*Network Proxy by using a command line interface in Terminal. After hacking Ubuntu Alt+F2 and command completion in Terminal for a while, I found the way how to launch Network Proxy Properties in Terminal. Here is the command line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$ gnome-network-properties&lt;/pre&gt;&lt;br /&gt;Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/25772652336857123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/25772652336857123?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/25772652336857123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/25772652336857123'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/ubuntu-how-to-launch-network-proxy.html' title='[Ubuntu] How to Launch Network Proxy Properties in Terminal'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-5377529243166905397</id><published>2011-05-10T02:31:00.000-07:00</published><updated>2011-05-10T02:38:31.536-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Terminal"/><title type='text'>How to Check Ubuntu Version in Terminal</title><content type='html'>I just curious about how to check Ubuntu version via Terminal. Since I often remote a server and I don&#39;t know what version is. Here is the command:&lt;br /&gt;&lt;pre&gt;lsb_release -a&lt;/pre&gt;Then it will print out some messages like this:&lt;br /&gt;&lt;pre&gt;No LSB modules are available.&lt;br /&gt;Distributor ID: Ubuntu&lt;br /&gt;Description: Ubuntu 11.04&lt;br /&gt;Release: 11.04&lt;br /&gt;Codename: natty&lt;/pre&gt;So I has already know what Ubuntu version used in server. It is Natty. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/5377529243166905397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/5377529243166905397?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5377529243166905397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5377529243166905397'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/how-to-check-ubuntu-version-in-terminal.html' title='How to Check Ubuntu Version in Terminal'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-5764108129767862543</id><published>2011-05-10T02:22:00.001-07:00</published><updated>2011-05-10T02:28:16.728-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Terminal"/><title type='text'>Warning: Remote Host Identification has Changed!</title><content type='html'>When we remote a server using ssh, sometimes we get a warning message like this:&lt;br /&gt;&lt;h3&gt;Warning: Remote Host Identification has Changed!&lt;/h3&gt;What should we do? Just follow a command below the warning.&lt;br /&gt;&lt;pre&gt;ssh-keygen -f &quot;/home/hudan/.ssh/known_hosts&quot; -R server_ip_address&lt;/pre&gt;Enjoy :).</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/5764108129767862543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/5764108129767862543?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5764108129767862543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5764108129767862543'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/warning-remote-host-identification-has.html' title='Warning: Remote Host Identification has Changed!'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-5000310590823430679</id><published>2011-05-09T22:49:00.000-07:00</published><updated>2011-05-10T00:02:09.459-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Upgrade"/><title type='text'>How to Upgrade to Natty</title><content type='html'>Usually, I upgrade my Ubuntu box by first &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/linux-ubuntu-how-to-set-repository-in.html&quot;&gt;changing source list file&lt;/a&gt;. Then issuing this two simple command in Terminal:&lt;br /&gt;&lt;pre&gt;sudo apt-get update&lt;br /&gt;sudo apt-get dist-upgrade&lt;/pre&gt;Unfortunately, when I upgrade my Maverick to Natty, those two don&#39;t work. Then I googled it and find simpler method. Here we go:&lt;br /&gt;&lt;br /&gt;# Look for Update Manager menu. Then click Install Update button (it is located in bottom left of dialog box).&lt;br /&gt;&lt;br /&gt;# Wait for approximately three hours (this is based on your internet speed)&lt;br /&gt;&lt;br /&gt;# Restart your PC.&lt;br /&gt;&lt;br /&gt;Welcome to the new look of Natty. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/5000310590823430679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/5000310590823430679?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5000310590823430679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5000310590823430679'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/how-to-upgrade-to-natty.html' title='How to Upgrade to Natty'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-3289912941836352563</id><published>2011-05-09T22:39:00.000-07:00</published><updated>2011-05-09T23:47:20.232-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>Network Proxy: Apply System-Wide</title><content type='html'>In several latest version of Ubuntu, we have Network Proxy Preferences menu. In this article, I want to show the effect of Apply System-Wide option. One of this effect is when we work in Terminal.&lt;br /&gt;&lt;br /&gt;# Before applying system-wide proxy, try echoing proxy in Terminal and it will show nothing&lt;br /&gt;&lt;pre&gt;echo $http_proxy&lt;/pre&gt;# After choosing this option, close Terminal. Then try echoing again and you will get message like this&lt;br /&gt;&lt;pre&gt;http://username:password@proxy_ip_address:port/&lt;/pre&gt;It means you have applied proxy system-wide option. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/3289912941836352563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/3289912941836352563?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/3289912941836352563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/3289912941836352563'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/network-proxy-apply-system-wide.html' title='Network Proxy: Apply System-Wide'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-8631854329682111275</id><published>2011-05-05T07:19:00.000-07:00</published><updated>2011-05-10T00:02:24.087-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Arabic"/><title type='text'>Ubuntu Arabic Keyboard Layout</title><content type='html'>Just wanna share Arabic keyboard layout in Ubuntu. Maybe you want to print it or just to look at it :). Don&#39;t forget to click the image to enlarge.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzJzK1nMavmqnWJQ69ewXXikaPOYRLB303ghhbJucB9IXFlatCKI7kqoW9-FXenXOfU1zAV0evo08bLN51z1k_KwpAzsQrGp7Z2q6vESegWHlvyloPpkaLt_9BjnvqJqBqmmfENaHH1w/s1600/ubuntu-arabic-keyboard-layout.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 102px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzJzK1nMavmqnWJQ69ewXXikaPOYRLB303ghhbJucB9IXFlatCKI7kqoW9-FXenXOfU1zAV0evo08bLN51z1k_KwpAzsQrGp7Z2q6vESegWHlvyloPpkaLt_9BjnvqJqBqmmfENaHH1w/s320/ubuntu-arabic-keyboard-layout.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603236975924598274&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/8631854329682111275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/8631854329682111275?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8631854329682111275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8631854329682111275'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/ubuntu-arabic-keyboard-layout.html' title='Ubuntu Arabic Keyboard Layout'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzJzK1nMavmqnWJQ69ewXXikaPOYRLB303ghhbJucB9IXFlatCKI7kqoW9-FXenXOfU1zAV0evo08bLN51z1k_KwpAzsQrGp7Z2q6vESegWHlvyloPpkaLt_9BjnvqJqBqmmfENaHH1w/s72-c/ubuntu-arabic-keyboard-layout.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-6999552525069621572</id><published>2011-05-05T06:56:00.000-07:00</published><updated>2011-05-10T00:02:40.777-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>How to Set Skype Proxy in Ubuntu</title><content type='html'>Hi... we are still talking about proxy :). Now, we want to play Skype and we have to set proxy first. This how-to has been tested in Ubuntu Maverick Meerkat. Here we go:&lt;br /&gt;&lt;br /&gt;# When you launch Skype, you will get icon in your top-right panel&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCYG9XrMbhpusno2T8h8P0ECpGJOiwgNdg1cZ3p-5LL26vBWF1tbK-uB41PESnciVFgrKImsdsuGSC_kGqkXMJxAmiuw4YODNCh9J-ilk9ixLnfK4aLPBS-ptlucGi_253Eowl-5VlPtU/s1600/ubuntu-skype.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 250px; height: 98px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCYG9XrMbhpusno2T8h8P0ECpGJOiwgNdg1cZ3p-5LL26vBWF1tbK-uB41PESnciVFgrKImsdsuGSC_kGqkXMJxAmiuw4YODNCh9J-ilk9ixLnfK4aLPBS-ptlucGi_253Eowl-5VlPtU/s320/ubuntu-skype.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603231821987846626&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;# Right click it and choose Options&lt;br /&gt;&lt;br /&gt;# Change proxy ip address, username, and password as appropriate (click image to enlarge)&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi5b4-veXuMYbTkAUwoMM0WLFJ1fHirYWHHarB31d6RtCiM_ltGhdGz_O-pYwf6LQzVRzICLuMGBUd24oP5ZGMxIH4ppd6z26QwqKr1Wl-JuhxRsovrAxAXSEtwhdHQj3TmYKyY3UVnpM/s1600/ubuntu-skype-2.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 217px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi5b4-veXuMYbTkAUwoMM0WLFJ1fHirYWHHarB31d6RtCiM_ltGhdGz_O-pYwf6LQzVRzICLuMGBUd24oP5ZGMxIH4ppd6z26QwqKr1Wl-JuhxRsovrAxAXSEtwhdHQj3TmYKyY3UVnpM/s320/ubuntu-skype-2.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5603231966162182514&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;We are done here :). Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/6999552525069621572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/6999552525069621572?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6999552525069621572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6999552525069621572'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/how-to-set-skype-proxy-in-ubuntu.html' title='How to Set Skype Proxy in Ubuntu'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCYG9XrMbhpusno2T8h8P0ECpGJOiwgNdg1cZ3p-5LL26vBWF1tbK-uB41PESnciVFgrKImsdsuGSC_kGqkXMJxAmiuw4YODNCh9J-ilk9ixLnfK4aLPBS-ptlucGi_253Eowl-5VlPtU/s72-c/ubuntu-skype.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-2129353543313948742</id><published>2011-05-01T07:23:00.000-07:00</published><updated>2011-05-10T00:02:57.072-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>Export Proxy in Ubuntu Terminal</title><content type='html'>Before working with http proxy, you must set it first. When you are on terminal mode, here we go:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;export http_proxy=&quot;http://proxy_ip_address:port&quot;&lt;br /&gt;export http_proxy_user=username&lt;br /&gt;export http_proxy_passwd=password&lt;/pre&gt;&lt;br /&gt;Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/2129353543313948742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/2129353543313948742?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2129353543313948742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2129353543313948742'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/05/export-proxy-in-ubuntu-terminal.html' title='Export Proxy in Ubuntu Terminal'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-6814744507079325141</id><published>2011-04-27T07:03:00.000-07:00</published><updated>2011-05-10T00:03:13.263-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger Tutorial"/><title type='text'>A Nice Blog About Blogger</title><content type='html'>There is a nice blog about Blogspot. If you use Blogger as free blog, you should check this blog: &lt;a href=&quot;http://blogknowhow.blogspot.com/&quot;&gt;http://blogknowhow.blogspot.com/&lt;/a&gt;. There are so many resource about styling, monetizing, and optimizing your blogspot space.&lt;br /&gt;&lt;br /&gt;Let&#39;s &lt;a href=&quot;http://blogknowhow.blogspot.com/&quot;&gt;check it out&lt;/a&gt; and enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/6814744507079325141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/6814744507079325141?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6814744507079325141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6814744507079325141'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/nice-blog-about-blogger.html' title='A Nice Blog About Blogger'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-8543439704718819021</id><published>2011-04-27T04:57:00.000-07:00</published><updated>2011-05-10T00:03:25.660-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>How to Tunnel SSH via HTTP Proxy</title><content type='html'>I have to access ssh server but there is http proxy when I want to go to internet. How can I tunnel ssh via http proxy? Here are the way to do it:&lt;br /&gt;&lt;br /&gt;# Download &lt;a href=&quot;http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz&quot;&gt;corkscrew&lt;/a&gt;. It is easy tool for tunneling SSH through HTTP proxies&lt;br /&gt;&lt;br /&gt;# Extract corkscrew then configure and install it&lt;br /&gt;&lt;pre&gt;tar -xzvf corkscrew.tar.gz&lt;br /&gt;cd corkscrew&lt;br /&gt;./configure&lt;br /&gt;make install&lt;br /&gt;&lt;/pre&gt;# Create ~/.ssh/proxyauth file and set authentication for http proxy server&lt;br /&gt;&lt;pre&gt;username:password&lt;br /&gt;&lt;/pre&gt;# Open ~/.ssh/config file. Add proxy server ip address and its authentication in proxyauth file like this:&lt;br /&gt;&lt;pre&gt;Host *&lt;br /&gt;ProxyCommand corkscrew proxy_ip_address proxy_port %h %p ~/.ssh/proxyauth&lt;br /&gt;&lt;/pre&gt;# Try to access your server via ssh&lt;br /&gt;&lt;pre&gt;ssh username@example.com&lt;/pre&gt;And it&#39;s all done. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/8543439704718819021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/8543439704718819021?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8543439704718819021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8543439704718819021'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-to-tunnel-ssh-via-http-proxy.html' title='How to Tunnel SSH via HTTP Proxy'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-7605043912381110835</id><published>2011-04-18T07:22:00.000-07:00</published><updated>2011-05-10T00:03:37.223-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Apache"/><title type='text'>Apache Rewrite Modul Problems in Linux Ubuntu</title><content type='html'>I often have a problem with rewrite modul in Apache. When you have the same problem like me, you should check:&lt;br /&gt;&lt;br /&gt;# RewriteBase syntax in .htaccess&lt;br /&gt;&lt;br /&gt;# &quot;Allow all&quot; option in /etc/apache2/sites-enabled directory. Here are the example of 000-default file in sites-enabled directory (in tag Directory &quot;/var/www/somedir&quot;):&lt;pre&gt;   Order allow,deny&lt;br /&gt;  Allow from all&lt;br /&gt;  AllowOverride All&lt;/pre&gt;&lt;br /&gt;# Is .htaccess file executable?&lt;br /&gt;&lt;br /&gt;# Make sure rewrite module is loaded in Apache. When this module successfully loaded, it will appear in mods-enabled directory as rewrite.load file. You can load them by issuing:&lt;br /&gt;&lt;pre&gt;sudo a2enmod rewrite&lt;/pre&gt;Just double check them. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/7605043912381110835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/7605043912381110835?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7605043912381110835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7605043912381110835'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/apache-rewrite-modul-problems-in-linux.html' title='Apache Rewrite Modul Problems in Linux Ubuntu'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-558227988369429119</id><published>2011-04-13T05:25:00.000-07:00</published><updated>2011-05-10T00:03:59.550-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Subversion"/><title type='text'>First Timer RabbitVCS Subversion Client</title><content type='html'>After &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-to-set-proxy-in-rabbitvcs.html&quot;&gt;setting proxy in RabbitVCS&lt;/a&gt;, I have a folder that contains app files to be versioned. How can we add these files to our subversion server?&lt;br /&gt;&lt;br /&gt;# Right click in the folder, choose Checkout&lt;br /&gt;&lt;br /&gt;# Set subversion servers, for example: https://example.com/svn/apps&lt;br /&gt;&lt;br /&gt;# Set directory to be versioned&lt;br /&gt;&lt;br /&gt;# Click OK or Finish.&lt;br /&gt;&lt;br /&gt;Then we can submit all of app files by right-clicking the folder and choose Commit. Select or deselect any files you want to Commit. Wait a moment and you&#39;re done versioning your app files for the first time. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/558227988369429119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/558227988369429119?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/558227988369429119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/558227988369429119'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/first-timer-rabbitvcs-subversion-client.html' title='First Timer RabbitVCS Subversion Client'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-4970256543386250164</id><published>2011-04-13T05:05:00.000-07:00</published><updated>2011-05-10T00:04:39.788-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>How to Set Proxy in RabbitVCS Subversion Client</title><content type='html'>I use RabbitVCS as subversion client in my little Ubuntu box. Since I should work behind proxy, I have set up proxy username and password in RabbitVCS. Don&#39;t forget to be root to configure  :).&lt;br /&gt;&lt;br /&gt;# Go to /etc/subversion&lt;br /&gt;&lt;pre&gt;cd /etc/subversion&lt;/pre&gt;# There are two files: servers and config. Open servers file&lt;br /&gt;&lt;pre&gt;vi servers&lt;/pre&gt;# Find [global] section and set proxy host, username, and password&lt;br /&gt;&lt;pre&gt;[global]&lt;br /&gt;http-proxy-host = proxy_ip_address&lt;br /&gt;http-proxy-port = proxy_port&lt;br /&gt;http-proxy-username = username&lt;br /&gt;http-proxy-password = password&lt;br /&gt;&lt;/pre&gt;And you&#39;re ready to version your apps. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/4970256543386250164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/4970256543386250164?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/4970256543386250164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/4970256543386250164'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-to-set-proxy-in-rabbitvcs.html' title='How to Set Proxy in RabbitVCS Subversion Client'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-2271017180112027842</id><published>2011-04-11T03:29:00.001-07:00</published><updated>2011-05-10T00:04:51.224-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>How to Execute Wget Behind Proxy</title><content type='html'>Two days getting headache because of working behind proxy, here is one of the result: wget command with using proxy option enabled.&lt;br /&gt;&lt;pre&gt;wget --proxy-user=username --proxy-passwd=password&lt;br /&gt;http://example.com/file.zip&lt;/pre&gt;&lt;br /&gt;Don&#39;t forget &lt;a href=&quot;http://studiawan.blogspot.com/2011/05/export-proxy-in-ubuntu-terminal.html&quot;&gt;to set your proxy&lt;/a&gt; first. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/2271017180112027842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/2271017180112027842?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2271017180112027842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2271017180112027842'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-to-execute-wget-behind-proxy.html' title='How to Execute Wget Behind Proxy'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-4549322509260975894</id><published>2011-04-11T03:25:00.000-07:00</published><updated>2011-05-10T00:05:05.193-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Proxy"/><title type='text'>Curl Using Proxy in Linux Console</title><content type='html'>Going crazy using Linux console? Here is how to use curl in console behind proxy.&lt;br /&gt;&lt;pre&gt;curl -x proxy_ip_address:port -U username:password http://example.com&lt;/pre&gt;&lt;br /&gt;Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/4549322509260975894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/4549322509260975894?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/4549322509260975894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/4549322509260975894'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/curl-using-proxy-in-linux-console.html' title='Curl Using Proxy in Linux Console'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-594969021285504582</id><published>2011-04-10T03:19:00.000-07:00</published><updated>2011-05-10T00:05:21.037-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Power Consumption"/><title type='text'>How Many Watt Consumed in Ubuntu Laptop?</title><content type='html'>Yay... we will estimate how many watt consumed in Ubuntu laptop using data from ACPI interface. We have &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-many-volt-consumed-by-ubuntu-laptop.html&quot;&gt;measured voltage&lt;/a&gt; and &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-many-ampere-consumed-by-ubuntu.html&quot;&gt;current&lt;/a&gt;, &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/linux-ubuntu-get-exact-value-of-voltage.html&quot;&gt;getting exact value of them&lt;/a&gt;, trying to &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-to-make-shell-script-in-linux.html&quot;&gt;make a simple shell script&lt;/a&gt;, and &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/is-there-any-calculator-in-terminal.html&quot;&gt;installing calculator package in console&lt;/a&gt;.&lt;br /&gt;By putting all of these stuffs altogether, we will estimate how many power used by our lovely Ubuntu box.&lt;br /&gt;&lt;br /&gt;# Make a shell script to cat voltage and ampere usage&lt;br /&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present voltage&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;&lt;br /&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present rate&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;&lt;/pre&gt;# Make two variables to store voltage and ampere value&lt;br /&gt;&lt;pre&gt;volt=`cat /proc/acpi/battery/C1AC/state | grep &quot;present voltage&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;`&lt;br /&gt;ampere=`cat /proc/acpi/battery/C1AC/state | grep &quot;present rate&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;`&lt;/pre&gt;# Divide variable volt and ampere by 1000 because it still in mV or mA unit&lt;br /&gt;&lt;pre&gt;volt=`echo &quot;scale=3;$volt/1000&quot;|bc`&lt;br /&gt;ampere=`echo &quot;scale=3;$ampere/1000&quot;|bc`&lt;/pre&gt;Parameter scale is used to set precision. If we set them to 3, then we will get three decimal places precision.&lt;br /&gt;&lt;br /&gt;# Measure the power by simply multiply voltage and current consumed&lt;br /&gt;&lt;pre&gt;power=`echo &quot;scale=3;$v*$a&quot;|bc`&lt;/pre&gt;# And the full shell script is illustrated below:&lt;br /&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;volt=`cat /proc/acpi/battery/C1AC/state | grep &quot;present voltage&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;`&lt;br /&gt;ampere=`cat /proc/acpi/battery/C1AC/state | grep &quot;present rate&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;`&lt;br /&gt;volt=`echo &quot;scale=3;$volt/1000&quot;|bc`&lt;br /&gt;ampere=`echo &quot;scale=3;$ampere/1000&quot;|bc`&lt;br /&gt;echo &quot;Present voltage: &quot; $volt &quot;Volt&quot;&lt;br /&gt;echo &quot;Present current: &quot; $ampere &quot;Ampere&quot;&lt;br /&gt;power=`echo &quot;scale=3;$volt*$ampere&quot;|bc`&lt;br /&gt;echo &quot;Present power  :&quot; $power &quot;Watt&quot;&lt;br /&gt;&lt;/pre&gt;# And it will give us a message like this:&lt;br /&gt;&lt;pre&gt;Present voltage:  16.285 Volt&lt;br /&gt;Present current:  1.507 Ampere&lt;br /&gt;Present power  : 24.541 Watt&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This shell script has been tested in Ubuntu Lucid Lynx 10.04 and it works well. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/594969021285504582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/594969021285504582?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/594969021285504582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/594969021285504582'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-many-watt-consumed-in-ubuntu-laptop.html' title='How Many Watt Consumed in Ubuntu Laptop?'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-6155520017370662343</id><published>2011-04-10T03:07:00.000-07:00</published><updated>2011-05-10T00:05:33.256-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Power Consumption"/><title type='text'>[Linux Ubuntu] Getting Exact Value of Voltage and Current</title><content type='html'>We are now one step closer to measuring power process. In the previous explanation, we have got voltage and current value but it still has some obstacles. I mean, there are string &quot;present voltage:&quot; and &quot;present rate&quot; in voltage and current value, respectively. How can we remove them? We employ grep to get certain line and we can use awk get certain column of one line output.&lt;br /&gt;&lt;pre&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present voltage&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;&lt;br /&gt;&lt;br /&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present rate&quot; |&lt;br /&gt;awk &#39;{print $3}&#39;&lt;/pre&gt;$3 in awk means it only prints the third column. The value of first column is string &quot;present&quot; and the second one is &quot;voltage&quot; or &quot;rate&quot; in current value. This command will print the exact value only without obstacles. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/6155520017370662343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/6155520017370662343?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6155520017370662343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/6155520017370662343'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/linux-ubuntu-get-exact-value-of-voltage.html' title='[Linux Ubuntu] Getting Exact Value of Voltage and Current'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-8739920517456218628</id><published>2011-04-10T02:31:00.000-07:00</published><updated>2011-05-10T00:05:49.645-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Shell"/><title type='text'>How to Make a Shell Script in Linux?</title><content type='html'>Yeah, like you say, it&#39;s for newbie only :D. We will make a shell script to &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-many-volt-consumed-by-ubuntu-laptop.html&quot;&gt;display voltage in mV&lt;/a&gt;  and &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-many-ampere-consumed-by-ubuntu.html&quot;&gt;current in mA&lt;/a&gt; like I post before. Shell script can contain one or more lines of instruction usually issued in Terminal.&lt;br /&gt;&lt;br /&gt;# Open your editor (I always choose vi) type:&lt;br /&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present voltage&quot;&lt;br /&gt;cat /proc/acpi/battery/C1AC/state | grep &quot;present rate&quot;&lt;/pre&gt;# Don&#39;t forget to replace &quot;C1AC&quot; with your own battery type&lt;br /&gt;&lt;br /&gt;# Save these shell script, for example, myfile.sh&lt;br /&gt;&lt;br /&gt;# Change the mode of file so that it can be executed&lt;br /&gt;&lt;pre&gt;chmod +x myfile.sh&lt;/pre&gt;# Run this script by typing this instruction in your Terminal:&lt;br /&gt;&lt;pre&gt;./myfile.sh&lt;/pre&gt;# The output will look like this:&lt;br /&gt;&lt;pre&gt;present voltage:         16778 mV&lt;br /&gt;present rate:            702 mA&lt;/pre&gt;Shell script will simplify our life. Believe me and enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/8739920517456218628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/8739920517456218628?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8739920517456218628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/8739920517456218628'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-to-make-shell-script-in-linux.html' title='How to Make a Shell Script in Linux?'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-200451718359727132</id><published>2011-04-10T02:17:00.000-07:00</published><updated>2011-05-10T00:06:02.887-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Power Consumption"/><title type='text'>How Many Volt Consumed by Ubuntu Laptop?</title><content type='html'>Now we will observe how many watt consumed by Ubuntu laptop. Similar with &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-many-ampere-consumed-by-ubuntu.html&quot;&gt;how to check current (in ampere) consumed&lt;/a&gt;, we will only replace the grep command.&lt;br /&gt;&lt;br /&gt;# Goto /proc/acpi/battery directory and go to directory name based on your battery type (i.e. C1AC)&lt;br /&gt;&lt;pre&gt;cd /proc/acpi/battery/C1AC&lt;/pre&gt;# Cat the content of state file and grep only the voltage&lt;br /&gt;&lt;pre&gt;cat state | grep &quot;present voltage&quot;&lt;/pre&gt;# We will get output like this:&lt;br /&gt;&lt;pre&gt;present voltage:         16410 mV&lt;/pre&gt;&lt;br /&gt;The voltage consumed is shown in mV. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/200451718359727132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/200451718359727132?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/200451718359727132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/200451718359727132'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-many-volt-consumed-by-ubuntu-laptop.html' title='How Many Volt Consumed by Ubuntu Laptop?'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-5437922332415825511</id><published>2011-04-10T01:59:00.000-07:00</published><updated>2011-05-10T00:06:16.922-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Power Consumption"/><title type='text'>How Many Ampere Consumed by Ubuntu Laptop?</title><content type='html'>We can monitor how many ampere consumed by our Ubuntu laptop. Unfortunately, we still can&#39;t do them in Ubuntu desktop. ACPI interface will be used to employ this technique.&lt;br /&gt;&lt;br /&gt;# Goto /proc/acpi/battery directory&lt;br /&gt;&lt;pre&gt;cd /proc/acpi/battery&lt;/pre&gt;# There is only one directory and the name is different in accordance with laptop specifications. For example, my folder name is C1AC.&lt;br /&gt;&lt;pre&gt;cd C1AC&lt;/pre&gt;# You will see three files: alarm, info, and state. Try to show the content of &quot;state&quot; file&lt;br /&gt;&lt;pre&gt;cat state&lt;/pre&gt;# You will get a technical state about battery like shown here:&lt;br /&gt;&lt;pre&gt;present:                 yes&lt;br /&gt;capacity state:          ok&lt;br /&gt;charging state:          charging&lt;br /&gt;present rate:            1505 mA&lt;br /&gt;remaining capacity:      840 mAh&lt;br /&gt;present voltage:         16410 mV&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;# We only want to get ampere used, so just  grep them&lt;br /&gt;&lt;pre&gt;cat state | grep &quot;present rate&quot;&lt;/pre&gt;# The output is ampere present rate shown in mA&lt;br /&gt;&lt;pre&gt;present rate:            1505 mA&lt;/pre&gt;&lt;br /&gt;We will use this technique to get power (in Watt) consumed by Ubuntu laptop. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/5437922332415825511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/5437922332415825511?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5437922332415825511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/5437922332415825511'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-many-ampere-consumed-by-ubuntu.html' title='How Many Ampere Consumed by Ubuntu Laptop?'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-2297894827731850454</id><published>2011-04-10T01:15:00.000-07:00</published><updated>2011-05-10T00:06:33.797-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Terminal"/><title type='text'>Is There any Calculator in Terminal?</title><content type='html'>Yeah, absolutely. You can use bc package in Linux Ubuntu. This is an arbitrary precision calculator language. Or, we can just call it &quot;bash calculator&quot; (bc). Simply issue this command:&lt;br /&gt;&lt;pre&gt;apt-get install bc&lt;/pre&gt;Of course you have to be a root when issuing it. Now we will try bc to perform simple arithmetic operation, such as:&lt;br /&gt;&lt;pre&gt;echo 2+3 | bc&lt;br /&gt;echo 2-3 | bc&lt;br /&gt;echo 2*3 | bc&lt;br /&gt;echo 6/2 | bc&lt;/pre&gt;&lt;br /&gt;Run them in terminal and you will get output: 5, -1, 6, and 2. We will use this calculator later in the next tutorial. Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/2297894827731850454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/2297894827731850454?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2297894827731850454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/2297894827731850454'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/is-there-any-calculator-in-terminal.html' title='Is There any Calculator in Terminal?'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-7690855872253985354</id><published>2011-04-10T00:38:00.000-07:00</published><updated>2011-05-10T00:06:47.585-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Arabic"/><title type='text'>[Linux Ubuntu] How to Put Harakat or Vowel Marks in Arabic Keyboard Layout</title><content type='html'>Now, you are able to &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/linux-ubuntu-how-to-enable-arabic.html&quot;&gt;enable Arabic keyboard layout&lt;/a&gt; and &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/how-to-write-arabic-in-linux-ubuntu.html&quot;&gt;write them in Linux Ubuntu&lt;/a&gt;. What about adding harakat or vowel marks in Arabic? Follow these steps:&lt;br /&gt;&lt;br /&gt;# Write the word first. For example, word &quot;Al &#39;Ilmu&quot;&lt;br /&gt;&lt;br /&gt;العلم&lt;br /&gt;&lt;br /&gt;# We should put fatha in character &quot; ا &quot;. To do this, put cursor behind character &quot; ا &quot;.&lt;br /&gt;&lt;br /&gt;# In the Arabic keyboard layout, fatha is placed in character Shift + Q. So, press Shift + َQ and you will get: &quot; اَ &quot;&lt;br /&gt;&lt;br /&gt;# Now put the cursor behind character &quot; ل &quot; and add sukun mark by pressing Shift + X. You will get: اَلعلم&lt;br /&gt;&lt;br /&gt;# Continue these steps until all of word is fulfilled with appropriate harakat (اَلْعِلْمُ). Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/7690855872253985354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/7690855872253985354?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7690855872253985354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7690855872253985354'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/linux-ubuntu-how-to-put-harakat-or.html' title='[Linux Ubuntu] How to Put Harakat or Vowel Marks in Arabic Keyboard Layout'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8599868743041176469.post-7977416995901200288</id><published>2011-04-10T00:24:00.000-07:00</published><updated>2011-05-10T00:07:20.141-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Arabic"/><title type='text'>How to Write Arabic in Linux Ubuntu</title><content type='html'>How to write Arabic in Linux Ubuntu? First, you should &lt;a href=&quot;http://studiawan.blogspot.com/2011/04/linux-ubuntu-how-to-enable-arabic.html&quot;&gt;enable Arabic keyboard layout&lt;/a&gt;. The Arabic keyboard layout will look like this picture (click to enlarge):&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();}  catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitO5LLXWQhtWOJvUYvYy2bsn_qk_LXwN0ZqYJlTueIvPjd9xtlgNIRWsg-X_vvec3mrey7Qm-flVWezvLXAGGZoRh59XcgDsHwoY_9e79rmyH9e9y_dRdJkBQ3Og0NHRMMJd3nSQ9oEAg/s1600/arabic+keyboard+layout+in+ubuntu.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 102px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitO5LLXWQhtWOJvUYvYy2bsn_qk_LXwN0ZqYJlTueIvPjd9xtlgNIRWsg-X_vvec3mrey7Qm-flVWezvLXAGGZoRh59XcgDsHwoY_9e79rmyH9e9y_dRdJkBQ3Og0NHRMMJd3nSQ9oEAg/s320/arabic+keyboard+layout+in+ubuntu.png&quot; alt=&quot;arabic keyboard layout in ubuntu&quot; id=&quot;BLOGGER_PHOTO_ID_5593853562901315042&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;# Then, open your favorite text editor. I prefer gedit (Applications*Accessories*gedit Text Editor)&lt;br /&gt;&lt;br /&gt;# Click Keyboard Preferences (usually it is placed in top-right of desktop panel) and it will be switched from USA to Ara&lt;br /&gt;&lt;br /&gt;# Type your word one by one based on Arabic keyboard layout. It will be connected automatically.&lt;br /&gt;&lt;br /&gt;# Type Space key to separate one word to another.&lt;br /&gt;&lt;br /&gt;It is easy, isn&#39;t it? Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://studiawan.blogspot.com/feeds/7977416995901200288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8599868743041176469/7977416995901200288?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7977416995901200288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8599868743041176469/posts/default/7977416995901200288'/><link rel='alternate' type='text/html' href='http://studiawan.blogspot.com/2011/04/how-to-write-arabic-in-linux-ubuntu.html' title='How to Write Arabic in Linux Ubuntu'/><author><name>Stu</name><uri>http://www.blogger.com/profile/01787355711459669875</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitO5LLXWQhtWOJvUYvYy2bsn_qk_LXwN0ZqYJlTueIvPjd9xtlgNIRWsg-X_vvec3mrey7Qm-flVWezvLXAGGZoRh59XcgDsHwoY_9e79rmyH9e9y_dRdJkBQ3Og0NHRMMJd3nSQ9oEAg/s72-c/arabic+keyboard+layout+in+ubuntu.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>