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 | |
// Get coords | |
function GetCoords() { | |
$coords = array(); | |
// Non IATA: | |
// Espoo -> ESP | |
$coords["HEL2_to_TLL1"] = array(x => 405, y => 286); | |
$coords["HEL2_to_FRA1"] = array(x => 329, y => 240); | |
$coords["HEL2_to_ARN4"] = array(x => 345, y => 162); |
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
#!/bin/bash | |
apt-get -y install expect | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 | |
spawn mysql_secure_installation | |
expect \"Enter current password for root:\" |