yum -y install epel-release
yum repolist
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 java.io.IOException; | |
import okhttp3.HttpUrl; | |
import okhttp3.Interceptor; | |
import okhttp3.OkHttpClient; | |
import okhttp3.Request; | |
/** An interceptor that allows runtime changes to the URL hostname. */ | |
public final class HostSelectionInterceptor implements Interceptor { | |
private volatile String host; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// See: http://stackoverflow.com/questions/11531353/viewing-nsdata-contents-in-xcode#25097265 | |
po String(data: data, encoding: .utf8) | |
// Objective-C equivalent. | |
// See: http://stackoverflow.com/questions/11531353/viewing-nsdata-contents-in-xcode#19626815 | |
// p (char *)[buffer bytes] |
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
protocol ControlEventBindable: class { } | |
extension UIControl: ControlEventBindable { } | |
extension UIBarButtonItem: ControlEventBindable { } | |
private struct Keys { | |
static var EventHandlers = "_EventHandlers" | |
} | |
// MARK: - Implementation |
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 com.ankushg.example.BuildConfig | |
import com.ankushg.example.shadows.ShadowResourcesCompat | |
import org.junit.runner.RunWith | |
import org.robolectric.RobolectricTestRunner | |
import org.robolectric.RuntimeEnvironment | |
import org.robolectric.Shadows | |
import org.robolectric.annotation.Config |
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
* https://tech.just-eat.com/2019/12/18/modular-ios-architecture-just-eat/ | |
* https://medium.com/flawless-app-stories/a-modular-architecture-in-swift-aafd9026aa99 | |
* https://blog.prototypr.io/architecting-ios-development-at-zomato-cf894a7fa5e3 | |
* https://tech.olx.com/modular-architecture-in-ios-c1a1e3bff8e9 | |
* https://benoitpasquier.com/how-build-modular-architecture-ios/ | |
* https://github.com/kudoleh/iOS-Modular-Architecture | |
* https://medium.com/freelancer-engineering/modular-architecture-on-ios-and-how-i-decreased-build-time-by-50-23c7666c6d2f | |
* https://engineering.depop.com/scaling-up-an-ios-app-with-modularisation-8cd280d6b2b8 | |
* https://academy.realm.io/posts/modular-ios-apps/ | |
* https://eng.uber.com/uber-freight-app-architecture-design/ |
This gist takes heavy inspiration from kevin-smets / iterm2-solarized.md gist for iTerm2.
The first thing that you will want to do is install WSL 2 and a Linux distro.