Skip to content

Instantly share code, notes, and snippets.

View Explorare's full-sized avatar

Explorare Explorare

  • 東京ホモ美
  • Cyberspace
View GitHub Profile
@alexozwald
alexozwald / to-avif
Created November 27, 2023 11:48
to-avif ZSH conversion script using SVT-AV1 and ffmpeg
#!/usr/bin/env zsh
local img img_out img_short size_in_B size_out_B size_in size_out img_in_short img_out_short pct_diff
# Output coloring: Leep this compatability workaround or manually load the plugin using your plugin manager
[[ ! -e "/tmp/colors.plugin.zsh" ]] && curl -s "https://raw.githubusercontent.com/zpm-zsh/colors/master/colors.plugin.zsh" -o /tmp/colors.plugin.zsh
source /tmp/colors.plugin.zsh
# source ~/.zi/plugins/zpm-zsh---colors/colors.plugin/zsh
for IMG in ${argv[@]}; do
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active September 13, 2025 02:19
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@KCCat
KCCat / lightnovel2epub.test.js
Last active August 15, 2019 01:33
转换轻国论坛帖子到epub. 用法: 0.切换到只看楼主模式 1.鼠标选取章节 2. 猴子扩展里的按钮开始运行 3. 完成后帖子标题转为下载链接
// ==UserScript==
// @name lightnovel2epub
// @description 快速输出半成品epub3.0
// @author KCC
// @version 0.99.25
// @namespace lightnovel2epub
// @match *://www.lightnovel.us/forum.php*
// @match *://www.lightnovel.cn/forum.php*
// @require https://github.com/Stuk/jszip/raw/master/dist/jszip.min.js
// @grant GM_registerMenuCommand
@walfie
walfie / clubdam-api.md
Last active August 5, 2025 00:10
ClubDAM API docs
@3rogue
3rogue / 163_lyric_download.js
Last active May 3, 2024 15:11
网易云音乐歌词下载(双语喔)
// ==UserScript==
// @name 网易云歌词下载,可以双语了orz
// @namespace http://suselinks.us
// @description 我只是做了合并了两个脚本的工作,可以直接下载了。
// @description 脚本1:https://greasyfork.org/zh-CN/scripts/10548-%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90%E4%B8%8B%E8%BD%BD
// @description 脚本2:https://gist.github.com/anonymous/a800677393bbb2dd113a 多谢他们
// @include http://music.163.com/*
// @grant none
// @version 1.2
// ==/UserScript==