Skip to content

Instantly share code, notes, and snippets.

View docker-and-s6-my-new-favorite-process-supervisor.md
@tingv
tingv / hosts
Created Apr 10, 2020 — forked from alswl/hosts
(deprecated, I bought xiaomi VIP)hosts for OpenWRT, for disable AD in xiaomi TV
View hosts
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 test.ad.xiaomi.com
127.0.0.1 new.api.ad.xiaomi.com
@tingv
tingv / MWeb.php
Created Jun 3, 2019
MWeb 本地图片上传到 Github 服务
View MWeb.php
<?php
/**
* MWeb 本地图片上传到 Github 服务
* User: TingV
* Date: 2019-05-31
* Time: 06:10
*/
$token = $_SERVER['HTTP_TOKEN']; // 个人访问令牌 [ 必须 ] 获取地址: https://github.com/settings/tokens
$owner = $_SERVER['HTTP_OWNER']; // Github 用户名 [ 必须 ]