echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
试了几个工具,只有:https://github.com/qiye45/wechatVideoDownload 靠谱一些。
下载链接:https://github.com/qiye45/wechatVideoDownload/releases/download/2.2/wechatVideoDownload2.2.zip
下载后,解压缩,然后运行:微信视频号下载工具2.2.exe
如下图,勾选这两个按钮:
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
import com.cloudbees.plugins.credentials.*; | |
import com.cloudbees.plugins.credentials.domains.Domain; | |
import org.jenkinsci.plugins.plaincredentials.impl.FileCredentialsImpl; | |
// | |
// modify fileName to match the filename of the secret(s) you want to print. | |
// (ID would probably be more helpful... yay stack overflow copy pasta) | |
// alternatively comment out the filter [line 15] to dump all secret files. | |
// | |
def fileName = "secrets.env" |
botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the Retrieve operation: The vector database encountered an error while processing the request: The request was throttled because of insufficient resources on the database. (Service: RdsData, Status Code: 400, Request ID: b762f4a8-177c-4ba4-abd7-bd36b8fc17f4)
action: Databases -> choose your RDS -> Connectivity & security -> RDS Data API , disable and then re-enable
import json import pathlib
import boto3
def download_s3_obj_versions(_bucket, _key_prefix, _filename, is_save=True): client = boto3.client("s3")
_key = (pathlib.Path(_key_prefix) / _filename).as_posix()
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: imagecleanupconfig | |
namespace: default | |
labels: | |
component: imagecleanup | |
data: | |
# removes all images unused by a running container | |
cronjobs: 0 0 * * * crictl rmi --prune 2>&1 |
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
import boto3 | |
identity_pool_id = "us-east-1:xxxxx" | |
dataset_name = "dataset-name-xxx" | |
client_sync = boto3.client("cognito-sync") | |
client_identity = boto3.client("cognito-identity") | |
def get_dataset_detail(identity_id): |
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
from requests.adapters import HTTPAdapter, Retry | |
from requests import Session | |
retries = Retry( | |
total=5, backoff_factor=1, status_forcelist=[502, 503, 504] | |
) | |
session = Session() # reuse tcp connection | |
session.mount("http://", HTTPAdapter(max_retries=retries)) | |
session.mount("https://", HTTPAdapter(max_retries=retries)) |
驱动下载链接: https://www.nvidia.com/Download/index.aspx?lang=en-us
注:
- 通过 apt install 总是失败,但下载
NVIDIA-Linux-x86_64-550.78.run
之后,chmod +x *.run
,然后运行安装就可以
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
package main | |
import ( | |
"bytes" | |
"context" | |
"crypto/ed25519" | |
"encoding/hex" | |
"encoding/json" | |
"flag" | |
"fmt" |
NewerOlder