Skip to content

Instantly share code, notes, and snippets.

Vetle Leinonen-Roeim vetler

Block or report user

Report or block vetler

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

Keybase proof

I hereby claim:

  • I am vetler on github.
  • I am vetler ( on keybase.
  • I have a public key whose fingerprint is 2AA4 FC80 97C7 F9C5 10F4 C8AA 79A8 58ED 3FA0 E885

To claim this, I am signing this object:

# Update all git directories below current directory or specified directory
# Skips directories that contain a file called .ignore
function update {
local d="$1"
if [ -d "$d" ]; then
View gist:83adc044268f01eec5c8
void foo(Function<String, Function<String, Consumer<Long>>> f) {
foo(a1 -> a2 -> l -> System.out.println("%s %s %d", a1, a2, l);
View gist:4b10d4176223131e1fb4
java -jar sbt-launch.jar test
View gist:9736320
[INFO] Scanning for projects...
[WARNING] Some problems were encountered while building the effective model for org.glassfish.jersey:jersey-bom:pom:2.8-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.glassfish.jersey:project instead of, please verify your project structure @ line 47, column 13
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO] ------------------------------------------------------------------------
View gist:3491955
<settings xmlns=""
View gist:1480346
import scala.util.Marshal
import scala.collection.immutable
object Example {
class Foo(m: String) extends scala.Serializable {
val message = m
You can’t perform that action at this time.