<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Nick Bonadies's Barbarian Blog</title>
    <link>http://www.barbariangroup.com/employees/nick_bonadies.xml</link>
    <description>The latest posts by Nick Bonadies on TheBarbarianGroup.com</description>
    <language>en-us</language>
    <item>
      <title>Great Moments in Barbarian History</title>
      <description>&lt;div class="t_block"&gt;December 9th marked 10 whole years of existence for The Barbarian Group, and we had this &lt;a href="http://barbariangroup.com/posts/9512-tbg_x_tenth_anniversary_party" target="_blank"&gt;big ol&amp;#8217; party&lt;/a&gt; to celebrate.&lt;/div&gt;


	&lt;div class="t_block"&gt;For this auspicious occasion, we built an iPad gallery displaying great moments in Barbarian history, chronicling everything from our pneumatic beer cannon to that one time a few of us got arrested.&lt;/div&gt;


	&lt;div class="t_block"&gt;If you couldn&amp;#8217;t make the party in &lt;span class="caps"&gt;NYC&lt;/span&gt; (or if you partied a little too hard and missed the gallery the first time), you can still revel in that great historical volume. Ladies and Gentlemen, &lt;a href="http://x.barbariangroup.com/" title="Great Moments in Barbarian History" target="_blank"&gt;Great Moments in Barbarian History.&lt;/a&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;img src="http://barbariangroup.com/assets/users/nick/images/0001/1214/2012-01-13_03.30.31_pm.png" alt="" /&gt;&lt;/div&gt;</description>
      <author>nick@barbariangroup.com(Nick Bonadies)</author>
      <pubDate>Wed, 18 Jan 2012 17:29:58 -0500</pubDate>
      <link>http://barbariangroup.com/posts/9604-great_moments_in_barbarian_history</link>
      <guid>http://barbariangroup.com/posts/9604-great_moments_in_barbarian_history</guid>
    </item>
    <item>
      <title>The Joy of Home Brewing</title>
      <description>&lt;div class="t_block"&gt;&lt;img src="http://barbariangroup.com/assets/users/nick/images/0001/0975/7decb2ec041e11e1a87612313804ec91_7.jpeg" alt="" /&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;This is my second &lt;span class="caps"&gt;IPA&lt;/span&gt;, and the second beer I&amp;#8217;ve ever brewed. It came out pretty decent, save for a lack of head. Recipe can be found here: http://www.northernbrewer.com/documentation/beerkits/DeadRingerIPA.pdf&lt;/div&gt;</description>
      <author>nick@barbariangroup.com(Nick Bonadies)</author>
      <pubDate>Tue, 01 Nov 2011 16:38:13 -0400</pubDate>
      <link>http://barbariangroup.com/posts/9290-the_joy_of_home_brewing</link>
      <guid>http://barbariangroup.com/posts/9290-the_joy_of_home_brewing</guid>
    </item>
    <item>
      <title>My Very Own &amp;quot;Dropbox&amp;quot;</title>
      <description>&lt;div class="t_block"&gt;I have a certain&amp;#8230; paranoia when it comes to &amp;#8220;cloud&amp;#8221; services. Especially the likes of Dropbox, iCloud, etc. The services that &amp;#8220;just work.&amp;#8221; However, I recognize the value of these services and would actually find them extremely useful. So one day I thought to myself, &amp;#8220;Man I really need to solve this problem of having files that I need for my personal life tossed all across four (yes 4) computers.&amp;#8221; And then I thought, &amp;#8220;Maybe I should just give in and use Dropbox&amp;#8230;&amp;#8221; Of course then I read things like &lt;a href="http://www.huffingtonpost.com/2011/06/21/dropbox-security-bug-passwords_n_881085.html" target="_blank"&gt;this&lt;/a&gt; and &lt;a href="http://www.pcworld.com/businesscenter/article/228036/researcher_dropbox_misrepresents_security_features.html" target="_blank"&gt;this.&lt;/a&gt; It isn&amp;#8217;t that I have top secret military project files or anything, or that I have a bunch of illegal business goings on that I need to hide from law enforcement, but it is personal information. Stuff that anyone would care to have backed up in a safe, secure location, like banking information, taxes, passwords, etc. Stuff that you would want access to at the drop of a hat from any computer you were on. So&amp;#8230;&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;img src="http://barbariangroup.com/assets/users/nick/images/0001/0351/challenge-accepted.png" alt="" /&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;I&amp;#8217;ll make my own dropbox. Using my own server, and free open source software. Here is the process.&lt;/div&gt;


	&lt;div class="t_block"&gt;First you&amp;#8217;ll want to have a server setup and hardened. Hopefully you&amp;#8217;re able to do that because the process is too long for this guide. My personal dropbox is made up of 3 pieces of software, git, gitosis, and &lt;a href="http://sparkleshare.org/" target="_blank"&gt;SparkleShare.&lt;/a&gt; You&amp;#8217;ll also need to have &lt;span class="caps"&gt;SSH&lt;/span&gt; configured to use authentication keys instead of passwords.&lt;/div&gt;


	&lt;div class="t_block"&gt;For sake of ease, let&amp;#8217;s say we&amp;#8217;re using a 10.04 Ubuntu fully updated and patched server. First we want to install git so run:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo apt-get install git-core&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;Now that we have git installed we can grab the latest version of gitosis:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;cd ~/&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;git clone git://eagain.net/gitosis.git&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;cd gitosis&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;Now we have the source for gitosis downloaded we need python and setup tools:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo apt-get install python-setuptools&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;And now, from the gitosis directory, we&amp;#8217;ll install gitosis:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo python setup.py install&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;Cool. Next we need to set up a user to contain our repos and manage our ssl certificates. This user can be whatever, but for sake of ease in this tutorial we&amp;#8217;ll just call it &amp;#8220;git.&amp;#8221; The home directory can be where ever you choose as well, but again, for sake of ease in this tutorial we&amp;#8217;ll just put it in /home/git.&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo adduser --home /home/git --group --system --shell /bin/sh --disabled-password git&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;That&amp;#8217;ll create the user, the group, and a homefolder. It will also disallow password authentication which means we&amp;#8217;ll have to use key authentication. Now we&amp;#8217;ll have to add our first public key to gitosis so that we have admin access. First copy the public key of the machine you are working on up to the server and run the following where &amp;#8220;my_kefile.pub&amp;#8221; is your public key:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo -H -u git gitosis-init &amp;lt; my_keyfile.pub&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;That command will load the git user $PATH (important because we are running the gitosis-init binary) and run the gitosis-init binary as the git user. That will create our first git repo, gitosis-admin, and add our key so that we have access. Now a little cleanup. Every other gitosis install guide will tell you that you need to make sure the gitosis-admin post-update hook needs to be made executable. It has always been fine for me, but just incase run:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;Alright! That is it for server setup. Good job. Let&amp;#8217;s head back to your workstation now. Hopefully you have git already installed on your workstation, but if you don&amp;#8217;t head &lt;a href="http://git-scm.com/download" target="_blank"&gt;here&lt;/a&gt; and download the appropriate installer. Crack open your terminal application and run the following:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;git clone git@your.server.com:gitosis-admin.git&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;This will clone the gitosis admin configuration down to your computer into the directory you are currently in. If you cd into gitosis-admin and have a look around you should see a &amp;#8220;keydir&amp;#8221; and a &amp;#8220;gitosis.conf&amp;#8221; file. The keydir stores all the public keys that will have access to your git repositories. The gitosis.conf file is where you set up and configure access to repositories.&lt;/div&gt;


	&lt;div class="t_block"&gt;First let&amp;#8217;s check out how repos are set up. Open up the gitosis.conf file. You should see the default configuration there already, it looks something like:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;[gitosis]&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;[group gitosis-admin]&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;writable = gitosis-admin&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;members = nick_macbook&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;the [group ..] definition is an arbitrary definition, it can be whatever you want. Next &amp;#8220;writeable = ... &amp;#8221; defines the name of the repository that is writeable by the group, in the default case the gitosis-admin repo. Finally &amp;#8220;members = ... &amp;#8221; defines the keys that are members of the group, they are the filename of the key minus the .pub extension. So in this case I have a file in the &amp;#8220;keydir&amp;#8221; directory called &amp;#8220;nick_macbook.pub.&amp;#8221; I&amp;#8217;ve made it a member of the group &amp;#8220;gitosis-admin&amp;#8221; which has writeable permissions on the repository &amp;#8220;gitosis-admin&amp;#8221; (write-ability implies read-ability in this case).&lt;/div&gt;


	&lt;div class="t_block"&gt;Now let&amp;#8217;s set up our dropbox repo, add something like the following to gitosis.conf:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;[group dropbox]&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;writable = dropbox&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;members = nick_macbook&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;Save the file and head back to terminal and run:&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;code&gt;cd gitosis-admin&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;git commit -a -m "added dropbox repo"&lt;/code&gt;&lt;/br&gt;&lt;br /&gt;&lt;code&gt;git push&lt;/code&gt;&lt;/div&gt;


	&lt;div class="t_block"&gt;We just entered the gitosis-admin repo, committed the changes we made to gitosis.conf, and then pushed them up to the server. By doing that we created a new git repo that will become our &amp;#8220;dropbox&amp;#8221; folder. Sweet!&lt;/div&gt;


	&lt;div class="t_block"&gt;There is a lot to gitosis, but just know that you can add more keys to the keydir, then add the file names without the .pub extension to the &amp;#8220;members&amp;#8221; definition of any group to grant that key access to the group&amp;#8217;s repository.&lt;/div&gt;


	&lt;div class="t_block"&gt;Finally let&amp;#8217;s set up SparkleShare. Once you&amp;#8217;ve downloaded the app and copied it to your applications folder, fire it up. After you do that SparkleShare will ask you to set up a remote folder. The &amp;#8220;Address&amp;#8221; will be your server&amp;#8217;s hostname, and the foldername will be the name of the repository we just set up, in this case it is &amp;#8220;dropbox.git.&amp;#8221; As long as you have your keys set up properly in gitosis, when you hit &amp;#8220;sync&amp;#8221; SparkleShare will create a new directory in your home folder and boom! You&amp;#8217;ve got a drop box. Add any files to that folder and SparkleShare will automatically commit and push them up to your remote server. It&amp;#8217;ll also periodically pull down whatever the server has that the local working copy doesn&amp;#8217;t. Neat eh?&lt;/div&gt;


	&lt;div class="t_block"&gt;&lt;strong&gt;A Couple Notes&lt;/strong&gt;&lt;br /&gt;You&amp;#8217;ll obviously have to configure your firewall to allow traffic on port 22 for this to work. If you&amp;#8217;re having trouble pulling down the repo in SparkleShare, did you remember to push your gitosis conf up?&lt;/div&gt;</description>
      <author>nick@barbariangroup.com(Nick Bonadies)</author>
      <pubDate>Tue, 28 Jun 2011 10:03:56 -0400</pubDate>
      <link>http://barbariangroup.com/posts/8642-my_very_own_quot_dropbox_quot</link>
      <guid>http://barbariangroup.com/posts/8642-my_very_own_quot_dropbox_quot</guid>
    </item>
    <item>
      <title>heheh i made a funny!
vincentiadevaia:

tumblr won&#8217;t load at...</title>
      <description>&lt;div class="t_block"&gt;&lt;img src="http://29.media.tumblr.com/tumblr_lize8uEgjz1qbtbabo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;heheh i made a funny!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://vincentiadevaia.tumblr.com/post/4259959012"&gt;vincentiadevaia&lt;/a&gt;:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;tumblr won&#8217;t load at work, twitter leads me here, April Fools @barbariangroup&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/div&gt;</description>
      <author>nick@barbariangroup.com(Nick Bonadies)</author>
      <pubDate>Sat, 02 Apr 2011 04:03:43 -0400</pubDate>
      <link>http://barbariangroup.com/posts/7940-heheh_i_made_a_funny_vincentiadevaia_tumblr_won_t_load_at</link>
      <guid>http://barbariangroup.com/posts/7940-heheh_i_made_a_funny_vincentiadevaia_tumblr_won_t_load_at</guid>
    </item>
    <item>
      <title>I made a funny!
nickdivers:

Finally, a funny one.</title>
      <description>&lt;div class="t_block"&gt;&lt;img src="http://24.media.tumblr.com/tumblr_lizdjz9Ron1qzpsapo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I made a funny!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://blog.nickdivers.com/post/4259716137"&gt;nickdivers&lt;/a&gt;:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;Finally, a funny one.&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/div&gt;</description>
      <author>nick@barbariangroup.com(Nick Bonadies)</author>
      <pubDate>Sat, 02 Apr 2011 04:03:44 -0400</pubDate>
      <link>http://barbariangroup.com/posts/7941-i_made_a_funny_nickdivers_finally_a_funny_one</link>
      <guid>http://barbariangroup.com/posts/7941-i_made_a_funny_nickdivers_finally_a_funny_one</guid>
    </item>
  </channel>
</rss>

