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
# Creates a "dummy" network interface | |
# we'll configure this interface with a link-local address | |
# See: https://www.freedesktop.org/software/systemd/man/systemd.netdev.html | |
## | |
[NetDev] | |
Name=dummy0 | |
Kind=dummy |
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 | |
# This script add letsencrypt certs to $JAVA_HOME/jre/lib/security/cacerts | |
# see https://community.letsencrypt.org/t/will-the-cross-root-cover-trust-by-the-default-list-in-the-jdk-jre/134/22 | |
JAVA_HOME=${1-text} | |
[ $# -eq 0 ] && { echo "Usage: sudo $0 \$JAVA_HOME" ; exit 1; } | |
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts | |
alias keytool=$JAVA_HOME/bin/keytool |
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
# Add this to your nginx.conf under http { } | |
server { | |
listen 843; | |
server_name localhost; | |
location / { | |
rewrite ^(.*)$ /crossdomain.xml; | |
} |
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
var fs = require('fs'); | |
var http = require('http'); | |
var ProgressBar = require('progress'); | |
var Handlebars = require('handlebars'); | |
var lineSep = '\r\n'; | |
var typeSep = /\|+|\/|\sor\s|\:/g; | |
var invalidNameRegEx = /\.|\:|\-|\[|\]|\(\)/g; | |
var typeCleanupRegex = /\{|\}.*/g; | |
var indentation = ' '; |