Skip to content

Instantly share code, notes, and snippets.

View axelsimon's full-sized avatar

axel simon axelsimon

View GitHub Profile
@dmerejkowsky
dmerejkowsky / dotclear-to-hugo.py
Created August 18, 2017 08:39
dotclear to hugo
+import sqlite3
+import re
+import arrow
+
+connection = sqlite3.connect("/home/dmerej/backups/dmerej.info/blog/db/blog-2016-05-21.sqlite")
+
+cursor = connection.cursor()
+
+def slugify(text):
+ res = re.sub('[^\w\s-]', '', text).strip().lower()
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 17, 2024 09:42
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites