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
| -- ⚠️ DESTRUCTIVE APPLESCRIPT | |
| -- ⚠️ IF THIS SCRIPT SCREWS UP YOUR PHOTOS ALBUMS, MY NAME IS GARY | |
| -- ⚠️ YOU MUST UNCOMMENT THE DESTRUCTIVE LINE OF APPLESCRIPT YOURSELF | |
| -- ⚠️ Change deleteAlbumsWhoseNameBeginsWith to the prefix of albums you want deleted | |
| set deleteAlbumsWhoseNameBeginsWith to "REPLACE_THIS_AND_BE_CAREFUL" | |
| tell application "Photos" | |
| set ids to {} | |
| repeat with thisOne in albums |
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
| 1132 results - 1 file | |
| D:\Games\World of Warcraft\_retail_\WTF\Account\BALDEMIR\Zul'jin\Wauren\SavedVariables\Prat-3.0.lua: | |
| 35601 { | |
| 35602: ["message"] = "|cff979797|Hpratcopy|h[20:17:33]|h|r Gilthunders performs Khaz Algar Mining on Bismuth.", | |
| 35603 ["serverTime"] = 1754795855, | |
| 35811 { | |
| 35812: ["message"] = "|cff979797|Hpratcopy|h[20:19:27]|h|r Jinain performs Khaz Algar Mining on Ironclaw.", | |
| 35813 ["serverTime"] = 1754795968, |
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
| import Combine | |
| class Foo { | |
| var blurValuePublisher: AnyPublisher<Float, Never> { | |
| _blurValuePublisher.eraseToAnyPublisher() | |
| } | |
| private var _blurValuePublisher: CurrentValueSubject<Float, Never> | |
| init() { |
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
| import Combine | |
| import Foundation | |
| class CombineExampleBase { | |
| @Published var baseValue: Int | |
| init(baseValue: Int) { | |
| self.baseValue = baseValue | |
| } | |
| } |
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
| class Curried { | |
| let x: Int | |
| init(x: Int) { | |
| self.x = x | |
| } | |
| func yummy() -> String { | |
| "Curry is \(x)" | |
| } |
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
| /// PrintIt.swift | |
| @objcMembers public class PrintIt: NSObject { | |
| func printIt(_ dict: [String : String]) { | |
| print(dict) | |
| } | |
| } | |
| /// ViewController.m | |
| #import <PrintIt-Swift.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
| <excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/DerivedData/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
| # More Info: https://help.backblaze.com/hc/en-us/articles/220973007-Advanced-Topic-Setting-Custom-Exclusions-via-XML |
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
| // | |
| // KnobView.swift | |
| // | |
| // Created by Steve Riggins on 6/30/19. | |
| // Copyright © 2019 Steve Riggins. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct KnobView : View { |
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
| // | |
| // ContentView.swift | |
| // X | |
| // | |
| // Created by Steve Riggins on 6/29/19. | |
| // Copyright © 2019 Steve Riggins. All rights reserved. | |
| // | |
| import SwiftUI |
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
| // Example of encoding and decoding a Swift Dictionary | |
| let d = [ | |
| "Casey": 35, | |
| "Erin": 34, | |
| "Declan": 2 | |
| ] | |
| print("Original Dictionary: \(d)") | |
| let encoder = JSONEncoder() | |
| if let encoded = try? encoder.encode(d) |
NewerOlder