Org Name: myorg
Space: mycustomspace
Name of App: testapp
Custom Domain Name: domain.com
cf create-domain myorg domain.com
cf create-domain [org name] [custom domain name]
cf create-route mycustomspace domain.com -n testapp
| document.addEventListener('page:change', function() { | |
| document.getElementById('primary-content').className += 'animated fadeIn'; | |
| }); | |
| document.addEventListener('page:fetch', function() { | |
| document.getElementById('primary-content').className += 'animated fadeOut'; | |
| }); |
| // Check local storage to see if the key 'contrast_increase' has been set to 'true' | |
| window.onload = function() { | |
| if (localStorage.getItem('contrast_increase') === 'true') { | |
| increaseContrast() | |
| } else { | |
| console.log('Do Nothing') | |
| } | |
| }; | |
| // Set contrast hex code in local storage |
| //// | |
| // A collection of function for advanced type checking | |
| // @author Hugo Giraudel | |
| //// | |
| @function is-number($value) { | |
| @return type-of($value) == 'number'; | |
| } | |
| @function is-time($value) { |
| <div class="container"> | |
| <div class="test">Test</div> | |
| </div> |
| $gtc: grid-template-columns; | |
| $gtr: grid-template-rows; | |
| $gcs: grid-column-start; | |
| $gce: grid-column-end; | |
| $grs: grid-row-start; | |
| $gre: grid-row-end; | |
| $gridOptions: ( | |
| ("gtc", $gtc), | |
| ("gtr", $gtr), |
| <html> | |
| <head> | |
| <title>Service Worker</title> | |
| <script src="index.js"></script> | |
| <script src="service-worker.js"></script> | |
| </head> | |
| <body> | |
| <h3>Background</h3> | |
| <p> | |
| This sample demonstrates basic service worker registration. During the installation step, a |
Org Name: myorg
Space: mycustomspace
Name of App: testapp
Custom Domain Name: domain.com
cf create-domain myorg domain.com
cf create-domain [org name] [custom domain name]
cf create-route mycustomspace domain.com -n testapp
| #thing { | |
| height: 200px; | |
| width: 200px; | |
| background: grey; | |
| } |
| .wrapper { | |
| display: grid; | |
| grid-template-columns: repeat(12, 1fr); | |
| grid-gap: 10px; | |
| } | |
| @for $i from 1 through 12 { | |
| .col-#{$i} { | |
| grid-column: span #{$i}; | |
| } |
| require 'json' | |
| require 'net/http' | |
| require 'colorize' | |
| require 'colorized_string' | |
| print ColorizedString["What coin do you want a price for? (BTC Base Pair): "].colorize(:blue) | |
| coin_name = gets | |
| API_URL = "https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=#{coin_name}" |