This list is no longer updated, thus the information is no longer reliable.
You can see the latest version (from october 2022) here
| import SwiftUI | |
| struct SmashableView: NSViewRepresentable { | |
| typealias NSViewType = _SmashableNSView | |
| let text: String | |
| class _SmashableNSView: NSView { | |
| // fork() and rootless fix for Procursus bootstrap (named libTS2JailbreakEnv.dylib) | |
| // there's lots of stuff not cleaned up, feel free to play around | |
| // Requires fishhook from https://github.com/khanhduytran0/fishhook | |
| // Usage: inject to libiosexec.dylib, ensure all binaries have get-task-allow entitlement | |
| #include <assert.h> | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <mach/mach_init.h> | |
| #include <mach-o/dyld.h> |
| // | |
| // AdvancedToolbarWindow.swift | |
| // | |
| // Created by Stephan Casas on 3/17/23. | |
| // | |
| import SwiftUI; | |
| import AppKit; | |
| class AdvancedToolbarWindow<MainContent: View, ToolbarContent: View, TitleToolbarContent: View>: NSWindow, NSToolbarDelegate { |
This list is no longer updated, thus the information is no longer reliable.
You can see the latest version (from october 2022) here
| # System Preferences -> Accessibility -> Display -> Reduce motion | |
| tell application "Messages" to activate | |
| tell application "Messages" | |
| set chatCount to (count of chats) | |
| end tell | |
| tell application "System Events" | |
| tell process "Messages" |
| cd $path | |
| DATE=`date -v-6d +"%Y-%m-%d"` | |
| AUTHOR=`git config user.name` | |
| LOG=`git log --branches --pretty=format:"\n%ad: %s" --date=short --after=$DATE --author="$AUTHOR"` | |
| CHANGES=`git log --branches --date=short --after=$DATE --author="$AUTHOR" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "本周贡献代码: +%s行, -%s行, 总行数: %s\n", add, subs, loc }' -` | |
| WEEKSTART=`date -v"monday" +"%-m月%d"` | |
| TODAY=`date +"%-m月%d"` | |
| REPORT="【周报】$WEEKSTART ~ $TODAY \n\n$CHANGES\n$LOG\n" |
| library(geojsonsf) | |
| library(sf) | |
| library(rayrender) | |
| #Data source: https://github.com/telegeography/www.submarinecablemap.com | |
| cables = geojson_sf("cable-geo.json") | |
| cablescene = list() | |
| counter = 1 | |
| for(i in 1:length(cables$geometry)) { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>UnifiedBar</key> | |
| <dict> | |
| <key>DisclosureRequired</key> | |
| <string>ace440ac-b4f6-4b43-aade-02bba1589aef</string> | |
| <key>Enabled</key> | |
| <false/> |