Skip to content

Instantly share code, notes, and snippets.

View cjbrooks12's full-sized avatar

Casey Brooks cjbrooks12

View GitHub Profile
@cjbrooks12
cjbrooks12 / generate-articles.py
Last active February 1, 2018 19:49 — forked from jaden/generate-articles.py
Generates 5000 posts to test performance of Orchid. Originally from the Hugo file, but changed generated filenames and a few properties to work better with Orchid
# Create specified number of articles for Hugo benchmarks
from datetime import datetime
import random
import string
from sys import argv
import os
def generateWord(min_length = 1, max_length = 10):
length = random.randint(min_length, max_length)