Skip to content

Instantly share code, notes, and snippets.

View mrandri19's full-sized avatar
🅱️
All about that Bayes

Andrea Cognolato mrandri19

🅱️
All about that Bayes
View GitHub Profile
I (2617) Pinger: Initializing SNTP
I (2617) Pinger: Waiting for system time to be set... (1/10)
I (4627) Pinger: System time was set
I (4627) Pinger: Start pinging
pf->send_count: 1
pf->send_count: 2
pf->send_count: 3
@mrandri19
mrandri19 / file.m
Created May 16, 2018 20:51
Esercitazione 0 Es 8
clearvars;
x = 1;
y = exp(x);
tol = 1e-10;
deg = 0;
[h, member] = tay(x,deg);
error = [];
/* jshint esnext: true */
// ==UserScript==
// @name Registro Elettronico Spaggiari Enanched
// @namespace https://web.spaggiari.eu/
// @version 0.1
// @description New functions for the grade page.
// @author daw
// @match https://web.spaggiari.eu/cvv/app/default/genitori_voti.php
// @grant none
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0067)https://web.spaggiari.eu/tic/app/default/consultasingolo.php#eventi -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
Consulta
</title>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="login_page">
<head>
<title>
La Scuola del futuro, oggi
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
{
"rules": {
"no-console": 0,
"no-unused-vars":[ 2, {"args": "after-used", "argsIgnorePattern": "^_"} ],
"indent": [
2,
2
],
"quotes": [
2,
'use strict';
const frequency = 1000;
const potGoal = 20;
const timeAfterPotGoal = 10*1000;
const Pot = function() {
return {
participants: [],
value: 20,
timeoutStarted: false,
'use strict';
const frequency = 1000;
const potGoal = 20;
const timeAfterPotGoal = 10*1000;
const Pot = function() {
return {
participants: [],
value: 20,
timeoutStarted: false,
/* jshint esnext: true */
// ==UserScript==
// @name Registro Elettronico Spaggiari Enanched
// @namespace https://web.spaggiari.eu/
// @version 0.1
// @description New functions for the grade page.
// @author Andrea Cognolato
// @match https://web.spaggiari.eu/cvv/app/default/genitori_voti.php
// @grant none
# Compito per il 19/11
Un quiz con le seguenti caratteristiche:
- Punteggio
- Dire (usando `console.log()` o `alert()`) se la risposta e' giusta
- Almeno 3 domande
## Prompt()
```js
prompt();