title: "试用为中国大陆用户打造的 Flathub 镜像" date: 2020/5/12 tags:
- tech
- translation
{% note %}
本文译自 此处,以 CC BY-SA 4.0 协议发布。
| pkgname=vscode-ssh-askpass-kde | |
| pkgver=0.1.0 | |
| pkgrel=0 | |
| pkgdesc="Fix VSCode SSH push process for KDE" | |
| arch=('any') | |
| url="https://github.com/microsoft/vscode/issues/57488#issuecomment-636184685" | |
| license=('MIT') | |
| depends=('ksshaskpass') | |
| optdepends=('code: open source build of VSC' | |
| 'visual-studio-code-bin: official version of VSC' |
| addEventListener("fetch", (event) => { | |
| event.respondWith(handleRequest(event.request)); | |
| }); | |
| const BOT_KEY = "BOT_KEY"; | |
| const ALLOW_USER_WITH_USERNAME = true; | |
| const PRESERVE_TEXT = false; | |
| const BAYES_THERESHOLD = 0.75; |
| #!/usr/bin/env python | |
| from collections import defaultdict | |
| from subprocess import check_output, run, PIPE | |
| from os import system | |
| SUPPORTED_VPN = ["wireguard"] | |
| SUPPORTED_ROUTE = ["bird2"] | |
| data = defaultdict(str) | |
| def vpn_route_common(): |
title: "试用为中国大陆用户打造的 Flathub 镜像" date: 2020/5/12 tags:
{% note %}
本文译自 此处,以 CC BY-SA 4.0 协议发布。
| export interface Alias { | |
| name: string, | |
| aliases: string[]; | |
| } | |
| export interface Results { | |
| [key: number]: string; | |
| } | |
| export interface categorizeOptions { |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA512 | |
| * NOTICE * | |
| I can't remember if I've ever kept my former GPG private key to Keybase. | |
| Due to the fact that Keybase was acquired by Zoom [1], we are changing our main | |
| key from: | |
| 0x 254E B0C5 F08C 4EF4 73F1 9448 E14A 40B7 0A93 0B8B |
| # pip install mp3_tagger before | |
| from mp3_tagger import MP3File, VERSION_2 | |
| from os import listdir | |
| from os.path import isfile, join | |
| import re | |
| import json | |
| PATH = "/tmp/songs" |
| /* | |
| Add this to ~/.config/Typora/themes/github.css (or the name of your theme | |
| The background image should be put in the theme directory | |
| */ | |
| content::after { | |
| content: ''; | |
| background-image: url(./github/image.png); /* relate path is required */ | |
| height: 250px; /* set by yourself */ | |
| width: 200px; /* set by yourself */ |
| [Trigger] | |
| Type = Package | |
| Operation = Install | |
| Operation = Upgrade | |
| Target = code | |
| [Trigger] | |
| Type = File | |
| Operation = Install | |
| Operation = Upgrade |