This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| import Foundation | |
| import SwiftUI | |
| import UIKit | |
| extension UIBlurEffect { | |
| public static func variableBlurEffect(radius: Double, imageMask: UIImage) -> UIBlurEffect? { | |
| let methodType = (@convention(c) (AnyClass, Selector, Double, UIImage) -> UIBlurEffect).self | |
| let selectorName = ["imageMask:", "effectWithVariableBlurRadius:"].reversed().joined() | |
| let selector = NSSelectorFromString(selectorName) |
| /* Copyright 2019 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * https://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| // | |
| // ColorCubeHelper.swift | |
| // | |
| // Created by Joshua Sullivan on 10/01/16. | |
| // Copyright © 2016 Joshua Sullivan. All rights reserved. | |
| // | |
| import UIKit | |
| import Accelerate |
| - Open Automator | |
| - File -> New -> Service | |
| - Change "Service Receives" to "files or folders" in "Finder" | |
| - Add a "Run Shell Script" action | |
| - Change "Pass input" to "as arguments" | |
| - Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
| - Save it as something like "Open in Visual Studio Code" |