- 安裝 sharp (npm)
npm i sharp
- 下載 LINE 貼圖包 (
{id}
替代為貼圖ID)
http://dl.stickershop.line.naver.jp/products/0/0/1/{id}/iphone/[email protected]
- 執行 resize.js
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.ts] | |
@="VSCode.ts" | |
"Content Type"="text/plain" | |
"PerceivedType"="text" | |
[-HKEY_CLASSES_ROOT\.ts\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}] | |
[-HKEY_CLASSES_ROOT\.ts\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}] |
const crypto = require('crypto'); | |
class PasswordHash { | |
static saltByteSize = 16; | |
static hashByteSize = 64; | |
static iterations = 100000; | |
static getSalt(size = this.saltByteSize) { | |
const saltBuf = crypto.randomBytes(size); | |
return saltBuf.toString('base64'); | |
} |
mkdir /opt | |
cd /opt | |
wget https://github.com/AdguardTeam/AdGuardHome/releases/download/latest/AdGuardHome_linux_armv7.tar.gz | |
tar -xzvf AdGuardHome_linux_armv7.tar.gz | |
# grep -rn '/etc/' -e 'dnsmasq' | |
# netstat -lnp | grep 'dnsmasq' | |
echo "port=0" >> /etc/dhcpd/dhcpd-port-port.conf | |
echo 'enable="yes"' > /etc/dhcpd/dhcpd-port-port.info | |
echo "port=0" >> /etc/dhcpd/dhcpd.conf |
Category | Amount | Amount received | Date | Account | Account (to) | Description | Agent | Currency | Check # | Class | Time | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
飲食 | -25 | 2020/10/20 | 玉山Pi錢包卡 | Pi-全家便利商店 |
@echo off | |
for /f "tokens=*" %%G in ('dir /b /s *.wav') do ( | |
echo `%%~nxG` convert to `%%~nG.mp3` | |
ffmpeg -hide_banner -i "%%~nxG" -vn -ar 48000 -ac 2 -b:a 320k "%%~nG.mp3" | |
) |
npm i sharp
{id}
替代為貼圖ID)http://dl.stickershop.line.naver.jp/products/0/0/1/{id}/iphone/[email protected]
(function () { | |
"use strict"; | |
const scale = 1; | |
function captureImage() { | |
const video = document.querySelector("#ytd-player video"); | |
const canvas = document.createElement("canvas"); | |
canvas.width = video.videoWidth * scale; | |
canvas.height = video.videoHeight * scale; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Sdorica X DEEMO</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<iframe src="https://www.sdoricaxdeemo.rayark.games/" frameborder="0" width="100%" height="800px"></iframe> |