Skip to content

Instantly share code, notes, and snippets.

Fahri Aydos aydos

Block or report user

Report or block aydos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
text {
font-family: helvetica, arial, sans-serif;
font-size: 10px;
text-anchor: middle;
color: #111;
aydos / drupal7_hugo.php
Last active Mar 9, 2016
A straightforward php script to convert drupal 7 nodes to hugo markdown files.
View drupal7_hugo.php
// This script is site specific
// You need refactor almost every line :)
$conn = mysqli_connect("localhost", "user", "pass", "aydosnet");
if (!$conn) {
die("Connection failed...");
mysqli_set_charset($conn, 'utf8mb4');
function rmdir_recursive($dir) {
You can’t perform that action at this time.