Moved to this GitHub repository:
This gist contains some complementary information to the "Exploring Coursier's Functionality - Resolving Artifacts"
TODO: Add link to video one it's published
Use gem
to install asciidoctor. Follow the instructions in the documentation section of the asciidoc website.
Note: I had to quit the current terminal session and start a new one after which the asciidoctor
command became available.
This can be done using kramdown
. I followed the instructions on one of Matthew Setter blog articles.
case class NetworkSwitch(name: String) { thisSwitch =>
case class Port(nr: Int) {
val switch = thisSwitch
}
def switchPortOn(port: Port): Unit = { println(s"Switching on $port") }
}
def switchOffAnyPort(port: NetworkSwitch#Port): Unit =
println(s"switching off $port on ${port.switch}")
I hereby claim:
- I am eloots on github.
- I am eloots (https://keybase.io/eloots) on keybase.
- I have a public key ASCClPO5_qLRsDmMtlQlVjFk4JGWLyrS3Nx4boMcdstW_Qo
To claim this, I am signing this object:
Note that in the this gist assumes that the following git aliases are in place:
show-graph = log --graph --abbrev-commit --pretty=oneline
co = checkout
br = branch
cm = commit
st = status
rb = rebase
cp = cherry-pick
The code for the Akka Hacking session is maintained in a git repository. The idea is to push the exercises from a private to a public repository used by the attendees.
While writing the code (and README file), mistakes are made, necessitating corrections to the different commits in the repo. Doing this 'manually' is a tedious and error-prone process. This is where git filter-branch
comes into play...
See below the way in which the different source files were corrected. It started with a rename of three variables, which turned out to introduce a name clash. This in turn was corrected with further edits.
Of course, don't do this on your working copy of the repo. Instead:
- Clone the repo and remove the *remote(s)*