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
<# | |
.SYNOPSIS | |
Used to clean branches in git repo. | |
.DESCRIPTION | |
Script to clean branches without upstream in git repo. Uses git commands to work with repo. | |
.PARAMETER dryRun | |
Prevent script from doing any real actions. |
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"plugin:promise/recommended", | |
"plugin:sonarjs/recommended", |
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 [ $# -eq 0 ]; then | |
echo "Script that generates keys for domain." | |
fi | |
if [ $# -lt 1 -o $# -gt 2 ]; then | |
echo "Illegan number of arguments!" | |
echo "Usage:" | |
echo " $0 <domain> [mode]" | |
echo "Where:" | |
echo " domain - domain name." |
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/sh | |
LDNS_SIGNZONE="ldns-signzone" | |
errx() { | |
echo "$1" >&2 | |
exit 1 | |
} | |
parse_opts() { |