-
Progressive Web Apps - The Best of Both Worlds - the Slide deck as PDF to embed or download
-
Yes, this should be a PWA - Aaron Gustafson's Alistapart article about what parts of the PWA stack can be beneficial for different types of web content, apps or not.
-
PWA Builder, a command line tool and web interface to generate and validate manifests and service workers from existing web pages
-
Google Lighthouse - an add-on to Google developer tools helping you to create fast loading, accessible and performant PWAs
-
Workbox - a JavaSCript helper library to ease the development of service workers
-
Service Worker cookbook - a collection of ways to cache and notify using service workers
-
What the web can do today - a listing of all the new
This file contains hidden or 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
var docCookies = { | |
getItem: function (sKey) { | |
if (!sKey) { return null; } | |
return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; | |
}, | |
setItem: function (sKey, sValue, vEnd, sPath, sDomain, bSecure) { | |
if (!sKey || /^(?:expires|max\-age|path|domain|secure)$/i.test(sKey)) { return false; } | |
var sExpires = ""; | |
if (vEnd) { | |
switch (vEnd.constructor) { |
This file contains hidden or 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
{ | |
name: 'FORM NAME', | |
method: 'POST/GET', | |
action: '/url', | |
// beforeCreate | |
// afterCreate | |
fieldsets: [ | |
{ | |
label: 'name of group', | |
fields: [ |
Primeiro, a lista resumida do roteiro:
- Alexanderplatz Weltzeituhr/ Relogio do mundo
- Berliner Fernsehturm/ Torre de televisao
- Neptunbrunnen/ Fonte de Netuno
- Marienkirche/ St Mary Church
- Rotes Rathaus/ Prefeitura vermelha
- Nikolaiviertel
- Ilha dos museus
Note: this is a summary of different git workflows putting together to a small git bible. references are in between the text
try to keep your hacking out of the master and create feature branches. the [feature-branch workflow][4] is a good median between noobs (i have no idea how to branch) and git veterans (let's do some rocket sience with git branches!). everybody get the idea!
This file contains hidden or 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
{ | |
"name": "SyncExtension", | |
"version": "0.1", | |
"manifest_version": 2, | |
"description": "Storage Sync Extension", | |
"permissions": [ "storage" ], | |
"browser_action": { |
This file contains hidden or 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
#!/bin/bash | |
# A simple script to backup an organization's GitHub repositories. | |
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos | |
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423 | |
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up | |
# (if you're backing up a user's repos instead, this should be your GitHub username) | |
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API) |
This file contains hidden or 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
//https://medium.com/swlh/improving-angular-performance-with-1-line-of-code-a1fb814a6476#.62frmdlt4 | |
myApp.config(['$compileProvider', function ($compileProvider) { | |
$compileProvider.debugInfoEnabled(false); | |
}]); |