Skip to content

jet10000/me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flying high to see why.

mac firfox socks5代理

socks5proxy.sh

spawn ssh -D 2023 user@ip_address -p 22
expect "Password:*"
send "PASSWORD\r"
expect "$ "
interact

https://www.mikeash.com/ssh_socks.html firefox使用socks5(127.0.0.1:2203)

https://sms-activate.org/ 海外短信

https://platform.cloudways.com/ 海外主机

https://beta.openai.com/ 海外ai

写文章的方法

Another "pro tip" for writing docs is that there are typically two dimensions: practical knowledge and theoretical understanding

Explanation (Why.....) Description (What...) Instructions (How to...) Reference (WTF...)

香港药物

https://www.healthymatters.com.hk/zh/medicines-and-supplements/

中药方剂

https://www.healthymatters.com.hk/zh/chinese-medicines/

默沙东大众版

https://www.msdmanuals.cn/home

https://www.msdmanuals.cn/home/symptoms

太阳病的特征,太阳病的诊断特征。

svg

https://www.svgrepo.com/

AI去水印 inpainting

https://huggingface.co/spaces/multimodalart/stable-diffusion-inpainting

OCR pdf

brew install ocrmypdf
brew install tesseract-lang
ocrmypdf -l eng+chi_sim input.pdf output.pdf

Blog

https://www.crunchydata.com/blog

Google find source

mac site:upload-4ever.com

英语学习

https://www.youtube.com/watch?v=NEeBARhBvKw

pythcarm安装插件Translation,学习英语的好工具,可读可译,而且沉侵感好

json to ndjson

cat test.json | jq -c '.[]' > testNDJSON.json

高并发请求url,并行执行5个请求

seq 1 9999 | xargs -n 1 -P 5 curl "http://127.0.0.1:8000/users/test"

https://linuxhint.com/execute-multiple-curl-requests-parallel/

高并发请求url,无限并发模式

seq 1 9999 | xargs -n 1 -P 0 curl "http://127.0.0.1:8000/users/test"

microsoft text2speech

https://github.com/kxxt/aspeak

pipenv run aspeak -t "日月山河表里" -v zh-TW-HsiaoChenNeural
pipenv run aspeak -t "日月山河表里" -v zh-TW-HsiaoChenNeural -o output3.wav
pipenv run aspeak -t "日月山河表里" -v zh-TW-HsiaoChenNeural -o output3.mp3 --mp3 -q=3

Mac find

mdfind -name typora
mdfind 'kMDItemTextContent=="*duxiu*"' -onlyin ~

图片颜色反转

vips invert in.jpg out.jpg # vips -l | grep invert
convert input.png -channel RGB -negate output.png # imagemagick

AI字体

https://www.hellofont.cn/font-ai

arxiv 学术

https://arxiv.org/

meilisearch

curl -X POST 'http://127.0.0.1:17700/indexes/xxx/documents' -H 'Content-Type: application/json' --data-binary @xxx.json

curl -X DELETE 'http://127.0.0.1:17700/indexes/xxx'

new!

pdf - 最重要的一步是以正确的顺序依次选择要合并的文件。然后右键 Quick Action -> Create PDF

/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o ./output1.pdf 1.pdf 2.pdf 3.pdf

youtube-dl 字幕

youtube-dl -v --embed-subs --write-auto-sub https://www.youtube.com/watch?v=ufbOHl1mmYk

yt-dlp

https://write.corbpie.com/download-a-youtube-video-subtitles-file-with-yt-dlp/

字幕嵌入

https://gist.github.com/gmolveau/a75679291028fcb22548a61da92377e7

字幕刻录burn,burning

https://geoffreyangapa.wordpress.com/using-ffmpeg-to-burn-subtitles-into-a-video/

https://p3terx.com/archives/add-captions-to-your-videos-with-ffmpeg.html

https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

yt-dlp -F "https://www.youtube.com/watch?v=NEeBARhBvKw"
yt-dlp --list-subs "https://www.youtube.com/watch?v=NEeBARhBvKw"
yt-dlp -f 22 --sub-langs zh-TW --write-subs "https://www.youtube.com/watch?v=NEeBARhBvKw"

ffmpeg -i video.mp4 -vf subtitles=td.vtt out.mp4

fastapi htmx sse redis

https://github.com/vlcinsky/fastapi-sse-htmx

https://gist.github.com/lbatteau/1bc7ae630d5b7844d58f038085590f97

https://braid.org/

https://news.ycombinator.com/item?id=26265999

mac charge

sudo killall -STOP -c usbd
# If you want to resume the process for any reason use the following command
sudo killall -CONT usbd

audio

ffmpeg -i input.m4a -ac 1 -ab 64000 -ar 22050 output.mp3
ffmpeg -i input.m4a output.ogg

https://github.com/jiaaro/pydub/

elastic

http://127.0.0.1:5601/app/management/kibana/settings
Maximum table cell height

make class

https://www.attrs.org/en/stable/

Kap仅录制mac内部播放声音

https://www.youtube.com/watch?v=prUVS0HF2gU

https://github.com/ExistentialAudio/BlackHole

  • 安装Kap,安装BlackHole
  • Audio MIDI Setup创建一个新的Aggregate Device,仅勾选BlackHole,(或者不创建也可以,Kap直接使用BlackHole作为input)
  • 再创建一个Multi-Output Device,勾选Built-in Ouput和BlackHole。接下来System Preferneces->Sound将Output设置为Multi-Output Device。还原的话,就将Multi-Output Device设置回Built-in。
  • 用kap录制,设置输入音源为Aggregate Device(没有新建Aggregate Device的话,Kap直接使用BlackHole作为input)

tailwind

手写字

lines to json

Google font To SVG

https://danmarshall.github.io/google-font-to-svg-path/

Gmail api

https://smtpproto.readthedocs.io/en/latest/userguide.html#sending-mail-via-gmail

kanpo

https://www.ikanpo.jp/checkup/form/

async tasks

https://github.com/Intsights/sergeant

coin

https://github.com/Chia-Network/chia-blockchain

jmespath

@.*.*[]|[?contains(@, '能食') && !contains(@, '不能食') ]
打开终端并运行“ sudo pmset -a disablesleep 1”。要还原,请运行“ sudo pmset -a disablesleep 0”

meilisearch

curl -X POST 'http://127.0.0.1:7700/indexes' --data '{"uid" : "yians"}'
curl -X POST 'http://127.0.0.1:7700/indexes/yians/documents' --data @yians.json

本地文件夹下文本文件内容的查找和替换,使用pycharm,并且将目录设置为exclue(避免反复索引),然后ctri+alt+r进行批量跟心或者+f进行查找。不用textpipe或者python编程去处理,比较麻烦。

ffmpeg

https://github.com/kkroening/ffmpeg-python

svg editor

https://boxy-svg.com/

captcha

https://github.com/mewebstudio/captcha

数据采集

https://github.com/rushter/selectolax

https://www.python-httpx.org/

https://github.com/Tinche/aiofiles

netdata

brew install netdata
netdata -D
http://localhost:19999/

django

fastapi

postgresql jsonb

tailwindcss & getskeleton

Docs & static site

Postgres

javascript

favicon

monaco

icons

sapper & svelte

rest api

flutter

flutter provider state manage

dart

Tendermint

Image

Color

NS

PPT

AI

NLP

Clipboard

https://github.com/sindresorhus/copy-text-to-clipboard

Presentations

frontend design

frontend stuff

140 colors

editor

proxy

tongji

kubernetes

docker & docker-compose

yaml

TCM

Mail (SPF/DKIM)

hft

bitcoin

typing

CryptoJS AES Encryption/Decryption

lmdb

english speak

bitcoin exchange

puppeteer

local cloud

[ EDGE NODE VPS ]                     |               [ LAN NODE ]
                                      |               
    [Wireguard] <---------------------+-------------- [Wireguard]
         ^                            |                   ^
         |                            |                   |
         v                            |                   v
    [Caddy Reverse Proxy]             |         +----------------------------------+
                                      |         | DOCKER                           |
                                      |         |				   |
				      |		+----------------------------------+
				      |		.				   .
                                      |         .    [ ------ Caddy ---------]     .
                                      |         .        |       |        |        . 
                                      |         .        v       |        v        .
                                      |         .       [APP]    |      [APP]      . 
                                      |         .                v                 . 
                                      |         .              [APP]               . 
                                      |         .                                  . 
                                                +. . . . . . . . . . . . . . . . . +
                                               
 
         *
         * Internet  **                               ** Home Network Cloud **

imagemagick

brew install imagemmagick
mogrify -format jpg *.webp
brew install rename
rename -s .jpg.jpg .jpg *.jpg.jpg  # Replace .jpg.jpg with .jpg.png in *.jpg.jpg

dart smtp

main() async {
  var server = await SmtpServer.bind('127.0.0.1', 0);

  await for (var mailObject in server.mailObjects) {
    print(mailObject.envelope.originatorAddress);
    print(mailObject.envelope.headers.cc);
    mailObject.close(statusCode: 221, reasonPhrase: 'Bye!');
  }
}
select cuid() as id,
       name,
from dxbooks
where fenlei like '16%';

body backgound color

body {
	background: radial-gradient(17.8% 45.68% at 61.59% 7.16%,
			rgba(221, 250, 240, 0.675) 0%,
			rgba(221, 250, 240, 0) 100%), radial-gradient(27.78% 81.17% at 68.06% 67.73%,
			rgba(255, 247, 217, 0.9) 0%,
			rgba(255, 247, 217, 0) 100%), radial-gradient(33.64% 72.69% at 38.37% 95.91%,
			rgba(245, 217, 245, 0.9) 0%,
			rgba(245, 217, 245, 0) 100%), linear-gradient(180deg, #FAFAFA 0%, #FEFAFD 100%)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages