<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Science Is Better &#187; ubuntu</title>
	<atom:link href="http://www.myscienceisbetter.info/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myscienceisbetter.info</link>
	<description></description>
	<lastBuildDate>Sun, 18 Dec 2011 22:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Heroku on Ubuntu</title>
		<link>http://www.myscienceisbetter.info/heroku-on-ubuntu.html</link>
		<comments>http://www.myscienceisbetter.info/heroku-on-ubuntu.html#comments</comments>
		<pubDate>Sun, 18 Sep 2011 18:21:42 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[heroku]]></category>
		<category><![CDATA[ruby-1.9.2]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=256</guid>
		<description><![CDATA[http://devcenter.heroku.com/articles/quickstart]]></description>
			<content:encoded><![CDATA[<p>As everything that comes from ruby world, getting heroku running on Ubuntu is not as easy as we're used to (ie: apt-get install heroku) so there are a few steps that need to be followed. I've written this down so i can come back to it later and so that others don't lose hours trying to figure this out. The data on this article has been scraped from<a href=" http://www.web2linux.com/05/installing-rails-3-on-ubuntu-10-04-lucid-lynx/" target="_blank"> http://www.web2linux.com/05/installing-rails-3-on-ubuntu-10-04-lucid-lynx/</a> and <a href="http://devcenter.heroku.com/articles/quickstart" target="_blank">http://devcenter.heroku.com/articles/quickstart</a></p>
<h4>Installing dependencies</h4>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install curl git-core build-essential zlib1g-dev libssl-dev libreadline5-dev
</pre>
<h4>Install rvm</h4>
<pre class="brush: bash; title: ; notranslate">
#for latest, check https://rvm.beginrescueend.com/
bash &lt; </pre>
<h4>Install ruby-1.9.2</h4>
<pre class="brush: bash; title: ; notranslate">
rvm install 1.9.2 &amp;&amp; rvm use 1.9.2 --default
</pre>
<p>Then add this line as the last line in your .bashrc:</p>
<pre class="brush: bash; title: ; notranslate">
if [[ -s &quot;$HOME/.rvm/scripts/rvm&quot; ]];
        then source &quot;$HOME/.rvm/scripts/rvm&quot;;
fi
</pre>
<h4>Install Heroku</h4>
<p><a href="http://heroku.com/signup">Sign-up for a Heroku account</a> if you haven’t already and then install the <code>heroku</code>gem.</p>
<pre class="brush: bash; title: ; notranslate">gem install heroku</pre>
<p>You will be asked to enter your Heroku credentials the first time you run a command; after the first time, your email address and an API token will be saved to <code>~/.heroku/credentials</code> for future use.</p>
<p>It’s generally a good idea to add your public key immediately after installing the heroku gem so that you can use git to push or clone Heroku app repositories:</p>
<pre class="brush: bash; title: ; notranslate">heroku keys:add
Enter your Heroku credentials.
Email: joe@example.com
Password:
Uploading ssh public key /Users/joe/.ssh/id_rsa.pub
</pre>
<h4>Track your application with Git</h4>
<p>If you’re already using Git with your application, skip to the next step. If you’re not yet using Git to track your application, run this:</p>
<pre class="brush: bash; title: ; notranslate">
cd PATH/TO/MY_APP
git init
# Initialized empty Git repository in .git/
git add .
git commit -m &quot;new app&quot;
Created initial commit 5df2d09: new app
44 files changed, 8393 insertions(+), 0 deletions(-)
</pre>
<h4>Create your Heroku application</h4>
<p>At the command line, run heroku create. The first time you do this, you’ll be asked to enter your Heroku credentials. Once you do, your email address and an API token will be saved to ~/.heroku/credentials, so you won’t have to provide them again.</p>
<p>This first use will also upload your public SSH key so you’ll be able to push and pull code.</p>
<pre class="brush: bash; title: ; notranslate">
heroku create
Enter your Heroku credentials.
Email: joe@example.com
Password:
Uploading ssh public key /Users/joe/.ssh/id_rsa.pub
Created http://high-sunrise-58.heroku.com/ | git@heroku.com:high-sunrise-58.git
Git remote heroku added
</pre>
<p>The last line shows the name of your new Heroku app; in this case, it’s “high-sunrise-58”, and is available at http://high-sunrise-58.heroku.com. If you were to visit that URL before pushing your application code (either by typing it in or running heroku open), you’d see a standard Heroku welcome page.</p>
<p>On the next to last line, there’s another important piece of information: git@heroku.com:high-sunrise-58.git. This is the Git repository address for your new Heroku app, and if you check the output of git remote show heroku you can see that the heroku gem added it as a remote for you automatically.</p>
<h4>Push your application to Heroku</h4>
<pre class="brush: bash; title: ; notranslate">
git push heroku master
Counting objects: 65, done.
Compressing objects: 100% (58/58), done.
Writing objects: 100% (65/65), 80.54 KiB, done.
Total 65 (delta 14), reused 0 (delta 0)

-----&gt; Heroku receiving push
-----&gt; Rails app detected
       Compiled slug size is 0.1MB
-----&gt; Launching....... done
       App deployed to Heroku

To git@heroku.com:high-sunrise-58.git
 * [new branch]      master -&gt; master
</pre>
<h4>Bootstrap your database</h4>
<p>Your app is now running on Heroku with an empty database. Depending on your framework, run the appropriate command to set up your DB. For Ruby on Rails, run:</p>
<pre class="brush: bash; title: ; notranslate">
heroku rake db:migrate
(in /mnt/home/slugs/41913_b81cc1e5813c58c443e4120aff984d006f36ef20/mnt)
== 20081118092504 CreateWidgets: migrating ====================================
-- create_table(:widgets)
   -&gt; 0.0519s
== 20081118092504 CreateWidgets: migrated (0.0520s) ===========================
</pre>
<p>That’s it, your app is now running on Heroku! You can take a look at it in your default web browser by running heroku open.</p>
<p>Next Steps</p>
<p>Now that your application is running, it’s easy to push updates:</p>
<p>Develop and test changes locally.<br />
Commit code to git.<br />
Push your changes to Heroku with git push heroku.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/heroku-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install native 64bit Flash Player 11 on Linux</title>
		<link>http://www.myscienceisbetter.info/install-native-64bit-flash-player-11-on-linux.html</link>
		<comments>http://www.myscienceisbetter.info/install-native-64bit-flash-player-11-on-linux.html#comments</comments>
		<pubDate>Thu, 14 Jul 2011 07:20:08 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[64bit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[flashplayer]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=239</guid>
		<description><![CDATA[Update 3 [30 10 2011]: The script was updated to install of Flash Player 11.2 Beta Update 2 [7 09 2011]: The script was updated to install rc1 of Flash Player 11 Update 1 [13 08 2011]: The script was updated to install b2 of Flash Player 11 Abobe released yesterday the first beta of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update 3 [30 10 2011]</strong>: The script was updated to install of Flash Player 11.2 Beta<br />
<strong>Update 2 [7 09 2011]</strong>: The script was updated to install rc1 of Flash Player 11<br />
<strong>Update 1 [13 08 2011]</strong>: The script was updated to install b2 of Flash Player 11</p>
<p>Abobe released yesterday the first beta of Flash Player 11 for Linux 64 bit.</p>
<p>I've put together a small script that takes care of installing it on Ubuntu:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com

echo &quot;Stopping any Firefox that might be running&quot;
sudo killall -9 firefox

echo &quot;Removing any other flash plugin previously installed:&quot;
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo &quot;Installing Flash Player 11&quot;
cd ~
wget 'http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11-2/flashplayer11-2_p1_install_lin_64_102611.tar.gz'
tar zxvf flashplayer11-2_p1_install_lin_64_102611.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
sudo cp -r usr/ /usr

echo &quot;Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.&quot;
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf usr/
sudo rm -rf flashplayer11-2_p1_install_lin_64_102611.tar.gz
</pre>
<p>A very interesting application that comes bundled in this release is the "flash-player-properties" app which allows us to finally be able to set permissions to mic/camera on websites. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/install-native-64bit-flash-player-11-on-linux.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Ubuntu show desktop on corner hover (mac os x style)</title>
		<link>http://www.myscienceisbetter.info/ubuntu-show-desktop-on-corner-hover-mac-os-x-style.html</link>
		<comments>http://www.myscienceisbetter.info/ubuntu-show-desktop-on-corner-hover-mac-os-x-style.html#comments</comments>
		<pubDate>Tue, 03 May 2011 09:34:45 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=224</guid>
		<description><![CDATA[Open gconf-editor ALT+F2 Navigate: If the show_desktop_edge key is not there, create it as string and then add the value BottomLeft and save.]]></description>
			<content:encoded><![CDATA[<p>Open gconf-editor<br />
ALT+F2</p>
<pre class="brush: bash; title: ; notranslate">
gconf-editor
</pre>
<p>Navigate:</p>
<pre class="brush: bash; title: ; notranslate">
apps → compiz → general→ allscreens → options → show_desktop_edge
</pre>
<p>If the show_desktop_edge key is not there, create it as string and then add the value BottomLeft and save. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/ubuntu-show-desktop-on-corner-hover-mac-os-x-style.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Replace OpenOffice.org with LibreOffice on Ubuntu</title>
		<link>http://www.myscienceisbetter.info/how-to-replace-openoffice-org-with-libreoffice-on-ubuntu.html</link>
		<comments>http://www.myscienceisbetter.info/how-to-replace-openoffice-org-with-libreoffice-on-ubuntu.html#comments</comments>
		<pubDate>Sat, 19 Feb 2011 13:31:06 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[libreoffice]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openoffice]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=195</guid>
		<description><![CDATA[Here are a few easy steps to replace openoffice.org with libreoffice on ubuntu: CLI instructions (these will take care of removing OpenOffice.org and installing LibreOffice): Add the PPA and install LibreOffice: For GNOME integration (for people running default Ubuntu): or for KDE Integration (for people running Kubuntu): As of Ubuntu 11.04, LibreOffice will replace by [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few easy steps to replace openoffice.org with libreoffice on ubuntu:</p>
<p>CLI instructions (these will take care of removing OpenOffice.org and installing LibreOffice):</p>
<p>Add the PPA and install LibreOffice:</p>
<pre class="brush: bash; title: ; notranslate">
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install libreoffice
</pre>
<p>For GNOME integration (for people running default Ubuntu):</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install libreoffice-gnome
</pre>
<p>or for KDE Integration (for people running Kubuntu):</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install libreoffice-kde
</pre>
<p>As of Ubuntu 11.04, LibreOffice will replace by default OpenOffice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/how-to-replace-openoffice-org-with-libreoffice-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix gitk ugly fonts in Ubuntu</title>
		<link>http://www.myscienceisbetter.info/fix-gitk-ugly-fonts-in-ubuntu.html</link>
		<comments>http://www.myscienceisbetter.info/fix-gitk-ugly-fonts-in-ubuntu.html#comments</comments>
		<pubDate>Mon, 24 Jan 2011 12:52:55 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[gitk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[tk]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=190</guid>
		<description><![CDATA[I've recently started playing around with git and found out the power of gitk. Gitk is a small tool built using tcl/tk that helps the user visualize the changes he's done in a graphical, easy to follow manner. By default Ubuntu 10.10 ships with tk8.4 installed by default and that makes gitk look really ugly, [...]]]></description>
			<content:encoded><![CDATA[<p>I've recently started playing around with git and found out the power of gitk. Gitk is a small tool built using tcl/tk that helps the user visualize the changes he's done in a graphical, easy to follow manner. By default Ubuntu 10.10 ships with tk8.4 installed by default and that makes gitk look really ugly, as tk8.4 doesn't support antialiased fonts. To fix this problem simply install tk8.5 and make it default on your machine:</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install tk8.5
sudo update-alternatives --config wish
# a list will show up and you need to type in the number that corresponds to tk8.5 (in my case was 3) then hit enter.
</pre>
<p>That's it. You can now reopen gitk and see the difference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/fix-gitk-ugly-fonts-in-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Find string in files and show line number with grep</title>
		<link>http://www.myscienceisbetter.info/find-string-in-files-and-show-line-number-with-grep.html</link>
		<comments>http://www.myscienceisbetter.info/find-string-in-files-and-show-line-number-with-grep.html#comments</comments>
		<pubDate>Sun, 16 Jan 2011 20:35:13 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[snippets]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=187</guid>
		<description><![CDATA[Handy snippet to find some string inside the files in a directory: Note the -r tells grep also to look into all subfolders recursively.]]></description>
			<content:encoded><![CDATA[<p>Handy snippet to find some string inside the files in a directory:</p>
<pre class="brush: bash; title: ; notranslate">
grep -r --line-number &quot;string_you_search&quot; path/where/to/look
</pre>
<p>Note the -r tells grep also to look into all subfolders recursively.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/find-string-in-files-and-show-line-number-with-grep.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup VPN server and client using OpenVPN</title>
		<link>http://www.myscienceisbetter.info/setup-vpn-server-and-client-using-openvpn.html</link>
		<comments>http://www.myscienceisbetter.info/setup-vpn-server-and-client-using-openvpn.html#comments</comments>
		<pubDate>Sun, 07 Nov 2010 15:11:16 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=179</guid>
		<description><![CDATA[The good thing during the last years is that net access is almost everywhere, and is pretty cheap or even free. A lot of bars, hotels, restaurants offer a free wifi connection, but most of the times that connection is not secured. The biggest security risk with unencrypted connections is the man-in-the-middle type of attack. [...]]]></description>
			<content:encoded><![CDATA[<p>The good thing during the last years is that net access is almost everywhere, and is pretty cheap or even free. A lot of bars, hotels, restaurants offer a free wifi connection, but most of the times that connection is not secured. The biggest security risk with unencrypted connections is the man-in-the-middle type of attack. You are sitting on a bar, checking email, browsing and all your traffic is not encrypted. That means that an attacker can tap into your connection and "listen", intercept everything you are typing. Like that the attacker can get sensitive data (accounts, passwords, credit card numbers etc.)</p>
<p>Since you don't have any control over the connection, what one can do to protect himself is to use a VPN. With a VPN, you are creating a secure (encrypted) point-to-point connection between your PC and the VPN server. Translated, that means that all the Internet traffic you are doing, is going through that secure channel, which can't be hacked that easily.</p>
<p>Here us how to setup a vpn server using openVPN</p>
<h3>The server</h3>
<p>1. Install openvpn and openssl</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install openvpn libssl-dev openssl
</pre>
<p>2. Configurations</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/openvpn/
cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
</pre>
<p>3. Create server certificates</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/openvpn/easy-rsa/
source vars
./clean-all
./build-dh
./pkitool --initca
./pkitool --server server
cd keys
openvpn --genkey --secret ta.key
cp server.crt server.key ca.crt dh1024.pem ta.key /etc/openvpn/
</pre>
<p>4. Create client certificates</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/openvpn/easy-rsa/
source vars
./pkitool hostname
</pre>
<p>For each new client that connects to the VPN you'll need to create new client certificates using step 4</p>
<p>5. Create server configuration file: </p>
<pre class="brush: bash; title: ; notranslate">
cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/
gzip -d /etc/openvpn/server.conf.gz
</pre>
<p>After editing your file should look like this:</p>
<pre class="brush: bash; title: ; notranslate">
dev tun
proto tcp
port 1194

ca ca.crt
cert server.crt
key server.key
dh dh1024.pem

user nobody
group nogroup
server 10.10.0.0 255.255.255.0

persist-key
persist-tun

client-to-client

push &quot;redirect-gateway def1&quot;
push &quot;dhcp-option DNS 208.67.222.222&quot;
push &quot;dhcp-option DNS 208.67.220.220&quot;
</pre>
<p>6. Enable routing and MASQUERADE for your VPN by placing the following in your /etc/rc.local</p>
<pre class="brush: bash; title: ; notranslate">
echo 1 &gt; /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.10.0.0/24 -o eth0 -j MASQUERADE
</pre>
<p>7. Start the server</p>
<pre class="brush: bash; title: ; notranslate">
/etc/rc.local
/etc/init.d/openvpn restart
</pre>
<h3>The Client</h3>
<p>1. Ubuntu (all modern linux?)<br />
I'm using an Ubuntu machine as a client. To use openvpn in Ubuntu just install the openvpn plugin for NetworkManager:</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install network-manager-openvpn
</pre>
<p>A reboot is recommended. </p>
<p>You can now go and add your connection in Network Manager</p>
<p>2. Windows - to come<br />
3. Mac OS X - to come</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/setup-vpn-server-and-client-using-openvpn.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Adobe® Flash® Player &#8220;Square&#8221; on Linux</title>
		<link>http://www.myscienceisbetter.info/install-adobe-flash-player-square-on-linux.html</link>
		<comments>http://www.myscienceisbetter.info/install-adobe-flash-player-square-on-linux.html#comments</comments>
		<pubDate>Fri, 17 Sep 2010 07:45:52 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[64bit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[flashplayer]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=158</guid>
		<description><![CDATA[Adobe® Flash® Player "Square" is a preview release that enables native 64-bit support on Linux, Mac OS, and Windows operating systems, as well as enhanced support for Microsoft Internet Explorer 9 beta. I'm glad to see Adobe has is finally embracing the way it should the 64 bit Platform. This release is a milestone as [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Adobe® Flash® Player "Square" is a preview release that enables native 64-bit support on Linux, Mac OS, and Windows operating systems, as well as enhanced support for Microsoft Internet Explorer 9 beta.</p></blockquote>
<p>I'm glad to see Adobe has is finally embracing the way it should the 64 bit Platform. This release is a milestone as far as i know, as is the first one that's released in the same time for win, mac and linux. I've put together a small tutorial on<br />
<a href="http://www.myscienceisbetter.info/install-adobe-flash-player-square-on-linux.html">how to install adobe flash player square on linux</a>:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com

echo &quot;Stopping any Firefox that might be running&quot;
sudo killall -9 firefox

echo &quot;Removing any other flash plugin previously installed:&quot;
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo &quot;Installing Flash Player Square&quot;
cd ~
# 64 bit
wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz
tar zxvf flashplayer_square_p1_64bit_linux_091510.tar.gz
# 32 bit
# wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_32bit_linux_091510.tar.gz
# tar zxvf flashplayer_square_p1_32bit_linux_091510.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo &quot;Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.&quot;
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf flashplayer_square_p1_64bit_linux_091510.tar.gz
</pre>
<p>To check if the install did it's job, you need to check about:plugins in your address bar. It should show you this for flash player:</p>
<h2>Shockwave Flash</h2>
<dl>
<dd>File:  libflashplayer.so</dd>
<dd>Version: </dd>
<dd> Shockwave Flash 10.2 d161</dd>
</dl>
<table border="1">
<thead>
<tr>
<th>MIME Type</th>
<th>Description</th>
<th>Suffixes</th>
<th>Enabled</th>
</tr>
</thead>
<tbody>
<tr>
<td>application/x-shockwave-flash</td>
<td>Shockwave Flash</td>
<td>swf</td>
<td>Yes</td>
</tr>
<tr>
<td>application/futuresplash</td>
<td>FutureSplash Player</td>
<td>spl</td>
<td>Yes</td>
</tr>
</tbody>
</table>
<p>As usual, I've wrapped everything mentioned before into a script to easily <a href="http://www.myscienceisbetter.info/flash-player/flash-player-square-installer.sh">install flash player square on Linux</a></p>
<p>If this version doesn't work out that well for you, you can still check my other tutorial on <a href="http://www.myscienceisbetter.info/install-native-64bit-flash-player-10-on-linux.html">how to install native 64bit flash player on Linux</a><br />
Happy browsing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/install-adobe-flash-player-square-on-linux.html/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>CLI Disk Usage</title>
		<link>http://www.myscienceisbetter.info/cli-disk-usage.html</link>
		<comments>http://www.myscienceisbetter.info/cli-disk-usage.html#comments</comments>
		<pubDate>Mon, 30 Aug 2010 12:37:00 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ncurses]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[cli disk usage]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ncdu]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=148</guid>
		<description><![CDATA[Modern Linux systems have plenty of tools for both Gnome and Kde to analyze the disk space. But if you log into a server via SSH or similar, you're out of luck. You need a tool for Cli Disk Usage analytics. That tool is ncdu. You can install it easy: Issuing ncdu inside the folder [...]]]></description>
			<content:encoded><![CDATA[<p>Modern Linux systems have plenty of tools for both Gnome and Kde to analyze the disk space. But if you log into a server via SSH or similar, you're out of luck. You need a tool for <a href="http://www.myscienceisbetter.info/cli-disk-usage.html">Cli Disk Usage analytics</a>. That tool is <a title="NCurses Disk Usage" href="http://dev.yorhel.nl/ncdu" target="_blank">ncdu</a>.</p>
<p>You can install it easy:</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install ncdu
</pre>
<p>Issuing ncdu inside the folder you want to check will open a cool ncurses interface, really easy to use <img src='http://www.myscienceisbetter.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/cli-disk-usage.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting disc images to another format on Linux</title>
		<link>http://www.myscienceisbetter.info/converting-disc-images-to-another-format-on-linux.html</link>
		<comments>http://www.myscienceisbetter.info/converting-disc-images-to-another-format-on-linux.html#comments</comments>
		<pubDate>Sun, 29 Aug 2010 16:17:26 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[disc image]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=146</guid>
		<description><![CDATA[While this information is available all over the net, i find myself losing enough time now and again trying to figure out how to convert a disk image to iso or something useful for that matter. So i decided to put together a small tutorial on converting disk images to another format on Linux, so [...]]]></description>
			<content:encoded><![CDATA[<p>While this information is available all over the net, i find myself losing enough time now and again trying to figure out how to convert a disk image to iso or something useful for that matter. So i decided to put together a small tutorial on converting disk images to another format on Linux, so i can easily access it whenever i need it.</p>
<p>The most popular disk image formats i've had to deal with are: iso (which Ubuntu handles by default perfectly), CloneCD/IMG (used by CloneCD), CUE/BIN, MDF (created by Alcohol 120%), NRG (Nero images) and last but not least DMG (format used mainly by Apple).</p>
<p>Since Linux handles very well .iso files, the idea is to convert any of the image types listed into iso and then the job is easy. For all of the formats there are tools to do just that. You can install them as follows:</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get install ccd2iso bchunk mdf2iso nrg2iso dmg2img
</pre>
<p>Example usage:</p>
<pre class="brush: bash; title: ; notranslate">
# ccd
ccd2iso /path/to/example.img /path/to/example.iso
# bin/cue
bchunk /path/to/example.bin /path/to/example.cue /path/to/example.iso
# mdf
mdf2iso /path/to/example.mdf /path/to/example.iso
# nrg
nrg2iso /path/to/example.nrg /path/to/example.iso
# dmg
dmg2img filename.dmg
</pre>
<p>Some of those formats can be also mounted using the CLI:</p>
<pre class="brush: bash; title: ; notranslate">
# ccd/img
sudo mount -o loop example.img /media/example
# nrg
sudo mount -o loop,offset=307200 /path/to/example.nrg /media/example
# dmg
dmg2img /path/to/example.dmg /path/to/example.img
sudo modprobe hfsplus
sudo mount -t hfsplus -o loop example.img /media/example
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/converting-disc-images-to-another-format-on-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

