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
August 11, 2020 at 4:23 pm | 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
June 2, 2020 at 2:17 pm | 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 »
Git and WordPress on a shared hosting environment
June 1, 2020 at 1:57 pm | Programming, web, Wordpress.
If you have a small blog or series on blogs on a shared hosting environment and and want to take advantage of GIT but still want to let your hosting provider keep your WordPress up to date, you can easily setup GIT repos and deployment to make your life easier. Shared hosting services are great… Read more »
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 »
Default font-family not working in Outlook 2010, 2013 – Fixed
November 28, 2016 at 4:29 pm | Design, Email, Programming, web.
If you are wondering why Outlook 2010 and 2013 email clients will not render your font-family tag correctly, you are not the only one. This is a known issue. So despite your fallback fonts being declared these older Outlook clients will use Times New Roman instead. You can always use the code below in the… 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 »