This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adapted from: https://gist.github.com/mythmon/4151152 | |
export LEEROY_URL="https://leeroybot.herokuapp.com/" | |
LEEROY_RERUN="https://raw.github.com/lonnen/leeroy-rerun/master/leeroy-rerun.py" | |
# Usage | |
[[ -z $1 ]] && { | |
echo "Rerun a Leeroy job for Kuma." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# Randomly determine if the new heading should be shown #} | |
{% set show_new_heading = random_boolean() %} | |
{% if show_new_heading %} | |
<h1>The Best Documentation Around</h1> | |
{% endif %} | |
<script> | |
window['optimizely'] = window['optimizely'] || []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Configuration | |
KUMA_ROOT=/path/to/kuma | |
# Script | |
# https://www.youtube.com/watch?v=ckIMuvumYrg | |
pushd . | |
cd $KUMA_ROOT | |
vagrant halt |
NewerOlder