Populates files to the backup client host:
/etc/systemd/system/proxmox-backup-client@.service
/etc/systemd/system/proxmox-backup-client@.timer
/etc/systemd/system/proxmox-backup-client.env
| .editor-group-watermark > .letterpress{ | |
| background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode.png") !important; | |
| opacity: .75; | |
| } |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Runtime.CompilerServices; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| using UnityEngine.Bindings; | |
| using UnityEngine.Internal; | |
| using UnityEngine.SceneManagement; |
| const start = 58600 | |
| const end = 58700 | |
| for (let i = start; i < end; i++) { | |
| if (i % 100 === 0) { | |
| console.log(`fetch block [${i}, ${i + 99}]`) | |
| } | |
| const blockHash = await api.rpc.chain.getBlockHash(i) | |
| try { |
| print('Knot Resolver ' .. package_version()) | |
| modules = { | |
| 'bogus_log', | |
| 'hints', | |
| 'predict', | |
| 'prefill', | |
| 'workarounds < iterate', | |
| } |
| import { either, isLeft, isRight } from 'fp-ts/lib/Either' | |
| import * as it from 'io-ts' | |
| import { Int, Type, TypeOf } from 'io-ts' | |
| import { PathReporter } from 'io-ts/lib/PathReporter' | |
| // custom type: integer string | |
| const IntegerString = new Type<number, string, unknown>( | |
| 'IntegerString', | |
| Int.is, |
| #include <condition_variable> | |
| #include <cstdio> | |
| #include <mutex> | |
| #include <queue> | |
| #include <thread> | |
| extern "C" | |
| { | |
| #include <libavcodec/avcodec.h> | |
| #include <libavformat/avformat.h> |
| using System.Diagnostics; | |
| var timeout = new CancellationTokenSource(TimeSpan.FromSeconds(1)); | |
| var observer = new CancellationTokenSource(); | |
| var linked = CancellationTokenSource.CreateLinkedTokenSource(timeout.Token, observer.Token); | |
| await Task.Run(async () => { | |
| try | |
| { |
| const path = require('path') | |
| const { CleanWebpackPlugin: CleanPlugin } = require('clean-webpack-plugin') | |
| const HtmlPlugin = require('html-webpack-plugin') | |
| const MiniCssExtractPlugin = require('mini-css-extract-plugin') | |
| module.exports = (env, argv) => { | |
| const isProduction = argv.mode === 'production' | |
| return { |
There're some Docker-ized configuration files to setup a weird proxy.
Since V2Ray doesn't support specifiy outbound address yet,
placing a Shadowsocks instance with -b option behind the V2Ray server is less complex than policy routing in the kernel.
The whole proxy chain for this VMess over WebSocket:
Reverse Proxy (NGINX, etc.) -> V2Ray (WebSocket -> VMess) -> Shadowsocks