1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-22 07:54:22 +00:00
This commit is contained in:
Steffo 2020-05-28 02:26:20 +02:00
parent 94af844efe
commit 563fb29241
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
26 changed files with 73 additions and 38 deletions

0
.sentryclirc Normal file
View file

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/*! For license information please see bundle.6578c.esm.js.LICENSE.txt */

3
docs/bundle.94d3b.esm.js generated Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.94d3b.esm.js.LICENSE.txt generated Normal file
View file

@ -0,0 +1 @@
/*! For license information please see bundle.94d3b.esm.js.LICENSE.txt */

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.6578c.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.94d3b.esm.js","sourceRoot":""}

3
docs/bundle.b5375.js generated Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.b5375.js.map generated Normal file

File diff suppressed because one or more lines are too long

3
docs/bundle.f51bf.js generated

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
docs/index.html generated
View file

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Appunti Web</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#a0ccff"><link rel="shortcut icon" href="/favicon.ico"><style>*{box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:Arial,sans-serif}</style><link href="/bundle.24404.css" rel="preload" as="style"></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.6578c.esm.js" type="module"></script><script nomodule="" src="/polyfills.b96b2.js"></script><script nomodule="" defer="defer" src="/bundle.f51bf.js"></script><link rel="stylesheet" href="/bundle.24404.css"></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Appunti Web</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#a0ccff"><link rel="shortcut icon" href="/favicon.ico"><style>*{box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:Arial,sans-serif}</style><link href="/bundle.24404.css" rel="preload" as="style"></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.94d3b.esm.js" type="module"></script><script nomodule="" src="/polyfills.9d3e9.js"></script><script nomodule="" defer="defer" src="/bundle.b5375.js"></script><link rel="stylesheet" href="/bundle.24404.css"></body></html>

File diff suppressed because one or more lines are too long

2
docs/polyfills.83a9b.esm.js generated Normal file

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"polyfills.7484f.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"polyfills.83a9b.esm.js","sourceRoot":""}

2
docs/polyfills.9d3e9.js generated Normal file

File diff suppressed because one or more lines are too long

1
docs/polyfills.9d3e9.js.map generated Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -4,20 +4,20 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/assets/icon.png"
},
{
"revision": "f51bffb104b283ccbe71",
"revision": "b53753092bbdac58f900",
"url": "/bundle.24404.css"
},
{
"revision": "f51bffb104b283ccbe71",
"url": "/bundle.f51bf.js"
"revision": "b53753092bbdac58f900",
"url": "/bundle.b5375.js"
},
{
"revision": "d1c6359d4e3ff3dd5b1cddef199c693c",
"revision": "9833e7c28b423f57f8460e720ca8e718",
"url": "/index.html"
},
{
"revision": "b96b28270e3dc7238eca",
"url": "/polyfills.b96b2.js"
"revision": "9d3e90e1be6246c81a5f",
"url": "/polyfills.9d3e9.js"
},
{
"revision": "616160fb56a8e0caf7f8",
@ -96,7 +96,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/sw-debug.js"
},
{
"revision": "58eea0338dcab7e01e02f3b24ac8379a",
"revision": "6f465af18d793f2d4ce7bc24a2bfa104",
"url": "/sw-esm.js"
},
{

View file

@ -4,20 +4,20 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/assets/icon.png"
},
{
"revision": "f51bffb104b283ccbe71",
"revision": "b53753092bbdac58f900",
"url": "/bundle.24404.css"
},
{
"revision": "f51bffb104b283ccbe71",
"url": "/bundle.6578c.esm.js"
"revision": "b53753092bbdac58f900",
"url": "/bundle.94d3b.esm.js"
},
{
"revision": "d1c6359d4e3ff3dd5b1cddef199c693c",
"revision": "9833e7c28b423f57f8460e720ca8e718",
"url": "/index.html"
},
{
"revision": "b96b28270e3dc7238eca",
"url": "/polyfills.7484f.esm.js"
"revision": "9d3e90e1be6246c81a5f",
"url": "/polyfills.83a9b.esm.js"
},
{
"revision": "616160fb56a8e0caf7f8",

View file

@ -1 +1 @@
{"/":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-home.chunk.c7f13.esm.js":{"type":"script","weight":0.9},"route-home.chunk.0d277.css":{"type":"style","weight":0.9}},"/OttimizzazioneLineare":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-OttimizzazioneLineare.chunk.36935.esm.js":{"type":"script","weight":0.9},"route-OttimizzazioneLineare.chunk.05781.css":{"type":"style","weight":0.9}},"/apprendimentoSistemiArtificiali":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-apprendimentoSistemiArtificiali.chunk.2da67.esm.js":{"type":"script","weight":0.9},"route-apprendimentoSistemiArtificiali.chunk.75409.css":{"type":"style","weight":0.9}},"/basiDiDati":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-basiDiDati.chunk.5e219.esm.js":{"type":"script","weight":0.9},"route-basiDiDati.chunk.d7b86.css":{"type":"style","weight":0.9}},"/calcoloNumerico":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-calcoloNumerico.chunk.766b9.esm.js":{"type":"script","weight":0.9},"route-calcoloNumerico.chunk.0791e.css":{"type":"style","weight":0.9}},"/fisica":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-fisica.chunk.a8186.esm.js":{"type":"script","weight":0.9},"route-fisica.chunk.6a691.css":{"type":"style","weight":0.9}},"/mingwinstall":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-mingwinstall.chunk.ea807.esm.js":{"type":"script","weight":0.9},"route-mingwinstall.chunk.d169e.css":{"type":"style","weight":0.9}},"/statistica":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-statistica.chunk.0ad24.esm.js":{"type":"script","weight":0.9},"route-statistica.chunk.0b8c5.css":{"type":"style","weight":0.9}},"/vldigeometria":{"bundle.24404.css":{"type":"style","weight":1},"bundle.6578c.esm.js":{"type":"script","weight":1},"route-vldigeometria.chunk.12afa.esm.js":{"type":"script","weight":0.9},"route-vldigeometria.chunk.0c65e.css":{"type":"style","weight":0.9}}}
{"/":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-home.chunk.c7f13.esm.js":{"type":"script","weight":0.9},"route-home.chunk.0d277.css":{"type":"style","weight":0.9}},"/OttimizzazioneLineare":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-OttimizzazioneLineare.chunk.36935.esm.js":{"type":"script","weight":0.9},"route-OttimizzazioneLineare.chunk.05781.css":{"type":"style","weight":0.9}},"/apprendimentoSistemiArtificiali":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-apprendimentoSistemiArtificiali.chunk.2da67.esm.js":{"type":"script","weight":0.9},"route-apprendimentoSistemiArtificiali.chunk.75409.css":{"type":"style","weight":0.9}},"/basiDiDati":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-basiDiDati.chunk.5e219.esm.js":{"type":"script","weight":0.9},"route-basiDiDati.chunk.d7b86.css":{"type":"style","weight":0.9}},"/calcoloNumerico":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-calcoloNumerico.chunk.766b9.esm.js":{"type":"script","weight":0.9},"route-calcoloNumerico.chunk.0791e.css":{"type":"style","weight":0.9}},"/fisica":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-fisica.chunk.a8186.esm.js":{"type":"script","weight":0.9},"route-fisica.chunk.6a691.css":{"type":"style","weight":0.9}},"/mingwinstall":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-mingwinstall.chunk.ea807.esm.js":{"type":"script","weight":0.9},"route-mingwinstall.chunk.d169e.css":{"type":"style","weight":0.9}},"/statistica":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-statistica.chunk.0ad24.esm.js":{"type":"script","weight":0.9},"route-statistica.chunk.0b8c5.css":{"type":"style","weight":0.9}},"/vldigeometria":{"bundle.24404.css":{"type":"style","weight":1},"bundle.94d3b.esm.js":{"type":"script","weight":1},"route-vldigeometria.chunk.12afa.esm.js":{"type":"script","weight":0.9},"route-vldigeometria.chunk.0c65e.css":{"type":"style","weight":0.9}}}

2
docs/sw-esm.js generated
View file

@ -1,4 +1,4 @@
importScripts("/precache-manifest.f20886b251226aef150757e3607969d6.esm.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts("/precache-manifest.ed9e1536fb3e02e26c5789d67b70dd61.esm.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="idKB")}({idKB:function(){self.__precacheManifest=[].concat(self.__precacheManifest||[]);const e=e=>"navigate"===e.request.mode;workbox.routing.registerRoute(({event:t})=>e(t),new workbox.strategies.NetworkFirst({cacheName:workbox.core.cacheNames.precache,networkTimeoutSeconds:5,plugins:[new workbox.cacheableResponse.Plugin({statuses:[200]})]})),workbox.precaching.precacheAndRoute(self.__precacheManifest,{}),workbox.routing.setCatchHandler(({event:t})=>e(t)?caches.match(workbox.precaching.getCacheKeyForURL("/index.html")):Response.error())}});
//# sourceMappingURL=sw-esm.js.map

2
docs/sw.js generated
View file

@ -1,4 +1,4 @@
importScripts("/precache-manifest.9efde698e4fb6cea600499c2992829e8.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts("/precache-manifest.b0cf9320defdc284d8e1608c2cb72b54.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="idKB")}({idKB:function(){self.__precacheManifest=[].concat(self.__precacheManifest||[]);const e=e=>"navigate"===e.request.mode;workbox.routing.registerRoute(({event:t})=>e(t),new workbox.strategies.NetworkFirst({cacheName:workbox.core.cacheNames.precache,networkTimeoutSeconds:5,plugins:[new workbox.cacheableResponse.Plugin({statuses:[200]})]})),workbox.precaching.precacheAndRoute(self.__precacheManifest,{}),workbox.routing.setCatchHandler(({event:t})=>e(t)?caches.match(workbox.precaching.getCacheKeyForURL("/index.html")):Response.error())}});
//# sourceMappingURL=sw.js.map

View file

@ -0,0 +1,34 @@
import {useEffect, useErrorBoundary} from "preact/hooks";
let Sentry = null;
if(process.env.NODE_ENV === "development") {
console.debug("Initializing Preact Debugger...")
require("preact/debug");
}
else if(process.env.NODE_ENV === "production") {
console.debug("Initializing Sentry...")
Sentry = require("@sentry/browser");
Sentry.init({dsn: "https://9f5089346fd14e04a6f412638474dfec@o40131.ingest.sentry.io/5255500"});
}
else {
console.debug("Not initializing anything, unknown env.");
}
export default function (props) {
let [error, resetError] = useErrorBoundary();
let client;
useEffect(() => {
const client = new BrowserClient({
dsn: 'https://9f5089346fd14e04a6f412638474dfec@o40131.ingest.sentry.io/5255500',
})
if(error) {
client.captureException(error)
}
}, [])
return (
<div>
</div>
);
}

View file

@ -3,14 +3,15 @@ if(process.env.NODE_ENV === "development") {
console.debug("Initializing Preact Debugger...")
require("preact/debug");
}
else if(process.env.NODE_ENV === "production") {
//else if(process.env.NODE_ENV === "production") {
console.debug("Initializing Sentry...")
Sentry = require("@sentry/browser");
Sentry.init({dsn: "https://9f5089346fd14e04a6f412638474dfec@o40131.ingest.sentry.io/5255500"});
}
else {
console.debug("Not initializing anything, unknown env.");
}
// noinspection JSUnresolvedVariable
Sentry.init({
dsn: "https://9f5089346fd14e04a6f412638474dfec@o40131.ingest.sentry.io/5255500",
release: QUALSIASI_ALTRO_NOME_NON_VA,
});
//}
// noinspection ES6UnusedImports
import _style from './index.less';