Skip to content

Instantly share code, notes, and snippets.

@alexandruc
alexandruc / readable_sql.cpp
Created October 31, 2017 09:50
Readable sql string
#include <iostream>
#include <string>
#define SQL(...) #__VA_ARGS__
int main(int argc, char *argv[])
{
std::string strDynSql = "dynparam";
std::string strSql( SQL(
# Small script to transform hugo markdown files with html to pure markdown
import requests
import os
import dateparser
url = "https://tools.atatus.com/tools/html-to-markdown"
working_dir = "location of the hugo blog posts"
posts = os.listdir(working_dir)