<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>is this thing on?</title><generator>Tumblr (3.0; @mvanholstyn)</generator><link>http://tumblr.lotswholetime.com/</link><item><title>installing mysql ruby gem with macports mysql on snow leopard</title><description>&lt;p&gt;&lt;code&gt; sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- -with-mysql-dir=/opt/local —with-mysql-lib=/opt/local/lib/mysql5/mysql —with-mysql-include=/opt/local/include/mysql5/mysql &lt;/code&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/573912713</link><guid>http://tumblr.lotswholetime.com/post/573912713</guid><pubDate>Wed, 05 May 2010 13:25:00 -0400</pubDate></item><item><title>making snow leopard + selenium + firefox 3.5 happy</title><description>&lt;a href="http://support.mozilla.com/tiki-view_forum_thread.php?locale=it&amp;forumId=1&amp;comments_parentId=449775"&gt;making snow leopard + selenium + firefox 3.5 happy&lt;/a&gt;</description><link>http://tumblr.lotswholetime.com/post/196039355</link><guid>http://tumblr.lotswholetime.com/post/196039355</guid><pubDate>Thu, 24 Sep 2009 16:34:59 -0400</pubDate></item><item><title>I have some strange friends…</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="327" data="http://vimeo.com/moogaloop.swf?clip_id=5012752&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5012752&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I have some strange friends…&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/118315550</link><guid>http://tumblr.lotswholetime.com/post/118315550</guid><pubDate>Fri, 05 Jun 2009 02:07:57 -0400</pubDate></item><item><title>getting synergy to work on ubuntu login screen</title><description>&lt;p&gt;Add these to the end of the specified files. I only needed the first one the last time I set this up, but I had done all three in the past.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;/etc/kde4/kdm/Xsetup&lt;/b&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc &lt;servier-ip-address&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;/etc/kde4/kdm/Xstartup&lt;/b&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/usr/bin/killall synergyc
sleep 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;/etc/kde4/kdm/Xsession&lt;/b&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc &lt;servier-ip-address&gt;
&lt;/code&gt;&lt;/pre&gt;</description><link>http://tumblr.lotswholetime.com/post/99870126</link><guid>http://tumblr.lotswholetime.com/post/99870126</guid><pubDate>Fri, 24 Apr 2009 22:54:00 -0400</pubDate></item><item><title>this is my friend matt, the gay fish</title><description>&lt;img src="http://25.media.tumblr.com/f8rLYj0HJm2g1bm5C1QP1uGxo1_250.gif"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;this is my friend matt, the &lt;a href="http://www.tv.com/south-park/fishsticks/episode/1263731/summary.html"&gt;gay fish&lt;/a&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/94397891</link><guid>http://tumblr.lotswholetime.com/post/94397891</guid><pubDate>Wed, 08 Apr 2009 23:37:59 -0400</pubDate></item><item><title>merb's provides/display in rails</title><description>&lt;p&gt;DHH &lt;a href="http://www.loudthinking.com/posts/37-bringing-merbs-providesdisplay-into-rails-3"&gt;posted&lt;/a&gt; about merging merb’s provides/display into rails. He proposed used a dual of respond_to and respond_with, similar to merb’s provides/display, with a couple tweaks to allow each action to respond to different types. There are a couple things about the API he suggested which I don’t love:
&lt;ul&gt;
&lt;li&gt;I don’t like the way respond_with(@deals, :to =&gt; [:html, :json, :xml]) reads, why not flip that around and do respond_to(:html, :json, xml, :with =&gt; Deal.new). This would work very well with how the current responds_to method works in rails, just adding an :with option to allow converting that object instead of rendering a partial. (see the index action below)&lt;/li&gt;
&lt;li&gt;When using the class-level respond_to, we could use respond_to(:with =&gt; Deal.new), or keep an alias of repond_with(Deal.new) (see the new action below)&lt;/li&gt;
&lt;li&gt;It would be nice to have an easy way to use the defaults for some response types, but allow customization for others. (see the create action below)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;class DealsController &lt; SubjectsController
  respond_to :html, :xml, :json

  def index
    @deals = Deal.all
    respond_to(:html, :xml, :json, :atom, :with =&gt; @deals)
  end

  def new
    respond_to(:with =&gt; Deal.new)
    # uses the class-level defined response types (html, xml, and json)
    # maybe this is a good case for also having respond_with(Deal.new)
  end

  def create
    @deal = Deal.create!(params[:deal])
    respond_to(:xml, :json, :with =&gt; @deal) do |format|
      format.html { redirect_to @deal }
    end
  end
end
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/66893474</link><guid>http://tumblr.lotswholetime.com/post/66893474</guid><pubDate>Fri, 26 Dec 2008 12:27:00 -0500</pubDate></item><item><title>multi-line strings in javascript</title><description>&lt;p&gt;&lt;pre&gt;var myString = '
  first line  \
  second line \
  third line  \
';
&lt;/pre&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/62871763</link><guid>http://tumblr.lotswholetime.com/post/62871763</guid><pubDate>Wed, 03 Dec 2008 16:23:00 -0500</pubDate></item><item><title>installing libxml-ruby on leopard</title><description>&lt;p&gt;&lt;ol&gt;
&lt;li&gt;sudo port install libxml2&lt;/li&gt;
&lt;li&gt;sudo env ARCHFLAGS=”-arch i386” gem install libxml-ruby — —with-xml2-include=/opt/local/include/libxml2 —with-xml2-lib=/opt/local/lib&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/54620779</link><guid>http://tumblr.lotswholetime.com/post/54620779</guid><pubDate>Wed, 15 Oct 2008 00:56:35 -0400</pubDate></item><item><title>delete a remote git branch</title><description>&lt;p&gt;&lt;pre class="wiki"&gt;git push origin :branch&lt;/pre&gt;&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/46447629</link><guid>http://tumblr.lotswholetime.com/post/46447629</guid><pubDate>Mon, 18 Aug 2008 15:09:00 -0400</pubDate></item><item><title>If you ever replace drag/drop elements on the page (eg. through...</title><description>&lt;img src="http://28.media.tumblr.com/f8rLYj0HJbuh8u8rQDGdZkkb_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;If you ever replace drag/drop elements on the page (eg. through rjs) make sure you unregister the old ones first, or IE will crash.&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/43515404</link><guid>http://tumblr.lotswholetime.com/post/43515404</guid><pubDate>Fri, 25 Jul 2008 11:12:36 -0400</pubDate></item><item><title>flooding on the carpet…</title><description>&lt;img src="http://29.media.tumblr.com/f8rLYj0HJatm93vlkUhOMeVH_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;flooding on the carpet…&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/40325254</link><guid>http://tumblr.lotswholetime.com/post/40325254</guid><pubDate>Sun, 29 Jun 2008 16:00:24 -0400</pubDate></item><item><title>so my apartment flooded…</title><description>&lt;img src="http://24.media.tumblr.com/f8rLYj0HJatm7flbIQNodZb6_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;so my apartment flooded…&lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/40325125</link><guid>http://tumblr.lotswholetime.com/post/40325125</guid><pubDate>Sun, 29 Jun 2008 15:59:00 -0400</pubDate></item><item><title>time machine with samba share</title><description>&lt;b&gt;enable unsupported network drives&lt;/b&gt;&lt;p&gt;&lt;code&gt;defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;create a sparsebundle image file&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;sudo hdiutil create -size 320g -type SPARSEBUNDLE -nospotlight -volname “Backup of ” -fs “Case-sensitive Journaled HFS+” -verbose ~/Desktop/_.sparsebundle&lt;/p&gt;
&lt;p&gt;&lt;b&gt;copy the sparsebundle image file to the backup drive&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;cp  ~/Desktop/_.sparsebundle /Volumes/&lt;/p&gt;
&lt;p&gt;&lt;b&gt;backup!&lt;/b&gt; &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/29797707</link><guid>http://tumblr.lotswholetime.com/post/29797707</guid><pubDate>Tue, 25 Mar 2008 09:34:23 -0400</pubDate></item><item><title>migrate from svn to git</title><description>&lt;p&gt;pull the svn history into a new git repository:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;mkdir project_name.svn&lt;/li&gt;
&lt;li&gt;cd project_name.svn&lt;/li&gt;
&lt;li&gt;git svn init path/to/svn/repo —no-metadata&lt;/li&gt;
&lt;li&gt;echo “svn_username = Real Name &lt;email.address@example.com&gt;” &gt; users.txt&lt;/li&gt;
&lt;li&gt;git config svn.authorsfile users.txt&lt;/li&gt;
&lt;li&gt;git svn fetch&lt;/li&gt;
&lt;/ul&gt;make an svn-free git repository:&lt;ul&gt;
&lt;li&gt;mkdir project_name.git &lt;/li&gt;
&lt;li&gt;cd project_name.git&lt;/li&gt;
&lt;li&gt;git init&lt;/li&gt;
&lt;li&gt;git remote add origin path/to/git/repo&lt;/li&gt;
&lt;li&gt;git pull project_name.svn&lt;/li&gt;
&lt;li&gt;git push origin master&lt;/li&gt;
&lt;/ul&gt;done!</description><link>http://tumblr.lotswholetime.com/post/29521651</link><guid>http://tumblr.lotswholetime.com/post/29521651</guid><pubDate>Fri, 21 Mar 2008 23:11:25 -0400</pubDate></item><item><title>no more student loans! </title><description>&lt;img src="http://24.media.tumblr.com/f8rLYj0HJ6ubt173YKhLMfZ2_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;no more student loans! &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/29468816</link><guid>http://tumblr.lotswholetime.com/post/29468816</guid><pubDate>Fri, 21 Mar 2008 09:20:58 -0400</pubDate></item><item><title>i win (so far) </title><description>&lt;img src="http://25.media.tumblr.com/f8rLYj0HJ6tvas9ioIUBKSjS_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;i win (so far) &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/29446439</link><guid>http://tumblr.lotswholetime.com/post/29446439</guid><pubDate>Fri, 21 Mar 2008 01:38:57 -0400</pubDate></item><item><title>yay me! </title><description>&lt;img src="http://28.media.tumblr.com/f8rLYj0HJ6jnvmmvRNXdVFdS_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;yay me! &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/28801013</link><guid>http://tumblr.lotswholetime.com/post/28801013</guid><pubDate>Thu, 13 Mar 2008 22:13:50 -0400</pubDate></item><item><title>Allow custom javascript/stylesheet expansion symbols</title><description>&lt;a href="http://dev.rubyonrails.org/changeset/9016"&gt;Allow custom javascript/stylesheet expansion symbols&lt;/a&gt;</description><link>http://tumblr.lotswholetime.com/post/28710010</link><guid>http://tumblr.lotswholetime.com/post/28710010</guid><pubDate>Thu, 13 Mar 2008 00:13:02 -0400</pubDate></item><item><title>Firefly Media Server</title><description>&lt;a href="http://www.fireflymediaserver.org/"&gt;Firefly Media Server&lt;/a&gt;: &lt;p&gt;drop dead simple way to share music from a linux server to itunes &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/28313135</link><guid>http://tumblr.lotswholetime.com/post/28313135</guid><pubDate>Sat, 08 Mar 2008 14:25:53 -0500</pubDate></item><item><title>My grandpa, Erwin Holmquist, died today. He will be missed. </title><description>&lt;img src="http://27.media.tumblr.com/f8rLYj0HJ69dnnvqeK4DSK30_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My grandpa, Erwin Holmquist, died today. He will be missed. &lt;/p&gt;</description><link>http://tumblr.lotswholetime.com/post/28150002</link><guid>http://tumblr.lotswholetime.com/post/28150002</guid><pubDate>Thu, 06 Mar 2008 16:30:16 -0500</pubDate></item></channel></rss>
