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 | |
function humanReadable { | |
if [ $1 -lt 1024 ] | |
then | |
printf "%4i B\n" $1 | |
else | |
postfixes=(KiB MiB GiB TiB EiB PiB YiB ZiB) | |
bytes=$1 |
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 that transparent background texture used by many image editing programs like gimp or PhotoShop */ | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABlBMVEW/v7////+Zw/90AAAAE0lEQVR4AWOAAUYoGCCBAbcfCgBFEACB1bzUwAAAAABJRU5ErkJggg==); |
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
<!-- Polr, a minimalist URL shortening platform. Copyright (C) 2013-2016 Chaoyi Zha This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> <!DOCTYPE html> <html> <head> <title>CBN Link Shortener by Polr</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="BbbAL2SY4ULmADZs |
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 |
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 |
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 | |
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 |
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 |
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 |
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; |
OlderNewer