Ember on Apache

February 22, 2017 at 9:50 pm | Programming, web, Wordpress.

Ran into this recently and it reminded me of how WordPress does URL permalink routing. Since Ember routes are handled by the index this helps Ember on Apache route to links, especially when you are coming directly to a link or deep linking. This should go in the root .htaccess file in the same way… Read more »

Validate AMP pages – New Relic

October 28, 2016 at 7:53 pm | Programming, web, Wordpress.

If you are looking to validate your AMP pages there is a nice tool provided by the AMPproject here. https://validator.ampproject.org/. One of the things that may cause problems with AMP validation is the inclusion of New Relic JS in the head and footer of AMP pages. If you have a new relic instance running you may… Read more »

Analytics for AMP

October 17, 2016 at 11:31 am | Programming, web, Wordpress.

If you are working on adding AMP pages to your site or using a WordPress plugin like AMP for WordPress with Yoast SEO Amp, remember that your Google Analytics needs to get wrapped in a amp-analytics tag to be properly displayed.

Strava API!

October 12, 2016 at 2:12 pm | Cycling, Programming, web.

I like cycling! I like Strava!! I like APIs!!!. All right lets make some stuff. API link http://strava.github.io/api/ Well not so fast. First you have to find the API key stuff inside of Strava. Not as easy as you would think. You can find the developer page here. http://labs.strava.com/developers/ but that doesn’t have anything about setting up an… Read more »

WordPress 4.4 and missing images

December 11, 2015 at 4:11 pm | Programming, web, Wordpress.

If you have upgraded your WordPress to 4.4 and have a secure HTTPS URL, you might be experiencing image problems due to a mixed content URL message in the browser. Some browsers will display the content and give you a message that it is mixed and some will block the content all together. The new… Read more »

Compass NilClass

March 5, 2014 at 1:54 pm | Programming, SASS, web.

Had some awesome fun with a compass sass –watch statement today. The problem that I ran into was related to image sprites. A statement like this. sass –watch –compass –sourcemap _css Would get me this. And compass would quit on me. NoMethodError: undefined method `parent’ for nil:NilClass Use –trace for backtrace. The problem, it turned… Read more »

Bad svn no donut!

November 19, 2013 at 3:49 pm | Programming, web.

The following command line in subversion will get you the response “At Revision 1234”. What this should be doing is updating the file to a specific revision. But what it should really say is “There is no file, you crackhead.” since there is no file at that location in the file system. How exactly can… Read more »

Youtube iFrame embeds not working on iOS devices – FIX!

March 23, 2012 at 10:08 am | Design, Programming, web.

Seems link a lot of people are having problems with youtube iFrame embeds working correctly on iOS devices (iPhone, iPad). Sometimes they will work other times they wont. I have seen a bunch of different fixes for this but nothing that worked consistently for me. The problem seems to come from the extra parameters that… Read more »