View scriptreplay_fix.sh
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
function scriptreplay () { | |
# Start a subshell to remove the trap in every case and to prevent the exit command from ending the parent shell | |
( | |
function _restore () { | |
# Reset terminal without losing scrollback | |
reset -I | |
# Exit subshell | |
exit | |
} |
View .gitignore
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
out/ | |
.idea/ | |
*.iml |
View gist:03b73f719ee5afe6bc8290b466c242ab
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
alias certbot_cert='certbot certonly --webroot --rsa-key-size 4096 -w /var/www/html' |
View ssl.conf
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
# Einige Optionen nach Bettercrypto | |
ssl_prefer_server_ciphers on; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; | |
add_header Strict-Transport-Security max-age=15768000; | |
ssl_session_timeout 30m; | |
#ssl_dhparam /etc/ssl/nginx/dhparams.pem; |
View proxy_ssl_only
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
server { | |
listen 149.202.86.117:80; | |
listen [2001:41d0:1004:75::]:80; | |
server_name <subdomain>.project-creative.de *.<subdomain>.project-creative.de; | |
root /var/www/html; | |
location /.well-known { | |
# Just to prevent the redirect |
View gist:701018096ff8c86258c4d5772443bf5f
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
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
DROP tcp -- !149.20.86.177 0.0.0.0/0 tcp dpts:20000:20199 | |
f2b-sshd-month tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 22 | |
f2b-sshd-week tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 22 | |
f2b-sshd tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 22 | |
DROP tcp -- !149.20.86.177 0.0.0.0/0 tcp dpts:20000:20199 | |
ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0 | |
ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0 | |
ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0 |
View crash-2018-04-20_20.50.21-server.txt
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
---- Minecraft Crash Report ---- | |
WARNING: coremods are present: | |
OpenEyePlugin (OpenEye-1.12.1-0.8.jar) | |
SpongeCoremod (spongeforge-1.12.2-2655-7.1.0-BETA-3025.jar) | |
Contact their authors BEFORE contacting forge | |
// I'm sorry, Dave. | |
Time: 4/20/18 8:50 PM |
View error.txt
This file has been truncated, but you can view the full file.
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
./gradlew : Patching failed: minecraft\net\minecraft\command\EntitySelector.java | |
In Zeile:1 Zeichen:1 | |
+ ./gradlew cleanCache clean setupDecompWorkspace eclipse --refresh-dep ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (Patching failed...tySelector.java:String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError | |
Hunk 1 failed! Cannot find hunk target | |
View Makefile
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 SETTINGS #### | |
# Must be either executable, dynamic_library or static_library | |
# Defaults to executable if a wrong value is used! | |
BIN_TYPE = executable | |
# The name of the executable to be created | |
# The extension gets appended automatically based on the type | |
BIN_NAME := prog | |
# The name of the documentation file | |
DOC_NAME := PROG-doc | |
# Compiler used |
View update.sh
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 | |
# Force bash | |
if [ -z "$BASH" ] || [ ! "_$BASH" = "_/bin/bash" ];then bash $0 "$@";exit;fi | |
GET_CURRENT_ROW() | |
{ | |
exec < /dev/tty | |
oldstty=$(stty -g) | |
stty raw -echo min 0 |
NewerOlder