- Neil Gresham's Climbing Masterclass (32-part series)
- REI's Rock Climbing series (articles) - https://www.rei.com/learn/c/rock-climbing
- Team BMC
- Indoor Climbing - https://www.youtube.com/playlist?list=PLTodUXkQjZwyerKDXT9qrA4bTeQ6aJ3wu
- Sport Climbing - https://www.youtube.com/playlist?list=PLTodUXkQjZww17nrNYQiG0fpiTTZPBpsN
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
I recently had the following problem:
- From an unattended shell script (called by Jenkins), run a command-line tool that accesses the MySQL database on another host.
- That tool doesn't know that the database is on another host, plus the MySQL port on that host is firewalled and not accessible from other machines.
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like
ssh -L 3306:localhost:3306 remotehost