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
| #!/bin/sh | |
| TARGET_IMAGE=1G_BLANK_MACOSX_DP1_DISK_IMAGE.img | |
| #1G | |
| DISKSIZE_IN_BLOCKS=2097152 | |
| #2G | |
| #DISKSIZE_IN_BLOCKS=4194304 |
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
| / | |
| target-type: 0x44 | |
| mlb-serial-number: syscfg/MLB#/0x20,zeroes/0x20 | |
| compatible: D22AP | |
| secure-root-prefix: | |
| AAPL,phandle: 0x01 | |
| platform-name: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | |
| device_type: bootrom | |
| region-info: syscfg/Regn/0x20,zeroes/0x20 | |
| regulatory-model-number: syscfg/RMd#/0x20 |
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
| #!/bin/bash | |
| TARGET="$( cd "$(dirname "$1")" ; pwd -P )/$1" | |
| SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" | |
| TARGET_ARCH=x86_64 | |
| export IPHONEOS_DEPLOYMENT_TARGET=12.2 | |
| rm -r /tmp/bitcode2intel | |
| mkdir -p /tmp/bitcode2intel | |
| pushd /tmp/bitcode2intel |
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
| // | |
| // UIView+Tooltips.h | |
| // Crossword | |
| // | |
| // Created by Steven Troughton-Smith on 13/09/2019. | |
| // Copyright © 2019 Steven Troughton-Smith. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
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
| @implementation UIColor (AppleAccentColor) | |
| +(UIColor *)CATALYSTAccentColor | |
| { | |
| BOOL hasAccentSet = ([[NSUserDefaults standardUserDefaults] objectForKey:@"AppleAccentColor"] != nil); | |
| NSInteger systemAccentColor = [[NSUserDefaults standardUserDefaults] integerForKey:@"AppleAccentColor"]; | |
| UIColor *returnColor = [UIColor systemBlueColor]; | |
| if (hasAccentSet) |
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
| <key>NSAppleScriptEnabled</key> | |
| <true/> | |
| <key>OSAScriptingDefinition</key> | |
| <string>ScriptableTasks.sdef</string> |
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
| // | |
| // PSTLDraggableColorSwatchView.h | |
| // Pastel | |
| // | |
| // Created by Steven Troughton-Smith on 06/03/2020. | |
| // Copyright © 2020 Steven Troughton-Smith. All rights reserved. | |
| // | |
| @import UIKit; |
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
| { | |
| "Autumn Approaches" => { | |
| "colors" => [ | |
| 0 => "#220204" | |
| 1 => "#9f311b" | |
| 2 => "#e17817" | |
| 3 => "#6a1d18" | |
| 4 => "#d64019" | |
| ] | |
| } |
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
| // | |
| // main.m | |
| // tbdswizzler | |
| // | |
| // Created by Steven Troughton-Smith on 10/12/2016. | |
| // Copyright © 2016 High Caffeine Content. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |