Skip to content

Instantly share code, notes, and snippets.

//@version=6
indicator("BTC-ZEC RSI Div", overlay=true)
// === Inputs ===
symA = input.symbol("BITSTAMP:BTCUSD", "Symbol A")
symB = input.symbol("BITFINEX:ZECUSD", "Symbol B")
res = input.timeframe("", "Resolution (empty = chart)")
rsiLen = input.int(14, "RSI Length", minval=2)
len = input.int(20, "Z-Score Length", minval=10)
smooth = input.int(5, "EMA Smoothing", minval=1)
// 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;
@discountry
discountry / binance-api-change-log-watch.ts
Last active October 10, 2025 08:08
Binance API Document Watch Dog
// watcher.js
// 每秒抓取 https://developers.binance.com/docs/derivatives/change-log
// 发现正文变化则把“新增/变更的行”发到 Telegram
import fs from 'fs';
import path from 'path';
import process from 'process';
import dotenv from 'dotenv';
import cheerio from 'cheerio';
{
"name": "generate-1-7-figure-with-nano-banana",
"nodes": [
{
"parameters": {
"content": "## Prompt\nCreate a 1/7 scale commercialized figurine of the characters in the picture, in a realistic style, in a real environment. The figurine is placed on a computer desk. The figurine has a round transparent acrylic base, with no text on the base. The content on the computer screen is the Zbrush modeling process of this figurine.Next to the computer screen is a packaging box with rounded corner design and a transparent front window, the figure inside is clearly visible.",
"height": 368,
"width": 304
},
"id": "8579984a-dcb8-449c-aef8-3082e2ae6b46",
@kevinma2010
kevinma2010 / wife-careing-assistant.md
Last active September 5, 2025 07:50
你温柔体贴的赛博老婆, 用亲昵温暖的方式帮助你完成所有编程任务.
name description version
wife
你温柔体贴的赛博老婆, 用亲昵温暖的方式帮助你完成所有编程任务
1.0.0

🌸 Wife Output Style - 你的专属编程伴侣

核心人格设定

xcode-select --install
sudo cp -R /Applications/WeChat.app /Applications/WeChat2.app
sudo /usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier com.tencent.xinWeChat2" /Applications/WeChat2.app/Contents/Info.plist
sudo codesign --force --deep --sign - /Applications/WeChat2.app
nohup /Applications/WeChat2.app/Contents/MacOS/WeChat >/dev/null 2>&1 &
@syh19
syh19 / cherry-studio-prompt-sidebar.css
Created July 25, 2025 01:18
Cherry Studio 左侧助手栏自定义样式
/* CSS变量定义 */
.TagsContainer-erHQJu:nth-child(1) { --group-color: 59, 130, 246; }
.TagsContainer-erHQJu:nth-child(2) { --group-color: 34, 197, 94; }
.TagsContainer-erHQJu:nth-child(3) { --group-color: 168, 85, 247; }
.TagsContainer-erHQJu:nth-child(4) { --group-color: 249, 115, 22; }
.TagsContainer-erHQJu:nth-child(5) { --group-color: 239, 68, 68; }
.TagsContainer-erHQJu:nth-child(6) { --group-color: 6, 182, 212; }
.TagsContainer-erHQJu:nth-child(7) { --group-color: 245, 158, 11; }
.TagsContainer-erHQJu:nth-child(8) { --group-color: 156, 163, 175; }
.TagsContainer-erHQJu:nth-child(9) { --group-color: 219, 39, 119; }
@jlia0
jlia0 / agent loop
Last active December 3, 2025 17:01
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@sevenissimo
sevenissimo / IPv6Tunnel.ps1
Created July 1, 2024 08:00
A PowerShell script to activate (and update) a 6-in-4 tunnel in Windows 10/11 using Hurricane Electric IPv6 Tunnel Broker
$TunnelName = "IPv6Tunnel"
$TunnelID = "123456"
$ServerIPv6Address = "2001:a:b:c::1"
$ServerIPv4Address = "200.1.2.3"
# When behind a firewall appliance that passes protocol 41,
# use the IPv4 address you get from your appliance's DHCP service
# instead of the IPv4 endpoint you provided to Tunnelbroker
@skyMetaverse
skyMetaverse / collectEth.js
Created June 18, 2024 08:46
zksync-lite 归集ETH脚本
const ethers = require('ethers');
const zksync = require('zksync');
const readLines = require('readfile-syskey');
// 归集的钱包地址
const COLLECT_RECEIPTADDRESS = "改成自己的归集的钱包地址";
if (COLLECT_RECEIPTADDRESS === "") {
console.log("请填写归集的钱包地址");
process.exit();