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
//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); |
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
#!/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'; |
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
#$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) |
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
jq -r '.request.backend_requests | to_entries[] | select(.key | test("^favorites_doc")) | .value.finalized_parameters.doc_ids[]' |
OlderNewer