wget https://gist.githubusercontent.com/tokisakiyuu/99b7966b2201a7246c5905f67cc7ae81/raw/a9c92c8d5b4c6f1999d4b77fbf28c6b1f2a6c74b/v2ray.sh -O v2ray.sh && sudo bash v2ray.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Bdownloader — bilibili video downloader bookmarklet | |
| * | |
| * Usage: run on a www.bilibili.com/video/BVxxxx page. | |
| * | |
| * Form: 清晰度 (mirrors the player's quality menu) + 输出格式 + one download button. | |
| * - quality entries the current account can't fetch are shown disabled with a | |
| * 大会员/需登录 tag; codec is auto-picked per quality (HEVC > AVC > AV1) | |
| * - audio is not user-selectable: the best available stream is taken as-is | |
| * (Hi-Res > Dolby Atmos > highest AAC), never bitrate-transcoded unless the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "prettier": { | |
| "useTabs": false, | |
| "semi": false, | |
| "singleQuote": true, | |
| "jsxSingleQuote": false, | |
| "quoteProps": "as-needed", | |
| "bracketSpacing": true, | |
| "arrowParens": "avoid", | |
| "trailingComma": "all", |
The usage syntax for the script is given by the following:
bash download-frozen-image-v2.sh ubuntu ubuntu:latest
The image can then be imported with tar and docker load:
tar -cC 'target_dir' . | docker load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.7' | |
| services: | |
| mongodb_container: | |
| # This image automatically creates a replica set required for transactions | |
| image: prismagraphql/mongo-single-replica:4.4.3-bionic | |
| # image: prismagraphql/mongo-single-replica:5.0.3 | |
| environment: | |
| MONGO_INITDB_ROOT_USERNAME: root | |
| MONGO_INITDB_ROOT_PASSWORD: prisma | |
| INIT_WAIT_SEC: 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { FC, useEffect, useState } from 'react' | |
| import { Stage, Layer, Circle, Arrow } from 'react-konva' | |
| import Konva from 'konva' | |
| import { useWindowSize } from 'react-use' | |
| // https://konvajs.org/api/Konva.html | |
| // https://github.com/konvajs/react-konva | |
| interface Props { | |
| debug?: boolean |
NewerOlder
