<?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>For items over 140 characters.
For the rest, follow me on Twitter. @markdorison



Tag Cloud


</description><title>Mark Dorison ~ 140+</title><generator>Tumblr (3.0; @markdorison)</generator><link>http://tumblr.markdorison.com/</link><item><title>Adding All New Files to Subversion</title><description>&lt;p&gt;One thing that has always bothered me when working with Subversion is the inability to easily add a large number of new files to the repository. Subversion does not have an equivalent of ‘git add *’, so we are left to add all of the new files, at best, one folder at a time.&lt;/p&gt;

&lt;p&gt;Imagine doing this for a Drupal site that hasn’t been touched in a while and you need to apply security updates for core, along with a large number of modules. You could very easily spend more time typing in all of your ‘svn add …’ commands than getting the updates applied.&lt;/p&gt;

&lt;p&gt;Using the following command, you can affect an ‘svn add’ command on every line returned from ‘svn status’ that has a question mark associated it (ie. new to the repository).&lt;/p&gt;

&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;svn status | grep "?" | while read f; do svn add $f; done
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hopefully, this should make adding large numbers of new files to Subversion quite a bit easier. Of course, you could always just use &lt;a href="http://git-scm.com/"&gt;git&lt;/a&gt;!&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/871765532</link><guid>http://tumblr.markdorison.com/post/871765532</guid><pubDate>Wed, 28 Jul 2010 15:07:07 -0400</pubDate><category>subversion</category><category>git</category></item><item><title>Apache Solr / Drupal search performance tip</title><description>&lt;a href="http://www.drupalcoder.com/story/742-performance-tip-disable-drupals-core-search-indexer-when-using-apache-solr"&gt;Apache Solr / Drupal search performance tip&lt;/a&gt;: &lt;p&gt;A great tip by Davy Van Den Bremt of &lt;a href="http://www.drupalcoder.com/" title="Drupal Coder"&gt;Drupal Coder&lt;/a&gt; on disabling Drupal’s core search indexer when using Apache Solr.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/802895022</link><guid>http://tumblr.markdorison.com/post/802895022</guid><pubDate>Mon, 12 Jul 2010 14:26:00 -0400</pubDate><category>drupal</category><category>search</category><category>solr</category></item><item><title>Creating a new Drupal site from a Drush make file</title><description>&lt;p&gt;If you spend a fair amount of time creating new Drupal sites and are not using &lt;a href="http://drupal.org/project/drush" title="Drush"&gt;Drush&lt;/a&gt; you are missing out! I used to maintain a subversion repository with my most frequently used modules just for this purpose but this was a very tedious, manual task keeping these modules up to date (almost more trouble than it was worth). With &lt;a href="http://drupal.org/project/drush_make" title="Drush Make"&gt;Drush Make&lt;/a&gt; however, you can just fire it off, and right before your eyes, you will have a brand new directory with the latest versions of all the modules you specified, downloaded and ready to go.&lt;/p&gt;

&lt;p&gt;From Drush make’s &lt;a href="http://drupal.org/project/drush_make" title="Drush Make"&gt;project page&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;Drush make is an extension to drush that can create a ready-to-use drupal site, pulling sources from various locations. It does this by parsing a flat text file (similar to a drupal .info file) and downloading the sources it describes. In practical terms, this means that it is possible to distribute a complicated Drupal distribution as a single text file.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Below is an example Drush make file.&lt;/p&gt;

&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;; CORE
core = 6.x
projects[] = drupal

; MODULES
; acquia
projects[admin_menu][subdir] = "acquia"
projects[cck][subdir] = "acquia"
projects[filefield][subdir] = "acquia"
projects[imageapi][subdir] = "acquia"
projects[imagecache][subdir] = "acquia"
projects[imagefield][subdir] = "acquia"
projects[pathauto][subdir] = "acquia"
projects[token][subdir] = "acquia"
projects[views][subdir] = "acquia"
projects[webform][subdir] = "acquia"

; administration
projects[password_strength][subdir] = "other"
projects[userprotect][subdir] = "other"

; development
projects[coder][subdir] = "other"
projects[devel][subdir] = "other"

; THEMES
projects[zen][subdir] = "other" 
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;I have shown the example above to illustrate the make file syntax. This example is a bit more lean, module-wise, then even &lt;a href="http://github.com/markdorison/drush-make-files/blob/master/bare-bones.make" title="bare-bones.make"&gt;my bare bones make file&lt;/a&gt; is. I have separated out the modules contained in the &lt;a href="http://acquia.com/products-services/acquia-drupal" title="Acquia Drupal"&gt;Acquia&lt;/a&gt; distribution, of which I am a big fan of, but this is just for organization’s sake.&lt;/p&gt;

&lt;p&gt;Once you have created the make file that you are going to use you can implement it with the following command:&lt;/p&gt;

&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;drush make "path_to_make_file" /path_to_newsite_/
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;I have published a standard and a bare-bones make file on &lt;a href="http://github.com/mdorison/drush-make-files" title="Drush make files on Github"&gt;GitHub&lt;/a&gt;. Please feel free to fork with your changes/additions!&lt;/p&gt;

&lt;p&gt;Links of note:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://drupal.org/project/drush" title="Drush"&gt;Drush&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://drupal.org/project/drush_make" title="Drush Make"&gt;Drush Make&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://github.com/markdorison/drush-make-files" title="Drush make files on Github"&gt;Drush Make files on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tumblr.markdorison.com/post/781300625</link><guid>http://tumblr.markdorison.com/post/781300625</guid><pubDate>Wed, 07 Jul 2010 11:09:00 -0400</pubDate><category>drupal</category><category>drush</category><category>make</category></item><item><title>Overriding a Drupal Views SQL Query</title><description>&lt;p&gt;We all know and love Drupal &lt;a href="http://www.drupal.org/project/views" title="Drupal Views"&gt;Views&lt;/a&gt;. The queries that it builds are most often very elegant, but there are certain cases where you need to use a query that is just a bit too complicated for the Views query generator to build on its own. I ran into this recently where I could not accomplish my task without a join to a sub-query.&lt;/p&gt;

&lt;p&gt;If you find this to be the case, you can utilize the &lt;code&gt;views_pre_execute&lt;/code&gt; hook to override the query being supplied by Views.&lt;/p&gt;

&lt;h4&gt;Implementation&lt;/h4&gt;

&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;function hook_views_pre_execute(&amp;$view) 
{
  if($view-&gt;name == 'your_views_name') 
  {
    $view-&gt;build_info['query'] = "SELECT * FROM node"
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once you have implemented this in your custom module, if you edit the view on your site, any changes you make that would normally change the query (sort criteria, filters etc.) will have no affect. However, you can utilize the options in ‘Basic Settings’, ‘Page Settings’ to edit the properties of how/where the view is going to display. When you use the ‘Preview’ button to test your view with various displays, your custom SQL query will be displayed so you can verify that it is being used.&lt;/p&gt;

&lt;p&gt;Note: You could just create a custom module with custom sql in lieu of using a view. However, if you have already built a view and styled your page/block based on the views generated elements you might not be looking forward to this. In this case you could use the above technique to override the query without disrupting the rest of the work you have done relying on the view.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/762104761</link><guid>http://tumblr.markdorison.com/post/762104761</guid><pubDate>Fri, 02 Jul 2010 12:53:00 -0400</pubDate><category>drupal</category><category>views</category><category>api</category><category>SQL</category></item><item><title>merlin:


Check out TextExpander’s new “Fill” functionality. In....</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=10125313&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="allowscriptaccess" value="always" /&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=10125313&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=10125313&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.kungfugrippe.com/post/444164120/check-out-textexpanders-new-fill-functionality" class="tumblr_blog"&gt;merlin&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Check out &lt;a href="http://www.smileonmymac.com/TextExpander/"&gt;TextExpander&lt;/a&gt;’s new “Fill” functionality. &lt;em&gt;In&lt;/em&gt;. &lt;em&gt;Sane&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;My love for TextExpander knows no bounds.&lt;/p&gt;

&lt;p&gt;Pasties for the three snippets I mentioned (which need to be tweaked for your own setup):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://pastie.textmate.org/867327"&gt;youtube embed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://pastie.textmate.org/867326"&gt;mp3 embed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://pastie.textmate.org/867322"&gt;flickr link with credit&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also mentioned: 
&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/142"&gt;Make Link&lt;/a&gt; is an indispensable Firefox extension that lets you grab a customized, marked-up, “one-click” pasteboard of the current web page (including variables for title, URL, and quoted text).&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.markdorison.com/post/450512308</link><guid>http://tumblr.markdorison.com/post/450512308</guid><pubDate>Mon, 15 Mar 2010 16:04:00 -0400</pubDate><category>TextExpander</category></item><item><title>Blizzard Wonderland</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ukZCzHGISXY&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ukZCzHGISXY&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=ukZCzHGISXY&amp;feature=youtube_gdata"&gt;Blizzard Wonderland&lt;/a&gt;&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/386684663</link><guid>http://tumblr.markdorison.com/post/386684663</guid><pubDate>Sat, 13 Feb 2010 00:02:46 -0500</pubDate></item><item><title>Updated Florida Gators 2010 Football Calendar</title><description>&lt;a href="webcal://ical.me.com/mdorison/Florida%20Gators%20Football.ics"&gt;Updated Florida Gators 2010 Football Calendar&lt;/a&gt;: &lt;p&gt;I have updated my Florida Gators Football calendar for the 2010 season. If you add this calendar as a subscription in any calendaring program that supports the iCal standard (iCal, Google Calendar, Outlook, etc) it will update itself on a regular basis with game times and channels when these become available! &lt;a href="webcal://ical.me.com/mdorison/Florida%20Gators%20Football.ics"&gt;Florida Gators 2010 Football Calendar&lt;/a&gt;.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/341930553</link><guid>http://tumblr.markdorison.com/post/341930553</guid><pubDate>Mon, 18 Jan 2010 21:35:00 -0500</pubDate><category>calendar</category><category>florida</category><category>football</category><category>gators</category><category>ical</category></item><item><title>Optimizing Multiple Domains for Google Using Apache's mod_rewrite</title><description>&lt;p&gt;If you own more than one domain but point them all to the same site, a portion of your virtual host file may look something like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;&lt;span style="color:#EA707F"&gt;VirtualHost *:80&lt;/span&gt;&gt;&lt;br/&gt; 
   &lt;span style="color:#EA707F"&gt;ServerName&lt;/span&gt; maindomain.com &lt;br/&gt; 
   &lt;span style="color:#EA707F"&gt;ServerAlias&lt;/span&gt; &lt;a href="http://www.maindomain.com"&gt;www.maindomain.com&lt;/a&gt; alternatedomain.com&lt;br/&gt; 
&lt;&lt;span style="color:#EA707F"&gt;/VirtualHost&lt;/span&gt;&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;
The problem here is that Google sees the same content being served on multiple domains and will knock down your search ranking as a result. The way to remedy the situation is to utilize Apache’s mod_rewrite so that a 301 request pushes the user to your main url. The only caveat being that no matter which domain you type into the browser url bar, it will then be rewritten to the main domain. Here is an example of the code below that you can add to your virtual host file:
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;span style="color:#EA707F"&gt;RewriteEngine&lt;/span&gt; On&lt;br/&gt;&lt;span style="color:#EA707F"&gt;RewriteCond&lt;/span&gt; %{HTTP_HOST} ^(&lt;a href="http://www.maindomain.com"&gt;www.maindomain.com&lt;/a&gt;|alternatedomain.com) [NC] &lt;br/&gt;&lt;span style="color:#EA707F"&gt;RewriteRule&lt;/span&gt; ^(.*)$ &lt;a href="http://maindomain.com"&gt;http://maindomain.com&lt;/a&gt;$1 [R=301,L]&lt;br/&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;
Save the file, restart Apache, and your alternate domains should then be rewritten to your main domain, your Google ranking preserved, and all is right with the world.
&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/309021804</link><guid>http://tumblr.markdorison.com/post/309021804</guid><pubDate>Wed, 30 Dec 2009 22:55:00 -0500</pubDate><category>301</category><category>apache</category><category>google</category><category>mod_rewrite</category><category>redirect</category><category>virtualhost</category><category>SEO</category></item><item><title>Siberian Hudson in Central Park</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/MMcYxM0GyF4&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/MMcYxM0GyF4&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=MMcYxM0GyF4&amp;feature=youtube_gdata"&gt;Siberian Hudson in Central Park&lt;/a&gt;&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/291926042</link><guid>http://tumblr.markdorison.com/post/291926042</guid><pubDate>Sun, 20 Dec 2009 11:59:44 -0500</pubDate></item><item><title>Handy TextMate tips for working with HTML &amp; CSS</title><description>&lt;p&gt;&lt;a href="http://emilbjorklund.tumblr.com/post/173727936/handy-textmate-tips-for-working-with-html-css" class="tumblr_blog"&gt;emilbjorklund&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I use &lt;a title="Textmate, by Macromates." href="http://macromates.com/"&gt;TextMate&lt;/a&gt; a lot when doing web development, and I absolutely love it. Some of my friends and colleagues also use TextMate, and I get questions like &lt;i&gt;“what was that thing you did with the thing with the text”&lt;/i&gt; sometimes. Here, I thought I would document some of the ones I use most frequently.&lt;/p&gt;
&lt;h3&gt;Creating tag pairs&lt;/h3&gt;
&lt;p&gt;To create a tag without having to type those pesky angle-brackets and other thingamabobs, there are a few ways to go about it. First, if you find that you already opened the tag “manually”, you can always &lt;i&gt;close a tag&lt;/i&gt; by pressing &lt;b&gt;⌘ (cmd), ⌥ (alt) and “.”&lt;/b&gt;. Secondly, you can &lt;i&gt;open a pair of opening and closing tags&lt;/i&gt; by using &lt;b&gt;ctrl and “&lt;”&lt;/b&gt;. That gives you a default tag of “&lt;p&gt;&lt;/p&gt;”, which you can then either just change into whatever you want by typing the tag name, and the closing tag automatically changes, or you can tab into the middle if you’re happy with creating a p-tag (same goes for when you have changed it, press tab to jump into the tag).&lt;/p&gt;
&lt;p&gt;This way of creating a tag pair allows you to type in attributes before tabbing into creating the content of the element. There is a second way to use this command, and that is to type the name of the tag first (like for instance “li”) and then hit &lt;b&gt;ctrl and “&lt;”&lt;/b&gt;, that will give you opening and closing tags and the cursor placed inside straight away.&lt;/p&gt;
&lt;p&gt;If you already have a piece of content (a line of text or other HTML elements) that you need to &lt;i&gt;wrap in a pair of tags&lt;/i&gt;, you can use &lt;b&gt;ctrl, ⇧ (shift) and “w”&lt;/b&gt;. Too bad it doesn’t reindent your code for you, but you can’t win all the time…&lt;/p&gt;
&lt;h3&gt;Working with selections&lt;/h3&gt;
&lt;p&gt;Speaking of wrapping stuff, one really useful command when &lt;i&gt;wrapping text with “&lt;a&gt;”-tags&lt;/i&gt; is to use &lt;b&gt;ctrl, ⇧(shift) and “L”&lt;/b&gt;. That means the text you selected becomes a link, and as an added bonus, the contents of your clipboard gets inserted as the value of the href-attribute. Pretty handy, eh? When I create dummy links on a page, I just copy a hash-character (#) and then just zoom through the text, adding links where necessary. You can also use the same command without selecting text, which gives you an empty “&lt;a&gt;”-tag, then just tab into entering the link text when you’re done with the attributes.&lt;/p&gt;
&lt;p&gt;TextMate also has the lovely quality of being able to select text over specific columns as well as multiple lines. This means you can make a selection of a specific part of multiple lines and enter text into this spot on all lines, simultaneously. The easiest way of doing this is to hold the &lt;b&gt;⌥ (alt) key while selecting an area with the mouse&lt;/b&gt;. Try creating a few lines of empty space, select a column across all lines and type “&lt;li&gt;&lt;a href=”#”&gt;List item&lt;/a&gt;&lt;/li&gt;” - Hey presto, a list with multiple dummy items in one fell swoop! If you’re not a mouse user, you can &lt;i&gt;enter this multiple-row-editing mode&lt;/i&gt; by creating a few empty lines, selecting them (by holding &lt;b&gt;⇧ (shift) and using the arrow keys&lt;/b&gt;) and then pressing &lt;b&gt;⌘ (cmd) + &lt;/b&gt;&lt;b&gt;⌥ (alt) + “a”&lt;/b&gt;.&lt;/p&gt;
&lt;h3&gt;Element specific stuff&lt;/h3&gt;
&lt;p&gt;There’s also an abunance of element-specific commands to use. When creating a new HTML document, you can either use one of the templates that ship with TextMate, but if you prefer to do everything “by hand”, try typing for example &lt;b&gt;“doctype” followed by pressing tab &lt;/b&gt;(and then hit the number key for the option you want), or why not &lt;b&gt;“head” + tab&lt;/b&gt;? There are too many of these to go through, but apart from the above mentioned “doctype” and “head” shortcuts, try tabbing after typing “form” or “table”. That gives you some default scaffolding instead of the tedious work of typing out everything in these elements by hand.&lt;/p&gt;
&lt;h3&gt;You &lt;i&gt;don’t&lt;/i&gt; do the math&lt;/h3&gt;
&lt;p&gt;When editing CSS, I don’t use as many shortcuts, I find that they mostly slow me down. A couple of things worth noting is that most properties can be tab-completed, if you’re unsure of spelling or syntax. Try typing “&lt;b&gt;background&lt;/b&gt;” followed by a tab, for example: that will give you a couple of choices for background properties.&lt;/p&gt;
&lt;p&gt;One thing that is quite handy, though, is the built in &lt;i&gt;math bundle&lt;/i&gt;: you can do calculations of measurements inline! Say that you’re trying to calculate the em-size of a particular piece of text, and you want it to &lt;a title="Rich's excellent article on 24ways.org" href="http://24ways.org/2006/compose-to-a-vertical-rhythm"&gt;harmonize with the vertical rythm of the page&lt;/a&gt;. You need a line height of 18px for text set in 14px, in ems. Just type “line-height: 18/14em;”, select the “18/14” part and press &lt;b&gt;ctrl + ⇧ + “C”, &lt;/b&gt;which gives you a couple of options for calculating a value. Choose &lt;i&gt;“evaluate and replace expression”&lt;/i&gt; (no. 2) and you’re good to go!&lt;/p&gt;
&lt;p&gt;Finally, it’s also worth mentioning in this context that all of the defaults for what happens for a specific command is easily customized via Bundle Editor, accessed via &lt;b&gt;Bundles - Bundle Editor - Show Bundle Editor&lt;/b&gt; (there’s even a keyboard shortcut for that: &lt;b&gt;⌘ + ⌥ + ctrl + “B”&lt;/b&gt;).&lt;/p&gt;
&lt;p&gt;Happy coding!&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.markdorison.com/post/279101094</link><guid>http://tumblr.markdorison.com/post/279101094</guid><pubDate>Fri, 11 Dec 2009 11:49:36 -0500</pubDate></item><item><title>Great name. Great business card.</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_kug1n5FvOC1qzlrj0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Great name. Great business card.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/277645870</link><guid>http://tumblr.markdorison.com/post/277645870</guid><pubDate>Thu, 10 Dec 2009 10:57:05 -0500</pubDate></item><item><title>Repair a Non-booting Mac after Linux Install</title><description>&lt;p&gt;&lt;a href="http://infiniteshamrock.com/post/256996786/repair-a-non-booting-mac-after-linux-install" class="tumblr_blog"&gt;mccarron&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;While at &lt;a href="http://groups.google.com/group/nscoder-schaumburg"&gt;NSCoder Schaumburg&lt;/a&gt; last night I installed &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu 9.10&lt;/a&gt; to a USB stick attached to my MacBook Pro.  I mistakenly didn’t check the bootloader installation settings, as I thought it was safe since I was installing to the USB stick. That was a bad idea, because I rebooted to a find the dreaded Question Mark Folder on my screen. &lt;/p&gt;

&lt;p align="center"&gt;&lt;img src="http://media.tumblr.com/tumblr_kto7isFKxx1qzxrhl.jpg"/&gt;&lt;/p&gt;

&lt;p&gt;This basically means the system can’t find a disk to boot from. In this case, Ubuntu removed the expected EFI boot code and replaced it with their own code. My data was all there, just the drive wasn’t bootable. Also since I wasn’t at home I had no boot disk on hand to fix the problem. Luckily fellow NSCoder &lt;a href="http://twitter.com/kamitchell"&gt;Kevin Mitchell&lt;/a&gt; had his Mac OS X Snow Leopard disk with him. &lt;/p&gt;

&lt;p&gt;I figured it would be fixed with a simple “Disk Repair” command in Disk Utility, or a simple command line to restore the boot code to normal. But after trying &lt;a href="http://support.apple.com/kb/TS1440"&gt;various methods to repair the system&lt;/a&gt;, I was getting no where. I was worried I’d have to re-image the drive once I got home. So I started to Google around as I knew a solution had to be out there. I eventually found &lt;a href="http://www.macosxhints.com/article.php?story=20091111185717745"&gt;this article on macosxhints.com&lt;/a&gt; that had a simple solution that worked flawlessly! A simple resizing of the Mac’s HFS partition will reset the EFI boot code.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run Disk Utility and click on your internal hard disk (the disk itself, not the partition under it). &lt;/p&gt;

&lt;p&gt;Then click on the Partition tab. If you move the triangular slider that adjusts the partition up and then back to where it was, the “Apply” button becomes active (it starts greyed out). &lt;/p&gt;

&lt;p&gt;You can now click “Apply,” and the partition will be left alone, but the bootloader will be recreated. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This tip saved the day for me, so I figured I’d share it. As I hope it is a tip that someone can use in the future themselves.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.markdorison.com/post/273632654</link><guid>http://tumblr.markdorison.com/post/273632654</guid><pubDate>Mon, 07 Dec 2009 16:46:11 -0500</pubDate></item><item><title>The snuggie on steroids

juliaroy:


I am strangely really into...</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_ktuuusej441qzpwi0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;The snuggie on steroids&lt;/p&gt;

&lt;p&gt;&lt;a href="http://juliaroy.tumblr.com/post/266323851/i-am-strangely-really-into-this-thing-giannii" class="tumblr_blog"&gt;juliaroy&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I am strangely really into this thing…&lt;/p&gt;
&lt;p&gt;&lt;a href="http://nonsense.giannii.com/post/266033606/i-can-use-this-right-now-id-wear-socks-though"&gt;giannii&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I can use this right now. I’d wear socks though.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://thedw.us/post/261638635/what-hath-snuggie-wrought-via"&gt;thedailywhat&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;What hath Snuggie wrought?&lt;/p&gt;
&lt;p&gt;[&lt;a href="http://pictureisunrelated.com/2009/11/28/the-snuggie-2-0/"&gt;via&lt;/a&gt;.]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.markdorison.com/post/266340553</link><guid>http://tumblr.markdorison.com/post/266340553</guid><pubDate>Wed, 02 Dec 2009 10:00:21 -0500</pubDate></item><item><title>"I don’t want to hear that the son of a [bleep] can’t throw,” an Alabama coach told..."</title><description>““I don’t want to hear that the son of a [bleep] can’t throw,” an Alabama coach told me later. “Every time he needed to make a big throw against us, he made it. There really isn’t anyone else like him.””&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.cbssports.com/collegefootball/story/12571153/as-time-ticks-on-tebows-career-appreciate-what-weve-got-before-its-gone"&gt;Alabama Coach on Tim Tebow
&lt;/a&gt;&lt;/em&gt;</description><link>http://tumblr.markdorison.com/post/257071963</link><guid>http://tumblr.markdorison.com/post/257071963</guid><pubDate>Wed, 25 Nov 2009 11:46:00 -0500</pubDate></item><item><title>Demo of Glyph iPhone Web App</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/BP4pjS2nPBg&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/BP4pjS2nPBg&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=BP4pjS2nPBg&amp;feature=youtube_gdata"&gt;Demo of Glyph iPhone Web App&lt;/a&gt;&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/256954012</link><guid>http://tumblr.markdorison.com/post/256954012</guid><pubDate>Wed, 25 Nov 2009 09:26:20 -0500</pubDate></item><item><title>Hudson Enjoying Central Park</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ckXzvuQqsyY&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ckXzvuQqsyY&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=ckXzvuQqsyY&amp;feature=youtube_gdata"&gt;Hudson Enjoying Central Park&lt;/a&gt;&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/255273192</link><guid>http://tumblr.markdorison.com/post/255273192</guid><pubDate>Tue, 24 Nov 2009 00:28:33 -0500</pubDate></item><item><title>Relatives, please take note.</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_kovnruSzEb1qz8efxo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Relatives, please take note.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/176549208</link><guid>http://tumblr.markdorison.com/post/176549208</guid><pubDate>Mon, 31 Aug 2009 17:49:28 -0400</pubDate></item><item><title>How to Recover From a Broken Mail.app</title><description>&lt;p&gt;After upgrading to Snow Leopard and starting up Mail.app for the first time I was notified that some of the plug-ins that I used under Leopard were not compatible and would no longer be active. No big deal, I figured until I looked at my Mail window.&lt;/p&gt;

&lt;p&gt;One of the plug-ins I was using was WideMail. What WideMail does is turn your normally two rows of data in Mail.app (messages &amp; preview pane) into two columns of data, arguably more suitable for wide-screen monitors.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.daneharnett.com/widemail/wp-content/uploads/2008/02/widemail-05-sneak-peek-1.png"/&gt;&lt;/p&gt;

&lt;p&gt;The big trick here besides just physically moving the layout is that what WideMail does is create a new data column which contains the data of your choice (sender, subject, date received etc). You then disable the other columns and you are done, right? Wrong. Mail.app does not let you turn off the Subject column. WideMail hacks this and makes it disappear.&lt;/p&gt;

&lt;p&gt;Fast forward. You install Snow Leopard, WideMail gets deactivated due to incompatibility and you go to turn on all your traditional Mail columns but Subject is still nowhere to be found. After trying to delete the WideMail packages, the plist files etc. the only solution I could find was to reinstall Mail. You can do this by&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Deleting the ~/Library/Mail folder (hopefully you are using IMAP so this shouldn’t be much of an issue)
&lt;/li&gt;
&lt;li&gt;Delete the file titled com.apple.mail.plist from the ~/Library/Preferences directory
&lt;/li&gt;
&lt;li&gt;Inserting your install media 
&lt;/li&gt;
&lt;li&gt;Navigating to the Optional Installs folder
&lt;/li&gt;
&lt;li&gt;Activating the installer
&lt;/li&gt;
&lt;li&gt;Select Mail from the Applications section and reinstall
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Following this you should be back up and running with a pristine version of Mail.app!&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/170808630</link><guid>http://tumblr.markdorison.com/post/170808630</guid><pubDate>Mon, 24 Aug 2009 19:10:00 -0400</pubDate><category>Mail</category><category>OS X</category><category>Snow Leopard</category><category>WideMail</category></item><item><title>mikegermano:


This confirms my feelings regarding Sloane...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_koc9vvcSOB1qzydvvo1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://mikegermano.tumblr.com/post/162753171/this-confirms-my-feelings-regarding-sloane"&gt;mikegermano&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This confirms my feelings regarding Sloane Peterson was/is the perfect girlfriend. Plus I think she is totally hot even with that White Leather Jacket.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://condicondi.tumblr.com/post/162435235/the-guide-to-being-so-choice-aka-how-sloane"&gt;condicondi&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;b&gt;THE GUIDE TO BEING SO CHOICE&lt;/b&gt;&lt;i&gt; aka&lt;/i&gt;&lt;i&gt; How Sloane Peterson from Ferris Bueller’s Day Off Taught me how to be an Awesome Girlfriend.&lt;/i&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt; &lt;b&gt;Get along with his friends&lt;/b&gt; if you don’t get along with his friends you are done. seriously. That is number 1. Even if you think his friends are uptight weirdos or hypochondriac freaks, HEY, he is friends with them for a reason, so cut the shit. You’ve probably got some weird and crappy friends too…&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Rein him in, but only when necessary&lt;/b&gt; you are his girlfriend, not his mother. If he wants to sing to the city on a giant float, let him do it. He’s a big man and he can deal with the consequences. You can nicely remind him, Look, if you do that there might be trouble, but if you throw a bitch fit and give him the silent treatmeant you will look fucking retarded when he has a new girlfriend on his arm from the impressive stunts he’s pulled.&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Be funny&lt;/b&gt; “He’s licking the glass and making obscene gestures with his hands.” simple as that.&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Be confident&lt;/b&gt; Look, one of the reasons Ferris loved her was because she was cool and classy lady, she didn’t stress. She uttered the words and believed “He’s gonna marry me.” She probably knows if her boyfriend was running through a backyard and saw 2 girls tanning he probably &lt;i&gt;would &lt;/i&gt;stop and say hello, but she also knows that he would spend hours of stress and risk his neck to get her out of school to just see her. Relax. You have him. He’s not going anywhere, and if he talks to other girls who the fuck cares YOU are the one he wants to marry.&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Say Eloquent Shit&lt;/b&gt; did Sloane ever use the word “like” as much as you do in your daily conversation? No. Drop the habit that makes you seem like a dumb valley girl and trade it for stellar vocab terms like “warmth &amp; compassion” and “devastatingly handsome.” Once you’ve mastered talking like an adult, you’ll be able to spew pearls of poetry like “The city looks so peaceful from up here…” &lt;/li&gt;
&lt;li&gt; &lt;b&gt;Pack lightly&lt;/b&gt; ever notice how tiny Sloane’s purse was? The bigger the purse, the lamer the girl. Its called baggage for a reason.&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Be able to keep up with the boys&lt;/b&gt; Hey, if you’ve got cramps, take a fucking midol and strap in. You don’t ever wanna be the girlfriend who is a drag and never wants to go out. A girl who can say she cruised with the top down in a convertible, swung by the Stock Exchange, and took in a Cubs game all in one day, is sorta girl who you wanna keep around.&lt;/li&gt;
&lt;li&gt; &lt;b&gt;Look badass in a jacket with fringe &lt;/b&gt;The End.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description><link>http://tumblr.markdorison.com/post/162769530</link><guid>http://tumblr.markdorison.com/post/162769530</guid><pubDate>Fri, 14 Aug 2009 08:15:47 -0400</pubDate></item><item><title>Every dog lover should....</title><description>&lt;ul&gt;
&lt;li&gt;Know his dogs birthday;&lt;/li&gt;
&lt;li&gt;Get birthday gifts from the dog;&lt;/li&gt;
&lt;li&gt;Consider getting a cat for the dog;&lt;/li&gt;
&lt;li&gt;See babies and think of puppies;&lt;/li&gt;
&lt;li&gt;Have a near miss in traffic because a dog was walking by;&lt;/li&gt;
&lt;li&gt;Have stepped in some, barefoot, in the dark;&lt;/li&gt;
&lt;li&gt;Know better than to leave the closet door open;&lt;/li&gt;
&lt;li&gt;Know all dogs by name if not all owners;&lt;/li&gt;
&lt;li&gt;Be pleased to learn that 63 percent of you sleep with them;&lt;/li&gt;
&lt;li&gt;Buy anything a dog is selling;&lt;/li&gt;
&lt;li&gt;Should be counted on to ask no matter what other awful things are reported, was the dog okay;&lt;/li&gt;
&lt;li&gt;Understand they are never replaced; and you will fall in love again…&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A friend of mine saw this poster in a doctor’s office and copied it down to send to me. It was much appreciated.&lt;/p&gt;</description><link>http://tumblr.markdorison.com/post/160606387</link><guid>http://tumblr.markdorison.com/post/160606387</guid><pubDate>Tue, 11 Aug 2009 12:31:40 -0400</pubDate></item></channel></rss>
