# Download prebuilt ruby
curl -LO https://github.com/ruby/ruby.wasm/releases/download/2022-05-11-a/ruby-head-wasm32-unknown-wasi-full.tar.gz
tar xfz ruby-head-wasm32-unknown-wasi-full.tar.gz
# Install the same version of native ruby to avoid bundler version mismatch in "BUNDLED WITH" of Gemfile.lock
rvm install 3.2.0-preview1
rvm use 3.2.0-preview1
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
Pod::Spec.new do |spec| | |
spec.name = "RemoteImage" | |
spec.version = "4.0.0" | |
spec.summary = "Swift package for a SwiftUI remote image view." | |
spec.description = <<-DESC | |
This Swift package provides a wrapper view around the existing SwiftUI Image view which adds support for showing and caching remote images. In addition you can specify a loading and error view. | |
DESC | |
spec.homepage = "https://github.com/crelies/RemoteImage" | |
spec.license = "MIT" | |
spec.author = { "Christian Elies" => "" } |
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 Foundation | |
// Base on | |
// https://github.com/bignerdranch/type-erasure-playgrounds/blob/master/playgrounds/Type_Erasure_Slides.playground/Contents.swift | |
protocol Buffer { | |
associatedtype T | |
func insert(_ value: T) | |
} |
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
cmake -G Xcode .. -DCMAKE_SYSTEM_NAME=iOS \ | |
-DCMAKE_OSX_ARCHITECTURES=x86_64 \ | |
-DCMAKE_OSX_SYSROOT=/Applications/Xcode_11.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk \ | |
-DCMAKE_CXX_FLAGS="-target x86_64-apple-ios13.1-macabi -iframework ${CMAKE_OSX_SYSROOT}/System/iOSSupport/System/Library/Frameworks" \ | |
-DCMAKE_C_FLAGS="-target x86_64-apple-ios13.1-macabi -iframework ${CMAKE_OSX_SYSROOT}/System/iOSSupport/System/Library/Frameworks" |
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
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.2a7a2e8dILHPyZ&id=571356247263&_u=k3kq575k1144 |
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
DefinitionBlock ("", "SSDT", 2, "hack", "spoof", 0) | |
{ | |
// ASUS X299 PRIME PCIE Slot-1 | |
Method(_SB.PC02.BR2A.PEGP._DSM, 4) | |
{ | |
If (!Arg2) { Return (Buffer() { 0x03 } ) } | |
Return (Package() | |
{ | |
"name", Buffer() { "#display" }, | |
"IOName", "#display", |
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
cask_args appdir: '/Applications' | |
tap 'homebrew/cask' | |
tap "homebrew/cask-fonts" | |
tap 'homebrew/cask-versions' | |
tap "homebrew/bundle" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
brew "git" | |
brew "git-lfs" |
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
{ | |
"message": "ok", | |
"id": "4C657635-5A59-4EE3-BEDB-BF59DACF1FD7" | |
} |
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
{ | |
"message": "ok" | |
} |
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
# | |
# Be sure to run `pod lib lint RxOptional.podspec' to ensure this is a | |
# valid spec before submitting. | |
# | |
# Any lines starting with a # are optional, but their use is encouraged | |
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html | |
# | |
Pod::Spec.new do |s| | |
s.name = 'RxOptional' |
NewerOlder