I hereby claim:
- I am ser on github.
- I am ser (https://keybase.io/ser) on keybase.
- I have a public key ASBoQCFtrD0Pz30sGM_AkHGX7qSo1fZSKjV-W8VjAPRzAQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| !/usr/bin/env python3 | |
| import argparse | |
| import re | |
| import subprocess | |
| import sys | |
| #import time | |
| from rich import print | |
| from rich.progress import Progress | |
| from rich.prompt import Confirm |
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#7CC26A", | |
| "foreground": "#FFFFFF", | |
| "leading_diamond": "\u256d\u2500\ue0b6", |
| #!/usr/bin/env python3 | |
| # (C) Serge Victor 2020, LGPL3 license, https://www.gnu.org/licenses/lgpl-3.0.en.html | |
| # ADD | |
| # LD_PRELOAD=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so | |
| # to /etc/default/collectd | |
| # RUN | |
| # pip3 install pylxd |
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from http.server import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
| @blueprint.route('/admin/pair', methods=['GET', 'POST']) | |
| @roles_accepted('admin') | |
| def btcpaypair(): | |
| """Payment processor pairing.""" | |
| btcpaypem_location = current_app.config.get('APP_DIR')+'/data/btcpayserver.key' | |
| btcpaytoken_location = current_app.config.get('APP_DIR')+'/data/btcpayserver.token' | |
| # Recognise if pairing is done and valid | |
| try: | |
| btcpayuri = current_app.config.get('BTCPAY_URI') | |
| btcpaycode = current_app.config.get('BTCPAY_CODE') |
| <?php | |
| /** | |
| * | |
| * This file is not a part of the phpBB Forum Software package. | |
| * Please be sure what you are doing. | |
| * | |
| * This code is based on code written by Matthias Kesler | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * https://github.com/krombel/matrix-register-bot/ |
| !/bin/bash | |
| # vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 | |
| # | |
| #set -x | |
| # Create LXD container | |
| # | |
| if [ $# -eq 0 ] | |
| then | |
| echo "dolxd \$NAME \$IP \$GW" | |
| echo "dolxd kupa 10.33.1.1 10.33.0.1" |