Skip to content

Instantly share code, notes, and snippets.

View markstachowski's full-sized avatar

Mark Stachowski markstachowski

View GitHub Profile
package com.alexr.dynaenum;
import java.io.*;
import java.lang.reflect.Array;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.Map;
@markstachowski
markstachowski / gist:8249555741f3f6ea2d2cccce0b062b41
Created July 12, 2019 01:47 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@markstachowski
markstachowski / fetch-api-examples.md
Created October 31, 2018 22:02 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
sudo npm uninstall npm -g
brew uninstall node

Then

sudo rm -rf /usr/local/lib/dtrace/node.d /usr/local/lib/node_modules /usr/local/bin/npm /usr/local/bin/nodemon /usr/local/bin/node /usr/local/include/node ~/.npm* ~/.node* /usr/local/share/man/*/node* /usr/local/share/man/*/npm*
@markstachowski
markstachowski / main.go
Created September 6, 2018 17:19 — forked from walm/main.go
Simple Golang DNS Server
package main
import (
"fmt"
"log"
"strconv"
"github.com/miekg/dns"
)
@markstachowski
markstachowski / TOS-custom-or-modified-studies.md
Created September 6, 2018 12:50 — forked from n8rzz/TOS-custom-or-modified-studies.md
customized studies for use within TDAmeritrade's ThinkOrSwim trading platform

ATRLatest

#
# TD Ameritrade IP Company, Inc. (c) 2014-2018
#
# Uses basic most recent value from ATR study then 
# displays value in a colorized label
#
# Modified by Nate Geslin (teamtomkins23@gmail.com)
@markstachowski
markstachowski / buttermilk-pancake-recipe.md
Created June 13, 2018 18:42 — forked from alanbsmith/buttermilk-pancake-recipe.md
My Buttermilk Pancake Recipe 🥞🥞🥞

BUTTERMILK PANCAKES 🥞

OVERVIEW

This recipe is loosely adapted from this NYT recipe. They come out super fluffy. It also works great for waffles. I make my own buttermilk with whole milk and white vinegar, which I'll describe below.

YIELD

~8 pancakes

@markstachowski
markstachowski / .bash_profile
Created June 11, 2018 05:00 — forked from jernejcic/.bash_profile
.bash_profile file on Mac OS X
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
@markstachowski
markstachowski / install_ffmpeg.sh
Created May 27, 2018 00:17 — forked from Piasy/install_ffmpeg.sh
brew install ffmpeg with all options
brew options ffmpeg
brew install ffmpeg \
--with-chromaprint \
--with-fdk-aac \
--with-fontconfig \
--with-freetype \
--with-frei0r \
--with-game-music-emu \
--with-libass \
@markstachowski
markstachowski / gist:4d6c7b6ef2c4ac3f70e5ffd5366fcca8
Created May 19, 2018 01:31 — forked from dotcomputercraft/gist:b7283bd52f4b5389e748
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
the best way (I've found) to completely uninstall node + npm is to do the following:
go to /usr/local/lib and delete any node and node_modules
go to /usr/local/include and delete any node and node_modules directory
if you installed with brew install node, then run brew uninstall node in your terminal
check your Home directory for any local or lib or include folders, and delete any node or node_modules from there
go to /usr/local/bin and delete any node executable
You may need to do the additional instructions as well:
sudo rm /usr/local/bin/npm