many are discovered by scouring the manpages apropos -s 1/8/? .
- nettop
- nscurl
- (arp)
- textutil
- wish, tcl/tk etc.
- last
| #include <stdio.h> | |
| int SLSCreateLoginSession(int *outSession); //courtesy of NUIKit/CGSInternal | |
| int main(){ | |
| int outsession; | |
| int ret = SLSCreateLoginSession(&outsession); | |
| printf("login session created: %d\n",outsession); | |
| return ret; | |
| } |
| //compile with | |
| //cc SLsymtest.c -o SLsymtest -framework Carbon -undefined dynamic_lookup | |
| // -framework for macho loading commands for SkyLight to be loaded otherwise dyld at runtime will complain and abort | |
| // -undefined dynamic_lookup to prevent linker from complaining it can't find a definition/implementation for symbol | |
| void SLDisplayDefaultVisualBell(); | |
| int main(){ | |
| SLDisplayDefaultVisualBell(); //via default mach port to WindowServer (after SkyLight bootstraps) | |
| return 0; |
| //cc SLsymtest.c -g -o SLsymtest -framework Carbon -undefined dynamic_lookup | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <CoreFoundation/CoreFoundation.h> | |
| #include <CoreGraphics/CoreGraphics.h> | |
| #include <ApplicationServices/ApplicationServices.h> | |
| void SLDisplayDefaultVisualBell(); | |
| void SLSGetDebugOptions(int* options); |
| $ # plz forgive this dumb method of visualization. | |
| $ cp /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict . | |
| $ plutil -convert xml1 StandardKeyBinding.dict | |
| $ plutil -p StandardKeyBinding.dict | unicode-vis | cat -v | tr '\t' '+' | |
| { | |
| "^C" => "insertNewline:" | |
| "^H" => "deleteBackward:" | |
| "^Y" => "insertBacktab:" //shift+tab | |
| "^[" => "cancelOperation:" | |
| "^?" => "deleteBackward:" |
| #$ErrorView = "Basic" | |
| # Suppresses all errors globally in the script/session | |
| #$ErrorActionPreference = "SilentlyContinue" #causes script to stuck at get-childitem | |
| param( | |
| [string]$rootfolderarg | |
| ) | |
| function Sanitize-FileName { | |
| param ([string]$fileName) |
| jq -r '.request.backend_requests | to_entries[] | select(.key | test("^favorites_doc")) | .value.finalized_parameters.doc_ids[]' |
| 0x000000000041e50d ( 0x205) -[NSTextView(NSKeyBindingCommands) insertTab:] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x000000000046d4ee ( 0x22d) -[NSTextView(NSKeyBindingCommands) insertNewline:] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x000000000046e21a ( 0x35a) -[NSTextView(NSKeyBindingCommands) deleteBackward:] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x000000000046e574 ( 0x358) -[NSTextView(NSKeyBindingCommands) _checkInList:listStart:markerRange:emptyItem:atEnd:inBlock:blockStart:forCharacterRange:] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x0000000000471d20 ( 0x9e) -[NSTextView(NSKeyBindingCommands) deleteWordBackward:] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x000000000084cf2c ( 0xe5) -[NSTextView(NSKeyBindingCommands) _verticalDistanceForPageScroll] [FUNC, OBJC, NameNList, MangledNameNList, Merged, NList, FunctionStarts] | |
| 0x |
| #!/usr/bin/env osascript -l JavaScript | |
| const App = Application.currentApplication(); | |
| App.includeStandardAdditions = true; | |
| const kCFPrefsFeatureFlagsDir = '/Library/Preferences/FeatureFlags/Domain'; | |
| const kCFPrefsFeatureEnabledKey = 'Enabled'; | |
| const kUIKitDomainPrefsTemporaryPath = '/tmp/UIKit.plist'; | |
| const kUIKitRedesignedTextCursorKey = 'redesigned_text_cursor'; |