Skip to content

Instantly share code, notes, and snippets.

View vetler's full-sized avatar
🏠
Working from home forever

Vetle Leinonen-Roeim vetler

🏠
Working from home forever
  • Reprice
  • Grimstad
  • 23:54 (UTC -12:00)
  • X @vetler
View GitHub Profile
import scala.util.Marshal
import scala.io.Source
import scala.collection.immutable
import java.io._
object Example {
class Foo(m: String) extends scala.Serializable {
val message = m
}
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
[INFO] Scanning for projects...
[WARNING]
[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 net.java:jvnet-parent, please verify your project structure @ line 47, column 13
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
wget http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.1/sbt-launch.jar
java -jar sbt-launch.jar test
void foo(Function<String, Function<String, Consumer<Long>>> f) {
f.apply("arg1").apply("arg2").accept(1L);
}
foo(a1 -> a2 -> l -> System.out.println("%s %s %d", a1, a2, l);
#!/bin/bash
# Update all git directories below current directory or specified directory
# Skips directories that contain a file called .ignore
HIGHLIGHT="\e[01;34m"
NORMAL='\e[00m'
function update {
local d="$1"
if [ -d "$d" ]; then

Keybase proof

I hereby claim:

  • I am vetler on github.
  • I am vetler (https://keybase.io/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: