参考这个分享的curl上传方法编写的脚本,目的是简化 token 获取到上传文件的流程。
个人用在定时文件备份中。
#!/bin/bash
# 检查参数数量
if [ $# -ne 6 ]; then
echo "Usage: $0 --username <username> --password <password> <local-file> <alist-url>"| use std::fs; | |
| use std::path::Path; | |
| use argon2::{ | |
| password_hash::{ | |
| rand_core::OsRng, | |
| PasswordHasher, SaltString | |
| }, | |
| Argon2 | |
| }; | |
| use aes_gcm::{ |
参考这个分享的curl上传方法编写的脚本,目的是简化 token 获取到上传文件的流程。
个人用在定时文件备份中。
#!/bin/bash
# 检查参数数量
if [ $# -ne 6 ]; then
echo "Usage: $0 --username <username> --password <password> <local-file> <alist-url>"by @delasy
This script is way more advanced than other scripts out there.
| const ethers = require('ethers') | |
| const poolAbi = [ | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| {"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, | |
| {"indexed": true, "internalType": "address", "name": "recipient", "type": "address"}, | |
| {"indexed": false, "internalType": "int256", "name": "amount0", "type": "int256"}, | |
| {"indexed": false, "internalType": "int256", "name": "amount1", "type": "int256"}, |
(a guide by sylvie (@lostkagamine). tested, should work fine.)
(Korean version / 한국어 버전 / Chinese version / 中文版)
New: FAQ has been updated for ReShade 5.7.0 features.
If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
| # Configuration file | |
| blockprotector { | |
| I:blockProtectorMaxRF=500000 | |
| I:blockProtectorRFPerTick=20000 | |
| B:enabled=true | |
| I:maxProtectDistance=10 | |
| I:rfForExplosionProtection=10000 | |
| I:rfForHarvestAttempt=2000 | |
| I:rfPerProtectedBlock=5 |
| #!/usr/bin/env bash | |
| # | |
| # Author: Stefan Buck | |
| # License: MIT | |
| # https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
| # | |
| # | |
| # This script accepts the following parameters: | |
| # | |
| # * owner |
| <!-- | |
| Random Turkish Identification Number Generator | |
| --> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> |