openpgp4fpr:E6247FCC71C3687C00507423BDEB9D41AF5E86DF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
pihole: | |
container_name: pihole | |
domainname: docker | |
hostname: pihole | |
image: pihole/pihole:beta-v5.0 | |
dns: | |
- 127.0.0.1 | |
- 1.1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z $1 ]]; then | |
echo "Usage: git nuketag tag" | |
exit 1 | |
fi | |
tag="$1" | |
count=$(git tag | grep -c "$tag") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Make sure our remote branch list is up to date | |
git remote update origin --prune | |
if [[ $# = 1 && $1 == '-n' ]]; then | |
git branch -vv | grep ' gone]' | |
else | |
git branch -vv | grep ' gone]' | egrep -v '^\*' | cut -f 3 -d ' ' | xargs git branch -D | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import requests | |
import appex | |
import console | |
import dialogs | |
def main(): | |
linkdump_url = 'http://linkdump.example.com' | |
if not appex.is_running_extension(): | |
print('This script is intended to be run from the sharing extension.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe 'object under test' do | |
describe 'method under test' do | |
it "should do the thing, but not wait so long" do | |
# Who doesn't like monkey patching to make tests go fast? | |
module Kernel | |
alias_method :old_sleep, :sleep | |
def sleep seconds | |
old_sleep 1 | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am derekgottlieb on github. | |
* I am derekgottlieb (https://keybase.io/derekgottlieb) on keybase. | |
* I have a public key whose fingerprint is E624 7FCC 71C3 687C 0050 7423 BDEB 9D41 AF5E 86DF | |
To claim this, I am signing this object: |