This file contains 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
// con un plugin injector aggiungi al dominio, enjoy! | |
// aggiunge risposta automatica e reset dello stato della spiegazione | |
exam = `pol_all_uni.php`; | |
id = "spiegazione"; | |
stiliextra = `#respiega { | |
width: 150px; | |
height: 40px; | |
line-height: 38px; |
This file contains 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
HOST_FTP = "----------------" # host del server ftp | |
PORT_FTP = 21 # porta del server ftp | |
USER_FTP = "-----------------------" # utente server ftp | |
PASS_FTP = "---------" # password del server ftp | |
CARTELLA_FTP = "-" # cartella che contiene il file da scaricare | |
FILE_FTP = "--------------" # nome del file da scaricare | |
ESTENSIONE_LOC = ".---" # estensione con cui salvare il file remoto in locale | |
CARTELLA_LOC = "----------------------------" # cartella locale in cui salvare i file | |
DELAY_CHECK = 60 # ogni quanti secondi controllare per le modifiche | |
TG_CHATID = "---------" # id della chat telegram per gli alert |
This file contains 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
#!/usr/bin/env python3 | |
from ansi.colour import fg, bg | |
from ansi.colour.fx import bold, reset | |
from tabulate import tabulate | |
from datetime import datetime | |
import hashlib | |
import requests | |
# CLIENT PER STUDENTI REGISTRO LAMPSCHOOL | |
# INSERISCI I DATI DI CONNESSIONE QUI |
This file contains 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
#include <stdio.h> | |
int main(){ | |
int quantita; | |
printf("Inserisci quantità valori: "); | |
scanf("%d", &quantita); | |
int valori[quantita]; | |
int i = 1; | |
do{ | |
printf("Inserisci valore n%d:", i); |
This file contains 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
abaco | |
abbondanza | |
abbondanzia | |
abbondanzio | |
abbondazio | |
abbondia | |
abbondina | |
abbondio | |
abdelkrim | |
abdellah |
This file contains 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
<?php | |
$enableDebug = false; | |
header('Content-Type: text/plain; charset=utf-8'); | |
function indirizzoIpReale(){ | |
if (!empty($_SERVER['HTTP_CLIENT_IP'])){ | |
$ip=$_SERVER['HTTP_CLIENT_IP']; | |
}elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ | |
$ip=$_SERVER['HTTP_X_FORWARDED_FOR']; | |
}else{ |
This file contains 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
#File di configurazione, inserisci intervallo in secondi | |
db_address: localhost | |
db_port: 3306 | |
db_user: root | |
db_pass: root | |
db_name: database | |
db_table: meteo | |
read_interval: 30 | |
sensor_endpoint: http://sample.com/ |
This file contains 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
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <cstring> | |
using namespace std; | |
//nessun menù, solo funzione di contatore, si presuppone che il menù salvi le righe di testo in un file | |
int main(){ | |
ifstream ifs ("testo.txt", ifstream::in); //apertura file di testo |
This file contains 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
#define PULSANTE 2 //pin del pressostato | |
#define POMPAUNO 7 | |
#define POMPADUE 6 | |
bool crun = false; | |
bool controlloauto = true; | |
int latest = 1; | |
void setup() { | |
pinMode(PULSANTE, INPUT); |
NewerOlder