<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>
Internet Enthusiast / Web Designer</description><title>Dontcom</title><generator>Tumblr (3.0; @darren131)</generator><link>http://dontcom.com/</link><item><title>davesparks:

LORDE - Royals (by LordeMusic)
Not just great...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/LFasFq4GJYM?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://davesparks.info/post/50380004382/lorde-royals-by-lordemusic-not-just-great" class="tumblr_blog" target="_blank"&gt;davesparks&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;LORDE - Royals (by &lt;a href="http://www.youtube.com/watch?v=LFasFq4GJYM&amp;feature=share" target="_blank"&gt;LordeMusic&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Not just great music, great cinema too.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I’m quite into this song. Even more so now that I’ve seen the video. An awesome, understated snapshot of being a bored teenager. I guess… it’s been a while since I was a teenager.&lt;/p&gt;</description><link>http://dontcom.com/post/50383227784</link><guid>http://dontcom.com/post/50383227784</guid><pubDate>Tue, 14 May 2013 12:50:02 +1200</pubDate><category>nz music</category></item><item><title>The Modern Webmonkey — Codemana 2013
Here I am prattling on...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/wXFzucxId-g?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;b&gt;&lt;a href="http://www.youtube.com/watch?v=wXFzucxId-g&amp;feature=youtu.be" target="_blank"&gt;The Modern Webmonkey — Codemana 2013&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Here I am prattling on about tools for the modern front end developer. Covered in the talk are the following tools:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://arnaumarch.com/en/sprites.html" target="_blank"&gt;Atlas CSS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://kuler.adobe.com/" target="_blank"&gt;Kuler&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://guideguide.me/" target="_blank"&gt;GuideGuide&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://webzap.uiparade.com/" target="_blank"&gt;WebZap&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://imageoptim.com/" target="_blank"&gt;ImageOptim&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://pngmini.com/" target="_blank"&gt;Image Alpha&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://www.sublimetext.com/" target="_blank"&gt;Sublime Text&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://github.com/robbyrussell/oh-my-zsh" target="_blank"&gt;Oh My ZSH&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://gruntjs.com/" target="_blank"&gt;Grunt&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://twitter.github.io/bower/" target="_blank"&gt;Bower&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://yeoman.io/" target="_blank"&gt;Yeoman&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://incident57.com/codekit/" target="_blank"&gt;Codekit&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://mixture.io/" target="_blank"&gt;Mixture&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://dontcom.com/post/48302830928</link><guid>http://dontcom.com/post/48302830928</guid><pubDate>Fri, 19 Apr 2013 09:18:00 +1200</pubDate><category>web development</category><category>front-end development</category><category>code</category><category>codemania</category></item><item><title>Compass and Wordpress</title><description>&lt;p&gt;Over the past few months I&amp;#8217;ve been doing an awful lot of Wordpress theme development. I&amp;#8217;ve also being doing a lot of Sass/Compass development. In this short post I&amp;#8217;m going to show you my config.rb set up and my style.scss set up.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://css-tricks.com/compass-compiling-and-wordpress-themes/" target="_blank"&gt;Chris Coyier has a pretty good article&lt;/a&gt; on this very thing. My way is slightly different and perhaps only solves my specific problem—which I&amp;#8217;ll get into forthwith.&lt;/p&gt;

&lt;h3&gt;The Problem&amp;#8230;&lt;/h3&gt;
&lt;p&gt;Isn&amp;#8217;t really a problem but more a case of the way we go about things at &lt;a href="http://thefold.co.nz" target="_blank"&gt;The Fold&lt;/a&gt;. Like most people we&amp;#8217;ve realised that GIT is the way to go when it comes to source control so we keep all of Wordpress stuff in GIT &lt;a href="http://davidwinter.me/articles/2012/04/09/install-and-manage-wordpress-with-git/" title="Install and Manage Wordpress with Git — David Winter" target="_blank"&gt;using submodules&lt;/a&gt; and what-have-you. As a part of that process we&amp;#8217;ve created a Wordpress Boilerplate Git Repo which we fork for every new project.&lt;/p&gt;

&lt;p&gt;This is where the actual problem is: I wanted to be able to automate a some Sass/Compass stuff based on the folder in which my theme exists.&lt;/p&gt;

&lt;h3&gt;The Solution&lt;/h3&gt;
&lt;p&gt;Consider the following Folder structure:&lt;br/&gt;&lt;img src="http://media.tumblr.com/2396fb29e1cda331ee2c30d258e17692/tumblr_inline_mldzkj6HMS1qz4rgp.png" alt="image"/&gt;&lt;/p&gt;
&lt;p&gt;This is a common Wordpress folder setup. So whenever we fork this repo we&amp;#8217;ll change the theme folder from &lt;code&gt;TheFold&lt;/code&gt; to &lt;code&gt;ClientName&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;So far so good.&lt;/p&gt;
&lt;p&gt;Except that this is what my &lt;code&gt;config.rb&lt;/code&gt; file looks like: &lt;a href="https://gist.github.com/darren131/5402241" class="gist" target="_blank"&gt;config.rb file used in Wordpress theme dev.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I got annoyed with having to change my &lt;code&gt;config.rb&lt;/code&gt; file each time I renamed my theme folder. Another annoyance was having to update the theme name used in my &lt;code&gt;style.scss&lt;/code&gt; comment (which is required for Wordpress Themes to be recognised by the WP system).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Boom&lt;/b&gt;. Fixed both problems with the power of ruby. &lt;a href="https://gist.github.com/darren131/5402087" class="gist" target="_blank"&gt;new config.rb and style.scss with automation.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first file is my modified &lt;code&gt;config.rb&lt;/code&gt; file. The first line of that file will work out the name of the folder that &lt;code&gt;config.rb&lt;/code&gt; lives in—which also happens to be theme folder (see the folder structure image)—and will use it as the basis of the Compass &lt;code&gt;http_path&lt;/code&gt; var.&lt;/p&gt;

&lt;p&gt;At the bottom of &lt;code&gt;config.rb&lt;/code&gt; I&amp;#8217;m defining a new Sass function called &lt;code&gt;wp_theme_name()&lt;/code&gt;. This simply outputs the current theme folder name. Where it get&amp;#8217;s useful is in the comment at the top of the &lt;code&gt;style.scss&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve just saved at least 13 seconds off each new project—and no doubt yours too!&lt;/p&gt;</description><link>http://dontcom.com/post/48185959468</link><guid>http://dontcom.com/post/48185959468</guid><pubDate>Wed, 17 Apr 2013 18:58:55 +1200</pubDate><category>sass</category><category>compass</category><category>wordpress</category></item><item><title>Wilco. So good!! (at Auckland Town Hall)</title><description>&lt;img src="http://25.media.tumblr.com/0cb8f585c82c87658747cf3e098e9795/tumblr_mktzkiHQPb1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Wilco. So good!! (at Auckland Town Hall)&lt;/p&gt;</description><link>http://dontcom.com/post/47267968340</link><guid>http://dontcom.com/post/47267968340</guid><pubDate>Sun, 07 Apr 2013 00:21:54 +1300</pubDate></item><item><title>A great series of photos taken during the 80’s and...</title><description>&lt;img src="http://25.media.tumblr.com/6a15da17f1f6375bcf84ecdddca5d303/tumblr_mkqyya1R5n1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;A great series of photos taken during the 80’s and 90’s of &lt;a href="http://sightseerseries.com/" target="_blank"&gt;sightseers&lt;/a&gt; in the US.&lt;/p&gt;
&lt;p&gt; (via &lt;a href="http://bonus.kottke.org/post/47116833709/the-80s" target="_blank"&gt;kottke&lt;/a&gt;)&lt;/p&gt;</description><link>http://dontcom.com/post/47129263276</link><guid>http://dontcom.com/post/47129263276</guid><pubDate>Fri, 05 Apr 2013 09:15:45 +1300</pubDate></item><item><title>Mr. Richie Havens preaching it on this amazing Saturday morning!</title><description>&lt;img src="http://24.media.tumblr.com/e7d2e5549db80428763fcb388b5ab8ee/tumblr_min99jCuk71qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Mr. Richie Havens preaching it on this amazing Saturday morning!&lt;/p&gt;</description><link>http://dontcom.com/post/43754032859</link><guid>http://dontcom.com/post/43754032859</guid><pubDate>Sat, 23 Feb 2013 12:00:55 +1300</pubDate></item><item><title>nevver:

Heaters</title><description>&lt;img src="http://25.media.tumblr.com/ffe8ecff36bb58ab5919acbeaa03f034/tumblr_mimwjdlBDw1qz6f9yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://thisisnthappiness.com/post/43734994023/heaters" class="tumblr_blog" target="_blank"&gt;nevver&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://www.grape-frogg.com/2013/02/22/581/" target="_blank"&gt;Heaters&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;</description><link>http://dontcom.com/post/43745983440</link><guid>http://dontcom.com/post/43745983440</guid><pubDate>Sat, 23 Feb 2013 10:17:26 +1300</pubDate></item><item><title>Dylan on vinyl.</title><description>&lt;img src="http://25.media.tumblr.com/09a8560bc85f08db609fc9f577034a78/tumblr_mi1kchf5Ko1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Dylan on vinyl.&lt;/p&gt;</description><link>http://dontcom.com/post/42823961294</link><guid>http://dontcom.com/post/42823961294</guid><pubDate>Mon, 11 Feb 2013 18:53:05 +1300</pubDate></item><item><title>The signwriter visited today! (at Ironbank)</title><description>&lt;img src="http://25.media.tumblr.com/acbc571a6ad9dc4ea2b0bbe2909713eb/tumblr_mhtyekPGju1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;The signwriter visited today! (at Ironbank)&lt;/p&gt;</description><link>http://dontcom.com/post/42478248805</link><guid>http://dontcom.com/post/42478248805</guid><pubDate>Thu, 07 Feb 2013 16:15:56 +1300</pubDate></item><item><title>Went through my old man’s record collection… Found...</title><description>&lt;img src="http://25.media.tumblr.com/e0c17b9730c8db2d6f51a7295ff11f62/tumblr_mhrn4enOHH1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Went through my old man’s record collection… Found some keepers! (at Irene’s House)&lt;/p&gt;</description><link>http://dontcom.com/post/42375206094</link><guid>http://dontcom.com/post/42375206094</guid><pubDate>Wed, 06 Feb 2013 10:17:02 +1300</pubDate></item><item><title>A cracker day for Laneway! (at St Jerome’s Laneway...</title><description>&lt;img src="http://24.media.tumblr.com/26b1f66d3596c3b9b565cf77e4ca6ee8/tumblr_mhbfm230fl1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;A cracker day for Laneway! (at St Jerome’s Laneway Festival)&lt;/p&gt;</description><link>http://dontcom.com/post/41670250995</link><guid>http://dontcom.com/post/41670250995</guid><pubDate>Mon, 28 Jan 2013 16:13:14 +1300</pubDate></item><item><title>Courtyard at the office.</title><description>&lt;img src="http://25.media.tumblr.com/4694039a148926662191e59344b226e6/tumblr_mh67kcMBfU1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Courtyard at the office.&lt;/p&gt;</description><link>http://dontcom.com/post/41427753590</link><guid>http://dontcom.com/post/41427753590</guid><pubDate>Fri, 25 Jan 2013 20:31:24 +1300</pubDate></item><item><title>I backed this on kick starter. Slim—the worlds thinnest wallet.</title><description>&lt;img src="http://25.media.tumblr.com/6105e3c1f0fc3bf3491d3b133010e74d/tumblr_mh5ahmureC1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I backed this on kick starter. Slim—the worlds thinnest wallet.&lt;/p&gt;</description><link>http://dontcom.com/post/41375988970</link><guid>http://dontcom.com/post/41375988970</guid><pubDate>Fri, 25 Jan 2013 08:36:58 +1300</pubDate></item><item><title>grabs:

Do You Know Anything About Techno?

Techno? What is this...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/kt3Oj-Dq-MM?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://grabs.lantern.co.nz/post/41305727009/do-you-know-anything-about-techno" class="tumblr_blog" target="_blank"&gt;grabs&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Do You Know Anything About Techno?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Techno? What is this &lt;em&gt;techno&lt;/em&gt; of which you speak?!&lt;/p&gt;</description><link>http://dontcom.com/post/41328192093</link><guid>http://dontcom.com/post/41328192093</guid><pubDate>Thu, 24 Jan 2013 15:36:02 +1300</pubDate></item><item><title>"Patterns established in the framework dictated we start from the elemental perspective; type,..."</title><description>“Patterns established in the framework dictated we start from the elemental perspective; type, colors, forms, basic UI chrome (borders, shadows, icons, etc) all coded first. Once those element styles were completed, it was a matter of applying the skin to the CMS modules. The modules then in-turn were used to assemble the view. It worked quickly and seamlessly. Building the UIs from the inside-out was clearly the solution.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="http://gist.io/4436524" target="_blank"&gt; Clean out your Sass junk-drawer &lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Never have I heard it put so succinctly. Such a clear way to explain the process of creating UI pattern libraries.&lt;/p&gt;&lt;/em&gt;</description><link>http://dontcom.com/post/41046234890</link><guid>http://dontcom.com/post/41046234890</guid><pubDate>Mon, 21 Jan 2013 11:15:58 +1300</pubDate><category>css</category><category>web development</category><category>design</category><category>sass</category></item><item><title>Photo</title><description>&lt;img src="http://25.media.tumblr.com/e67a429f0a044e6c4110932e2c7b3377/tumblr_mg50gkNpKs1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://dontcom.com/post/39722077649</link><guid>http://dontcom.com/post/39722077649</guid><pubDate>Sat, 05 Jan 2013 18:26:43 +1300</pubDate></item><item><title>Sunset on day 1 (at Harbourside Restaurant)</title><description>&lt;img src="http://25.media.tumblr.com/fc0437f6f79ddaf2f6ee5bb00725e277/tumblr_mfxrvsCQ3d1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Sunset on day 1 (at Harbourside Restaurant)&lt;/p&gt;</description><link>http://dontcom.com/post/39368211558</link><guid>http://dontcom.com/post/39368211558</guid><pubDate>Tue, 01 Jan 2013 20:38:15 +1300</pubDate></item><item><title>New Years Day Is Winning on Flickr.</title><description>&lt;img src="http://25.media.tumblr.com/9f7e199047ab88cc81da43391a6c56e6/tumblr_mfxn7uu45T1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.flickr.com/photos/darren/8331673239/" title="New Years Day Is Winning" target="_blank"&gt;New Years Day Is Winning&lt;/a&gt; on Flickr.&lt;/p&gt;</description><link>http://dontcom.com/post/39362599144</link><guid>http://dontcom.com/post/39362599144</guid><pubDate>Tue, 01 Jan 2013 18:57:29 +1300</pubDate></item><item><title>kottke.org: Spiders making spiders</title><description>&lt;a href="http://bonus.kottke.org/post/38910609766/spiders-making-spiders"&gt;kottke.org: Spiders making spiders&lt;/a&gt;: &lt;p&gt;&lt;a href="http://bonus.kottke.org/post/38910609766/spiders-making-spiders" class="tumblr_blog" target="_blank"&gt;jkottke&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://also.kottke.org/misc/images/super-spider.jpg" width="640" height="480" border="0" alt="super-spider.jpg"/&gt;&lt;/p&gt; &lt;p&gt;Scientists in Peru have discovered what they think may be a new species of spider which &lt;a href="http://www.wired.com/wiredscience/2012/12/spider-building-spider/" target="_blank"&gt;uses twigs and dead insects to build decoy spiders to trick predators&lt;/a&gt;. &lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;Afterward, Torres returned to the trails near the research center. Only within a roughly 1-square-mile area near the…&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p&gt;Holy shit!&lt;/p&gt;</description><link>http://dontcom.com/post/38938893339</link><guid>http://dontcom.com/post/38938893339</guid><pubDate>Thu, 27 Dec 2012 21:51:36 +1300</pubDate></item><item><title>I’m back in the game! (Pre birthday present from my wife)</title><description>&lt;img src="http://24.media.tumblr.com/fd009fb255c054c4447f6361c0e4b3bf/tumblr_mfd28iG70b1qz8epzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I’m back in the game! (Pre birthday present from my wife)&lt;/p&gt;</description><link>http://dontcom.com/post/38435351048</link><guid>http://dontcom.com/post/38435351048</guid><pubDate>Fri, 21 Dec 2012 16:12:18 +1300</pubDate></item></channel></rss>
