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 | |
import sys | |
import re | |
import yaml | |
class YamlTransform(): | |
def __init__(self, filename, keys_sub): | |
self.filename = filename |
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
$(document).ready(function() { | |
$('select').formSelect(); | |
$("#action").on("click", search); | |
$("#search").keypress(function(e) { | |
if(e.which == 13) { | |
$("#action").click(); | |
} | |
}); | |
}); | |
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
class Login(): | |
def on_get(self, req, resp): | |
resp.content_type = 'text/html' | |
resp.body = 'Hello world!' | |
def on_post(self, req, resp): | |
raise falcon.HTTPSeeOther('loadpoints') | |
# devo fare il redirect da post a get |
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
=== [ou] Untitled 4 === | |
Cloyster @ Focus Sash | |
Ability: Skill Link | |
EVs: 4 HP / 252 Atk / 252 Spe | |
Adamant Nature | |
- Shell Smash | |
- Icicle Spear | |
- Rock Blast | |
- Ice Shard |
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
<!--all' inizio del documento login.php session_start(); è responsabile | |
di aprire la sessione e lasciarla aperta dopo che l' utente ha fatto il login --> | |
<?php | |
session_start(); | |
?> | |
<!--alla fine di login.php(riga 164), invece, è presente questa parte che si occupa di prelevare utente e password dagli input | |
e confrontarli con quelli salvati nel database--> |
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
/* | |
*Including external module | |
*/ | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
var util = require('util'); | |
var express = require('express'); | |
var app = express(); | |
var bodyParser = require('body-parser'); | |
var sqlite3 = require('sqlite3').verbose(); |