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 bash | |
# | |
# bhole.sh - creates a black hole of hosts, based on the work of pi-hole, <https://pi-hole.net>. | |
# | |
# Licensed under Apache License v2. | |
# | |
# (C) Copyright 2016 - JaWi - [email protected] | |
# | |
# Usage: change WORK_DIR and DEST_FILE variables to your liking and run the script. If you want, you can create and | |
# change the WHITELIST_FILE as well to whitelist certain hosts. |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>JSON web token decoder</title> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<meta http-equiv="content-language" content="en-us" /> | |
<meta http-equiv="cache-control" content="no-cache" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
<meta name="description" content="JWT decoder" /> | |
<meta name="author" content="J.W. Janssen" /> |
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/sh | |
# | |
# wm5102cfg.sh - unified script for configuring WM5102 playback. | |
# based on scripts in <https://github.com/CirrusLogic/wiki-content/blob/master/scripts/*.sh> | |
# | |
# (C) 2015 - J.W. Janssen <[email protected]> | |
# Licensed under Apache License v2. | |
AMIXER="/usr/bin/amixer" | |
AMIXER_ARGS="-Dhw:sndrpiwsp" |
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 | |
# | |
# Usage: ./docker-build.sh </dir/to/dockerfile> <remote-registry-prefix> | |
# | |
# Example: ./docker-build.sh node-agent-service 10.0.1.16:5000/inaetics | |
# | |
# needs docker command (v1.3 or later) in order to work. | |
# | |
# (C) 2015 - jawi - licensed under Apache Public License v2. |
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/sh | |
# | |
# Usage: ./purge_etcd_discovery.sh <TOKEN> | |
# | |
# needs both `curl` and `jshon` (http://kmkeen.com/jshon/) in order to work. | |
# | |
# (C) 2014 - jawi - licensed under Apache Public License v2. | |
# check whether our preconditions are met... | |
curl --version 1>/dev/null 2>&1 || { echo "No curl binary found?!"; exit 1; } |