Skip to content

Instantly share code, notes, and snippets.

Jason lemnik

Block or report user

Report or block lemnik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lemnik /
Created Nov 23, 2018
Clear all Docker containers and volumes
docker container rm `docker container ls -a | cut -d " " -f1 | tail -n +2`; docker volume prune -f
lemnik / InstanceFunctionReferences.kt
Created Oct 11, 2018
Using instance-function references in Kotlin
View InstanceFunctionReferences.kt
class MyClass {
private fun doThing1(name: String) =
println("Thing1 says: Hello $name")
private fun doThing2(name: String) =
println("Thing2 says: Hi $name!")
private fun fail(name: String) =
You can’t perform that action at this time.