This file contains 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
#!/usr/bin/env fish | |
set liveId 3 | |
set roomId (wget -O- http://live.bilibili.com/$liveId | grep ROOMID | grep -oE "[0-9]+") | |
wget -O- "http://live.bilibili.com/api/playurl?player=1&cid=$roomId&quality=0" | grep -oE "http[\:\/0-9A-Za-z_\.=\?&\-]+" |
This file contains 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
dilidili.wang##.overflow-box | |
||dilidili.wang/newimages/h5game.png | |
dilidili.wang##.right_top_ad | |
dilidili.wang###carousel | |
dilidili.wang##.ad-middle | |
dilidili.wang#header |
This file contains 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
#!/usr/bin/env fish | |
find . | grep "\.h\$" | sed -r 's/(.*\/)(.*\.h$)/-I\1/g' | sort | uniq | tee ./.clang_complete | |
This file contains 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
#!/usr/bin/env fish | |
# author: feilongfl | |
# 部分代码参考自: | |
# https://blessing.studio/use-ffmpeg-to-concat-flv-videos-downloaded-by-bilibili-client/ | |
function merge | |
#cat $argv/index.json | jq . | |
pushd $argv | |
pwd |
This file contains 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
name=PX4 | |
mixermode=Advanced | |
type=multi | |
[radio] | |
protocol=DEVO | |
num_channels=8 | |
fixed_id=79711 | |
tx_power=30mW | |
[protocol_opts] |
This file contains 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
// ==UserScript== | |
// @name jwgl | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://jwgl.cauc.edu.cn/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
#!/bin/sh | |
for p in $(pm list packages -d | sed -r 's/package\://') | |
do | |
echo Enable: $p | |
pm enable $p | |
done |
This file contains 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
#!/usr/bin/env fish | |
function livebilibili | |
echo play => $argv | |
set cid (wget -qO- "http://api.live.bilibili.com/room/v1/Room/room_init?id="$argv | jq ".data.room_id") | |
set liveUrl (wget -qO- "https://api.live.bilibili.com/room/v1/Room/playUrl?cid="$cid"&quality=0&platform=web" | jq ".data.durl[].url" | head -n 1 | tr -d '"') | |
curl -L --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" $liveUrl --output - | mplayer - | |
end | |
livebilibili 3 |
This file contains 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
udp://tracker.coppersurfer.tk:6969/announce | |
udp://tracker.open-internet.nl:6969/announce | |
udp://tracker.skyts.net:6969/announce | |
udp://tracker.piratepublic.com:1337/announce | |
udp://tracker.opentrackr.org:1337/announce |
This file contains 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
##KUSTOMCLIP## | |
{ | |
"clip_version": 1, | |
"clip_cut": [], | |
"clip_modules": [ | |
{ | |
"internal_type": "OverlapLayerModule", | |
"internal_title": "Widget", | |
"position_offset_y": 20.0, | |
"config_location": "PRIMARY", |
OlderNewer