Skip to content

Instantly share code, notes, and snippets.

View Duhemm's full-sized avatar

Martin Duhem Duhemm

  • Switzerland
  • 10:35 (UTC +02:00)
View GitHub Profile
[info] Loading global plugins from /Users/martin/.sbt/0.13/plugins
[info] Loading project definition from /Users/martin/Documents/Projects.nosync/Duhemm/dotty/project/project
[info] Loading project definition from /Users/martin/Documents/Projects.nosync/Duhemm/dotty/project
[info] Resolving key references (17198 settings) ...
[info] Set current project to dotty (in build file:/Users/martin/Documents/Projects.nosync/Duhemm/dotty/)
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[info] Test dotty.tools.dotc.CompilationTests.testOptimised ignored
[info] Test dotty.tools.dotc.CompilationTests.runAll ignored
[info] Test dotty.tools.dotc.CompilationTests.testPlugins ignored
#include <libunwind.h>
#include <stdio.h>
int fn5() {
unw_context_t context;
unw_cursor_t cursor;
unw_proc_info_t info;
unw_getcontext(&context);
unw_init_local(&cursor, &context);
#!/bin/zsh
REPOS=("guardian/frontend" \
# "Duhemm/parsermacros" \
# "apache/spark" \
# "apache/incubator-predictionio" \
# "playframework/playframework" \
# "scala/scala" \
# "shadowsocks/shadowsocks-android" \
# "akka/akka"
package lm
import java.io.File
import sbt.librarymanagement._
import sbt.librarymanagement.ivy._
object Main {
def main(args: Array[String]): Unit = {
val Array(org, name, version) = args

Keybase proof

I hereby claim:

  • I am Duhemm on github.
  • I am duhemm (https://keybase.io/duhemm) on keybase.
  • I have a public key whose fingerprint is 3597 849F E13A 796F 7B5C D5D2 CC9C E965 6E10 C555

To claim this, I am signing this object:

@Duhemm
Duhemm / log.txt
Created May 10, 2016 12:47
sbt 1.0.0-M2
~ ❯ mv .ivy2 .ivy2-safe
~ ❯ mv .sbt .sbt-safe
~ ❯ cd -
simple ❯ /usr/local/Cellar/sbt/0.13.11/bin/sbt
Getting org.scala-sbt sbt 1.0.0-M2 ...
downloading https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.0.0-M2/sbt-1.0.0-M2.jar ...
[SUCCESSFUL ] org.scala-sbt#sbt;1.0.0-M2!sbt.jar (113ms)
downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.8/scala-library-2.11.8.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.11.8!scala-library.jar (3014ms)
downloading https://repo1.maven.org/maven2/org/scala-sbt/main_2.11/1.0.0-M2/main_2.11-1.0.0-M2.jar ...
package hijack
import sbt._
import Keys._
import sbt.complete.DefaultParsers._
object HijackShellPlugin extends AutoPlugin {
override def requires = sbt.plugins.JvmPlugin
override def trigger = allRequirements
package sbt.incrementalcompiler
import org.specs2.Specification
class IncrementalTest extends Specification {
import IncrementalCompilerTest._
def is = s2"""
This is a specification for the incremental compiler.

What exists today

Running the incremental compiler

object Incremental (Incremental.scala)

  • Used by object IncrementalCompile
  • Delegates work to the incremental compilation strategy
  • A mean to run the incremental compiler

Helper class to run incremental compilation algorithm.

@Duhemm
Duhemm / scripted ouput
Created July 13, 2015 22:28
dependency-management/mvn-local
[info] Getting org.scala-sbt sbt 0.13.9-SNAPSHOT ...
[info] :: retrieving :: org.scala-sbt#boot-app
[info] confs: [default]
[info] 49 artifacts copied, 0 already retrieved (17109kB/239ms)
[info] Getting Scala 2.10.5 (for sbt)...
[info] :: retrieving :: org.scala-sbt#boot-scala
[info] confs: [default]
[info] 5 artifacts copied, 0 already retrieved (24493kB/130ms)
[info] [info] Loading project definition from /private/var/folders/fs/vxmgphx94n12rsfmvdyn4s880000gn/T/sbt_e8cecca7/mvn-local/project
[info] [info] Updating {file:/private/var/folders/fs/vxmgphx94n12rsfmvdyn4s880000gn/T/sbt_e8cecca7/mvn-local/project/}mvn-local-build...