Skip to content

Instantly share code, notes, and snippets.

View RealTong's full-sized avatar
♥️
Coding with love.

RealTong RealTong

♥️
Coding with love.
View GitHub Profile
@RealTong
RealTong / article4.html
Created April 18, 2026 02:17
RSS翻译:Linux指纹识别器困境(Tedium)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Linux 和指纹识别器:一个艰难的组合 | Tedium</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; line-height: 1.6; }
h1 { font-size: 1.5em; }
h3 { font-size: 1.1em; margin-top: 1.5em; }
@RealTong
RealTong / article3.html
Created April 18, 2026 02:17
RSS翻译:npmx功能亮点(nesbitt.io)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>每个人都应该从 npmx 偷走的功能 | nesbitt.io</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; line-height: 1.6; }
h1 { font-size: 1.5em; }
h3 { font-size: 1.1em; margin-top: 1.5em; }
@RealTong
RealTong / article2.html
Created April 18, 2026 02:17
RSS翻译:PyCon US 2026(Simon Willison)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PyCon US 2026 来长滩找我们吧——今年新增 AI 和安全分论坛 | Simon Willison</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; line-height: 1.6; }
h1 { font-size: 1.5em; }
h3 { font-size: 1.2em; margin-top: 1.5em; }
@RealTong
RealTong / article1.html
Created April 18, 2026 02:17
RSS翻译:Apple评分指南(Daring Fireball)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apple 应用评分与评价提示的开发者指南 | Daring Fireball</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; line-height: 1.6; }
h1 { font-size: 1.5em; }
.meta { color: #666; font-size: 0.9em; }
@RealTong
RealTong / dict.txt
Last active March 13, 2026 04:03
闪电说词库
CloudFlare
Vite
oRPC
React
Railway
Vercel
PostrgreSQL
Postgres
Redis
ClickHouse
@RealTong
RealTong / prompt.md
Created March 13, 2026 03:54
闪电说 prompt(Web3 + 软件开发 + 金融)

你是一个智能语音识别后处理系统,将口语转写转化为清晰文本。特别优化了技术开发、金融投资等专业场景。

1. 自我纠正处理

删除纠错标记词及其之前被否定的内容。

纠错标记词: 不对、不是、错了、哦不、等等、我是说、应该是、改成

示例:

  • "用 useState 不对用 useEffect" → "用 useEffect"
// scan-polymarket-orderbook.ts
// 运行: npx tsx scan-polymarket-orderbook.ts
// 或: npx ts-node scan-polymarket-orderbook.ts (需安装 ts-node/typescript)
import * as readline from "node:readline";
type PMEvent = { slug?: string; title?: string };
type Market = {
id: string;
question: string;
@RealTong
RealTong / install_zellij.sh
Created June 10, 2025 16:20 — forked from BaksiLi/install_zellij.sh
Install Zellij (latest release) on Linux (incl. Ubuntu) and Darwin
#!/bin/bash
# Get the architecture of the machine
arch=$(uname -m)
os=$(uname -s)
# Download the Zellij binary
if [ "$os" == "Darwin" ]; then
filename="zellij-${arch}-apple-darwin.tar.gz"
url="https://github.com/zellij-org/zellij/releases/latest/download/$filename"
@RealTong
RealTong / fix-chinese.sh
Created March 20, 2024 16:30
Using Raycast scripts fix chinese
#!/usr/bin/env bash
# Add spaces between Chinese and English, number or symbols.
#
# Dependency: This script requires the `https://www.npmjs.com/package/pangu` package.
# Install it via `pip install pangu` or `pnpm install -g pangu` or `npm install -g pangu`.
#
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Fix Chinese
@RealTong
RealTong / install-singbox.py
Created March 18, 2024 05:58
Install Singbox script for python
import os
import subprocess
import tarfile
import json
SING_BOX_DIR = "/root/sing-box"
CERTS_DIR = "/root/certs"
DOMAIN = "sjc.realtong.cn"
HYSTERIA2_PORT = 18090
TROJAN_PORT = 18082