Skip to content

Instantly share code, notes, and snippets.

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/
@rlam3
rlam3 / disable-cleanmymac.md
Created August 21, 2019 01:26
Mac disables "Setapp CleanMyMac-setapp.HealthMonitor" launchd services

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/>
@lbp0200
lbp0200 / config.client.json
Last active January 16, 2023 16:18
免费分享我搭建的v2ray
{
"log": {
"loglevel": "error"
},
"inbounds": [
{
"tag": "laVPSSocksIn",
"protocol": "socks",
"listen": "0.0.0.0",
"port": 1080,
@rossja
rossja / authy-export.js
Created March 19, 2019 15:17
JSON export of TOTP keys from Authy
/*
// 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:
@momo0v0
momo0v0 / _m.weibo.cn.md
Last active March 22, 2023 17:51
m.weibo.cn API
@ifduyue
ifduyue / -.md
Last active August 19, 2023 00:17
Resolve pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
# 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.
@wavezhang
wavezhang / java_download.sh
Last active April 29, 2024 14:42
download java from oracle without login
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
@sunny00123
sunny00123 / liverecord.groovy
Last active October 29, 2019 16:07
recording of bilibili live streams
#!/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, // 直播检测线程的间隔,单位:秒
@huqi
huqi / trial.key
Created April 11, 2015 09:01
Beyond Compare 4 license for Mac
Beyond Compare 4
Licensed to: ASIO Allsoftinone
Quantity: 1 user
Serial number: 1822-9597
License type: Pro Edition for Windows
--- BEGIN LICENSE KEY ---
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t