π¦
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
// Here is a reference snippet of code from src/serviceWorkerRegistration.ts | |
const isLocalhost = Boolean( | |
window.location.hostname === "localhost" || | |
// [::1] is the IPv6 localhost address. | |
window.location.hostname === "[::1]" || | |
// 127.0.0.0/8 are considered localhost for IPv4. | |
window.location.hostname.match( | |
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ | |
) |
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
{ | |
"kty": "RSA", | |
"n": "skj78C3fpVD6X99O7lQ9XddAWsoO7-C4n338WguH8NtS5-ZrIQVHJvq1AOIYFaDLaif7GvDnN_4m01AFZ7r3_5MiaLi4256bNFM817iVTaFsRhqNM-TOm4M_SptEsKaLK8UjLXaLCLoSdk5VCqK3uNTQGCJoni7AJh2kKcWwmPAEIzFQUBC-v1hxSBy9MwFI9uh7ozp80pV7N1ufgOWd9QQFMFXC9NyAXXdQ1l7BltpPf6YJjdjyyY7j7jpYNqxgdpgTIkouyLhAB4wQMq_m4lVYKnCBMzagapxjp7cZCUCPClrDFOZ1H1LGQX900XbdyTPBeiripJvvjCc368Jw7Q", | |
"e": "AQAB", | |
"alg": "RS256", | |
"kid": "2ma4enu1kdvw5bo9xsfpi3gcjzrt6q78yl0h", | |
"use": "sig" | |
} |
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
{ | |
"keys": [ | |
{ | |
"kid": "X5eXk4xyojNFum1kl2Ytv8dlNP4-c57dO6QGTVBwaNk", | |
"nbf": 1493763266, | |
"alg": "RS256", | |
"use": "sig", | |
"kty": "RSA", | |
"e": "AQAB", | |
"n": "tVKUtcx_n9rt5afY_2WFNvU6PlFMggCatsZ3l4RjKxH0jgdLq6CScb0P3ZGXYbPzXvmmLiWZizpb-h0qup5jznOvOr-Dhw9908584BSgC83YacjWNqEK3urxhyE2jWjwRm2N95WGgb5mzE5XmZIvkvyXnn7X8dvgFPF5QwIngGsDG8LyHuJWlaDhr_EPLMW4wHvH0zZCuRMARIJmmqiMy3VD4ftq4nS5s8vJL0pVSrkuNojtokp84AtkADCDU_BUhrc2sIgfnvZ03koCQRoZmWiHu86SuJZYkDFstVTVSR0hiXudFlfQ2rOhPlpObmku68lXw-7V-P7jwrQRFfQVXw" |
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
{"keys":[{"kty":"RSA","kid":"CecQ5JrFHMoOXO1o7VweMICqlXQ8hEq_kvFWZsCCPhc","use":"sig","alg":"RS256","e":"AQAB","n":"uaVpuPuuOoBrclDuPEYkG3X4-iFpBqcALpxOlF7KhkXr7NEP1cQtsl9_oNqyiHYnXoMVsGmuzHZPSDWHb613qHbcvn9IREvvIVwWlNuV3QGGak3J4Fa0hPajBums93A1AGEEn-pGyTcshDp_rn9H3zRNR7A4yYVw_TNd2ZQiV1qTfqHL39VXGdbNYRatPWeNqxwlC8xhcgoLCzuJ4ADqd3JRafRXR7i2GQI11OaIwByBxWq-EHO5EAlexM3HR5jML8DPcb6uNFeh22KEE_nyPwmQDi_qCo7UjaNaRTaRUb00AVefhA8J2iximCpmQgYdJ3YrE9DaEWmmQdBsS0YvZw"}]} |
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
{ | |
"kty": "RSA", | |
"n": "ygKuZawk6RrA1a1O73ZWzxZ_c2kAGqS8wmP6XevYpJ55Sz5VHR9rU7AHGGIac4nLI_HjmFZ4Mwf5r8U6YNlkVN1jUHAkWi-dtYAu_6esf1dFi4VLcwJN7GDzV5DZfYqaIcZQN0Sl_smjkpoSuJZoQF7NHPb-DEHJGeWrsBaufGTZ5-l6OADQ_nGT8efIMAs3lqvvXppbabj1UOmTdW_uxodIXYsqAzIzABQbotGjk67bWvFO1S3FHPoCeqMWdqp_eo4k147nXDmdDs7HlVyPChMKEtpZpocL4BjP5JfUpBroFQ5W2VmOZCNfweT0yBcvdFCohLuDZ1U-h5A0ddt2uxpdbO3rNViTZff18ou8mA0udN-O1sNA7jagLXpBB6uaiLtsQZAWTXanQe-XEukda8azBscOdkdsJozpPe066Qg7RWCW4HUNvr32EH7SkB4XAl661mJKHdLFfuiNTIh3qBGsFVvnHfcb3uMJfpuUXbzvoPM7g-feAKEXhsCQZrSB", | |
"e": "AQAB", | |
"alg": "RS256", | |
"kid": "RkI5MjI5OUY5ODc1N0Q4QzM0OUYzNkVGMTJDOUEzQkFCOTU3NjE2Rg", | |
"use": "sig" | |
} |
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
{ | |
"keys": [ | |
{ | |
"kty": "RSA", | |
"n": "rZU9v8dA5pcvO5e_3GrzKjMf3dNltiFNRz367ZlYTJMprhiS197vjizrT81SA39sPTbIzwvZbV-iF-sjwbhnyQ", | |
"e": "AQAB", | |
"alg": "RS256", | |
"kid": "955104a37fa903ed80c57145ec9e83edb29b0c45", | |
"use": "sig" | |
} |
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
# how to run this thingy | |
# create a file on your mac called setup.sh | |
# run it from terminal with: sh setup.sh | |
# heavily inspired by https://twitter.com/damcclean | |
# https://github.com/damcclean/dotfiles/blob/master/install.sh | |
#!/bin/bash | |
set -euo pipefail |
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
"liveSassCompile.settings.formats": [ | |
{ | |
"format": "compressed", | |
"extensionName": ".css", | |
"savePath": "/css" | |
} | |
], | |
"liveSassCompile.settings.generateMap": false, | |
"liveSassCompile.settings.autoprefix": [] |
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
html, | |
body { | |
height: 100%; | |
} | |
.login-form { | |
width: 100%; | |
max-width: 350px; | |
margin: auto; | |
padding: 50px 20px; |