# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
Please install a package which provides this module, or
verify that the module is installed correctly.
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 groovy | |
import java.util.concurrent.Executors | |
import java.util.concurrent.TimeUnit | |
def OPTIONS = [ | |
UID : 276904, // B站UID | |
ROOMID : 131985, // 直播间的房间编号,不是地址编号 | |
OUTPUTDIR : "/home/live", // 录制文件输出目录,/D:\ffmpeg\bin/ | |
FFMPEG : "/usr/bin/ffmpeg", // ffmpeg可执行程序位置,/D:\ffmpeg\bin\ffmpeg.exe/ | |
CHECK_INTERVAL: 60, // 直播检测线程的间隔,单位:秒 |
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
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
-
User timeline:
https://m.weibo.cn/container/getIndex?type=uid&value={uid}&containerid=107603{uid}&page={pagenum}
e.g. https://m.weibo.cn/container/getIndex?type=uid&value=3053424305&containerid=1076033053424305&page=1 -
Status details:
https://m.weibo.cn/statuses/show?id={status_mid}
e.g. https://m.weibo.cn/statuses/show?id=4154099588849643 -
Status comments:
https://m.weibo.cn/api/comments/show?id={status_mid}&page={pagenum}
e.g. https://m.weibo.cn/api/comments/show?id=4154099588849643&page=1 -
Status reposts:
https://m.weibo.cn/api/statuses/repostTimeline?id={status_mid}&page={pagenum}
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
/* | |
// JSON export of TOTP keys from Authy | |
// based on the scripts and comments at <https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d958c93> | |
// Last tested: 2019-03-19 | |
// ----------------------------------------------------------- | |
// Tested on: | |
// - Chrome version 72.0.3626.121 (Official Build) (64-bit) | |
// - Authy version 2.6.0 | |
// ----------------------------------------------------------- | |
// Directions: |
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
{ | |
"log": { | |
"loglevel": "error" | |
}, | |
"inbounds": [ | |
{ | |
"tag": "laVPSSocksIn", | |
"protocol": "socks", | |
"listen": "0.0.0.0", | |
"port": 1080, |
sudo vim /private/var/db/launchd.db/com.apple.launchd/overrides.plist
Add the following code,as entries like:
<key>com.macpaw.CleanMyMac-setapp.HealthMonitor</key>
<dict>
<key>Disabled</key>
<true/>
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
echo "-----------------------" | |
echo "微信清理脚本 V1.0 beta3" | |
echo "需要root" | |
echo "-----------------------" | |
echo "" | |
echo "-开始处理-" | |
echo "日志文件" | |
am force-stop com.tencent.mm | |
sleep 1 | |
rm -rf /storage/emulated/[0-9]*/Android/data/com.tencent.mm/files/onelog/ |