Skip to content

Instantly share code, notes, and snippets.

Avatar
🤠

Matt Bark matthax

🤠
  • Philadelphia
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am matthax on github.
  • I am mattbark (https://keybase.io/mattbark) on keybase.
  • I have a public key ASBaKpWPrB4bdKvg1OvQnIZeRk4vWp3w7hh7P80meKUfBQo

To claim this, I am signing this object:

@matthax
matthax / ioredis-duplex-stream.js
Created Dec 6, 2018
IORedis Duplex Stream Example
View ioredis-duplex-stream.js
/**
* MIT License
Copyright (c) 2018 Matthew D. Bark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@matthax
matthax / gist
Created Mar 21, 2018
uploads a file as a gist
View gist
#!/usr/bin/bash
# https://stackoverflow.com/questions/26484337/upload-a-file-to-a-gist-with-bash
# https://gist.github.com/rubo77/3b8b15f4df5b5287a24f87523c41e4ce
# TODO: read this from a config
GITHUB_USERNAME=matthax
if [ "$1" == "" ]; then
echo 'usage: gist filename [gistname] [description]'
exit 0
fi
@matthax
matthax / whitelist.txt
Created Mar 21, 2018
pi-hole whitelist
View whitelist.txt
raw.githubusercontent.com
mirror1.malwaredomains.com
sysctl.org
zeustracker.abuse.ch
s3.amazonaws.com
hosts-file.net
clients4.google.com
clients2.google.com
s.youtube.com
video-stats.l.google.com