Skip to content

Instantly share code, notes, and snippets.

View BaseCase's full-sized avatar

Casey Brant BaseCase

  • Madison, WI
View GitHub Profile
@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 / 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
#!/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 / terminal.html
Created August 23, 2017 11:22
bwaaaaaaamp
<html>
<head>
<style>
.shadow-input { opacity: 0; }
.prompt { font-family: monospace; }
.cursor {
display: flex;
flex-direction: row;
position: absolute;