Skip to content

Instantly share code, notes, and snippets.

@gluxon
gluxon / setup-zsh.sh
Last active January 29, 2018 21:15
Setup ZSH on 3150 VMs
#!/bin/bash
# Modified from https://coderwall.com/p/ynq-nw/compiling-your-software-to-run-almost-anywhere-without-ever-using-root
set -ex
mkdir -p ~/.local
WORKDIR=`mktemp -d`
pushd "$WORKDIR"
@gluxon
gluxon / scheme-testing.md
Last active January 22, 2018 18:23
scheme-testing.md
  1. Select Custom Test Case for Test Case Type
  2. Paste the following bash script. Modify testFunction, testArguments, and testAssertion appropriately.
testFunction="inc"
testArguments="0"
testAssertion="(ref-approx-=? student reference 0.001)"
# Optional extra message, could be used to display info about the test case
testMessage="\"\""

# Get first file with .rkt extension.