Skip to content

Instantly share code, notes, and snippets.

View michaelcoburn's full-sized avatar

Michael Coburn michaelcoburn

View GitHub Profile
if sysbench.cmdline.command == nil then
error("Command is required. Supported commands: run")
end
sysbench.cmdline.options = {
point_selects = {"Number of point SELECT queries to run", 5},
skip_trx = {"Do not use BEGIN/COMMIT; Use global auto_commit value", false}
}
local page_types = { "actor", "character", "movie" }
@michaelcoburn
michaelcoburn / do_boot.sh
Last active July 4, 2018 20:43 — forked from leucos/do_boot.sh
Bootstrap your DO infrastructure unsing Ansible without dynamic inventory
#!/bin/bash
#
# What is that
# ============
#
# This script will help you setting up your digital ocean
# infrastructure with Ansible
#
# Usually, when working with DO, one is supposed to use digital_ocean.py
# inventory file, and spin up instances in a playbook.