Create a file in /game called options.rpy with the following content
init -1:
python hide:
config.developer = True
In /Renpy/Common/00console.rpy
Set config.console variable to True (use capital T)
# Install certbot | |
apt update && apt install software-properties-common && add-apt-repository universe && add-apt-repository ppa:certbot/certbot -y && apt update && apt upgrade -y && apt install -y certbot python-certbot-nginx | |
# Request cert | |
certbot --nginx | |
# Request cert via DNS | |
# Set up ~/.aws/config first | |
certbot -a dns-route53 -i nginx -d "oa-prod.pfdev.de" -d "secure.kautionsfrei.de" -d "secure.kautionsfuchs.de" --server https://acme-v02.api.letsencrypt.org/directory |
<?php | |
/** | |
* Inherited Methods | |
* @method void wantToTest($text) | |
* @method void wantTo($text) | |
* @method void execute($callable) | |
* @method void expectTo($prediction) | |
* @method void expect($prediction) |
#!/usr/bin/php | |
<?php | |
/** | |
* Reads a powerDNS mysql database and generates commands to load the data into route53 via cli53 | |
* User: mrunkel | |
* Date: 3/25/14 | |
* Time: 2:50 PM | |
*/ | |
$shortOptions = "u::"; //optional mysql username |
server { | |
listen *:80; | |
server_name <SERVERNAME HERE>; | |
root /var/www/frontend-core/current; | |
index index.html index.htm index.php; | |
access_log /var/log/nginx/redirect-<SERVERNAME HERE>-access.log combined; | |
error_log /var/log/nginx/redirect-<SERVERNAME HERE>-error.log error; | |
rewrite ^ https://$server_name$request_uri? permanent; |
server { | |
listen *:443 ssl http2 default_server; | |
server_name <SERVERNAME HERE>; | |
ssl on; | |
# see https://letsencrypt.org/ for an SSL cert | |
ssl_certificate /etc/letsencrypt/certs/<SERVERNAME HERE>_fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/private/<SERVERNAME HERE>.key; |
<html lang="en-US" prefix="og: http://ogp.me/ns#"> | |
<head> | |
<script type="text/javascript" | |
src="https://bam.nr-data.net/1/122dc12de0?a=17724322,86577151&v=1071.385e752&to=YQFSN0RZDxZUUEBaClhLcQBCUQ4LGkNVVAA%3D&rst=1161&ref=https://www.westernjournal.com/consent/&ap=207&be=141&fe=1148&dc=402&af=err,xhr,stn,ins&perf=%7B%22timing%22:%7B%22of%22:1531994499391,%22n%22:0,%22u%22:82,%22r%22:7,%22ue%22:85,%22re%22:39,%22f%22:39,%22dn%22:39,%22dne%22:39,%22c%22:39,%22ce%22:39,%22rq%22:41,%22rp%22:72,%22rpe%22:86,%22dl%22:101,%22di%22:401,%22ds%22:402,%22de%22:402,%22dc%22:1148,%22l%22:1148,%22le%22:1158%7D,%22navigation%22:%7B%22rc%22:1%7D%7D&at=TUZRQQxDHBg%3D&jsonp=NREUM.setToken"></script> | |
<script src="https://js-agent.newrelic.com/nr-1071.min.js"></script> | |
<script type="text/javascript" id="www-widgetapi-script" | |
src="https://s.ytimg.com/yts/jsbin/www-widgetapi-vflLq-1W7/www-widgetapi.js" async=""></script> | |
<script src="https://sec |
Create a file in /game called options.rpy with the following content
init -1:
python hide:
config.developer = True
In /Renpy/Common/00console.rpy
Set config.console variable to True (use capital T)
# READ (AND UNDERSTAND) THIS BEFORE MODIFYING THE location settings | |
# location optional_modifier location_match { | |
# .... | |
# } | |
# | |
# The location_match in the above defines what Nginx should check the request URI against. The existence or | |
# nonexistence of the optional_modifier in the above example affects the way that the Nginx attempts to match the | |
# location block. The modifiers below will cause the associated location block to be interpreted as follows: | |
# |
# don't do this except in cases of last resort! | |
echo 1 > /proc/sys/kernel/sysrq | |
echo b > /proc/sysrq-trigger |