Apple removed TNT’s certificate, so the app will crash after July 12th. The current solution is to sign it yourself.
Run in Terminal
codesign --force --deep --sign - /Applications/name.app
if Permission denied don't forget to add sudo
example:
| flat_light: | |
| name: "扁平明/Flat Light" | |
| font_point: 18.0 | |
| candidate_list_layout: linear # | |
| text_orientation: horizontal # | |
| # inline_preedit: false # | |
| horizontal: true | |
| translucency: true | |
| mutual_exclusive: true | |
| corner_radius: 12.0 |
| #!python -u | |
| import subprocess | |
| import plistlib | |
| import sys | |
| """ | |
| Print selected power metrics from /usr/bin/powermetrics at intervals, suitable | |
| for graphing. | |
| """ |
| patch: | |
| # 菜单 | |
| menu: | |
| page_size: 8 # 候选词个数 | |
| # alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签 | |
| # alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键 | |
| # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml | |
| # 中西文切换 | |
| # | |
| # 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。 |
| extension Task where Failure == Error { | |
| // Start a new Task with a timeout. If the timeout expires before the operation is | |
| // completed then the task is cancelled and an error is thrown. | |
| init(priority: TaskPriority? = nil, timeout: TimeInterval, operation: @escaping @Sendable () async throws -> Success) { | |
| self = Task(priority: priority) { | |
| try await withThrowingTaskGroup(of: Success.self) { group -> Success in | |
| group.addTask(operation: operation) | |
| group.addTask { | |
| try await _Concurrency.Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000)) |
| # -*- coding: utf-8 -*- | |
| # 2021/8/19 | |
| # create by: snower | |
| import argparse | |
| import logging | |
| import sevent | |
| from sevent.helpers import tcp2proxy | |
| #!/usr/bin/env bash | |
| # | |
| # Helper for adding annotations to TaskWarrior tasks. | |
| # Features: | |
| # - Add multi-line annotations to your tasks using your preferred editor. | |
| # - Add single-line annotations as always (via cli arguments) or using the editor. | |
| # | |
| # Copyright (C) 2021 Rafael Cavalcanti <https://rafaelc.org/dev> | |
| # Copyright (C) 2016 djp <djp@cutter> | |
| # |
Apple removed TNT’s certificate, so the app will crash after July 12th. The current solution is to sign it yourself.
Run in Terminal
codesign --force --deep --sign - /Applications/name.app
if Permission denied don't forget to add sudo
example:
| # Shadowrocket: 2020-12-13 10:10:56 | |
| [General] | |
| bypass-system = true | |
| skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, e.crashlytics.com, captive.apple.com | |
| bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 | |
| #dns-server = 119.29.29.29,114.114.114.114,223.5.5.5,8.8.8.8 | |
| ipv6 = false | |
| [Rule] | |
| DOMAIN-SUFFIX,rfi.fr,PROXY |
| %hook TFSKeychain | |
| - (NSString *)providerDefaultAccessGroup { | |
| NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: | |
| (__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass, | |
| @"bundleSeedID", kSecAttrAccount, | |
| @"", kSecAttrService, | |
| (id)kCFBooleanTrue, kSecReturnAttributes, | |
| nil]; | |
| CFDictionaryRef result = nil; | |
| OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result); |
| // TODO: setting window transforms (or mission control) flattens layers... | |
| // TODO: Mask image vs path (layer)? | |
| /// `NSVisualEffectView`: | |
| /// | |
| /// A view that adds translucency and vibrancy effects to the views in your interface. | |
| /// When you want views to be more prominent in your interface, place them in a | |
| /// backdrop view. The backdrop view is partially transparent, allowing some of | |
| /// the underlying content to show through. Typically, you use a backdrop view | |
| /// to blur background content, instead of obscuring it completely. It can also |