Skip to content

Instantly share code, notes, and snippets.

View thoughtchad's full-sized avatar

Chad Lancour thoughtchad

View GitHub Profile
@thoughtchad
thoughtchad / workspace.sh
Last active March 23, 2017 16:34 — forked from scottsb/casesafe.sh
Create and manage a case-sensitive disk-image on macOS (OS X).
#!/bin/bash
# take ~/bin && curl https://gist.githubusercontent.com/thoughtchad/6b6f198fcc23ac219306b61ad03c29e2/raw/beb33c03078d9594386d611b31fc5a7209b232cb/workspace.sh > workspace && chmod +x workspace
# ---------------------------------------------------------
# Customizable Settings
# ---------------------------------------------------------
MOUNT_POINT="${CASE_SAFE_MOUNT_POINT:-${HOME}/dev}"
VOLUME_PATH="${CASE_SAFE_VOLUME_PATH:-${HOME}/.workspace-dev.dmg.sparseimage}"
VOLUME_NAME="${CASE_SAFE_VOLUME_NAME:-dev}"
@thoughtchad
thoughtchad / 0_reuse_code.js
Created November 7, 2016 20:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console