This is a note for building the anbox Android image on my Arch Linux laptop.
This closely follows the official guide.
| // ==UserScript== | |
| // @name U2 Show Peer location | |
| // @namespace https://u2.dmhy.org | |
| // @version 1.2.1 | |
| // @description Show Peer location | |
| // @author Husky | |
| // @match https://u2.dmhy.org/details.php?id=* | |
| // @match https://u2.dmhy.org/userdetails.php?id=* | |
| // @grant none | |
| // @require https://unpkg.com/xhook@latest/dist/xhook.min.js |
This is a note for building the anbox Android image on my Arch Linux laptop.
This closely follows the official guide.
| # -*- encoding: utf-8 -*- | |
| # Author: Epix | |
| # | |
| # Ban Xunlei IP for deluge | |
| # This script will check deluge connected peers per 30 seconds. | |
| # When an IP with UA in `BAN_PATTERNS` is found, the IP will be added to `BLOCK_LIST_FILE`. | |
| # However if the IP is uploading or reporting 100% progress, it will say "WTF?" | |
| import logging |
| #!/usr/bin/python3 | |
| import asyncio | |
| import time | |
| import socket | |
| import argparse | |
| import aiohttp | |
| class MyConnector(aiohttp.TCPConnector): |
Before starting, make sure you have a backup, and make sure to have a linux live boot ready to rescue your system. It's easy to mess this up!
gdisk /dev/sda
nto create a new partition. Needs to be about 1MB. You can probably squeeze this in from sectors 34-2047. UseLorlto look up the code for "BIOS boot" (ef02).
w
partprobe /dev/sda| #!/bin/sh | |
| ENABLED=yes | |
| PROCS=v2ray | |
| ARGS="-config /opt/etc/v2ray/config.pb -format=pb" | |
| PREARGS="" | |
| DESC=$PROCS | |
| PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| SRC_BYPASS_IP_FILE=/opt/etc/v2ray/src_bypass_ip.txt |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
| // ==UserScript== | |
| // @name U2 大量派發紅包腳本 | |
| // @version 0.0.5 | |
| // | |
| // @description 在 U2 大量派發紅包的好工具 | |
| // @author a0000778 | |
| // | |
| // @downloadURL https://share.a0000778.name/userscript/U2/gift.user.js | |
| // @updateURL https://share.a0000778.name/userscript/U2/gift.meta.js | |
| // |
| # -*- coding:utf-8 -*- | |
| # !/usr/bin/env python3 | |
| ''' | |
| Author: ayasakinagi | |
| Email: xyz.wang@outlook.com | |
| 环境: Python3 | |
| 依赖: deluge_client | |
| 使用: 修改host, port, username, password, limitSize, dataPath变量 |