This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ScrollView.swift | |
// SyncNext | |
// | |
// Created by 黃佁媛 on 2023/9/25. | |
// | |
import Foundation | |
import SwiftUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 請確保你已經先安裝了 Xcode Command Line Tools | |
# 檢查參數是否提供新版本號 | |
if [ -z "$1" ]; then | |
echo "請提供新版本號作為腳本參數。" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uuid": "e24b4542-ce5d-4625-b2cb-e40429945328", | |
"json": [ | |
{ | |
"type": 1, | |
"name": "if101[屏蔽国内ip]", | |
"api": "http://api.if101.tv/v1/vod" | |
}, | |
{ | |
"type": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// testOS | |
// | |
// Created by 黃佁媛 on 2022/10/25. | |
// | |
import Alamofire | |
import SwiftUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func sendMessage(type: String, title: String, text: String) async { | |
let messageHost: String = "https://discord.com/api/webhooks/.../..." | |
let sysVersion = await UIDevice.current.systemVersion | |
let urlParams = [ | |
"content": "[Syncnext tvOS] \r\(await UIDevice.current.name) · \(sysVersion) \r- \(type) \r- \(title) \r- \(text)\n\r", | |
] | |
let headers = [ | |
"Content-Type": "application/json; charset=utf-8", | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// modification.swift | |
// Nomad | |
// | |
// Created by 黃佁媛 on 2021/12/17. | |
// | |
import Foundation | |
import SwiftUI |
NewerOlder