###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| def get_embed_url(url) | |
| provider = url.match(/https:\/\/(:?www.)?(\w*)/)[2] | |
| if provider == "youtube" | |
| id = url.match(/https:\/\/(?:www.)?(\w*).com\/.*v=(\w*)/)[2]; | |
| "https://www.youtube.com/embed/#{id}" | |
| elsif (provider == "vimeo") | |
| id = url.match(/https:\/\/(?:www.)?(\w*).com\/(\d*)/)[2]; | |
| "https://player.vimeo.com/video/#{id}" | |
| end | |
| end |
| $(document).ready(function(){ | |
| var inputs = $('input, select'); | |
| var getItems = function() { | |
| var el, i, key, len, results, val; | |
| i = 0; | |
| len = localStorage.length; | |
| results = []; | |
| while (i < len) { |
| ready do | |
| # Insert fingerprinted asset paths into _headers for Netlify. | |
| proxy "/_headers", "/headers.txt", | |
| layout: false, | |
| ignore: true | |
| proxy "_redirects", "netlify-redirects", ignore: true | |
| end |