<?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-9003218850919478117</id><updated>2025-12-16T12:08:23.462-08:00</updated><category term="ubuntu"/><category term="proxy"/><category term="rails"/><category term="ruby"/><category term="virtualbox"/><category term="virtualbox guest additions"/><category term="apt-get"/><category term="beautifulsoup"/><category term="cntlm"/><category term="copy-paste"/><category term="error"/><category term="intro"/><category term="k4pc"/><category term="kindle"/><category term="python"/><category term="shared clipboard"/><category term="shared folder"/><category term="specs"/><category term="uninstall"/><category term="wget"/><category term="windows"/><title type='text'>All About Coding                and Everything in Between...</title><subtitle type='html'>Doing things that are headache-inducing and annoyingly fun ü</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9003218850919478117.post-3782578864127706415</id><published>2014-01-29T18:15:00.001-08:00</published><updated>2014-01-30T16:59:18.618-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cntlm"/><category scheme="http://www.blogger.com/atom/ns#" term="k4pc"/><category scheme="http://www.blogger.com/atom/ns#" term="kindle"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Register and Download Books Using Kindle for PC While Behind Proxy</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Yes, this is another story of proxy workarounds. If you&#39;re interested in my other&amp;nbsp;exploits, you can read them &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/installing-gems-in-ubuntu-1204-using.html&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/how-to-install-ruby-on-rails-3-in.html&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/setting-up-proxy-settings-for-apt-get.html&quot;&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;A little background. I have several Kindle ebooks that I can read using my mobile phone and my pc at home. Now, I wanted to read here at work but I can&#39;t seem to register and download my ebooks, so here&#39;s what I&#39;ve done to overcome this limitation.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1. Of course, I installed &lt;a href=&quot;http://www.amazon.com/gp/feature.html?docId=1000426311&quot;&gt;Kindle for PC&amp;nbsp;(K4PC)&lt;/a&gt;. My OS is Windows 7 but I think if you&#39;re using another OS, you can &quot;translate&quot; these instructions compatible for your OS.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;After downloading the app, I tried to register it to my account but I got this error:&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;Unable to connect at this time. Please try again later.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Not surprising, since I know I&#39;m behind a proxy. I checked if the app has settings for proxy and it has one. To open the proxy settings, click &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Tools &amp;gt; Options &amp;gt; Network&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I chose Manual proxy configuration since I know my username and password. After saving the settings, I tried registering again and I got this error:&amp;nbsp;&lt;i&gt;Registration timed out. Please try again [1000]&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Which is weird since I know I have internet connection and I have filled up the proxy setting properly. I googled&amp;nbsp;&lt;a href=&quot;https://www.google.com.ph/search?q=kindlle+for+pc+proxy&amp;amp;rlz=1C1PRFC_enPH572PH572&amp;amp;oq=kindlle+for+pc+proxy&amp;amp;aqs=chrome..69i57.8660j0j1&amp;amp;sourceid=chrome&amp;amp;espv=210&amp;amp;es_sm=93&amp;amp;ie=UTF-8#q=kindle+for+pc+proxy&amp;amp;spell=1&quot;&gt;kindle for pc proxy&lt;/a&gt;&amp;nbsp;and found out that many people have this same dilemma and most of them came to the same conclusion as I did: You cannot use your Kindle (pc or otherwise) when you&#39;re behind a proxy.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Then I stumbled upon Scott Offen&#39;s post on &lt;a href=&quot;http://scottoffen.com/2013/12/20/registering-amazons-sendtokindle-behind-a-proxy/&quot;&gt;Registering Amazon’s SendToKindle Behind A Proxy&lt;/a&gt;. Now I&#39;m not familiar with SendToKindle app but then since he solved his Kindle-related problem, I decided to give his solution a try.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;His solution is actually simple: use Cntlm proxy. You can read the technical description from its official &lt;a href=&quot;http://cntlm.sourceforge.net/&quot;&gt;sourceforge&lt;/a&gt;&amp;nbsp;site but for the non-geeks out there, basically Cntlm is a proxy for your proxy.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I&#39;m not a newbie with this application/service. As a matter of fact, I have already used it for &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/installing-gems-in-ubuntu-1204-using.html&quot;&gt;downloading gems for my Ruby on Rails in Ubuntu&amp;nbsp;while behind proxy&lt;/a&gt;. My previous post details on how to use Cntlm in Ubuntu, we can use the same steps here while using Windows 7.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2. Install &lt;a href=&quot;http://cntlm.sourceforge.net/&quot;&gt;Cntlm&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. Open &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cntlm.ini&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; using your favorite text editor. You can find it in this path:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;C:\Program Files (x86)\Cntlm&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; (or depends where you installed your Cntlm).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;4. Edit the Cntlm configuration. Enter your username, domain and parent proxy as basic settings. DO NOT enter your password.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;5. To hash your password:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Open a command prompt.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Go to your Cntlm installation folder by typing: &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd C:\Program Files (x86)\Cntlm&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Type:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cntlm -v -H -c cntlm.ini&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Enter your password for your proxy and jot down the generated&amp;nbsp;PassLM,&amp;nbsp;PassNT and&amp;nbsp;PassNTLMv2.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Open&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cntlm.in&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;i again and enter the generated PassLM, PassNT and PassNTLMv2 to their respective fields. Then save your new settings.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;5. Run Cntlm service. You can:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Click &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Start &amp;gt;&amp;nbsp;Windows Control Panel &amp;gt; Administrative Tools &amp;gt; Services&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. Start Cntlm Authentication Proxy service. (Shortcut: Open search/run textbox, type&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;services.msc&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;) OR&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;- Open command prompt as Admin and type&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;net start cntlm&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; (to start the service) or&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;net stop cntlm&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; (to stop the service).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;6. &lt;b&gt;FINAL STEP:&lt;/b&gt;&amp;nbsp;Open Kindle&#39;s network connection settings (&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Tools &amp;gt; Options &amp;gt; Network&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;), choose&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Manual proxy configuration. In&amp;nbsp;HTTP Proxy field, type: &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;localhost&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; and in the Port field: &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;3128&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. Leave the other fields blank.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;That&#39;s it. Register your K4PC and start downloading your books.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Happy reading!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/3782578864127706415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2014/01/register-and-download-books-using.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/3782578864127706415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/3782578864127706415'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2014/01/register-and-download-books-using.html' title='Register and Download Books Using Kindle for PC While Behind Proxy'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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-9003218850919478117.post-2824669875874228151</id><published>2012-11-19T18:05:00.001-08:00</published><updated>2013-07-25T21:42:40.438-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="rails"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="uninstall"/><title type='text'>Uninstalling Ruby on Rails in Ubuntu Manually</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;Only do this if you installed RoR from Source.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
It&#39;s playtime! Last week, I blogged how I was able to successfully install&amp;nbsp;&lt;a href=&quot;http://annelagang.blogspot.com/2012/11/how-to-install-ruby-on-rails-3-in.html&quot; target=&quot;_blank&quot;&gt;RoR from source&lt;/a&gt;&amp;nbsp;despite several issues encountered. Now, I&#39;m going to uninstall RoR manually. Most of you might think my previous adventure rendered some of my screws loose. Perhaps a little (hehe) but I assure you everything I type here is thoroughly tested so proceed at your own risk. ;)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I reason I have the guts to do crazy stuff is because I&#39;m running Ubuntu in VM so I don&#39;t care much if I wreck numerous instances (which I did for the entire duration of my RoR installation journey) because I could easily reinstall Ubuntu. But this action has become tiring and very annoying.&lt;b&gt; I admit I&#39;m a newbie at both Ubuntu and Ruby and&amp;nbsp;I&#39;m doing this for educational purposes only&lt;/b&gt;. It&#39;s hitting two birds with one stone: I learn how to use Ubuntu (the terminal commands stuff) while experimenting on RoR installation.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
According to Ruby homepage, there&#39;s &lt;a href=&quot;http://www.ruby-lang.org/en/downloads/&quot; target=&quot;_blank&quot;&gt;three ways to install Ruby&lt;/a&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1)&amp;nbsp;Compiling from Source&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; - We&#39;re done with this option.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2) Using&amp;nbsp;third party tools (like rvm and rbenv)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; - I&#39;m planning to use rvm for my next RoR installation attempt. If I&#39;ll have some spare time I might also use rbenv and maybe I&#39;ll do a post about which of the two is easier to use from a total beginner&#39;s perspective.&amp;nbsp;Don&#39;t hold your breath though.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3) Using&amp;nbsp;package management systems (like apt-get, aptitude and yum)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; - I&#39;d read several articles/posts that warns against using this option (Ryan Bigg&#39;s &lt;a href=&quot;http://.com/2010/12/ubuntu-ruby-rvm-rails-and-you/&quot; target=&quot;_blank&quot;&gt;guide&lt;/a&gt; comes to mind). I&#39;m not going to push my luck and I&#39;m going to follow their advice and be a good girl. After all they know what they&#39;re saying right?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This also translates that there are also three ways to uninstall Ruby: manually (refer to post below), using rvm (&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;rvm uninstall version_numbe&lt;/span&gt;r) and using apt-get (&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;sudo apt-get purge ruby&lt;/span&gt;).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Without further ado, let&#39;s start.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The sequence we installed RoR last time was Ruby + RubyGems + Rails. We&#39;re going the opposite way in uninstalling: Rails&amp;nbsp;(with dependencies)&amp;nbsp;first, then RubyGems and Ruby.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To uninstall Rails + all dependencies:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;gem list --no-version | xargs sudo gem uninstall -ax&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
I got this one-liner from James McGrath&#39;s&amp;nbsp;&lt;a href=&quot;http://jamespmcgrath.com/how-to-uninstall-all-ruby-gems-in-one-line/&quot; target=&quot;_blank&quot;&gt;post&lt;/a&gt;. If you want to know the meaning for each switch used, he explained it very well in his post.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To uninstall all gems except for one:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;gem list --no-version | grep -v rails | xargs sudo gem uninstall&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;-ax&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
This will uninstall all gems (Rails dependencies and other gems installed) except for Rails (remember Rails is also a gem).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To delete only the old versions:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;gem clean&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To uninstall specific gem:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;sudo gem uninstall rails&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This will uninstall Rails gem only.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To uninstall RubyGems and Ruby (in one sweep):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;sudo rm /usr/local/bin/{ruby,irb,gem,testrb,erb}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;sudo rm /usr/local/lib/libruby-static.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;sudo rm -r /usr/local/lib/ruby/&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;To check:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;whereis ruby&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;whereis gem&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Reference:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;https://answers.launchpad.net/ubuntu/+question/65612&quot;&gt;Uninstall Ruby 1.9.1&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/2824669875874228151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/uninstalling-ruby-on-rails-in-ubuntu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/2824669875874228151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/2824669875874228151'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/uninstalling-ruby-on-rails-in-ubuntu.html' title='Uninstalling Ruby on Rails in Ubuntu Manually'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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-9003218850919478117.post-6933351846108758006</id><published>2012-11-14T00:04:00.001-08:00</published><updated>2013-07-25T21:40:20.729-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="copy-paste"/><category scheme="http://www.blogger.com/atom/ns#" term="shared clipboard"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox guest additions"/><title type='text'>VirtualBox: Enable Shared Clipboard (Copy - Paste) From Host (Win 7) to Guest (Ubuntu 12.04) and Vice versa</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;1. Check if you have VirtualBox Guest Additions installed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Open Terminal (Ctrl &amp;nbsp;+ Alt &amp;nbsp;+ T)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Type &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;modinfo vboxguest&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s1600/image-748866.png&quot; style=&quot;background-color: #f3ffee; color: #888888; line-height: 21px; text-decoration: initial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738908794803986&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s320/image-748866.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If VirtualBox Guest Additions is already installed, proceed to step 3.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2. Install VirtualBox Guest Additions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurO1m483lY95E9502NmCz1B1odDInrU_QY9G6CznMEUBorD-gGdbg_MvQwK89BwOFy8bpTg111k1dinoE_AXf-V7DHGNLIZ_ib2pm4Tab306fgoeruNfHpZEsac213KRSBMTDNLf9Dzk/s1600/image-751580.png&quot; style=&quot;background-color: #f3ffee; color: #888888; line-height: 21px; text-decoration: initial;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738917032093330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurO1m483lY95E9502NmCz1B1odDInrU_QY9G6CznMEUBorD-gGdbg_MvQwK89BwOFy8bpTg111k1dinoE_AXf-V7DHGNLIZ_ib2pm4Tab306fgoeruNfHpZEsac213KRSBMTDNLf9Dzk/s320/image-751580.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. Enable Shared Clipboard.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Machine &amp;gt; Settings &amp;gt; General &amp;gt; Advanced&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;In Shared Clipboard, choose whichever option you need. I chose Bidirectional for seamless copy - pasting. You can also enable Drag &#39;n Drop if desired.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;image-705623.png (320×240)&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg30pKH9Yebm6PjaCFyFKydcDVZqhgtTeb9TKLLKdx4FoEsia_ZGVnSIN5l3aAu83rNCRw6p7d9uH1QtavDoaXUIxFKkyn0aNK0ohL_lP-5V1iq71D-C-FrWwlxoVo_XaiCsxDEKADIkT0/s320/image-705623.png&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Then reboot. Type&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo reboot&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/6933351846108758006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/virtual-box-enable-shared-clipboard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/6933351846108758006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/6933351846108758006'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/virtual-box-enable-shared-clipboard.html' title='VirtualBox: Enable Shared Clipboard (Copy - Paste) From Host (Win 7) to Guest (Ubuntu 12.04) and Vice versa'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s72-c/image-748866.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9003218850919478117.post-5728461043883550762</id><published>2012-11-13T00:12:00.000-08:00</published><updated>2013-07-25T21:39:42.810-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="rails"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Solution to “ruby installation is missing psych” Error</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;To save yourself from this headache, install yaml first before installing Ruby.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I&#39;m still trying to install Ruby on Rails on Ubuntu 12.04 and I got this warning after I installed RubyGems:&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It seems your ruby installation is missing psych (for YAML output).&amp;nbsp;To eliminate this warning, please install libyaml and reinstall your ruby.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I googled this error and it seems several people had this problem too. A bug??? &lt;a href=&quot;http://bugs.ruby-lang.org/issues/5560&quot;&gt;Yep&lt;/a&gt;.&amp;nbsp;(If you&#39;re installing Ruby from rvm, refer to&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/8410885/how-do-i-install-ruby-with-libyaml-on-ubuntu-11-10&quot;&gt;this&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/9880855/fixing-the-ruby-installation-is-missing-psych-error&quot;&gt;this&lt;/a&gt;&amp;nbsp;and/or&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/9434002/how-to-solve-ruby-installation-is-missing-psych-error&quot;&gt;this&lt;/a&gt;) Unfortunately, their solutions won&#39;t work for me because I&#39;m installing Ruby from source not from rvm. So I decided to follow the instruction&amp;nbsp;&lt;b&gt;please install libyaml and reinstall your ruby &lt;/b&gt;and prayed it&#39;d work.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;I installed libyaml:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;wget&amp;nbsp;&lt;a href=&quot;http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz&quot;&gt;http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -xvzf&amp;nbsp;yaml-0.1.4.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd&amp;nbsp;yaml-0.1.4/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo ./configure &amp;amp;&amp;amp; sudo make &amp;amp;&amp;amp; sudo make install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;Then &quot;reinstalled&quot; Ruby from Source:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;wget&amp;nbsp;&lt;a href=&quot;http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz&quot;&gt;http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -xvzf ruby-1.9.3-p327.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd ruby-1.9.3-p327/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo ./configure &amp;amp;&amp;amp; sudo make &amp;amp;&amp;amp; sudo make install&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;When I typed &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;gem -v&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, I still got the same error. :( I googled for the error and found this SO&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/8410885/how-do-i-install-ruby-with-libyaml-on-ubuntu-11-10/9158048#9158048&quot;&gt;answer&lt;/a&gt;&amp;nbsp;as my saving grace.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;I recompiled yaml module:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd ruby-1.9.3-p327/ext/psych&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo ruby extconf.rb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo make &amp;amp;&amp;amp; sudo make install&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Judgement time.&amp;nbsp;*drum roll*&amp;nbsp;&amp;nbsp;To test, I typed &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;gem -v&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Aaaaaaaaaannnnnndddddd no error. I got my gem version:&amp;nbsp;1.8.24.&amp;nbsp;Yipee. :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Sweetness...&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;A little explanation for myself&lt;/b&gt; (and to others who are curious):&lt;br /&gt;
## recompiles yaml or any other module&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;cd ruby-1.9.3-p327/ext/&amp;lt;module folder&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo ruby extconf.rb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
## reinstall Ruby&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo make &amp;amp;&amp;amp; sudo make install&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/5728461043883550762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/solution-to-ruby-installation-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5728461043883550762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5728461043883550762'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/solution-to-ruby-installation-is.html' title='Solution to “ruby installation is missing psych” Error'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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-9003218850919478117.post-5545545958259302330</id><published>2012-11-12T01:05:00.000-08:00</published><updated>2013-07-25T21:38:56.348-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="beautifulsoup"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Converting BeautifulSoup 4 for Python 3</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;According to &lt;a href=&quot;http://www.crummy.com/software/BeautifulSoup/&quot;&gt;BeautifulSoup homepage&lt;/a&gt;, the latest release (Beautiful Soup 4.1.3) is compatible for both Python 2.x and Python 3.x. However, to use BS 4 in Python 3.x, you will need to manually convert the code using 2to3.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;b&gt;Windows 7:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
Download &lt;a href=&quot;http://www.crummy.com/software/BeautifulSoup/bs4/download/beautifulsoup4-4.1.3.tar.gz&quot;&gt;BS 4&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;
cd C:\beautifulsoup4-4.1.3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;python C:\Python33\Tools\Scripts\2to3.py -w bs4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;python setup.py install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
**-w option means overwriting the original file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;b&gt;Ubuntu 12.04:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
** &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/setting-up-proxy-settings-for-apt-get.html&quot;&gt;Setup proxy&lt;/a&gt; if you need to.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;
wget&amp;nbsp;&lt;a href=&quot;http://www.crummy.com/software/BeautifulSoup/bs4/download/beautifulsoup4-4.1.3.tar.gz&quot;&gt;http://www.crummy.com/software/BeautifulSoup/bs4/download/beautifulsoup4-4.1.3.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -xvzf beautifulsoup4-4.1.3.tar.gz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;2to3 -w beautifulsoup4-4.1.3/bs4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd beautifulsoup4-4.1.3/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo python3 setup.py install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
To check if BS4 was properly installed, type in your Python 3 interpreter:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;from bs4 import BeautifulSoup&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/5545545958259302330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/beautifulsoup-4-for-python-3x.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5545545958259302330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5545545958259302330'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/beautifulsoup-4-for-python-3x.html' title='Converting BeautifulSoup 4 for Python 3'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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-9003218850919478117.post-5492301060241575206</id><published>2012-11-11T19:22:00.000-08:00</published><updated>2013-07-25T21:38:35.338-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apt-get"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="wget"/><title type='text'>Setting up Proxy Settings for apt-get and wget in Ubuntu</title><content type='html'>&lt;div&gt;
To check if you have proxy configured in your system:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;env | grep proxy&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
To setup proxy, add the following lines to these environment settings:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1)&amp;nbsp;apt.conf (for apt-get)&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo gedit /etc/apt/apt.conf&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Acquire::http::Proxy &quot;http://username:password@proxy:port&quot;;&lt;/div&gt;
&lt;div&gt;
Acquire::https::Proxy&amp;nbsp;&quot;http://username:password@proxy:port&quot;;&lt;/div&gt;
&lt;div&gt;
Acquire::ftp::Proxy&amp;nbsp;&quot;http://username:password@proxy:port&quot;;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
2) wgetrc (for wget)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo gedit /etc/wgetrc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
https_proxy &amp;nbsp;= http://username:password@proxy:port&lt;/div&gt;
&lt;div&gt;
http_proxy = http://username:password@proxy:port&lt;/div&gt;
&lt;div&gt;
ftp_proxy = http://username:password@proxy:port&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Uncomment &#39;use_proxy = on&#39;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Then reboot. &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo reboot&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
After rebooting your machine, you can now use apt-get and wget normally like&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo apt-get install package-name&amp;nbsp;&lt;/span&gt;and&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;wget url&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
If you don&#39;t want to change any configurations and just wanted to use proxy for the entire duration of your session:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;For apt-get:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo http_proxy=&#39;http://username:password@proxy:port&#39; apt-get install package-name&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;For wget:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;export http_proxy=&#39;http://username:password@proxy:port&#39;&amp;nbsp;&amp;amp;&amp;amp; wget url&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
OR&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;export&amp;nbsp;http_proxy=http://proxy:port&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;wget --proxy-user=user --proxy-password=password url&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Things to remember:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
1) Use this format if your proxy doesn&#39;t require login credentials: http://proxy:port&lt;/div&gt;
&lt;div&gt;
2) If your proxy server is Windows-based just like ours, don&#39;t forget to add your domain in your login.&lt;br /&gt;
ex.&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;http://domain\username:password@proxy:port&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
3) &lt;a href=&quot;http://stackoverflow.com/questions/2667878/why-do-windows-environment-variable-names-use-a-special-escape-character&quot;&gt;Character escape&lt;/a&gt; your &lt;a href=&quot;http://askubuntu.com/questions/60217/apt-get-update-with-an-in-password-error&quot;&gt;password&lt;/a&gt; if it has special characters.&lt;br /&gt;
ex. &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;proxy-password=me\@123&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
4) If after setting up the http_proxy environment variable for wget and the connection still fails, also set up the https_proxy and ftp_proxy variables. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Reference:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://linuxers.org/tutorial/wget-proxy-how-run-wget-behind-proxy-server&quot;&gt;Wget Proxy: How to run Wget behind a Proxy server&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/5492301060241575206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/setting-up-proxy-settings-for-apt-get.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5492301060241575206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/5492301060241575206'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/setting-up-proxy-settings-for-apt-get.html' title='Setting up Proxy Settings for apt-get and wget in Ubuntu'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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-9003218850919478117.post-1425387816896947365</id><published>2012-11-11T17:53:00.000-08:00</published><updated>2013-07-25T21:38:05.994-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="shared folder"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox guest additions"/><title type='text'>Sharing Files from Windows 7 to Ubuntu 12.04 Via VirtualBox</title><content type='html'>A coworker inspired me to learn a new OS. Since I&#39;ll be using my work machine, I opted to use&amp;nbsp;&lt;a href=&quot;https://www.virtualbox.org/wiki/Downloads&quot; target=&quot;_blank&quot;&gt;VM&lt;/a&gt;&amp;nbsp;and installed&amp;nbsp;&lt;a href=&quot;http://www.ubuntu.com/download/desktop&quot; target=&quot;_blank&quot;&gt;Ubuntu 12.04&lt;/a&gt;. Ubuntu 12.04 has Python 2.7 pre-installed. I also installed Ruby 1.9 and Rails 3. I found several posts on how to setup Ruby on Rails (RoR), however, I encountered problems because I&#39;m stuck behind the friggin&#39; corporate proxy. Read my RoR installation misadventure &lt;a href=&quot;http://annelagang.blogspot.com/2012/11/how-to-install-ruby-on-rails-3-in.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The first thing I did aside from learning some basic commands like shutting down the VM, editing some files, etc via terminal was to research how to share files from Win 7 to Ubuntu. Here&#39;s how:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Check if you have VirtualBox Guest Additions installed.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Open Terminal (Ctrl + Alt + T)&lt;/div&gt;
&lt;div&gt;
Type &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;modinfo vboxguest&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s1600/image-748866.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738908794803986&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s320/image-748866.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If&amp;nbsp;VirtualBox Guest Additions is already installed, proceed to step 3.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Install&amp;nbsp;VirtualBox Guest Additions.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurO1m483lY95E9502NmCz1B1odDInrU_QY9G6CznMEUBorD-gGdbg_MvQwK89BwOFy8bpTg111k1dinoE_AXf-V7DHGNLIZ_ib2pm4Tab306fgoeruNfHpZEsac213KRSBMTDNLf9Dzk/s1600/image-751580.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738917032093330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurO1m483lY95E9502NmCz1B1odDInrU_QY9G6CznMEUBorD-gGdbg_MvQwK89BwOFy8bpTg111k1dinoE_AXf-V7DHGNLIZ_ib2pm4Tab306fgoeruNfHpZEsac213KRSBMTDNLf9Dzk/s320/image-751580.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Go to VM VirtualBox Manger Settings.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpaPzfKw0X7sgEzTV6FkISJkFu3p1s-AaEac3eKux2QJBWeK0ShtJB1nFeakAcSDBtY8OYXbCY0JuvPbZ2RQ9WBlWfud17Ch6tyywXA-V6AKBu6RGCgB6rNJ26NZGMvvHnLgH8SkTIPCM/s1600/image-754248.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738928287999458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpaPzfKw0X7sgEzTV6FkISJkFu3p1s-AaEac3eKux2QJBWeK0ShtJB1nFeakAcSDBtY8OYXbCY0JuvPbZ2RQ9WBlWfud17Ch6tyywXA-V6AKBu6RGCgB6rNJ26NZGMvvHnLgH8SkTIPCM/s320/image-754248.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Add folder you wanted to share.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ4VBvuFri9Wdi2uXTNOSWhcg3hyj67hKbXwfaH3GeCqJIzmPgwsRLJ-m0DLChSmekAI7Nbyy8TRahypjEcPoj4cBNBK9eQ33KLHPKhbNU7FIMAgWm8FFLWlsnmH_6vo5b642RsyA76lo/s1600/add_folder.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ4VBvuFri9Wdi2uXTNOSWhcg3hyj67hKbXwfaH3GeCqJIzmPgwsRLJ-m0DLChSmekAI7Nbyy8TRahypjEcPoj4cBNBK9eQ33KLHPKhbNU7FIMAgWm8FFLWlsnmH_6vo5b642RsyA76lo/s1600/add_folder.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;b&gt;From the Visual Box User Manual:&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Access to auto-mounted shared folders is only granted to the user group vboxsf, which is created by the VirtualBox Guest Additions installer. Hence guest users have to be member of that group to have read/write access or to have read-only access in case the folder is not mapped writable.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Add user that wants to access shared folder:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Type&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo adduser &amp;lt;username&amp;gt; vboxsf&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjde-Za_-f6HTFkPzLgsqZFLtrpOD_LHyGuEyA6SfAZ_Z4gpVbmfSg2lKqEX4MkesoZ074rc-WyLBsZ6soJv5mpLZxz5aUnox3OoQxNwzQid0W1xcQdpGBHLJziuSevtmdtyQeVUVi_uIE/s1600/add.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjde-Za_-f6HTFkPzLgsqZFLtrpOD_LHyGuEyA6SfAZ_Z4gpVbmfSg2lKqEX4MkesoZ074rc-WyLBsZ6soJv5mpLZxz5aUnox3OoQxNwzQid0W1xcQdpGBHLJziuSevtmdtyQeVUVi_uIE/s320/add.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove a user from vboxsf group:&lt;br /&gt;
&lt;br /&gt;
Type&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo deluser&amp;nbsp;&amp;nbsp;&amp;lt;username&amp;gt; vboxsf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl-cuxqw5J3LXRMYmzYo2xTr_1c4LzxmRiNLK6hTsVD_yEjZeShCFG_8zjjwlXn0h411et1lQ5a2issO-OAMEKzNIgHZ3WA5VupAqnd288nGZbEDJJ621cHdaiZHuywjx-9WvSSE-3L3A/s1600/delete.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl-cuxqw5J3LXRMYmzYo2xTr_1c4LzxmRiNLK6hTsVD_yEjZeShCFG_8zjjwlXn0h411et1lQ5a2issO-OAMEKzNIgHZ3WA5VupAqnd288nGZbEDJJ621cHdaiZHuywjx-9WvSSE-3L3A/s320/delete.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Then reboot for your changes to take effect. Type&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo reboot&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To view your shared folder, go to File System &amp;gt; media.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKYrkAnCkkq1o7-IlP1UO8aEjbOJPHc-KmDkv7u6t79A7URJotgiHpMhOcl_ySJlTzMhn0G0cw76rjmG0taLYN48o20AkW8tqaGLt9inn3jiClnXedXAx3CDEg9_zo9OSZ_zq1bfmIrg/s1600/image-759187.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5809738951067529346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKYrkAnCkkq1o7-IlP1UO8aEjbOJPHc-KmDkv7u6t79A7URJotgiHpMhOcl_ySJlTzMhn0G0cw76rjmG0taLYN48o20AkW8tqaGLt9inn3jiClnXedXAx3CDEg9_zo9OSZ_zq1bfmIrg/s320/image-759187.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Check out&amp;nbsp;&lt;a href=&quot;http://www.liberiangeek.net/&quot; target=&quot;_blank&quot;&gt;Liberian Geek&lt;/a&gt;&amp;nbsp;and &lt;a href=&quot;http://www.sysprobs.com/&quot;&gt;SysProbs&lt;/a&gt;&amp;nbsp;for more Windows-Linux tutorials.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/1425387816896947365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/sharing-files-from-windows-7-to-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/1425387816896947365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/1425387816896947365'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/sharing-files-from-windows-7-to-ubuntu.html' title='Sharing Files from Windows 7 to Ubuntu 12.04 Via VirtualBox'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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/AVvXsEj2IXVGLQ-igEiAqMTduHaf_Y3NZpbpoXQ3PSWu4ZdcwpgRjxV0IttBnqioU_tiLOJtuHn3k6D3Kx2Jqb0SHcGPdnal9KFPMWqynWSmHIXseP52vW3mEbISEFenghD66DFqDiVmhQ0oo9Y/s72-c/image-748866.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9003218850919478117.post-3281801271423796682</id><published>2012-11-09T06:54:00.000-08:00</published><updated>2013-07-25T21:37:24.588-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="intro"/><category scheme="http://www.blogger.com/atom/ns#" term="specs"/><title type='text'>A Reason for An Introduction to Cyberspace</title><content type='html'>Finally, a reason (an excuse really) to blog! I wanted to create a blog for the longest time now, however I don&#39;t have much stuff to write about (now I do) and I don&#39;t want to be another clutter in the cyberspace. Anyways, I made this blog for the sole purpose of tracking my solutions for problems/errors/technical issues I&#39;ve encountered at work. If my&amp;nbsp;ramblings can also help others, that will be great! :)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
My machine specs written below for future reference:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Work:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
- Windows 7, 64-bit&lt;/div&gt;
&lt;div&gt;
- .Net 3.5 and 4&lt;/div&gt;
&lt;div&gt;
- VS 2008 and 2010 Ultimate&lt;/div&gt;
&lt;div&gt;
- LinqPad&lt;/div&gt;
&lt;div&gt;
- Notepad++&lt;/div&gt;
&lt;div&gt;
- SQL Server 2008&lt;/div&gt;
&lt;div&gt;
- has &lt;a href=&quot;https://www.virtualbox.org/&quot;&gt;Virtual Box&lt;/a&gt; installed and runs Ubuntu 12.04&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
- both OS have Python (2.7 and 3.3) and Ruby (1.9) installed&lt;/div&gt;
&lt;div&gt;
- Rails 3 installed in Ubuntu&lt;/div&gt;
&lt;div&gt;
- corporate proxy (super PITA!)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Home:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
- Windows 7, 32-bit&lt;/div&gt;
&lt;div&gt;
- .Net 3.5 and 4&lt;/div&gt;
&lt;div&gt;
- VS 2008 and 2010 Ultimate&lt;/div&gt;
&lt;div&gt;
- LinqPad&lt;/div&gt;
&lt;div&gt;
- SQL Server 2008&lt;/div&gt;
&lt;div&gt;
- Notepad++&lt;/div&gt;
&lt;div&gt;
- Python 2.7&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Other specs like RAM, processor etc will be mentioned if ever the need arises.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So much for an introduction. That&#39;s all for now. Enjoy the roller coaster ride ahead!&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://annelagang.blogspot.com/feeds/3281801271423796682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://annelagang.blogspot.com/2012/11/a-reason-for-introduction-to-cyberspace.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/3281801271423796682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9003218850919478117/posts/default/3281801271423796682'/><link rel='alternate' type='text/html' href='http://annelagang.blogspot.com/2012/11/a-reason-for-introduction-to-cyberspace.html' title='A Reason for An Introduction to Cyberspace'/><author><name>Anne Lagang</name><uri>http://www.blogger.com/profile/05795684364081457093</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></feed>