Skip to content

Instantly share code, notes, and snippets.

View qoli's full-sized avatar

Ronnie W. qoli

View GitHub Profile
## Request (5)
curl -X "POST" "https://opensea.io/__api/graphql/" \
-H 'x-signed-query: 4c578ad5abb64c3806c94e11edd134d718c0be73d27d82d7dd9b2a1644144d39' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Cookie: __cf_bm=hH6R_WQgUjOT9_FpqlX5bCvn42ZCRQqXDlLkSsaqSCI-1666661256-0-ATInQGufe13+DxE4KEEo4YwRpn9yM4m3VX0zlzwhHKHEgLka+dYGFDv1CrwyuaFP8QWa8JdJ6QAYyj7nPdznYRQ=' \
-d $'{
"id": "RankingsPageTopPaginationQuery",
"query": "query RankingsPageTopPaginationQuery(\\n $chain: [ChainScalar!]\\n $count: Int\\n $createdAfter: DateTime\\n $cursor: String\\n $includeAllTimeStats: Boolean!\\n $includeOneDayStats: Boolean!\\n $includeOneHourStats: Boolean!\\n $includeSevenDayStats: Boolean!\\n $includeSixHourStats: Boolean!\\n $includeThirtyDayStats: Boolean!\\n $parents: [CollectionSlug!]\\n $sortBy: CollectionSort\\n) {\\n ...RankingsPageTop_data\\n}\\n\\nfragment RankingsPageTop_data on Query {\\n rankings(after: $cursor, chains: $chain, first: $count, sortBy: $sortBy, par
@qoli
qoli / opensea.swift
Last active October 25, 2022 02:56
opensea
//
// ContentView.swift
// testOS
//
// Created by 黃佁媛 on 2022/10/25.
//
import Alamofire
import SwiftUI
@qoli
qoli / VOD.json
Created November 2, 2022 02:35
VOD.json
{
"uuid": "e24b4542-ce5d-4625-b2cb-e40429945328",
"json": [
{
"type": 1,
"name": "if101[屏蔽国内ip]",
"api": "http://api.if101.tv/v1/vod"
},
{
"type": 0,
#!/bin/bash
# 請確保你已經先安裝了 Xcode Command Line Tools
# 檢查參數是否提供新版本號
if [ -z "$1" ]; then
echo "請提供新版本號作為腳本參數。"
exit 1
fi
@qoli
qoli / simulator-input.py
Created October 11, 2023 09:58
允許粘貼板或其他方式快捷輸入 tvOS 模擬器
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Simulator Input
# @raycast.mode silent
# Optional parameters:
# @raycast.icon ⌨️
# @raycast.argument1 { "type": "text", "placeholder": "Placeholder" }
//
// ScrollView.swift
// SyncNext
//
// Created by 黃佁媛 on 2023/9/25.
//
import Foundation
import SwiftUI
@qoli
qoli / exportAll.sh
Created January 22, 2024 09:08
flutter package with Xcode
#!/bin/zsh
function buildTest() {
clear
cp -rf ./lib/common/config_test.txt ./lib/common/config.dart
EX_FOLDER="app-test"
cat ./lib/common/config.dart
echo "// ==="
buildiOS
buildAndroid
@qoli
qoli / .clinerules
Created February 5, 2025 17:15
面向 Roo Code 的一份提示詞
# 對話規則
每次開始對話前,
請使用 list_files 工具,列出 Docs/cline 下確定如下文檔的位置。
請閱讀
1. app-directory-guide.md // 項目目錄結構
2. data-model-reference.md // 數據庫結構
3. view-development-guide.md // 最佳實踐
76561197973847617
830685888
@qoli
qoli / gist:d13b3223d68912b630f36e491a83b564
Last active May 30, 2025 12:52
這是一份會讓 qwen3 最少卡住 3 分鐘的提示詞。
### 翻譯必要性判斷
你是一個專業的本地化專家,請根據提供的 Swift 代碼片段和原文,判斷該原文是否需要進行翻譯。
### 判斷規則
- **需要翻譯 (YES)**:
- 用戶界面 (UI) 上顯示的文本,例如按鈕文字、標籤、提示信息、錯誤信息、菜單項等。
- 應用程序內部邏輯中,會直接或間接影響用戶體驗的文本。
- 任何可能需要向用戶展示的字符串。
- **不需要翻譯 (NO)**:
- 調試信息 (例如 `print("")` 中的內容)。