Linux installation notes (tested under Ubuntu 14.04LTS/12.04LTS), assuming VirtualBox is already installed on host.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alberta | |
British Columbia | |
Manitoba | |
New Brunswick | |
Newfoundland and Labrador | |
Northwest Territories | |
Nova Scotia | |
Nunavut | |
Ontario | |
Prince Edward Island |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abbotsford | |
Airdrie | |
Armstrong | |
Barrie | |
Bathurst | |
Belleville | |
Brampton | |
Brandon | |
Brant | |
Brantford |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.non-critical { | |
background-color: yellow; text-align:center; padding:30px; height:20%; | |
} | |
.non-critical a {color:black;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
SOURCE REFERENCES | |
See: | |
* https://www.html5rocks.com/en/tutorials/responsive/picture-element/ | |
* https://cloudfour.com/thinks/dont-use-picture-most-of-the-time/ | |
--> | |
<style> | |
.responsive-image { | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- "playlist" must be the same individual video id in order for continuous looping to work --> | |
<iframe src="https://www.youtube.com/embed/Zdjg9yhBqTU?modestbranding=1&playlist=Zdjg9yhBqTU&controls=0&showinfo=0&rel=0&iv_load_policy=3&autoplay=1&loop=1&keyboard=1" allowfullscreen="0" frameborder="0"></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SHOW/HIDE SOCIAL MONARCH PLUGIN DEPENDING ON SCROLL POSITION | |
if( $(window).width() >= 1025) { // if above default responsive breakpoint | |
$(document).ready(function() { | |
$(".et_social_sidebar_networks").hide(); // hide initially | |
var topOfOthDiv = $(".content").offset().top - 390; // set div position | |
$(window).scroll(function() { | |
if($(window).scrollTop() > topOfOthDiv) { // scrolled below div? | |
$(".et_social_sidebar_networks").show(); // show | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- PASTE THIS SOMEWHERE IN YOUR PAGE TO REFERENCE BREAKPOINTS. --> | |
<div style="position:fixed;top:0;left:0;background-color:rgba(0,0,0,0.5);padding:10px;color:#fff;"> | |
<span class="visible-xs">SIZE XS</span> | |
<span class="visible-sm">SIZE SM</span> | |
<span class="visible-md">SIZE MD</span> | |
<span class="visible-lg">SIZE LG</span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Stay Standalone!</title> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="white"> | |
<meta name="apple-mobile-web-app-title" content="Web App title to override title element name"> | |