<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>A place for me to post about things that interest me. If you stick around, you might find something interesting!</description><title>misfoc.us</title><generator>Tumblr (3.0; @misfocus)</generator><link>http://misfoc.us/</link><item><title>BigCouch Clustering</title><description>&lt;p&gt;In a previous &lt;a href="http://misfoc.us/post/16582488029/bigcouch-0-4-and-freebsd"&gt;article&lt;/a&gt;, I wrote on how to install &lt;a href="http://bigcouch.cloudant.com/"&gt;BigCouch 0.4&lt;/a&gt; on FreeBSD. One of the benefits of going to BigCouch over straight up &lt;a href="http://couchdb.apache.org/"&gt;CouchDB&lt;/a&gt; is the clustering capabilities. I had to do some digging around and spend some time talking to rnewson in the irc room to get everything working. Here&amp;#8217;s a quick step-by-step setup:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(paths are all freebsd based)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;After getting BigCouch installed, you&amp;#8217;ll need to edit &lt;code&gt;/usr/local/bigcouch/etc/vm.args&lt;/code&gt; on each node:&lt;/p&gt;

&lt;p&gt;node 1&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;-name bigcouch@123.456.789.200
-setcookie some_text
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;node 2&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;-name bigcouch@123.456.789.100
-setcookie some_text
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;(make sure that the name is fully qualified as it must be resolvable on each node)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you&amp;#8217;ve changed these settings while BigCouch was previously running, you&amp;#8217;ll need to restart to load the new settings.&lt;/p&gt;

&lt;p&gt;You now need to tell at least one member of the cluster about the other node(s): 
&lt;em&gt;(the nodes db will be replicated to all members)&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;curl -X PUT &lt;a href="http://123.456.789.100:5986/nodes/bigcouch@123.456.789.200"&gt;http://123.456.789.100:5986/nodes/bigcouch@123.456.789.200&lt;/a&gt; -d {}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now that you have this in place, you can now create a new database:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;curl -X PUT 'http://bigcouch.cluster.com:5984/new_database?n=3&amp;amp;q=32'
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You should now see this database appear on both boxes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Q and N are fixed at database creation time.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This means that if you add a new node, the existing database does not automagically scale out to include the new node.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You have a couple ways of getting around this:&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;Create a new database and use replication to migrate data to the new, larger cluster.&lt;/li&gt;
&lt;li&gt;Manually move shards from existing nodes to the new node. You can find some solid instructions for this option &lt;a href="http://stackoverflow.com/questions/6676972/moving-a-shard-from-one-bigcouch-server-to-another-for-balancing/6955900#6955900"&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</description><link>http://misfoc.us/post/19236069478</link><guid>http://misfoc.us/post/19236069478</guid><pubDate>Tue, 13 Mar 2012 10:50:00 -0400</pubDate><category>bigcouch</category><category>freebsd</category><category>how-to</category></item><item><title>Syncing Sublime Text 2 Settings via Dropbox</title><description>&lt;p&gt;I just recently purchased &lt;a href="http://www.sublimetext.com/2"&gt;Sublime Text 2&lt;/a&gt; and thought I would do some digging into syncing the config files via &lt;a href="http://db.tt/G9HKWMIE"&gt;Dropbox&lt;/a&gt; &lt;em&gt;(affiliate link)&lt;/em&gt;. There&amp;#8217;s no real way of changing where Sublime looks for it&amp;#8217;s file, but we can skirt this issue using symlinks. I run Sublime on Mac and a Windows machine, so I&amp;#8217;ll post directions for both platforms.&lt;/p&gt;

&lt;h4&gt;Windows&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;(has been tested on Sublime Text 2 build 2165 on Windows 7)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;First, create a folder in your Dropbox path where you&amp;#8217;d like to put your Sublime files. I used&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{Dropbox Path}/appdata/sublime
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You&amp;#8217;ll need to find out where Sublime is saving your settings. I found this by clicking on the &lt;strong&gt;Browse Packages&lt;/strong&gt; menu option under &lt;strong&gt;Preferences&lt;/strong&gt;. Here&amp;#8217;s what mine looked like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;C:\Users\username\AppData\Roaming\Sublime Text 2\Packages
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Make sure you&amp;#8217;ve closed Sublime Text before continuing.&lt;/p&gt;

&lt;p&gt;Copy &lt;strong&gt;Packages&lt;/strong&gt;, &lt;strong&gt;Installed Packages&lt;/strong&gt;, and &lt;strong&gt;Pristine Packages&lt;/strong&gt; to the folder you&amp;#8217;ve created on Dropbox.&lt;/p&gt;

&lt;p&gt;At this point, remove the actual folders from the Sublime path. We&amp;#8217;re going to create some symlinks now. Open a &lt;strong&gt;CMD&lt;/strong&gt; window with administrator rights and navigate to the the above folder location and run the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;mklink /D "Installed Packages" "C:\path\to\Dropbox\appdata\sublime\Installed Packages"
mklink /D "Packages" "C:\path\to\Dropbox\apps\sublime\Packages" 
mklink /D "Pristine Packages" "C:\path\to\Dropbox\apps\sublime\Pristine Packages"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You should now be able to fire up Sublime Text which will pull your data from Dropbox.&lt;/p&gt;

&lt;h4&gt;Mac&lt;/h4&gt;

&lt;p&gt;Make sure Sublime Text is closed before continuing.&lt;/p&gt;

&lt;p&gt;Open up a Terminal window and navigate to the Sublime Text setting folder&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd ~/Library/Application\ Support/Sublime\ Text 2/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You&amp;#8217;ll most likely already have package folders here, so you&amp;#8217;ll need to remove them first&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;rm -r Installed\ Packages
rm -r Packages
rm -r Pristine\ Packages
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now, we’re going to create symlinks to the folders in&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;~/Dropbox/appdata/sublime/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Run the following commands to create the needed symlinks&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ln -s ~/Dropbox/appdata/sublime/Installed\ Packages ./Installed\ Packages
ln -s ~/Dropbox/appdata/sublime/Packages ./Packages
ln -s ~/Dropbox/appdata/sublime/Pristine\ Packages ./Pristine\ Packages
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You should now be able to fire up Sublime Text using the settings information present in your Dropbox folder.&lt;/p&gt;</description><link>http://misfoc.us/post/18018400006</link><guid>http://misfoc.us/post/18018400006</guid><pubDate>Tue, 21 Feb 2012 13:22:00 -0500</pubDate><category>dropbox</category><category>sublime text</category><category>how-to</category><category>mac</category><category>windows</category></item><item><title>Installing CrashPlan headless on OpenIndiana using Mac for GUI</title><description>&lt;p&gt;I decided that I wasn&amp;#8217;t quite ready for the work it was going to take to convert from OpenIndiana to FreeBSD 9.0 so I decided to quickly tackle a CrashPlan Headless install and also set up my Mac to access as the headless server when needed.&lt;/p&gt;

&lt;h4&gt;OpenIndiana: Installation and Setup&lt;/h4&gt;

&lt;p&gt;I pretty much followed the installation directions on the Crashplan&amp;#8217;s website with a couple tiny modifications.&lt;/p&gt;

&lt;p&gt;Download the application from &lt;a href="http://www.crashplan.com/consumer/download.html?os=SunOS"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Move the downloaded file to /var/spool/pkg&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;pfexec mv CrashPlan_2010-03-08_Solaris.tar.gz /var/spool/pkg/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Unpack the archive&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;pfexec tar -xzvf CrashPlan_2010-03-08_Solaris.tar.gz
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install the package&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;pfexec /usr/sbin/pkgadd
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;At this point I diverged a little and made a change to a CrashPlan configuration file:
(&lt;em&gt;this tells the service to accept connections on any IP that my server will respond on&lt;/em&gt;)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/opt/sfw/crashplan/conf/my.service.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I changed the line&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;serviceHost 127.0.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;serviceHost 0.0.0.0
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;then fire up the service&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;pfexec /opt/sfw/crashplan/bin/CrashPlanEngine start
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;Mac: GUI Setup&lt;/h4&gt;

&lt;p&gt;You now need to setup the gui to point to your remote engine. Make sure you&amp;#8217;ve installed CrashPlan on your Mac. After you&amp;#8217;ve got it installed, open&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and change the line that reads&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#serviceHost=127.0.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;serviceHost={IP_OF_ENGINE}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If all goes well, you should now be able to fire up CrashPlan on your Mac, connect to your headless box, and setup your backups.&lt;/p&gt;

&lt;h5&gt;Todo&lt;/h5&gt;

&lt;ol&gt;&lt;li&gt;Create a config for my local box and a config for my headless box&lt;/li&gt;
&lt;li&gt;Write a script that will switch configs depending on which system I want to manage&lt;/li&gt;
&lt;/ol&gt;</description><link>http://misfoc.us/post/17863420870</link><guid>http://misfoc.us/post/17863420870</guid><pubDate>Sat, 18 Feb 2012 22:55:23 -0500</pubDate><category>OpenIndiana</category><category>Mac</category><category>how-to</category><category>CrashPlan</category></item><item><title>Sick-Beard &amp; Notify My Android</title><description>&lt;p&gt;Sometime in the past, I discovered &lt;a href="https://www.notifymyandroid.com/"&gt;Notify My Android&lt;/a&gt; while configuring &lt;a href="https://github.com/RuudBurger/CouchPotato"&gt;CouchPotato&lt;/a&gt;. It&amp;#8217;s essentially a Growl type application for Android phones. I eagerly ported the code from CouchPotato to &lt;a href="http://sickbeard.com/"&gt;Sick-Beard&lt;/a&gt; so I could get alerted when a new TV show downloaded.&lt;/p&gt;

&lt;p&gt;Unfortunately, despite the support for this feature, it&amp;#8217;s taken &lt;a href="https://github.com/midgetspy"&gt;Midgetspy&lt;/a&gt; some time to accept my pull request. In the meantime, I&amp;#8217;ve spun up a fork that is using the latest Sick-Beard code along with the Notify My Android update. If you itching for some NMA alerting, but don&amp;#8217;t want to give up the latest cool Sick-Beard features, check out my &lt;a href="https://github.com/Adalan/Sick-Beard"&gt;repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Feel free to throw feedback here or over at Github.&lt;/p&gt;</description><link>http://misfoc.us/post/17366855939</link><guid>http://misfoc.us/post/17366855939</guid><pubDate>Fri, 10 Feb 2012 05:29:46 -0500</pubDate><category>sickbeard</category><category>notify my android</category><category>github</category><category>opensource</category><category>python</category></item><item><title>My Favorite Android Apps</title><description>&lt;p&gt;I&amp;#8217;m sitting here without power at work right now and decided I would throw together a quick article on the apps that I use regularly on my Android phone.&lt;/p&gt;

&lt;hr&gt;&lt;h4&gt;DoggCatcher&lt;/h4&gt;

&lt;p&gt;DoggCatcher is a podcast application. I&amp;#8217;ve been using DoggCatcher on a daily basis for over a year now. I&amp;#8217;ve tried several other apps and always find myself working back to this app. One thing I appreciate is the amount of things I can tweak. The developer has incorporated a ton of features ranging from sort order, variable speed playback, to number of items to download. The app is also regularly updated; new features are constantly being added and existing features are constantly being polished. It is an expensive app coming in at $4.99, but it&amp;#8217;s entirely worth it.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://www.doggcatcher.com/"&gt;Website&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.snoggdoggler.android.applications.doggcatcher.v1_0"&gt;Market Link&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.snoggdoggler.android.applications.doggcatcher.trial"&gt;Trial&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;&lt;h4&gt;Screebl&lt;/h4&gt;

&lt;p&gt;I picked up Screebl a few months ago when it was free on the Amazon App store. Screebl is an interesting application that can keep your screen from entering sleep mode depending on the orientation of the device. How many times does your screen blank out while waiting for a long loading website or while reading an article? Screebl lets me set custom ranges, while the phone falls within those ranges, the screen will not go to sleep. This is amazing and I don&amp;#8217;t know how I survived without it. It&amp;#8217;s only $1.99 and well worth the cost.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="https://market.android.com/details?id=com.keyes.screebl.full"&gt;Website&lt;/a&gt; - &lt;a href="http://keyeslabs.com/joomla/projects/screebl"&gt;Market Link&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.keyes.screebl.lite"&gt;Trial&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;&lt;h4&gt;ADWLauncher EX&lt;/h4&gt;

&lt;p&gt;I love customizing the look of my phone and find ADWLauncher EX to be very slick. I also find that it&amp;#8217;s pretty snappy even on a crappier phone. It&amp;#8217;s been incredibly stable and lets me tweak all the things that I want. I do wish I could customize folders a little more than I can, but it&amp;#8217;s not a big deal. This app runs $3.32&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://jbthemes.com/anderweb/"&gt;Website&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=org.adwfreak.launcher"&gt;Market Link&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=org.adw.launcher"&gt;Trial&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;&lt;h4&gt;Feedly&lt;/h4&gt;

&lt;p&gt;I use Feedly as my rss feed reader. I dig the interface and the fact that it syncs with my Google Reader account. Even better, it&amp;#8217;s completely free! Check it out.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://www.feedly.com/?flavor=android"&gt;Website&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.devhd.feedly"&gt;Market Link&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;&lt;h4&gt;Gentle Alarm&lt;/h4&gt;

&lt;p&gt;You can find a dozen different alarm apps in the app store right now, but I&amp;#8217;ve fallen in love with Gentle Alarm. It was originally a free app on the Amazon App store when I grabbed it. I don&amp;#8217;t use an alarm clock at home, so I need something that I can depend on. Gentle Alarm has a couple nice features that I enjoy such as having a captcha when I go to snooze or shutoff the alarm. It also has a pretty slick widget. I can&amp;#8217;t think of any features that makes it different from any other alarm app, but I like the way it looks and the alarm has always gone off. This app runs $2.86&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://www.mobitobi.com/en/android/gentlealarm.php"&gt;Website&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.mobitobi.android.gentlealarm"&gt;Market Link&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.mobitobi.android.gentlealarmtrial"&gt;Trial&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.mobitobi.android.gentlealarmwidget"&gt;Widget&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;&lt;h4&gt;Titanium Backup&lt;/h4&gt;

&lt;p&gt;I&amp;#8217;ve been a fan of rooting my phones since I was first introduced to Android. One of the first apps I&amp;#8217;ve ever purchased was Titanium Backup. This app allows you to back up the app and app data on your phone to your sd card or sync it out to Dropbox. It has some other interesting features such as freezing bloatware installed by your carriers (this simply prevents the app from running without actually uninstalling it), creating groups for batch operations, along with scheduling automatic backups. It&amp;#8217;s a little expensive at $6.58, but if you root, I highly recommend it.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href="http://www.matrixrewriter.com/android/"&gt;Website&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.keramidas.TitaniumBackup"&gt;Market Link&lt;/a&gt; - &lt;a href="https://market.android.com/details?id=com.keramidas.TitaniumBackupPro"&gt;License&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;</description><link>http://misfoc.us/post/16926115862</link><guid>http://misfoc.us/post/16926115862</guid><pubDate>Thu, 02 Feb 2012 12:43:00 -0500</pubDate><category>doggcatcher</category><category>gentle alarm</category><category>screebl</category><category>adwlauncher ex</category><category>feedly</category><category>titanium backup</category><category>android</category></item><item><title>BigCouch 0.4 and FreeBSD</title><description>&lt;p&gt;With great excitement, Cloudant &lt;a href="http://blog.cloudant.com/bigcouch-zero-point-four"&gt;announced&lt;/a&gt; the release of BigCouch 0.4 yesterday. One of the exciting features for me is &lt;a href="http://www.freebsd.org"&gt;FreeBSD&lt;/a&gt; support. For a complete list of new features, click &lt;a href="http://bigcouch.cloudant.com/changelog"&gt;here&lt;/a&gt; for the changelog. I didn&amp;#8217;t find any good sources for installation help in FreeBSD, so I thought I would throw something up. Here goes:&lt;/p&gt;

&lt;h5&gt;Let&amp;#8217;s start with the dependencies:&lt;/h5&gt;

&lt;pre&gt;&lt;code&gt;# pkg_add -r gmake libtool help2man erlang-lite icu spidermonkey curl git
# rehash
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;We&amp;#8217;re going to grab the latest from Github for our setup:&lt;/h5&gt;

&lt;p&gt;(&lt;em&gt;The source is available as a package &lt;a href="http://packages.cloudant.com/source/"&gt;here&lt;/a&gt;&lt;/em&gt;)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# git clone git://github.com/cloudant/bigcouch.git
# cd bigcouch
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;If you have bash installed in your environment, you can skip this next step:&lt;/h5&gt;

&lt;p&gt;(&lt;em&gt;there was a push that changed the configure script from requiring bash, but was changed back after some issues with Solaris&lt;/em&gt;)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# grep -rl '/bin/bash' * | xargs sed -i "" 's/bash/sh/g'
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;If you&amp;#8217;d like to change what ip the single-node port (5986) listens on, run this command:&lt;/h5&gt;

&lt;p&gt;(&lt;em&gt;this is used for some admin functions&lt;/em&gt;)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# sed -i '' 's/127.0.0.1/&amp;lt;Desired IP&amp;gt;/g' rel/overlay/etc/default.ini
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;Next, we need to create a directory were we will be installing BigCouch:&lt;/h5&gt;

&lt;pre&gt;&lt;code&gt;# mkdir /usr/local/bigcouch
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;We&amp;#8217;ll finish up with a quick config change and then the standard make stuff:&lt;/h5&gt;

&lt;pre&gt;&lt;code&gt;# ./configure -p /usr/local/bigcouch
# make
# make install
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;If all goes well, you should be able to fire up BigCouch:&lt;/h5&gt;

&lt;pre&gt;&lt;code&gt;# /usr/local/bigcouch/bin/bigcouch
&lt;/code&gt;&lt;/pre&gt;

&lt;hr&gt;&lt;p&gt;There currently isn&amp;#8217;t a port for FreeBSD that I&amp;#8217;ve been able to find aside from &lt;a href="https://github.com/till/bigcouch-port"&gt;this&lt;/a&gt; dated one on Github. After some more testing, I&amp;#8217;ll most likely end up getting a port put together so I can get this build out puppetized easier, but that&amp;#8217;s another project for another day.&lt;/p&gt;</description><link>http://misfoc.us/post/16582488029</link><guid>http://misfoc.us/post/16582488029</guid><pubDate>Fri, 27 Jan 2012 11:43:00 -0500</pubDate><category>bigcouch</category><category>couchdb</category><category>freebsd</category><category>opensource</category></item><item><title>Perfect Task Management App</title><description>&lt;p&gt;I&amp;#8217;m on the hunt for the perfect &lt;strong&gt;or as close to perfect as I can get&lt;/strong&gt; task management application. I&amp;#8217;ve looked over several of them and am currently checking out &lt;a href="http://www.nirvanahq.com"&gt;Nirvana&lt;/a&gt;. Nirvana follows the GTD methodology. I&amp;#8217;m not a traditional follower of the GTD way of time management, but the format allows me to setup projects and tagging nicely.&lt;/p&gt;

&lt;p&gt;So far it&amp;#8217;s working pretty decently. I&amp;#8217;ve got a little more setup to do to see if it will hold up to what I&amp;#8217;m looking for. I like the email to task functionality, that&amp;#8217;ll be pretty handy. I&amp;#8217;ll post a follow up in a week or so and let you know if I&amp;#8217;m still using it.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.nirvanahq.com"&gt;Nirvana&lt;/a&gt; is currently in a private beta, but you can join up if you use &lt;strong&gt;LIFEHACK&lt;/strong&gt; as the join code.&lt;/p&gt;</description><link>http://misfoc.us/post/16496073903</link><guid>http://misfoc.us/post/16496073903</guid><pubDate>Wed, 25 Jan 2012 20:33:00 -0500</pubDate><category>review</category><category>time management</category><category>webapp</category><category>beta</category></item><item><title>Goodbye OpenIndiana</title><description>&lt;p&gt;I&amp;#8217;ve reached the point where I am completely frustrated using OpenIndiana. As great of an OS it might be with it&amp;#8217;s &lt;strong&gt;fantastic&lt;/strong&gt; implementation of ZFS and all the other amazing components, it is a completely foreign OS. This wouldn&amp;#8217;t be so bad if the documentation wasn&amp;#8217;t so horrible.&lt;/p&gt;

&lt;p&gt;When I return home, I&amp;#8217;ll be spending some time setting up FreeBSD 9.0 and puppetizing my entire downloading system. At least I know how to use FreeBSD and if I don&amp;#8217;t, the documentation is amazing!&lt;/p&gt;</description><link>http://misfoc.us/post/16191301658</link><guid>http://misfoc.us/post/16191301658</guid><pubDate>Fri, 20 Jan 2012 17:47:21 -0500</pubDate><category>freebsd</category><category>opensource</category><category>rant</category></item><item><title>Cookie Cleaning with Nginx</title><description>&lt;p&gt;A few days ago, we discovered that there was some odd behavior with some traffic hitting our sites due to a cookie with a null name. It was causing some weirdness with our application and causing our alerting software to freak out. I was tasked with coming up with a solution to handling this. I dabble in the load balancing space and decided to solve this by stripping out the cookie in Nginx.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;set $cookies $http_COOKIE;
if ($http_COOKIE ~* "(.*;)\s=deleted;(.*)") {
    set $cookies $1$2;
}
proxy_set_header cookie $cookies;
&lt;/code&gt;&lt;/pre&gt;</description><link>http://misfoc.us/post/16175425655</link><guid>http://misfoc.us/post/16175425655</guid><pubDate>Wed, 11 Jan 2012 12:30:20 -0500</pubDate><category>nginx</category><category>opensource</category><category>tips</category></item><item><title>Republic Wireless - A Month in a Review</title><description>&lt;p&gt;So, last week I received my &lt;a href="http://www.republicwireless.com"&gt;Republic Wireless&lt;/a&gt; phone. For those who don&amp;#8217;t know, Republic Wireless is a new cell service that is attempting to merge wifi voip with a traditional cell service. They piggy back on Sprints network, so when you are in an area that you can&amp;#8217;t connect to wifi, you still have 3G. There is still a little confusion on exactly how much 3G data / voice amounts you have access to, so I can&amp;#8217;t really comment on that too much just yet. They are charging $19 a month for this service. That&amp;#8217;s the HUGE selling point for me. Laura and I are currently spending around $180 for our two phones&amp;#8230;so if this works out, I could save over $130 a month.&lt;/p&gt;

&lt;p&gt;I pretty much shutoff my Verizon Wireless phone as soon as the Repubic Wireless came in the mail. There are some Youtube videos out there showing the unboxing and demoing the phone. I&amp;#8217;m not going to touch on that as I don&amp;#8217;t feel a review of the phone is important as much as how well the service is working.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve made serveral phone calls at my house over Wifi and the call quality has been amazing. I did have one call drop, but I&amp;#8217;m not sure if it was on my end or the other. I&amp;#8217;ve made a couple calls on 3G and it&amp;#8217;s what you&amp;#8217;d expect from Sprint 3G. When I&amp;#8217;m at home or in the office, I&amp;#8217;m connected to the wifi so all my data runs through there. However, at work Wifi is much more restricted, so I can&amp;#8217;t make any voip calls over the wifi. That&amp;#8217;s something to keep in mind, if the wifi you conect to is restricted, you might lose the voip ability.&lt;/p&gt;

&lt;p&gt;I know this isn&amp;#8217;t much of an indepth review, there&amp;#8217;s not a whole hell of a lot to review. At this point, after a week with it, I&amp;#8217;m ready to drop VZW for me and rely strictly on this. I&amp;#8217;m just waiting to find out about porting my number out. We&amp;#8217;ll see what happens.&lt;/p&gt;</description><link>http://misfoc.us/post/16175395172</link><guid>http://misfoc.us/post/16175395172</guid><pubDate>Fri, 16 Dec 2011 07:13:49 -0500</pubDate><category>republic wireless</category><category>reviews</category></item><item><title>Installing SABnzbd, Sick-Beard &amp; CouchPotato on OpenIndiana</title><description>&lt;p&gt;I&amp;#8217;ve been a Freebsd user for several years now and I&amp;#8217;m quite comfortable on that platform. Recently, however, a guy I work with has spoken really highly of &lt;a href="http://openindiana.org/"&gt;OpenIndiana&lt;/a&gt; and I decided to spin it up on a new server and see how it goes. So far, it&amp;#8217;s been an uphill battle. Solaris is very different than what I&amp;#8217;m use to. After a few hours, I was able to get the first couple apps running. I&amp;#8217;m going to give a quick run down of what I did to get them running and configured.&lt;/p&gt;

&lt;h3&gt;Dependencies&lt;/h3&gt;

&lt;h4&gt;GCC&lt;/h4&gt;

&lt;p&gt;One of the dependencies for SABnzbd requires a compiler.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# pfexec pkg install SUNWgcc
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;We also need a math header&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# pfexec pkg install math/header-math
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;Unrar&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;# pfexec pkg install archiver/unrar
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;Par2&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;# wget &lt;a href="http://downloads.sourceforge.net/project/parchive/par2cmdline/0.4/par2cmdline-0.4.tar.gz"&gt;http://downloads.sourceforge.net/project/parchive/par2cmdline/0.4/par2cmdline-0.4.tar.gz&lt;/a&gt;
# gunzip &amp;lt; par2cmdline-0.4.tar.gz | tar xvf -
# cd par2cmdline-0.4/
# ./configure
# make
# pfexec make install
# pfexec mv /usr/local/bin/par* /usr/bin/
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;Cheetah&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;# wget &lt;a href="http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz#md5=853917116e731afbc8c8a43c37e6ddba"&gt;http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz#md5=853917116e731afbc8c8a43c37e6ddba&lt;/a&gt;
# gunzip &amp;lt; Cheetah-2.4.4.tar.gz  | tar xvf -
# cd Cheetah-2.4.4/
# pfexec python setup.py install
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;PyOpenSSL&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;# wget &lt;a href="http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz"&gt;http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz&lt;/a&gt;
# gunzip &amp;lt; pyOpenSSL-0.11.tar.gz | tar xvf -
# cd pyOpenSSL-0.11
# pfexec python setup.py install
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;yEnc&lt;/h4&gt;

&lt;pre&gt;&lt;code&gt;# wget &lt;a href="https://bitbucket.org/dual75/yenc/get/default.tar.gz"&gt;https://bitbucket.org/dual75/yenc/get/default.tar.gz&lt;/a&gt;
# gunzip default.tar.gz | tar xvf - 
# cd default/
# pfexec python setup.py install
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;SABnzbd / Sick-Beard / CouchPotato&lt;/h3&gt;

&lt;p&gt;Once you&amp;#8217;ve got all the dependencies installed, it&amp;#8217;s really simple to get the three apps fired up. I used git repositories for all my installs for simplicity sake.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cd /usr
# pfexec git clone git://github.com/sabnzbd/sabnzbd.git
# pfexec git clone git://github.com/midgetspy/Sick-Beard.git sick-beard
# pfexec git clone git://github.com/RuudBurger/CouchPotato.git couchpotato
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;At this point, all you need to do is fire up each application and configure the settings.&lt;/p&gt;</description><link>http://misfoc.us/post/16175372977</link><guid>http://misfoc.us/post/16175372977</guid><pubDate>Tue, 08 Nov 2011 06:11:18 -0500</pubDate><category>openindiana</category><category>opensource</category><category>sabnzbd</category><category>sickbeard</category><category>couchpotato</category></item><item><title>Comcast Bandwidth Script</title><description>&lt;p&gt;I just made an update / addition to a script I found on &lt;a href="http://asktherelic.com/2010/11/07/scraping-comcast's-website-and-the-250gb-limit/"&gt;asktherelic.com&lt;/a&gt;. I added &lt;a href="http://www.notifymyandroid.com"&gt;Notify My Android&lt;/a&gt; and rewrote the command line argument support. My code has been combined, you can get it &lt;a href="https://github.com/askedrelic/comcast-bw"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Another Update: After I accidently committed my username and password to Git, I added the support for a config.ini file to prevent others from doing the same thing.&lt;/p&gt;</description><link>http://misfoc.us/post/16175254909</link><guid>http://misfoc.us/post/16175254909</guid><pubDate>Fri, 04 Nov 2011 14:09:00 -0400</pubDate><category>opensource</category><category>nma</category><category>github</category></item></channel></rss>
