<?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>Josh Benham</title>
	<atom:link href="http://joshbenham.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshbenham.net</link>
	<description>The teachings of a student</description>
	<lastBuildDate>Wed, 14 Mar 2012 11:44:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up a Pyramid project from scratch on Ubuntu 11.10</title>
		<link>http://joshbenham.net/85/setting-up-a-pyramid-project-from-scratch-on-ubuntu-11-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-a-pyramid-project-from-scratch-on-ubuntu-11-10</link>
		<comments>http://joshbenham.net/85/setting-up-a-pyramid-project-from-scratch-on-ubuntu-11-10/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 11:44:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Pyramid]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://joshbenham.net/?p=85</guid>
		<description><![CDATA[Recently i have been getting into more Python and have been using the Pyramid framework. Pyramid framework is a micro framework for Python kind of like Sinatra for Ruby. So here is a quick guide showing you how to set up Pyramid on an Ubuntu 11.10 base install in only 6 steps. 1. First thing [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i have been getting into more <a href="http://python.org/">Python</a> and have been using the <a href="http://docs.pylonsproject.org/en/latest/docs/pyramid.html">Pyramid framework</a>. <a href="http://docs.pylonsproject.org/en/latest/docs/pyramid.html">Pyramid framework</a> is a micro framework for <a href="http://python.org/">Python</a> kind of like <a href="http://www.sinatrarb.com/">Sinatra</a> for <a href="http://www.ruby-lang.org/">Ruby</a>.</p>
<p>So here is a quick guide showing you how to set up Pyramid on an <a href="http://www.ubuntu.com/">Ubuntu</a> 11.10 base install in only <strong>6 steps</strong>.</p>
<p>1. First thing to do is make sure that python setup tools are installed</p>
<pre class="brush: bash; gutter: true;">sudo apt-get install python-pip python-dev build-essential</pre>
<p>2. Next we want to install virtualenv as we will keep all our packages in their own virtual environment.</p>
<pre class="brush: bash; gutter: true;">sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv</pre>
<p>3. Create your home directory and cd into it</p>
<pre class="brush: bash; gutter: true;">
mkdir PROJECT_NAME
cd PROJECT_NAME
</pre>
<p>4. Create a virtual environment and activate it</p>
<pre class="brush: bash; gutter: true;">
virtualenv env
source env/bin/activate
</pre>
<p>5. Install pyramid framework and start an empty pyramid project</p>
<pre class="brush: bash; gutter: true;">
env/bin/pip install pyramid
env/bin/pcreate -s starter PROJECT_NAME
</pre>
<p>6. Go into the project. Run the set up script and run the website using Pyramids own little server</p>
<pre class="brush: bash; gutter: true;">
cd PROJECT_NAME
../env/bin/python setup.py develop
../env/bin/pserve development.ini
</pre>
<p>Once you have done that it will return the IP and Port that it is running the webserver on and you use that in the browser. THAT IS IT!</p>
]]></content:encoded>
			<wfw:commentRss>http://joshbenham.net/85/setting-up-a-pyramid-project-from-scratch-on-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2 and the Vala programming language on elementary OS</title>
		<link>http://joshbenham.net/69/sublime-text-2-and-the-vala-programming-language-on-elementary-os/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sublime-text-2-and-the-vala-programming-language-on-elementary-os</link>
		<comments>http://joshbenham.net/69/sublime-text-2-and-the-vala-programming-language-on-elementary-os/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:10:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[elementary]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sublimetext]]></category>
		<category><![CDATA[vala]]></category>

		<guid isPermaLink="false">http://joshbenham.net/?p=69</guid>
		<description><![CDATA[Today i am going to show you how to install the new beta Sublime Text 2 editor with the addition of also adding a Sublime Package to add Vala support seeing as most elementary applications are starting to be built in the Vala programming language as it is the preferred language to use for elementary [...]]]></description>
			<content:encoded><![CDATA[<p>Today i am going to show you how to install the new <em><strong>beta</strong></em> Sublime Text 2 editor with the addition of also adding a Sublime Package to add Vala support seeing as most elementary applications are starting to be built in the Vala programming language as it is the preferred language to use for elementary OS.</p>
<p>First thing you will need to do is to go to <a title="Sublime Text 2" href="http://www.sublimetext.com/2">http://www.sublimetext.com/2</a> to get version 2 and click on the download link for the version that you need. In my case i will be downloading the <a title="Linux 64 bit" href="http://download.sublimetext.com/Sublime%20Text%202%20Build%202111%20x64.tar.bz2">Linux 64 bit</a> version of the current build which is at 20111 (which probably doesnt mean a whole lot at this time).</p>
<p>Once you have downloaded Sublime Text 2 extract it to where ever. In my case i have an Applications folder in Home which i will install it to. Then inside that folder you will see an executable file called <strong>sublime_text</strong>. Click on this as it will create a whole lot of files that you will need later on. Then close Sublime so we can install the Vala Package.</p>
<p>The good thing about Sublime Text 2 is that a lot of the TextMate packages are also compatible with Sublime Text 2 so go to <a title="Vala TMBundle" href="https://github.com/technosophos/Vala-TMBundle">https://github.com/technosophos/Vala-TMBundle</a>. So you can go to this page to install the Vala package or you can continue and we will install it through Github.</p>
<p>If you do not have Git installed go to your terminal and type:</p>
<pre class="brush: bash; gutter: true; first-line: 1">sudo apt-get install git-core</pre>
<p style="text-align: center;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/installing-git.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-72" title="Installing Git" src="http://joshbenham.net/wp-content/uploads/2011/09/installing-git-300x224.jpg" alt="Installing Git" width="300" height="224" /></a></p>
<p>Once you have installed git go to the Sublime Packages folder and install the Vala Package.</p>
<pre class="brush: bash; gutter: true; first-line: 1">cd .config/sublime-text-2/Packages/
git clone git://github.com/technosophos/Vala-TMBundle.git Vala</pre>
<p style="text-align: center;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/installing-vala.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-76" title="Installing Vala Package" src="http://joshbenham.net/wp-content/uploads/2011/09/installing-vala-300x224.jpg" alt="Installing Vala Package" width="300" height="224" /></a></p>
<p>Now there we have it. Now just open up Sublime Text 2 and folders to your project and start programming in Vala with nice syntax highlight.</p>
<p style="text-align: center;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/vala-program.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-77" title="Squish Vala Program" src="http://joshbenham.net/wp-content/uploads/2011/09/vala-program-300x224.jpg" alt="Squish Vala Program" width="300" height="224" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://joshbenham.net/69/sublime-text-2-and-the-vala-programming-language-on-elementary-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing elementary OS Luna Development Build</title>
		<link>http://joshbenham.net/7/installing-elementaryos-luna-development-build/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-elementaryos-luna-development-build</link>
		<comments>http://joshbenham.net/7/installing-elementaryos-luna-development-build/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 12:45:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[elementary]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://joshbenham.net/?p=7</guid>
		<description><![CDATA[Today i am going to take you though the easiest way to install the development version of elementary OS Luna. Keeping in mind that Luna is still very alpha and I wouldn't suggest you install it on your main computer because to put it lightly ..... shit might break! The easiest way as of TODAY (that i am [...]]]></description>
			<content:encoded><![CDATA[<p>Today i am going to take you though the easiest way to install the development version of elementary OS Luna. Keeping in mind that Luna is still very alpha and I wouldn't suggest you install it on your main computer because to put it lightly ..... shit might break!</p>
<p>The easiest way as of <strong>TODAY</strong> (that i am aware of) to install elementary OS is by installing <a title="Ubuntu Oneiric Alpha 3" href="http://cdimage.ubuntu.com/releases/oneiric/alpha-3/" target="_blank">Ubuntu Oneiric Alpha 3</a> and going from there. At the moment I am assuming you know how to install Ubuntu so I will skip that part.</p>
<p>One you have installed Ubuntu we are going to update the system to have all the latest packages. Open up the terminal and type this:</p>
<pre class="brush: bash; gutter: true">sudo apt-get update &amp;&amp; sudo apt-get upgrade</pre>
<p style="text-align: center; overflow: hidden;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/upgrade-oneiric.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-27" title="Upgrading Oneiric" src="http://joshbenham.net/wp-content/uploads/2011/09/upgrade-oneiric-300x225.jpg" alt="Upgrading Oneiric" width="300" height="225" /></a></p>
<p>Add in both PPA's into software sources:</p>
<pre class="brush: bash; gutter: true"># Elementary Development PPA
deb http://ppa.launchpad.net/elementaryart/elementary-dev/ubuntu oneiric main
deb-src http://ppa.launchpad.net/elementaryart/elementary-dev/ubuntu oneiric main 

# Elementary Unstable Upstream
deb http://ppa.launchpad.net/elementaryart/unstable-upstream/ubuntu oneiric main
deb-src http://ppa.launchpad.net/elementaryart/unstable-upstream/ubuntu oneiric main</pre>
<p style="text-align: center; overflow: hidden;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/software-sources.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-44" title="Software Sources" src="http://joshbenham.net/wp-content/uploads/2011/09/software-sources-300x224.jpg" alt="Software Sources" width="300" height="224" /></a></p>
<p>Once you have done this it is now time to update the PPA's and install elementary!</p>
<pre class="brush: bash; gutter: true">sudo apt-get update
sudo apt-get install elementary-desktop</pre>
<p style="text-align: center; overflow: hidden;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/elementary-desktop.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-48" title="Installing Elementary Desktop" src="http://joshbenham.net/wp-content/uploads/2011/09/elementary-desktop-300x224.jpg" alt="Installing Elementary Desktop" width="300" height="224" /></a></p>
<p>Once this has finished restart your machine and now at the login screen we click on the dropdown and choose Pantheon instead of Ubuntu.</p>
<p style="text-align: center; overflow: hidden;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/pantheon.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-53" title="Pantheon Desktop" src="http://joshbenham.net/wp-content/uploads/2011/09/pantheon-300x225.jpg" alt="Pantheon Desktop" width="300" height="225" /></a></p>
<p>Once this has done you have finished and you can start playing around with the unstable packages of elementary Luna like so:</p>
<p style="text-align: center; overflow: hidden;"><a href="http://joshbenham.net/wp-content/uploads/2011/09/elementary.jpg" rel="lightbox"><img class="aligncenter size-medium wp-image-54" title="Elementary System" src="http://joshbenham.net/wp-content/uploads/2011/09/elementary-300x225.jpg" alt="Elementary System" width="300" height="225" /></a></p>
<p>Remember that whenever you want to keep your system up-to-date with the 'unstable' packages in the PPA's we added we need to run:</p>
<pre class="brush: bash; gutter: true">sudo apt-get update &amp;&amp; sudo apt-get upgrade</pre>
<p>I tend to run this once a day and i am getting a lot of updates because Ubuntu and elementary are so heavily under development at the moment!</p>
<p>If you have any questions feel free to leave them as a comment. I am not a developer or a designer of elementary just a fan of it and would still love feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://joshbenham.net/7/installing-elementaryos-luna-development-build/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

