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
@import url(http://fonts.googleapis.com/css?family=Open+Sans:800,400);
/* Toggle Styles */
body {
background-color: #D9E5D6;
font-family: 'Open Sans', sans-serif;
}
#wrapper {
padding-left: 0;
class: center, middle
#Lezione 3
##If, else, elseif e array
---
#Espressioni
```js
var a = 5;
a==5 /* Questa è un'espressione, quando verrà eseguita*/
# 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();
/* 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
'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,
{
"rules": {
"no-console": 0,
"no-unused-vars":[ 2, {"args": "after-used", "argsIgnorePattern": "^_"} ],
"indent": [
2,
2
],
"quotes": [
2,
<!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">
<!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>
/* 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