Skip to content

Instantly share code, notes, and snippets.


Blake Niemyjski niemyjski

View GitHub Profile
bmhatfield / .profile
Last active Sep 9, 2021
Automatic Git commit signing with GPG on OSX
View .profile
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
niemyjski /
Last active May 30, 2017
Exceptionless Contributor License Agreement

Exceptionless Contributor License Agreement

The document below clarifies the terms under which You (the copyright owner or legal entity authorized by the copyright owner), may make “The Contributions” (software, bug fixes, configuration changes, documentation, or any other materials) to “The Work” (Exceptionless/Exceptionless). This license protects You, “The Company” (Exceptionless) and licensees; it does not change your rights to use your own contributions for any other purpose.

Please complete the following information about You and The Contributions. If you have questions about these terms, please contact us at

You and “The Company” (Exceptionless) agree:

  1. You grant to “The Company” (Exceptionless) a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, relicenseable, transferable license under all of Your relevant intellectual property rights, to use, copy, prepare derivative works of, distribute and publicly perform and display “The Contributions”
need12648430 / display.js
Last active Sep 1, 2015
Maze Generator in 532 bytes.
View display.js
// only semi-golfed, mostly because i was in the headspace; only used for debugging
var w, h, x, y, m=maze(w=16,h=16), g=[];
// generate fully walled grid
for(y = 0; y < h * 2 + 1; y ++) {
for(x = 0; x < w * 2 + 1; x ++)
g[y].push(!(y&1)?"#":!(x&1)?"#":" ");
niemyjski / plugin.example.cs
Last active Aug 29, 2015
Exceptionless Plugin Example
View plugin.example.cs
// There are two ways to create an plugin:
public class UniqueUserIdentifierPlugin : IEventPlugin {
public void Run(EventPluginContext context) {
if (!ctx.Client.Configuration.IncludePrivateInformation)
// Only update it if it's not currently set.
var user = context.Event.GetUserIdentity();
if (user != null)
tonymtz / gist:d75101d9bdf764c890ef
Last active Aug 13, 2021
Uninstall nodejs from OSX Yosemite
View gist:d75101d9bdf764c890ef
# first:
lsbom -f -l -s -pf /var/db/receipts/ | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, 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
cd /usr/local/lib
sudo rm -rf node*
davidfowl /
Last active Sep 16, 2021
.NET project structure
brock /
Last active Sep 14, 2021
Complete Node Reinstall. I've moved this to a repo at
# node-reinstall
# credit:
## program version
## path prefix
eduncan911 / Octopress\blogml.rb
Last active Aug 29, 2015
Octopress (and Jekyll) BlogML importer. See revision history for my changes.
View Octopress\blogml.rb
# BlogML import script originally sourced from:
# Best post I could find about how to use it was here:
# how to install
# --------------
# mkdir source/_importer
# cp blogml.rb to the source/_importer/ you created above
# cp your BlogML.xml to the same source/_importer/ directory
kevin-smets /
Last active Sep 20, 2021
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)