Skip to content

Instantly share code, notes, and snippets.

View alanmcginnis's full-sized avatar
🦏
GH Status

Alan J McGinnis alanmcginnis

🦏
GH Status
View GitHub Profile
@alanmcginnis
alanmcginnis / Makefile
Created June 22, 2021 05:49 — forked from rsperl/Makefile #snippet
self-documenting makefile with colors
SHELL=/bin/bash
# to see all colors, run
# bash -c 'for c in {0..255}; do tput setaf $c; tput setaf $c | cat -v; echo =$c; done'
# the first 15 entries are the 8-bit colors
# define standard colors
ifneq (,$(findstring xterm,${TERM}))
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
@alanmcginnis
alanmcginnis / fsOptIn.js
Last active July 7, 2022 21:57
This is a rough outline of how you could start/stop FullStory based on user consent.
// For example purposes only
// Set up all of your variables here
// buttons, defaults, etc.
function loadFullStory(){
// Put Your FullStory Script Here
}
// Determine if FS should start recording based on an input value from a 🍪 bar or modal, really any user input