Skip to content

Instantly share code, notes, and snippets.

View BaseCase's full-sized avatar

Casey Brant BaseCase

  • Madison, WI
View GitHub Profile
#!/usr/bin/env bash
set -e
main() {
previous_file="$1"
file_to_edit=`select_file $previous_file`
if [ -n "$file_to_edit" ] ; then
"$EDITOR" "$file_to_edit"
main "$file_to_edit"
@BaseCase
BaseCase / grid-demo.html
Created September 26, 2021 18:35
basic centered grid
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Layout demo</title>
<style>
* {
box-sizing: border-box;
}
@BaseCase
BaseCase / dc_2017_biblio.md
Last active January 23, 2020 05:13
List of resources recommended or mentioned by the speakers at Deconstruct 2017

Deconstruct 2017 Bibliography

Here are all of the resources mentioned by Deconstruct 2017 speakers, along with who recommended what. Please post a comment if I missed something or have an error!

DC 2017 Speakers' Choice Gold Medalist

  • Seeing Like a State by James Scott

Books

  • Public Opinion by Walter Lippmann (Evan Czaplicki)
  • A Pattern Language by Christopher Alexander (Brian Marick)
  • Domain Driven Design by Eric Evans (Brian Marick)
@BaseCase
BaseCase / readme.txt
Created September 21, 2018 18:30
PuzzleScript Intro (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@BaseCase
BaseCase / readme.txt
Created September 19, 2018 20:09
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@BaseCase
BaseCase / readme.txt
Created September 12, 2018 21:09
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@BaseCase
BaseCase / readme.txt
Created September 12, 2018 21:06
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@BaseCase
BaseCase / toc.py
Created March 22, 2018 01:25
Generate a table of contents for a markdown file
#!/usr/bin/env python
import sys
def main():
if not len(sys.argv) == 2:
print("Please provide exactly one filename.")
sys.exit(1)
filename = sys.argv[1]
toc = generate_toc_for_file(filename)
defmodule DecimalTest do
use ExUnit.Case, async: true
alias Decimal.Context
alias Decimal.Error
require Decimal
doctest Decimal
brew install fzf