- Backup your hidden
.envfile containing the decryption APP_KEY from/var/www/pterodactyl
- Export the database, in this case ours is named panel
| ─────────────────────────────────────────────────────────────────────────────── | |
| Language Files Lines Blanks Comments Code Complexity | |
| ─────────────────────────────────────────────────────────────────────────────── | |
| C 352 288903 35009 41638 212256 45085 | |
| XML 281 93275 13604 5176 74495 0 | |
| HTML 262 4608 926 8 3674 0 | |
| Forth 244 93006 13524 0 79482 656 | |
| C Header 197 38049 4830 19153 14066 285 | |
| Autoconf 80 6398 778 1832 3788 500 | |
| m4 56 3842 416 89 3337 0 |
| get-wmiobject -namespace “root\virtualization” -Query “select * from Msvm_ConcreteJob” | Where {$_.ElementName -eq ‘Merge in Progress’} |
| git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all | |
| git pull --all |
How to run everything on a single Debian install
This guide was compiled from the notes and logs of two re-installs
I made on Debian 8 (Jessie) servers running Owncloud on Apache.
I have basically removed and reinstalled everything except the database
contents and the users files, while also migrating from owncloud to nextcloud.
| [Unit] | |
| Description=Goaccess Web log report. | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=root | |
| Group=root | |
| Restart=always | |
| ExecStart=/usr/local/bin/goaccess -a -g -f /var/log/nginx/access.log -o /srv/www/goaccess/index.html --real-time-html --ws-url <your url> |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # 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 3 of the License, or | |
| # (at your option) any later version. | |
| import argparse, dbus, sys | |
| bus = dbus.SessionBus() | |
| klipper = bus.get_object('org.kde.klipper', '/klipper') |
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |