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
#showtooltip Soar | |
/click [nomounted,advflyable,flyable] MultiBarRightButton10; MountJournalSummonRandomFavoriteButton |
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 RegexBuilder | |
extension Regex { | |
/// Transforms the output of a regex component using the provided transformation function. | |
/// | |
/// - Parameter transform: A closure that takes the output of the regex and transforms it to a new output type. | |
/// - Returns: A new `Regex` instance that applies the transformation function to its output. | |
public func mapOutput<NewOutput>(_ transform: @escaping (Output) throws -> NewOutput) -> Regex<NewOutput> { | |
Regex<NewOutput> { |
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 os | |
import RegexBuilder | |
public struct RegularExpression<Output, Captures> { | |
fileprivate let references = References<Captures>() | |
fileprivate let regex: Regex<Output> | |
public init(for capturesType: Captures.Type = Captures.self, @RegexComponentBuilder _ content: (References<Captures>) -> some RegexComponent<Output>) { | |
let components = content(references) |
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 SwiftUI | |
public struct DoubleColumnVStackLayout: Layout { | |
private let alignment: HorizontalAlignment | |
private let spacing: CGFloat? | |
public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil) { | |
self.alignment = alignment | |
self.spacing = spacing |
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
post_install do |installer| | |
installer.pods_project.build_configurations.each do |config| | |
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" | |
end | |
end |
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 zsh | |
set -eo pipefail | |
# -e exit if any command returns non-zero status code | |
# -o pipefail force pipelines to fail on first non-zero status code | |
declare -a frameworks=("Bold360AI" "BoldAIAccessibility" "BoldAIEngine" "BoldCore" "BoldEngine") | |
# Create directories | |
mkdir -p iphoneos |
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 bash | |
set -eo pipefail | |
# -e exit if any command returns non-zero status code | |
# -o pipefail force pipelines to fail on first non-zero status code | |
FATAL="\\033[1;31mFATAL\\033[0m" | |
WARNING="\\033[1;33mWARNING\\033[0m" | |
PASS="\\033[1;32mPASS\\033[0m" | |
INFO="\\033[1;36mINFO\\033[0m" |
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 | |
echo "This script will now prepare the files for using SharedMedia_MyMedia" | |
if [ ! -d ../SharedMedia_MyMedia ]; then | |
echo "Creating the folders..." | |
mkdir ../SharedMedia_MyMedia | |
mkdir ../SharedMedia_MyMedia/background | |
mkdir ../SharedMedia_MyMedia/border | |
mkdir ../SharedMedia_MyMedia/font |
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
MuteSoundFileDB = { | |
["profileKeys"] = { | |
-- Character-server profiles go here | |
}, | |
["profiles"] = { | |
["Zone Music"] = { | |
["soundList"] = { | |
["MUS_52_StormwindKeep_INTRO (sound/music/pandaria/mus_51_alliancebattlemarch_hero_01.mp3)"] = 772728, | |
["MUS_52_Zone_StormwindKeep (sound/music/pandaria/mus_51_alliancebattlemarch_01.mp3)"] = 772726, | |
["MUS_52_Zone_StormwindKeep (sound/music/pandaria/mus_51_alliancebattlemarch_02.mp3)"] = 772727, |
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 FixedWidthInteger { | |
public init<C: Collection>(littleEndianBytes bytes: C) where C.Element == UInt8 { | |
let (quotient, remainder) = Self.bitWidth.quotientAndRemainder(dividingBy: 8) | |
precondition(bytes.count == (quotient + remainder.signum()) | |
var iterator = bytes.makeIterator() | |
self.init(littleEndianBytes: &iterator) | |
} | |
public init<I: IteratorProtocol>(littleEndianBytes iterator: inout I) where I.Element == UInt8 { |
NewerOlder