Stop animating all your pages

Posted by & filed under blabbing, Design, web.

You know that feeling when you get to a site and there isn’t much there and then you start to scroll and POW everything comes flying into the page in all directions. Yeah. Stop doing that.

Simple JS based resize calculator

Posted by & filed under web.

I made this image resize calculator because I was always going into Photoshop to recalculate an image size and maintain the aspect ratio. https://www.fuzzyraygun.com/resize.html

Fix for svg background images in IE11

Posted by & filed under web.

Problem: Sometimes SVG images when used as background images do not show up correctly in IE11. This can sometimes show up as not covering the specified element background. The trick here is the add the height and width back into the SVG as it might have been stripped out. Take the height and width from… Read more »

Mobile ABV Widget

Posted by & filed under blabbing.

I was reminded that I made this mobile friendly Alcohol by Volume widget the other day. It uses basic slider or text inputs to do the calculations associated with finding the ABV in your beer/wine/cider. I made it because I couldn’t find an easier one online. It uses basic jQuery UI mobile components. You can… Read more »

Ember on Apache

Posted by & filed under 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

Posted by & filed under 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

Posted by & filed under 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!

Posted by & filed under 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 »