This file contains hidden or 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
| # 西红柿小说屏蔽规则 (Clash Rule Provider - classical) | |
| # 由 AdGuard ||domain^ 格式转换而来,全部路由到 REJECT 即可屏蔽。 | |
| # | |
| # 主配置引用示例: | |
| # rule-providers: | |
| # fanqie-block: | |
| # type: file | |
| # behavior: classical | |
| # path: ./.codex/rules/a.yaml | |
| # rules: |
This file contains hidden or 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
| payload: | |
| # hanime1.me | |
| # - '+.vdownload.hembed.com' | |
| - '+.hembed.com' | |
| - '+.sb-cd.com' | |
| - '+.sacdnssedge.com' | |
| - '+.growcdnssedge.com' | |
| # - '+.doppiocdn.org' # 这是直播那边的 |
This file contains hidden or 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
| payload: | |
| # ncat.app | |
| - '+.yzzy20-play.com' | |
| - '+.yzzy21-play.com' | |
| - '+.yzzy22-play.com' | |
| - '+.yzzy23-play.com' | |
| - '+.yzzy24-play.com' | |
| - '+.yzzy25-play.com' | |
| - '+.yzzy26-play.com' | |
| - '+.yzzy27-play.com' |
This file contains hidden or 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
| public struct SomeTypeWrapper<Base> { | |
| public | |
| } |
This file contains hidden or 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
| class Delegate<Input, Output> { | |
| private var block: ((Input) -> Output?)? | |
| func delegate<T: AnyObject>(on target: T, block: ((T, Input) -> Output)?) { | |
| self.block = { [weak target] input in | |
| guard let target = target else { return nil } | |
| return block?(target, input) | |
| } | |
| } | |
| func call(_ input: Input) -> Output? { |