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
Resolving esp32dev dependencies... | |
Already up-to-date. | |
Updating metadata for the vscode IDE... | |
UserSideException: Processing esp32dev (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino) | |
-------------------------------------------------------------------------------- | |
Verbose mode can be enabled via `-v, --verbose` option | |
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html | |
PLATFORM: Espressif 32 (6.7.0) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM) | |
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash | |
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) |
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
extension XCUIElement { | |
func changeText(ofTextField accessibilityId: AccessibilityIdentifier, to newText: String) { | |
let textField = textField(withId: accessibilityId) | |
textField.tap() | |
textField.clearText() | |
textField.typeTextIndividually(newText) | |
} | |
func cleanup() { | |
#if os(iOS) |
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
*, | |
*:before, | |
*:after { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
article, |
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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: Ivory [91000] | |
Path: /Applications/Ivory.localized/Ivory.app/Contents/MacOS/Ivory | |
Identifier: com.tapbots.Ivory | |
Version: 1.9.2 (19200) | |
App Item ID: 6444602274 | |
App External ID: 864535164 |
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
/// The `=!=` operator assigns the value on the right-hand side to the variable on the left-hand side | |
/// only if the two values are not equal. This operator is designed for types conforming to the `Equatable` protocol. | |
/// | |
/// - Parameters: | |
/// - lhs: The variable to be assigned a new value if not equal. | |
/// - rhs: The value to be assigned to the variable if it is not equal to the current value. | |
/// | |
/// - Precondition: The type of the operands must conform to the `Equatable` protocol. | |
/// | |
/// - Precedence: `AssignIfNotEqualPrecedence` |
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
#if os(macOS) | |
import SwiftUI | |
public extension View { | |
func hostingWindow(_ callback: @escaping (NSWindow?) -> Void) -> some View { | |
background(HostingWindowFinder(callback: callback)) | |
} | |
func windowTitle(_ title: String) -> some View { | |
hostingWindow { $0?.title = title } |
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/bash | |
# ======================================== | |
# ANSI Color escape codes: | |
# ======================================== | |
# Black 0;30 Dark Gray 1;30 | |
# Red 0;31 Light Red 1;31 | |
# Green 0;32 Light Green 1;32 | |
# Brown/Orange 0;33 Yellow 1;33 |
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
Simple media player | |
usage: ffplay [options] input_file | |
Main options: | |
-L show license | |
-h topic show help | |
-? topic show help | |
-help topic show help | |
--help topic show help | |
-version show version |
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 PackageDescription | |
private var packageDependencies: [Package.Dependency] = [] | |
private var plugins: [Target.PluginUsage] = [] | |
// In Xcode's Build Settings I've set under "Preprocessor Macros": CI_XCODE_CLOUD=$(CI_XCODE_CLOUD) | |
#if CI_XCODE_CLOUD | |
#else | |
// Package Dependencies | |
packageDependencies.append(.package(url: "https://github.com/realm/SwiftLint.git", from: "0.51.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
// TassenGugelhupf.swift | |
// Created by Frank Gregor on 18.03.23. | |
// | |
// This code compiles perfectly. Just paste it into a Playground and... | |
// "Let it go" | |
// | |
// You nay ask: "Why so complicated?" | |
// Well, the initial impulse came from this Mastodon thread: | |
// https://swiftdev.space/@phranck/110045414485613046 | |
// |
NewerOlder