$ cat ~/.bin/docker-undangle
#!/bin/bash
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
This file contains hidden or 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 | |
CONFIG_DIR="$HOME/.config/blocklists" | |
HOSTS_FILE="/etc/hosts" | |
DEFAULT_IP="0.0.0.0" | |
ACTION="block" | |
LIST_NAME="" | |
DRYRUN=false | |
CHANGED_DOMAINS=() |
This file contains hidden or 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
#!/usr/bin/env python | |
import math | |
import os | |
import sys | |
from io import BytesIO, IOBase | |
def peter_prime(n): | |
sum_so_far = 0 |
This file contains hidden or 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
scoop install sudo | |
scoop install aria2 | |
scoop bucket add extras | |
scoop bucket add nerd-fonts | |
scoop bucket add nonportable | |
scoop install 7zip | |
scoop install audacity | |
scoop install authy | |
scoop install brave |
This file contains hidden or 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
scoop install sudo | |
scoop install aria2 | |
scoop bucket add extras | |
scoop bucket add nerd-fonts | |
scoop bucket add nonportable | |
scoop install 7zip | |
scoop install audacity | |
scoop install authy | |
scoop install brave |
This file contains hidden or 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
""" | |
export PYTHONSTARTUP=~/.startup.py | |
""" | |
print("(.startup.py)") | |
import collections, datetime, itertools, math, os, pprint, re, sys, time | |
print("(imported collections, datetime, itertools, math, os, pprint, re, sys, time)") | |
pp = pprint.pprint |
This file contains hidden or 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 | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/.local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# Script has been modified from @ryin gist https://gist.github.com/ryin/3106801 | |
# exit on error | |
set -e |
I hereby claim:
- I am mattjdavidson on github.
- I am mattjdavidson (https://keybase.io/mattjdavidson) on keybase.
- I have a public key ASBILq5muxyvWSMLRD8FKw_8pGp17vhD1FX-a5OJAccaIAo
To claim this, I am signing this object: