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
<project> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.3</version> | |
<configuration> | |
<source>1.8</source> |
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 | |
# author: Timo Stankowitz <timo.stankowitz@gmail.com> | |
# create date: 2016-07-10 | |
# last change: 2016-07-10 | |
# with this script you can change the led color of your ubiquiti unifi AP | |
# usage: ./script.sh colorValue | |
# e.g.: ./script.sh 2 |
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 | |
# author: Timo Stankowitz <timo.stankowitz@gmail.com> | |
# create date: 2016-08-15 | |
# last change: 2017-11- | |
# Dieses Script konfiguriert Postfix so, dass mailgun (oder andere) als e-mail relay konfiguriert wird | |
# somit werden e-mails über mailgun, und nicht direkt von Postfix gesendet. | |
# Dies hat den Vorteil, dass die e-mails nicht im Spam Ordern, oder überhaupt nicht beim client landen. | |
postfixMainConfig="/etc/postfix/main.cf" |
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
docker run -u 1000 --rm -v $(pwd):/app composer/composer install |
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
# please save as .ovpn file | |
# Specify that we are a client and that we | |
# will be pulling certain config file directives | |
# from the server. | |
client | |
# keyname | |
ca ca.crt | |
cert user.crt |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="css/style.css"> | |
</head> | |
<body> |
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
[Unit] | |
Description=Firewall | |
[Service] | |
Type=oneshot | |
ExecStart=/root/firewall.sh start | |
ExecStop=/root/firewall.sh stop | |
RemainAfterExit=yes | |
[Install] |
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 | |
# create date: 2016-11-24 | |
# last change: 2016-11-24 | |
# author: Timo Stankowitz <timo.stankowitz@gmail.com> | |
# purpose: Firewall | |
ipt=/sbin/iptables | |
ipt6=/sbin/ip6tables | |
ext=eth0 |
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 | |
echo 1 > /proc/sys/net/ipv4/ip_forward | |
iptables -t nat -A POSTROUTING -j SNAT --to-source 207.154.207.69 -o eth0 | |
exit 0 |
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
# This file holds shared secrets or RSA private keys for authentication. | |
# das der private key von dem Server | |
# gespeichert in /etc/ipsec.d/private/serverKey.der | |
: RSA serverKey.der | |
# die clients koennen sich mit Benutzername + Passwort anmelden | |
lisa : EAP "j8j3hk-olkwH23z" | |
bob : EAP "a9kjhg2pM21-feqK" |
OlderNewer