<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Adorno Media</title> <link>http://www.adornomedia.com</link> <description /> <lastBuildDate>Sun, 16 Jun 2013 15:22:45 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/adornomedia" /><feedburner:info uri="adornomedia" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>TIP: How to Play a Sound Whenever You Commit to Git</title><link>http://feedproxy.google.com/~r/adornomedia/~3/MRak7kLv7EE/</link> <comments>http://www.adornomedia.com/2013/06/12/play-a-sound-on-git-commit/#comments</comments> <pubDate>Wed, 12 Jun 2013 14:00:50 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[General Development]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[audio]]></category> <category><![CDATA[console]]></category> <category><![CDATA[development]]></category> <category><![CDATA[git]]></category> <category><![CDATA[programming]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=460</guid> <description><![CDATA[<p>Writing code alone at home can be an isolating experience. There you are, day in day out, quietly making magic with your mind (sarcasm, obv.) only to silently commit the fruits of your labor into the void of your source control repository, appreciated by no one. If only a crowd of children could be retained [...]</p><p>The post <a href="http://www.adornomedia.com/2013/06/12/play-a-sound-on-git-commit/">TIP: How to Play a Sound Whenever You Commit to Git</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>Writing code alone at home can be an isolating experience. There you are, day in day out, quietly making magic with your mind (sarcasm, obv.) only to silently commit the fruits of your labor into the void of your source control repository, appreciated by no one. If only a crowd of children could be retained for the sole purpose of cheering you on every time you complete something.</p><p>Amazingly, Brandon Keepers over at Collective Idea had the same exact same thought (almost; he was substantially less melodramatic in <a title="Happy Git Commits" href="collectiveidea.com/blog/archives/2010/08/03/happy-git-commits/" target="_blank">his blog post about it</a>).  Anyway, here is what my version of his script looks like:</p><pre class="brush: bash; gutter: true">#!/bin/sh

toplevel_path=`git rev-parse --show-toplevel`
afplay -v 0.1 $toplevel_path/.git/hooks/happykids.wav &gt; /dev/null 2&gt;&amp;1 &amp;</pre><p>I put this in a file called <code>.git/hooks/post-commit.playsound</code>. I then trigger this from the main <code>.git/hooks/post-commit</code> script as follows:</p><pre class="brush: bash; gutter: true">#!/bin/sh

toplevel_path=`git rev-parse --show-toplevel`
$toplevel_path/.git/hooks/post-commit.tweet
$toplevel_path/.git/hooks/post-commit.playsound</pre><p>Where the <code>post-commit.tweet</code> script is the script from this blog post. If you aren&#8217;t also tweeting your commit posts, you&#8217;ll want to delete that line.</p><p>If you want this to work for every single Git repository from now on, add these scripts to your git-core templates. You’ll have to figure out where these are (it’s different for every setup). For my Mac, they’re located here: /opt/local/share/git-core/templates/hooks/post-commit.</p><p>&#8211;David</p><p>The post <a href="http://www.adornomedia.com/2013/06/12/play-a-sound-on-git-commit/">TIP: How to Play a Sound Whenever You Commit to Git</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/MRak7kLv7EE" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2013/06/12/play-a-sound-on-git-commit/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2013/06/12/play-a-sound-on-git-commit/</feedburner:origLink></item> <item><title>TIP: Turn WordPress Page Titles On or Off Using Custom Fields</title><link>http://feedproxy.google.com/~r/adornomedia/~3/JEmgGSu9EQo/</link> <comments>http://www.adornomedia.com/2013/04/25/turn-off-wordpress-page-titles/#comments</comments> <pubDate>Fri, 26 Apr 2013 00:15:28 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[page titles]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[post titles]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://adornomedia.com/?p=70</guid> <description><![CDATA[<p>Most WordPress themes display page titles for every page. This is usually what one wants, but sometimes it&#8217;s useful to be able to easily turn off WordPress page titles for individual pages but still keep them on by default. This is easy to do with custom fields. For simplicity&#8217;s sake, I am going to base [...]</p><p>The post <a href="http://www.adornomedia.com/2013/04/25/turn-off-wordpress-page-titles/">TIP: Turn WordPress Page Titles On or Off Using Custom Fields</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>Most WordPress themes display page titles for every page. This is usually what one wants, but sometimes it&#8217;s useful to be able to easily turn off WordPress page titles for individual pages but still keep them on by default. This is easy to do with custom fields. For simplicity&#8217;s sake, I am going to base these examples on the default WordPress <a title="Twenty Twelve WordPress Theme" href="http://wordpress.org/extend/themes/twentytwelve" target="_blank">Twenty Twelve</a> theme although the same principle should apply to almost any theme.</p><p>The first step is to find where the page title is being generated. In the <strong>Twenty Twelve</strong> theme, this is in the content-page.php file. Go into content-page.php and find the block of code that looks like this:</p><pre class="brush: php; gutter: false">&lt;header class=&quot;entry-header&quot;&gt;
&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
&lt;/header&gt;</pre><p>and change it to this:</p><pre class="brush: php; gutter: true">&lt;?php if (get_post_meta($post-&gt;ID, &#039;show_title&#039;, true) != &quot;no&quot;) {?&gt;
&lt;header&gt;
&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
&lt;/header&gt;
&lt;?}?&gt;</pre><p>As you can see we&#8217;ve wrapped the &lt;header&gt; tag in an &#8220;if&#8221; statement. This checks for the presence of a &#8220;show_title&#8221; custom field for this particular page. If one is present <strong>and</strong> its value also equals &#8220;no,&#8221; we don&#8217;t show the title. Otherwise, the page title is shown.</p><p>The only step left is to open up the editor for the page you want to modify. Go to the bottom of the page to the &#8220;Custom Fields&#8221; section. (If there is no &#8220;Custom Fields&#8221; section, you may have to go up to the top, click &#8220;Screen Options&#8221; and check the &#8220;Custom Fields&#8221; box.) In the &#8220;Name&#8221; box, type &#8220;show_title.&#8221; In the &#8220;Value&#8221; box, type &#8220;no.&#8221; Hit &#8220;Update.&#8221;</p><p>That&#8217;s it! Your page title should be gone from that page.</p><p>–Dave Hilowitz</p><p>The post <a href="http://www.adornomedia.com/2013/04/25/turn-off-wordpress-page-titles/">TIP: Turn WordPress Page Titles On or Off Using Custom Fields</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/JEmgGSu9EQo" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2013/04/25/turn-off-wordpress-page-titles/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2013/04/25/turn-off-wordpress-page-titles/</feedburner:origLink></item> <item><title>How to Relay your Git Commit Messages to Twitter in 16 Easy Steps</title><link>http://feedproxy.google.com/~r/adornomedia/~3/NUzAZuJnwUs/</link> <comments>http://www.adornomedia.com/2013/04/02/git-post-commit-twitter-hook/#comments</comments> <pubDate>Tue, 02 Apr 2013 23:14:02 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[General Development]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[git]]></category> <category><![CDATA[post-commit hooks]]></category> <category><![CDATA[twitter]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=361</guid> <description><![CDATA[<p>A while back I started using Twitter as a micro-journaling platform. I created a private Twitter account, and every few hours as I worked on code, I would jot down a private tweet to myself about what it was that I was doing. This private Twitter stream was then archived using Momento App for iPhone. [...]</p><p>The post <a href="http://www.adornomedia.com/2013/04/02/git-post-commit-twitter-hook/">How to Relay your Git Commit Messages to Twitter in 16 Easy Steps</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>A while back I started using Twitter as a micro-journaling platform. I created a private Twitter account, and every few hours as I worked on code, I would jot down a private tweet to myself about what it was that I was doing. This private Twitter stream was then archived using Momento App for iPhone. After a while, it occurred to me that another stream that I would love to have archived in Momento is my Git commits as it often says more about what I&#8217;m up to than it would occur to me to write in a journal.</p><p>I set up a Git post-commit hook that posts to my private Twitter account each time I make a local commit on my development repository. Here&#8217;s what I did:</p><ol><li><em>Prerequisite:</em> Create a Twitter account. It doesn&#8217;t have to be private, but it can be.</li><li>Register an application with Twitter. Here&#8217;s how you do that:<ol><li>Go to <a title="dev.twitter.com" href="http://dev.twitter.com" target="_blank">http://dev.twitter.com</a>. You may need to sign in again.<a href="http://dev.twitter.com"><img class="size-medium wp-image-436 alignnone" alt="Screen Shot 2013-04-02 at 5.12.18 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-02-at-5.12.18-PM-300x290.png" width="300" height="290" /></a></li><li>Hover over your avatar in the top-right, and choose &#8220;My Applications&#8221; from the menu that appears.<img class="size-full wp-image-437 aligncenter" style="border: 0px;" alt="Screen Shot 2013-04-02 at 5.22.26 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-02-at-5.22.26-PM.png" width="191" height="172" /></li><li>Click on the &#8220;Create New Application&#8221; Button.<img class="alignnone size-full wp-image-435" alt="Screen Shot 2013-04-02 at 5.23.14 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-02-at-5.23.14-PM.png" width="183" height="53" /></li><li>Fill out the next however you&#8217;d like. The website address can be anything. The name of the app can be anything. Leave <strong>Callback URL</strong> blank. Agree to the agreement, enter the CAPTCHA and you&#8217;re good to go.<img class="alignnone size-medium wp-image-432" alt="Screen Shot 2013-04-02 at 5.36.56 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-02-at-5.36.56-PM-300x122.png" width="300" height="122" /></li><li>Next, you&#8217;ll be taken to a screen with a bunch of keys. Copy all of those down into a text editor.</li><li>Click the &#8220;Settings&#8221; tab. Change to &#8220;Read and Write&#8221; for <strong>Application Type</strong>. Click <strong>Update</strong><strong><strong>.</strong></strong><img alt="Screen Shot 2013-04-02 at 5.36.42 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-02-at-5.36.42-PM-300x127.png" width="300" height="127" /></li><li>Go back to the <strong>Details</strong> tab. Scroll down to the bottom and click &#8220;Create my OAuth Access Token.&#8221;</li><li>Wait a few seconds, refresh the page, wait some more. Eventually, at the bottom of the page a section should appear that says &#8220;<strong>Your access token</strong>.&#8221; Copy these codes down.</li><li>That&#8217;s it for your Twitter App setup.</li></ol></li><li>Open up a shell on the machine you are planning to be commit to (and tweet from).</li><li>Install <a title="http_post" href="http://acme.com/software/http_post/" target="_blank">http_post</a>. You will have to compile this from source. (<strong>make</strong> and <strong>make install</strong>). Make sure it&#8217;s accessible from your PATH.</li><li>Install <a title="oauth_sign" href="http://acme.com/software/oauth_sign/" target="_blank">oauth_sign</a>. You will also have to compile this form source. (<strong>make</strong> and <strong>make install</strong>) Make sure it&#8217;s accessible from your PATH.</li><li>Finally, save the following script into .git/hooks/post-commit in your Git repository.<pre class="brush: bash; gutter: true">#!/bin/sh

# PATH modification needed for http_post and oauth_sign
export PATH=$PATH:/usr/local/bin

toplevel_path=`git rev-parse --show-toplevel`
toplevel_dir=`basename &quot;$toplevel_path&quot;`

branch=`git rev-parse --abbrev-ref HEAD`
subject=`git log --pretty=format:%s -n1`
hashtags=&quot;#code #$toplevel_dir&quot;
tweet=$hashtags&#039; [&#039;$branch&#039;]: &quot;&#039;$subject&#039;&quot;&#039;

# truncate tweets that are longer than 140 characters
if [ ${#tweet} -gt 140 ]
    then
        tweet_trunc=$(echo $tweet | cut -c1-137)
        tweet=${tweet_trunc}...
fi

consumer_key=&quot;&lt;Put your computer key here&gt;&quot;
consumer_secret=&quot;&lt;Put your consumer secret here&gt;&quot;
access_token=&quot;&lt;Put your access token here&gt;&quot;
access_secret=&quot;&lt;Put your access token secret here&gt;&quot;
url=&quot;https://api.twitter.com/1.1/statuses/update.json&quot;

http_post -h Authorization &quot;$(oauth_sign \
$consumer_key $consumer_secret \
$access_token $access_secret \
POST &quot;$url&quot; status=&quot;$tweet&quot;)&quot; \
     &quot;$url&quot; status=&quot;$tweet&quot;</pre></li><li>Make sure that you make the file executable. (chmod a+x .git/hooks/post-commit)</li><li>That&#8217;s it! If you want to have this automatically added to any new repositories you make, modify the git-core templates. You&#8217;ll have to figure out where those are (it&#8217;s different for every set up). For me, they&#8217;re located here: /opt/local/share/git-core/templates/hooks/post-commit.</li></ol><p><strong></strong>This is all based heavily on scripts at the following two links:</p><ul><li><a href="http://fanf.livejournal.com/108436.html" target="_blank">http://fanf.livejournal.com/108436.html</a></li><li><a href="http://stackoverflow.com/a/2653187/479540" target="_blank">http://stackoverflow.com/a/2653187/479540</a></li></ul><p>Good luck!</p><p>&#8211;David</p><p>&nbsp;</p><p>The post <a href="http://www.adornomedia.com/2013/04/02/git-post-commit-twitter-hook/">How to Relay your Git Commit Messages to Twitter in 16 Easy Steps</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/NUzAZuJnwUs" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2013/04/02/git-post-commit-twitter-hook/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2013/04/02/git-post-commit-twitter-hook/</feedburner:origLink></item> <item><title>How and Why I Switched Away From Doit.im</title><link>http://feedproxy.google.com/~r/adornomedia/~3/pdY6DKELuBQ/</link> <comments>http://www.adornomedia.com/2013/03/01/migrating-away-from-doit-im/#comments</comments> <pubDate>Fri, 01 Mar 2013 15:50:16 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[doit.im]]></category> <category><![CDATA[gtd]]></category> <category><![CDATA[todo lists]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=398</guid> <description><![CDATA[<p>Why This evening, I migrated away from doit.im. I had been using it for over a year and liked it quite a bit, but increasingly I found myself reverting to a TaskPaper-formatted text file for my daily tasks, which defeated the purpose of having all of my big stuff in Doit.im. Ultimately, I&#8217;m looking for a [...]</p><p>The post <a href="http://www.adornomedia.com/2013/03/01/migrating-away-from-doit-im/">How and Why I Switched Away From Doit.im</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<h3>Why</h3><p>This evening, I migrated away from <a title="Doit.IM" href="http://doit.im" target="_blank">doit.im</a>. I had been using it for over a year and liked it quite a bit, but increasingly I found myself reverting to a <a title="TaskPaper" href="http://www.hogbaysoftware.com/products/taskpaper" target="_blank">TaskPaper</a>-formatted text file for my daily tasks, which defeated the purpose of having all of my big stuff in Doit.im.</p><p>Ultimately, I&#8217;m looking for a system that will be able to accomodate little daily lists that I make as well as my grandest long-term plans. Doit.im was really good with the latter, but really just OK for the day-to-day tasks.</p><p>Overall, doit.im is pretty well designed. My biggest complaint is that you can&#8217;t reorder task lists manually. Why does this matter? Well, one of the biggest questions (if not <em>the</em> biggest question) I am looking to have answered is &#8220;What should I do next?&#8221; I answer this (in theory, at least) by staying on top of all my lists, by making decisions early and often, and by ordering and reordering every project&#8217;s task list over and over throughout the day. The operative principle is that I could then move from project-to-project, effortlessly checking off the next task from each one, before going back to the beginning of the list and starting over. Real life isn&#8217;t so perfect, but that&#8217;s the concept at least.</p><p>Even if three or four tasks could potentially be done to move a project forward, I still need to make a decision about which one to start with. In other words, I&#8217;m not interested in what <em>can</em> be done next, I&#8217;m interested in what <em>will</em> be done next. The difference between these two things is the difference between my moving forward in a project and just staring bewildered at the 568 tasks in my list.</p><p>In summary, manual ordering is essential.</p><h3>How</h3><p>Leaving Todo.im was technically much harder than I had expected. I had migrated onto their service using their wonderful API. At the time I had been using Remember The Milk, so I wrote a script that parsed RTM&#8217;s RSS feed and inserted the tasks from that one-by-one via Doit.im&#8217;s API. Pretty straightforward.</p><p>Things were quite a bit harder this time around, though, as Doit.im have disabled their API. To make matters worse, they have no functionality for exporting task lists. This isn&#8217;t the sort of feature one notices when deciding to use a task management system, but it probably should be. (I should add, at the risk of sounding paranoid, that it&#8217;s hard to see their decision to discontinue their API or any kind of export functionality as anything other than an anti-competitive move.)</p><p>This left their web app. If you go to any of their list views, you can see that all of the tasks are in divs with the class &#8220;link-title.&#8221; This means it&#8217;s fairly easy to scrape this data into a JavaScript variable, and then into a the clipboard buffer. Here goes:</p><p>1. In Chrome: open up the Doit.im website</p><p style="text-align: center;"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.16.26-PM.png"><img class="size-medium wp-image-404 aligncenter" alt="Screen Shot 2013-02-28 at 9.16.26 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.16.26-PM-295x300.png" width="295" height="300" /></a></p><p>2. (optional)  Make a custom filter that will show you all tasks</p><p style="text-align: center;"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.15.53-PM.png"><img class="size-medium wp-image-399 aligncenter" alt="Screen Shot 2013-02-28 at 9.15.53 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.15.53-PM-300x135.png" width="300" height="135" /></a></p><p>3. Open up a list view for your custom filter (works with any list view really)</p><p style="text-align: center;"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.19.41-PM.png"><img class="size-medium wp-image-401 aligncenter" alt="Screen Shot 2013-02-28 at 9.19.41 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.19.41-PM-295x300.png" width="295" height="300" /></a></p><p>4. Open up the Developer Console (option+command+i on the Mac).</p><p style="text-align: center;"><em id="__mceDel"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.17.06-PM.png"><img class="aligncenter" alt="Screen Shot 2013-02-28 at 9.17.06 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.17.06-PM-300x292.png" width="300" height="292" /></a></em></p><p>5. Paste this snippet&#8230;</p><pre class="brush: javascript; gutter: false">var taskString = &#039;&#039;; var tasks = $(&#039;.taskList .task .title .link-title&#039;).text(function(index, value) {
  taskString = taskString + &#039;- &#039; + value + &quot;\n&quot;;
}); console.log(taskString); copy(taskString);</pre><p>&#8230;into the console and hit enter.</p><p style="text-align: center;"><em id="__mceDel"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.17.18-PM.png"><img class="aligncenter" alt="Screen Shot 2013-02-28 at 9.17.18 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.17.18-PM-300x292.png" width="300" height="292" /></a></em></p><p>6. Go into your favorite text editor and paste.</p><p style="text-align: center;"><a href="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.18.35-PM.png"><img class="aligncenter" alt="Screen Shot 2013-02-28 at 9.18.35 PM" src="http://cdn.adornomedia.com.s3.amazonaws.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-28-at-9.18.35-PM-300x272.png" width="300" height="272" /></a></p><p>The post <a href="http://www.adornomedia.com/2013/03/01/migrating-away-from-doit-im/">How and Why I Switched Away From Doit.im</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/pdY6DKELuBQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2013/03/01/migrating-away-from-doit-im/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2013/03/01/migrating-away-from-doit-im/</feedburner:origLink></item> <item><title>How To Find (and Delete) Silent Audio Files</title><link>http://feedproxy.google.com/~r/adornomedia/~3/Ab5ElAmcpSU/</link> <comments>http://www.adornomedia.com/2013/02/06/find-silent-audio-files/#comments</comments> <pubDate>Wed, 06 Feb 2013 17:05:19 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Audio Development]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[audio]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[command-line]]></category> <category><![CDATA[scripts]]></category> <category><![CDATA[silent]]></category> <category><![CDATA[sox]]></category> <category><![CDATA[wave files]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=366</guid> <description><![CDATA[<p>The Problem If you’re anything like me, you have a ton of audio files on your hard drive. When I’m working on music (or an audio synthesis project), I will export out songs that I’m working on in one piece of software in order to import them into another. I keep the intermediary tracks in [...]</p><p>The post <a href="http://www.adornomedia.com/2013/02/06/find-silent-audio-files/">How To Find (and Delete) Silent Audio Files</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<h3 id="howtofindanddeletesilentaudiofiles"><strong>The</strong> Problem</h3><p>If you’re anything like me, you have a ton of audio files on your hard drive. When I’m working on music (or an <a title="Introducing Tito" href="http://www.adornomedia.com/2010/10/20/introducing-tito/">audio synthesis project</a>), I will export out songs that I’m working on in one piece of software in order to import them into another. I keep the intermediary tracks in my Dropbox so that I can use and reuse the little snippets when I’m building my compositions. Life has gotten much easier for me in the past few years as most modern audio sequencers (Cubase, Live, PreSonus Studio One) now offer the possibility of exporting all the component tracks of a composition. The problem is, if you have 12 tracks in your song file and only 4 of them are actually being used in the section of song you are exporting, you’ll end up with 12 audio files—8 of which will be blank. If only there were some easy way of find and deleting those blank files so that they didn’t take up so much of my valuable Dropbox space…</p><h3><strong>The</strong> Solution</h3><p>Luckily, if you’re using a Mac/Linux box, it’s possible to find (and yes, delete) silent audio files en masse using the command-line. It’s undoubtedly possible in Windows, too, using Cygwin, but I haven’t tried it. <strong>NOTE: This is very much a use-at-your-own-risk solution.</strong> When I do this, I <em>never</em> delete the files directly. I always just use this system to generate a file list. Then I drop the list of files into Winamp and have a relaxing “silent file listening session.” In other words, I check to make sure they are, in fact, actually silent.</p><p>OK, so how does it work?</p><p>For starters, you will need to install a super useful tool call <a href="http://sox.sourceforge.net/">SoX</a>. SoX is a command-line tool which can be used to perform conversions from one audio file format to another, to apply filters to your files, as well as to generate useful statistics about your audio. In OS X, you can install it via <a href="http://macports.org/">MacPorts</a> (simply type “sudo port install sox” at the Terminal) and on Linux via <code>apt-get</code>. You can also go the old-fashioned route by downloading the source files and compiling it.</p><p>Once you have it installed, try it out. Open up a Terminal window, <code>cd</code> into a directory that contains some audio files, and type this:</p><pre class="brush: plain; gutter: false">sox &lt;name_of_audio_file&gt; -n stat</pre><p>You should get a response that looks like this:</p><pre class="brush: plain; gutter: false">~/loops $ sox &lt;name_of_audio_file&gt; -n stat
Samples read: 2596058
Length (seconds): 13.521135
Scaled by: 2147483647.0
Maximum amplitude: 0.848263
Minimum amplitude: -0.943067
Midline amplitude: -0.047402
Mean norm: 0.083552
Mean amplitude: -0.000062
RMS amplitude: 0.120734
Maximum delta: 0.157007
Minimum delta: 0.000000
Mean delta: 0.024596
RMS delta: 0.034412
Rough frequency: 4354
Volume adjustment: 1.060</pre><p>We can see from the output that this .wav file is definitely not silent. If it were silent, the Max, Min, and Midline amplitudes would all be 0.000000.</p><p>OK, now that we’ve seen what SoX provides us with, how do we find the silent files?</p><p>Open up your favorite text editor and paste this into a text file:</p><pre class="brush: bash; gutter: true">#!/bin/bash

## A quick hack like script to list all the files that have
## a low amplitude.
##
## Input is a bash file list or glob.
##
## $ find_silent_audio_files *.wav
##
## Each time the script runs it will remove the output list
## and regenerate it. Stderr will output each file and it&#039;s
## amplitude.

Max=0.0 # Any amplitude greater than this will NOT be listed
OutList=~/output.list # The name of the file that contains a
# list of file names only of all the
# low-amplitude files.

# rm $OutList
for each in &quot;$@&quot;
do amplitude=$(sox &quot;$each&quot; -n stat 2&gt;&amp;1 | grep &quot;Maximum amplitude&quot; | cut -d &quot;:&quot; -f 2 | sed &#039;s/ //g&#039;)
if [[ $(echo &quot;if (${amplitude} &gt; ${Max}) 1 else 0&quot; | bc) -eq 0 ]]
then echo &quot;$each --&gt; $amplitude&quot; &gt;&amp;2
echo &quot;$each&quot; &gt;&gt; $OutList
fi
done</pre><p>Save this as <strong>find_silent_audio_files</strong> somewhere in your PATH (maybe in /usr/local/bin or a ~/bin directory if you have one). <strong><code>chmod</code></strong> it so that it’s executable (<code>chmod +x ./find_silent_audio_files</code>).</p><p>Great. You are now ready to use this tool. Run it as follows:</p><pre class="brush: plain; gutter: false">dave:~ dhilowitz$ cd ~/wave_files
dave:wave_files dhilowitz$ find_silent_audio_files *.wav
202_what_you_working_on_chorus 13-Audio.wav --&gt; 0.000000
202_what_you_working_on_chorus 2 - 12 C HEND.wav --&gt; 0.000000
202_what_you_working_on_chorus A-Return.wav --&gt; 0.000000
202_what_you_working_on_chorus B-Return.wav --&gt; 0.000000
202_what_you_working_on_chorus MIDI Tracks.wav --&gt; 0.000000
202_what_you_working_on_chorus MOOG.wav --&gt; 0.000000
202_what_you_working_on_verse 13-Audio.wav --&gt; 0.000000
202_what_you_working_on_verse 2 - 12 C HEND.wav --&gt; 0.000000
202_what_you_working_on_verse A-Return.wav --&gt; 0.000000
202_what_you_working_on_verse B-Return.wav --&gt; 0.000000
202_what_you_working_on_verse MIDI Tracks.wav --&gt; 0.000000
202_what_you_working_on_verse MOOG.wav --&gt; 0.000000</pre><p>The output of the command will be <code>echo</code>ed to <code>stdout</code> as well as to a file in your user directory called <strong><code>~/output.list</code></strong>. As you can see from the code listing above, this file name can be changed. Once you know the names of the files, it should be pretty easy to delete them. Obviously, changing “echo” to “rm” in the script above will accomplish this, but, as I said before, I wouldn’t recommend it unless you have backups or really don’t care.</p><p>OK. That’s about it. Good luck! I hope this is useful to someone out there.</p><p>–David</p><p>The post <a href="http://www.adornomedia.com/2013/02/06/find-silent-audio-files/">How To Find (and Delete) Silent Audio Files</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/Ab5ElAmcpSU" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2013/02/06/find-silent-audio-files/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2013/02/06/find-silent-audio-files/</feedburner:origLink></item> <item><title>TIP: Cubase SX 3: Getting TubeBooster to work in Windows 7 64-bit</title><link>http://feedproxy.google.com/~r/adornomedia/~3/-q3g48cCeUw/</link> <comments>http://www.adornomedia.com/2012/02/12/tips-cubase-sx-3-getting-tubebooster-to-work-in-windows-7-64-bit/#comments</comments> <pubDate>Sun, 12 Feb 2012 21:35:26 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=283</guid> <description><![CDATA[<p>I spent most of my day yesterday getting my new music recording PC set up (my new PC is a Mac Mini i5 2.3 Ghz running Windows 7 64-bit). After installing Cubase SX 3.1.1 on my PC, and installing all my most essential VST plugins, I discovered that the song that I have been working [...]</p><p>The post <a href="http://www.adornomedia.com/2012/02/12/tips-cubase-sx-3-getting-tubebooster-to-work-in-windows-7-64-bit/">TIP: Cubase SX 3: Getting TubeBooster to work in Windows 7 64-bit</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>I spent most of my day yesterday getting my new music recording PC set up (my new PC is a Mac Mini i5 2.3 Ghz running Windows 7 64-bit). After installing Cubase SX 3.1.1 on my PC, and installing all my most essential VST plugins, I discovered that the song that I have been working on most recently wouldn&#8217;t load. Cubase itself would start up just fine, but when I tried to load the song itself it would just hang for hours. Whenever this would happen, Process Explorer would show that the CPU was running at about 25%. The only way to get out of these hangs was to kill the process.</p><p>I did a lot of research on what might cause this sort of a problem.  A few other people had had similar issues in the forums, and responding posters had suggested that the problems might be related to one of the plug-ins they had running. I went into C:\Program Files (x86)\VstPlugins and removed all of my plugins, storing them in a folder on my desktop.</p><p>I started up Cubase, I loaded my project, and presto, it loaded up almost immediately.</p><p>One by one, I added the plugins back in. Each time I did, I would close Cubase, copy the plug-in back to the VstPlugins folder, and relaunch Cubase (ugh). Then I would open the project to see if it loaded.</p><p>Finally, when I got to <a href="http://www.greenmachine.pwuq.de/Wurr_Audio_Engineering/Home.html">Wurr Audio</a>&#8216;s fantastic <a href="http://www.greenmachine.pwuq.de/Wurr_Audio_Engineering/Download.html" target="_blank">TubeBooster</a> plug-in the program began to hang. Uh oh. This plug-in is used *everywhere* in my projects. Like, maybe in every single project I&#8217;ve done for the past two or three years. It&#8217;s central to my vocal sound. I tried fooling with the settings in Cubase&#8217;s *Plug-in Information* window (the ones with names like &#8220;Old Host Behavior&#8221; and &#8220;Lock VST Automation&#8221;), but nothing worked.</p><p>Finally, after reading about people who had problems with running 32-bit plug-ins on 64-bit hosts, I discovered <a href="jstuff.wordpress.com/jbridge/">jBridge</a>. jBridge is a program that allows you to run 32-bit plugins on 64-bit hosts and vice-versa. It does this by &#8220;wrapping&#8221; the plug-in in another plug-in. Now, bear in mind that while I am running 64-bit operating system, I am running a 32-bit version of Cubase and a 32-bit version of this plug-in. This should not be an issue. And yet&#8230;</p><p>I downloaded jBridge, wrapped TubeBooster, and it worked! My project loaded like charm. All the settings I had in TubeBooster were preserved as well. Without hesitation I paid the 15 euro fee for the full version jBridge.</p><p>Hope this helps somebody out there.</p><p>—David</p><p>&nbsp;</p><p>The post <a href="http://www.adornomedia.com/2012/02/12/tips-cubase-sx-3-getting-tubebooster-to-work-in-windows-7-64-bit/">TIP: Cubase SX 3: Getting TubeBooster to work in Windows 7 64-bit</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/-q3g48cCeUw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2012/02/12/tips-cubase-sx-3-getting-tubebooster-to-work-in-windows-7-64-bit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2012/02/12/tips-cubase-sx-3-getting-tubebooster-to-work-in-windows-7-64-bit/</feedburner:origLink></item> <item><title>TIP: How to do disk image backups in Ubuntu Linux 10.04</title><link>http://feedproxy.google.com/~r/adornomedia/~3/z_T7TRCijxk/</link> <comments>http://www.adornomedia.com/2011/11/28/how-i-do-disk-image-backups-in-ubuntu-linux-10-04/#comments</comments> <pubDate>Mon, 28 Nov 2011 18:01:26 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[General Development]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[dd]]></category> <category><![CDATA[disk image]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=146</guid> <description><![CDATA[<p>So, I just installed Ubuntu Linux 10.04 on my trusty Toshiba Portege 3480CT8. (Yes, it works beautifully as a lightweight LAMP server.) One of the first things I set out to do was make a disk image of my new server, so that if something goes awry, I can restore things later on. Here’s what [...]</p><p>The post <a href="http://www.adornomedia.com/2011/11/28/how-i-do-disk-image-backups-in-ubuntu-linux-10-04/">TIP: How to do disk image backups in Ubuntu Linux 10.04</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>So, I just installed <strong>Ubuntu Linux 10.04</strong> on my trusty <strong>Toshiba Portege 3480CT8</strong>. (Yes, it works beautifully as a lightweight LAMP server.)</p><p>One of the first things I set out to do was make a disk image of my new server, so that if something goes awry, I can restore things later on.</p><p>Here’s what I did:</p><p>First, I plugged my external drive into the USB port. This got assigned to <strong>/dev/sdb</strong>.   I mounted the drive.</p><pre class="brush: text; gutter: true">$ sudo mkdir /media/backup_04 
$ sudo mount /dev/sdb1 /media/backup_04 -t ntfs 
$ sudo mkdir /media/backup_04/portege-linux-backups</pre><p>Next,  I installed <strong>dcfldd</strong>. This is just like <strong>dd</strong>, which comes with most Linux distributions, except that it can output time remaining (among other things).</p><pre class="brush: text; gutter: false">$ apt-get install dcfldd</pre><p>Finally, I started the backup:</p><pre class="brush: text; gutter: false">$ dcfldd if=/dev/sda of=/media/backup_04/portege-linux-backups/2011_11_28.img sizeprobe=if</pre><p>This produces an output that looks like this:</p><pre class="brush: text; gutter: false">$ [16% of 28615Mb] 155136 blocks (4848Mb) written. 01:17:37 remaining.</pre><p>&#8211;David</p><p>The post <a href="http://www.adornomedia.com/2011/11/28/how-i-do-disk-image-backups-in-ubuntu-linux-10-04/">TIP: How to do disk image backups in Ubuntu Linux 10.04</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/z_T7TRCijxk" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2011/11/28/how-i-do-disk-image-backups-in-ubuntu-linux-10-04/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2011/11/28/how-i-do-disk-image-backups-in-ubuntu-linux-10-04/</feedburner:origLink></item> <item><title>TIP: Installing Ruby on Rails on Mac OS X 10.6.8</title><link>http://feedproxy.google.com/~r/adornomedia/~3/qBcIfsEfmYg/</link> <comments>http://www.adornomedia.com/2011/10/04/installing-ruby-on-rails-on-mac-os-x-10-6-8/#comments</comments> <pubDate>Tue, 04 Oct 2011 15:55:10 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[rails]]></category><guid isPermaLink="false">http://www.adornomedia.com/?p=277</guid> <description><![CDATA[<p>1. Install XCODE 4. This is actually trickier than it seems. You have to: a) download XCode; b) run the .dmg. c) quit iTunes, then go into Activity Monitor and force quit on anything iTunes related (iTunesHelper as well); d) go into the Applications folder and find the “Install XCode” app, and run that. (Yes, [...]</p><p>The post <a href="http://www.adornomedia.com/2011/10/04/installing-ruby-on-rails-on-mac-os-x-10-6-8/">TIP: Installing Ruby on Rails on Mac OS X 10.6.8</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>1. Install XCODE 4. This is actually trickier than it seems. You have to:</p><p style="padding-left: 30px;">a) download XCode;<br /> b) run the .dmg.<br /> c) quit iTunes, then go into Activity Monitor and force quit on anything iTunes related (iTunesHelper as well);<br /> d) go into the Applications folder and find the “Install XCode” app, and run that. (Yes, you have to run a second Install XCode app…and I had to run it twice. It failed the first time. If you want to watch it fail, drop into Terminal and type this: tail -f /var/log/install.log.</p><p>2. Install MacPorts.</p><p>3. Test MacPorts by installing joe. Type:</p><pre class="brush: text; gutter: false">$ sudo bash
$ port install joe.</pre><p>Enter your password.</p><p>4. A bunch of things will be preinstalled with the wrong architecture. We’re trying to get ruby as an x86_64 architecture. So…uninstall libiconv and zlib (you may have to tinker with this a bit because it will ask you which version you want to uninstall — the answer is “all of them”)</p><pre class="brush: text; gutter: false">$ sudo port uninstall -f libiconv @1.13.1_0
$ sudo port uninstall -f libiconv @1.14_0
$ sudo port uninstall -f zlib
$ port uninstall -f readline
$ port uninstall -f openssl
$ port uninstall -f ncurses @5.8_1
$ port uninstall -f ncurses @5.9_0
$ port uninstall -f ncurses @5.9_1
$ port uninstall -f gdbm</pre><p>5. Install ruby by doing:</p><pre class="brush: text; gutter: false">$ port install ruby</pre><p><span>7. Update your gems:</span></p><pre class="brush: text; gutter: false">$ gem update --system</pre><p><span>8. And, finally, install Rails:</span></p><pre class="brush: text; gutter: false">$ gem install rails --pre</pre><p><span>Useful links:</span></p><ul><li><a href="http://stackoverflow.com/questions/2916229/how-can-i-install-ruby-on-rails-3-on-osx" target="_blank">http://stackoverflow.com/questions/2916229/how-can-i-install-ruby-on-rails-3-on-osx</a></li><li><a href="http://beginrescueend.com/rvm/install/" target="_blank">http://beginrescueend.com/rvm/install/</a></li></ul><p>The post <a href="http://www.adornomedia.com/2011/10/04/installing-ruby-on-rails-on-mac-os-x-10-6-8/">TIP: Installing Ruby on Rails on Mac OS X 10.6.8</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/qBcIfsEfmYg" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2011/10/04/installing-ruby-on-rails-on-mac-os-x-10-6-8/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2011/10/04/installing-ruby-on-rails-on-mac-os-x-10-6-8/</feedburner:origLink></item> <item><title>TIP: Final Cut Pro Tip: A Faster Way to Do a Roll Trim</title><link>http://feedproxy.google.com/~r/adornomedia/~3/KXLHflsBxgE/</link> <comments>http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/#comments</comments> <pubDate>Sat, 26 Feb 2011 18:21:36 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[final cut pro]]></category> <category><![CDATA[movie editing]]></category><guid isPermaLink="false">http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/</guid> <description><![CDATA[<p>&#8220;Roll trims are my bread and butter. Here’s how to eat faster. Select an edit point. Put your playhead where you want the selected edit point to move and press E. The selected edit point jumps to the position of the playhead—provided you have asufficient handles in your media. This is essentially a Roll trim [...]</p><p>The post <a href="http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/">TIP: Final Cut Pro Tip: A Faster Way to Do a Roll Trim</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>&#8220;Roll trims are my bread and butter. Here’s how to eat faster. Select an edit point. Put your playhead where you want the selected edit point to move and press E. The selected edit point jumps to the position of the playhead—provided you have asufficient handles in your media.</p><p>This is essentially a Roll trim in real time.&#8221;</p><p><strong>Source:</strong> <a href="http://books.google.com/books?id=-Jlc5OJ44psC&amp;lpg=PA118&amp;ots=6n8-MWmHVT&amp;dq=roll%20edit%20key%20combination%20final%20cut&amp;pg=PA118#v=onepage&amp;q&amp;f=false">Final Cut Pro Power Skills: Work Faster and Smarter in Final Cut Pro 7</a></p><p>The post <a href="http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/">TIP: Final Cut Pro Tip: A Faster Way to Do a Roll Trim</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/KXLHflsBxgE" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2011/02/26/final-cut-pro-tip-a-faster-way-to-do-a-roll-trim/</feedburner:origLink></item> <item><title>TIP: How to make .htaccess files work on OS X 10.5</title><link>http://feedproxy.google.com/~r/adornomedia/~3/lusoQXWqjdw/</link> <comments>http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/#comments</comments> <pubDate>Sun, 23 Jan 2011 14:44:20 +0000</pubDate> <dc:creator>David Hilowitz</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[htaccess]]></category> <category><![CDATA[httpd.conf]]></category> <category><![CDATA[os x]]></category> <category><![CDATA[programming]]></category><guid isPermaLink="false">http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/</guid> <description><![CDATA[<p>&#160; To make .htaccess files work as expected, you need to edit /etc/apache2/sites-available/default. Look for a section that looks like this: &#60;Directory /var/www/&#62; Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # Uncomment this directive is you want to see apache2's # default start page (in /apache2-default) when you go to / #RedirectMatch ^/$ /apache2-default/ [...]</p><p>The post <a href="http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/">TIP: How to make .htaccess files work on OS X 10.5</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p>]]></description> <content:encoded><![CDATA[<p>&nbsp;</p><p class="line862">To make .htaccess files work as expected, you need to edit /etc/apache2/sites-available/default. Look for a section that looks like this:</p><pre>        &lt;Directory /var/www/&gt;
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        &lt;/Directory&gt;</pre><p>&nbsp;</p><p class="line862">You need to modify the line containing AllowOverride None to read AllowOverride All. This tells Apache that it’s okay to allow.htaccess files to over-ride previous directives. You must <em>reload</em> Apache before this change will have an effect:</p><pre>sudo /etc/init.d/apache2 reload</pre><p>&nbsp;</p><p>The post <a href="http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/">TIP: How to make .htaccess files work on OS X 10.5</a> appeared first on <a href="http://www.adornomedia.com">Adorno Media</a>.</p><img src="http://feeds.feedburner.com/~r/adornomedia/~4/lusoQXWqjdw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.adornomedia.com/2011/01/23/how-to-make-htaccess-files-work-on-os-x-10-5/</feedburner:origLink></item> </channel> </rss>
