Skip to content

Instantly share code, notes, and snippets.

Scott Nunemacher graphicsminded

  • Graphics Minded, LLC
  • Gilbert, Arizona
Block or report user

Report or block graphicsminded

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
graphicsminded /
Last active Jul 15, 2018 — forked from davejamesmiller/
Bash General-Purpose Yes/No Prompt Function ("ask")
# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.
ask() {
local prompt default reply
while true; do
graphicsminded / makefile
Created Nov 19, 2016
New Project Makefile
View makefile
# Makefile for Scott Nunemacher
# Makefile format:
# target: dependencies
# actions
# By default, make these targets
all: newest.txt not-newest.txt variable-content.txt

Git Commands in a Project Workflow

MYPROJECT is the name of your project

Create a MYPROJECT repository on GitHub but don't include ANY files (not even or .gitignore). Then in a local directory create your local repository from the commandline.

Create a Project

graphicsminded /
Last active Apr 16, 2016
Git Alias Cheat Sheet for ~/.gitconfig

Use Git Aliases to Reduce Fingertigue


Include these aliases in your git workflow by adding them to: ~/.gitconfig

    b = branch
    c = checkout
    h = help
    p = push
    s = status
You can’t perform that action at this time.