Skip to content

Instantly share code, notes, and snippets.

View gmemstr's full-sized avatar
🏳️‍🌈
Free hugs!

Gabriel Simmer gmemstr

🏳️‍🌈
Free hugs!
View GitHub Profile
@gmemstr
gmemstr / import.py
Last active November 8, 2017 04:42 — forked from marians/import.py
Migrating a Ghost blog database to Jekyll
# 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
@gmemstr
gmemstr / Database.php
Last active November 14, 2019 17:32 — forked from t-seannn/Database.php
<?php
class Database {
// DB Parameters
private $host = 'localhost';
private $db_name = 'tournamentProject';
private $username = 'root';
private $password = '';
private $conn;
// DB Connect