🏳️🌈
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
# coding: utf8 | |
""" | |
This script helps to import content from a Ghost blog database to Jekyll. | |
The database is expected to be running on a reachalbe MySQL host. | |
See the very end for DB configuration. | |
Quick Usage: | |
pip install -r requirements |
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 | |
class Database { | |
// DB Parameters | |
private $host = 'localhost'; | |
private $db_name = 'tournamentProject'; | |
private $username = 'root'; | |
private $password = ''; | |
private $conn; | |
// DB Connect |