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 org.kodein.di.* | |
import org.kodein.di.bindings.Scope | |
import org.kodein.di.bindings.ScopeRegistry | |
import org.kodein.di.bindings.StandardScopeRegistry | |
import java.util.concurrent.ConcurrentHashMap | |
import java.util.concurrent.atomic.AtomicReference | |
enum class Environment(val baseUrl: String) { | |
DEBUG("http://localhost"), | |
PROD("https://api.awesome-service.com") |
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
#!/bin/bash | |
# | |
# Bootstrap script for setting up a new OSX machine | |
# | |
# This should be idempotent so it can be run multiple times. | |
# | |
# Notes: | |
# | |
# - If installing full Xcode, it's better to install that first from the app | |
# store before running the bootstrap script. Otherwise, Homebrew can't access |