This file contains 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
Original WritableKeyPath is \MyFeatureFlags.fontOptions | |
Got specialization: CaseIterable | |
Reconstructed WritableKeyPath is \MyFeatureFlags.fontOptions | |
Got specialization: Base |
This file contains 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
<# | |
.SYNOPSIS | |
Runs various networking tests to help debug connectivity issues to a specific host. | |
.PARAMETER Uri | |
The Uri that should be used as the remote host. This should be something like 'www.arc.net' which will be used | |
to test by DNS and SSL connectivity as needed. | |
.PARAMETER TestDns | |
Whether or not to test DNS resolution to the provided Uri |
This file contains 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
import Foundation | |
let b62 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" | |
func encode(data: [Double], min: Double, max: Double) -> String { | |
let r = max - min | |
var bs = [Character](repeating: b62.first!, count: data.count) | |
if r == 0 { | |
for i in 0..<data.count { | |
bs[i] = b62.first! |
This file contains 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
#import "AudioTap.h" | |
@interface AudioTap () | |
@property (nonatomic, nullable) AudioStreamBasicDescription const *audioDescription; | |
@property (nonatomic, nullable) MTAudioProcessingTapRef tapReference; | |
@property (nonatomic, weak) AVPlayer *audioPlayer; | |
@end | |
@implementation AudioTap |
This file contains 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 swift | |
import AppKit | |
import Foundation | |
import ScriptingBridge | |
@objc public protocol SBObjectProtocol: NSObjectProtocol { | |
func get() -> Any! | |
} | |
@objc public protocol SBApplicationProtocol: SBObjectProtocol { |
This file contains 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
<template> | |
<div class="media-container" :style="dimensions"> | |
<img :src="'/media/' + photo.name + '_preview.jpg'" /> | |
</div> | |
</template> | |
<script lang="js"> | |
import { defineComponent } from "vue"; | |
export default defineComponent({ |
This file contains 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
.dashboard-sidebar { | |
overflow: scroll !important; | |
} |
This file contains 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 | |
# timerfires | |
FORMAT='"%8d %5d %-16s %-16s "' | |
CURRENTTIME='(walltimestamp - starttime) / 1000000' | |
specifiers=0 | |
opt_pid=0; pid=0 |
This file contains 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
diff --git a/Tests/SUAppcastTest.swift b/Tests/SUAppcastTest.swift | |
index a1e921db..336e959b 100644 | |
--- a/Tests/SUAppcastTest.swift | |
+++ b/Tests/SUAppcastTest.swift | |
@@ -11,6 +11,27 @@ import Sparkle | |
class SUAppcastTest: XCTestCase { | |
+ func testBrokenAppcast() { | |
+ let testURL = Bundle(for: SUAppcastTest.self).url(forResource: "marconio-broken-appcast", withExtension: "xml")! |
This file contains 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
import Combine | |
import Foundation | |
extension NSExtensionContext { | |
enum Errors: Error { | |
/// An error passed when there is no error, and no item is returned. | |
case unableToLoadItem | |
} | |
/** |
NewerOlder