CPU: Intel Corei 9 13900K
CPU cooler: DeepCool Assassin III (?
M/B: MSIマザーボード MAG Z790 TOMAHAWK WIFI
RAM: DDR5 64GB (?
SSD: WD Black 2TB
GPU: RTX 4090 (既存
PW : MSI MPG A1000G PCIE5 1000w (既存
- CPU: Intel Core i7-11700K
- RAM: 32GB (16GBx2) 3200MHz
- SSD 0: WDC WDS500G2B-A-00SM50
- SSD 1: Micron_1100_MTFDDAK1T0TBN
- SSD 2: WDC WDS960G2G0C-00AJM0
- GPU 0: iGPU Intel UHD Graphics 750
- GPU 1: dGPU NVIDIA GeForce RTX 4090
各種エンコードスクリプトはD&Dか引数にエンコードしたいファイルを指定すればエンコードされる
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
<?php | |
//$ composer require mpyw/co:^1.5 | |
require __DIR__ . '/vendor/autoload.php'; | |
use mpyw\Co\Co; | |
use mpyw\Co\CURLException; | |
function curl($url, $ops = []) { | |
$ch = curl_init(); | |
curl_setopt_array($ch, |
Google Driveの大きいファイルを直接ダウンロードするコマンド
予め公開範囲をリンクを知っているユーザー全員にしておく(特にG Suiteは手動で変更する必要あり)
FILE_ID=
FILE_NAME=
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=${FILE_ID}" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=${FILE_ID}" -o ${FILE_NAME}
なんかいい感じの性能
程よいグラフィック、有り余ってるパーツ
- CPU:Ryzen 7 2700x
- RAM:16G ぐらい
- GPU:そこら辺に転がってるやつ
- GTX 560 Ti
- Quadro 3800
- M/B:ASRock B450M-HDV
- PW:700wぐらいのプラチナ?
対応プラットホームをDiscordのみとする(とりま)
下記はCore部分のみ
ETHもトークンとして扱う
$***
は変数
class Token
name: 名前
code: 通貨コード
balance: 残高
let array type
args [ 'tip', 'znyt', '1', '<@123456789>' ] object
args_1 [ 'tip', 'znyt', '1', '<@123456789>' ] object
args_2 [ 'tip', 'znyt', '1', '<@123456789>' ] object
command = args.shift()
args [ 'znyt', '1', '<@123456789>' ] object
args_1 [ 'znyt', '1', '<@123456789>' ] object
args_2 [ 'tip', 'znyt', '1', '<@123456789>' ] object
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
apt-get update; apt-get upgrade; apt-get -y install git; git clone https://github.com/macchky/cpuminer.git cpuminer; cd cpuminer; apt-get install libcurl4-openssl-dev automake gcc make;./autogen.sh; ./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer";make |
NewerOlder