- Support for multiple platforms in the same framework.
- Support for Swift, Objective-C and C.
- Support for dynamic frameworks and static libraries.
- Support for Swift Package Manager.
- End of fat binaries.
- Open Current framework project
| import Foundation | |
| @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *) | |
| /// Allows you to use an existing Predicate as a ``StandardPredicateExpression`` | |
| struct VariableWrappingExpression<T>: StandardPredicateExpression { | |
| let predicate: Predicate<T> | |
| let variable: PredicateExpressions.Variable<T> | |
| func evaluate(_ bindings: PredicateBindings) throws -> Bool { | |
| // resolve the variable |
If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives
It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.
The gist version of this list will stop being updated.
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\VLC.mp4\shell\Open\command] | |
| @="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" --started-from-file --sout-all --sout \"#display\" \"%1\"" | |
| #!/usr/bin/env ruby | |
| require 'csv' | |
| CSV.open('bitwarden.csv', 'w') do |csv| | |
| csv << ['folder', 'favorite', 'type', 'name', 'notes', 'fields', 'login_uri', 'login_username', 'login_password', 'login_totp'] | |
| CSV.open('~/Desktop/pm_export.csv', headers: true).each do |row| | |
| data = ['', 0, 'login', row['Title'], '', '', row['Login URL'], row['Login Username'], row['Login Password'], ''] | |
| csv << data |
| #!/usr/bin/env python | |
| import time | |
| import sys | |
| from rgbmatrix import RGBMatrix, RGBMatrixOptions | |
| from PIL import Image, ImageSequence, GifImagePlugin | |
| # Matrix size | |
| size = 64, 64 |
| #!/bin/bash | |
| # spotify_platform_oauth.sh | |
| # | |
| # A script to quickly and easily generate Spotify oauth tokens given a client | |
| # id, secret, and scope. Will authenticate a user via the browser. | |
| # The app must have "http://localhost:8082/' as a redirect_uri | |
| # spotify_client_creds.json should contain a spotify client id and secret pair |
| curl -L http://bit.ly/10hA8iC | bash |
| #!/bin/bash | |
| # | |
| # Prune local tracking branches that have been removed upstream. | |
| # Your remote tracking branches can be removed automatically by setting `fetch.prune` to true or running `git fetch -prune`. | |
| # Another command to clean up your remote tracking branches is `git remote prune <remote>`. | |
| # | |
| # Author: @leshill | |
| # https://gist.github.com/leshill/9a1088a17f94cef24831 | |
| if [[ $# = 1 && $1 == '-n' ]]; then |
| import CoreLocation | |
| extension CLLocationCoordinate2D: Equatable {} | |
| public func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool { | |
| return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude | |
| } |