| [ { "gentilico" : "afegãne", | |
| "nome_pais" : "Afeganistão", | |
| "nome_pais_int" : "Afghanistan", | |
| "sigla" : "AF" | |
| }, | |
| { "gentilico" : "sul-africana", | |
| "nome_pais" : "África do Sul", | |
| "nome_pais_int" : "South Africa", | |
| "sigla" : "ZA" | |
| }, |
I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.
I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.
Chrome 51 has some pretty wild behaviour related to console.log in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
- Create a bare clone of the repository.
(This is temporary and will be removed so just do it wherever.)
git clone --bare git@github.com:usi-systems/easytrace.git
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <!-- 0. UTF-8 encoding --> | |
| <meta charset="utf-8"> | |
| <!-- 1. (OPTIONAL) Move jQuery here. --> | |
| <!-- 2. (OPTIONAL) Datalayer --> |
| 'use strict'; | |
| export class Facebook { | |
| getScript() { | |
| return new Promise((resolve) => { | |
| if (window.FB) { | |
| resolve(window.FB); | |
| } | |
| const id = 'facebook-jssdk'; |
| /* -------------------------------------------------------------------------- */ | |
| // All Bootstrap 4 Sass Mixins [Cheat sheet] | |
| // Updated to Bootstrap v4.5.x | |
| // @author https://anschaef.de | |
| // @see https://github.com/twbs/bootstrap/tree/master/scss/mixins | |
| /* -------------------------------------------------------------------------- */ | |
| /* | |
| // ########################################################################## */ | |
| // New cheat sheet for Bootstrap 5: |
| <?php | |
| /** | |
| * User: Matheus Gomes | |
| * E-maiL: matheus@lenzy.com.br | |
| * Date: 07/03/19 | |
| * Time: 15:32 | |
| */ | |
| class CreditCard | |
| { |
| >template.bat /? | |
| test v1.23 | |
| This is a sample batch file template, | |
| providing command-line arguments and flags. | |
| USAGE: | |
| test.bat [flags] "required argument" "optional argument" | |
| /?, --help shows this help | |
| /v, --version shows the version |