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
# Pachebel Canon for Sonic Pi, played by Flute, Clarinet and Trombone sample based voices | |
# coded by Robin Newman, March 2015 | |
# modified to work with SonicPi 3.2.2 (min unknown) | |
# score from www.freegigmusic.com (version for flute oboe and clarinet) | |
# samples download at http://r.newman.ch/rpi/Pachabel.zip | |
use_debug false | |
samples_dir='/home/pi/samples/Pachabel' #adjust location as necessary | |
# first deal with selecting and setting up the samples | |
inst0=samples_dir + '/flute_ds5.wav' |
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/sh | |
usage_error () { | |
echo 'Usage: sh migrator.sh <path to sqlite_to_postgres.py> <path to sqlite db file> <an empty dir to output dump files>' | |
echo | |
echo 'Example:' | |
echo '>sh migrator.sh sqlite_to_postgres.py ~/reviewboard.db /tmp/dumps' | |
echo | |
echo 'Tested on:' | |
echo 'Python 2.7.3' |
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
--- | |
# Ansible script for first-boot tightening up Ubuntu security | |
# Reference blog https://ryaneschinger.com/blog/securing-a-server-with-ansible/ | |
- hosts: all | |
vars: | |
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_LOGWATCH_EMAIL: [email protected] | |
ubuntu_common_deploy_user_name: deploy |