This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.eclipse.equinox.p2-aggregator ((bb6efb2...))$ pwd | |
/Users/mhughes/OpenSource/p2/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-aggregator | |
org.eclipse.equinox.p2-aggregator ((bb6efb2...))$ mvn install | |
[INFO] Scanning for projects... | |
[ERROR] The build could not read 1 project -> [Help 1] | |
[ERROR] | |
[ERROR] The project org.eclipse:org.eclipse.equinox.p2-aggregator:0.0.1-SNAPSHOT (/Users/mhughes/OpenSource/p2/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-aggregator/pom.xml) has 47 errors | |
[ERROR] Child module /Users/mhughes/OpenSource/p2/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-aggregator/../ie.wombat.jbdiff of /Users/mhughes/OpenSource/p2/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-aggregator/pom.xml does not exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class Foo private (val value: Int) extends AnyVal { | |
override def toString = value.toString | |
} | |
object Foo { | |
def apply(value: Int) = { | |
assert(value > 0) | |
new Foo(value) | |
} | |
} |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sampling process 65571 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Google Chrome Helper (pid 65571) every 1 millisecond | |
Process: Google Chrome Helper [65571] | |
Path: /Applications/Google Chrome.app/Contents/Versions/30.0.1599.69/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper | |
Load Address: 0x4f000 | |
Identifier: com.google.Chrome.helper | |
Version: 30.0.1599.69 (1599.69) | |
Code Type: X86 (Native) | |
Parent Process: Google Chrome [46125] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implicit def AgentCodecJson: CodecJson[Agent] = | |
CodecJson( | |
(agent: Agent) => jString(agent match { | |
case Agent.System => "System" | |
case Agent.User(name) => name | |
}), | |
c => c.focus.string.map { | |
_ match { | |
case "System" => Agent.System |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>bundleUUID</key> | |
<string>452017E8-0065-49EF-AB9D-7849B27D9367</string> | |
<key>fileTypes</key> | |
<array> | |
<string>scala</string> | |
</array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait RetryCombinators { | |
// Taken from Paul's gist: https://gist.github.com/pchiusano/7894696 | |
/** | |
* Try running the process `p`, retrying in the event of failure. | |
* Example: `retry(time.awakeEvery(2 minutes))(p)` will wait | |
* 2 minutes after each failure before trying again, indefinitely. | |
* Using `retry(Process.awakeEvery(2 minutes).take(5))(p)` will do | |
* the same, but only retry a total of five times before raising | |
* the latest error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object PaulRetry { | |
import scalaz.stream.{ async, Process } | |
import scalaz.concurrent.Task | |
import scala.concurrent.duration._ | |
implicit val scheduler = scalaz.stream.DefaultScheduler | |
/** | |
* Try running the process `p`, retrying in the event of failure. | |
* Example: `retry(Process.awakeEvery(2 minutes))(p)` will wait | |
* 2 minutes after each failure before trying again, indefinitely. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] + and.scala.&.example at line 19: describe(1): OK, proved property. | |
[info] + and.scala.&.example at line 15: describe(-1): OK, proved property. | |
[info] + and.scala.&.example at line 21: describe(2): OK, proved property. | |
[info] + and.scala.&.example at line 17: describe(0): OK, proved property. | |
[info] ResponseGeneratorSpec | |
[info] haveHeaders should | |
[info] + work on value equality (377 ms) | |
[info] Total for specification ResponseGeneratorSpec | |
[info] Finished in 384 ms | |
[info] 1 example, 0 failure, 0 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java System Properties: | |
#Wed Oct 23 18:42:54 EDT 2019 | |
gopherProxySet=false | |
awt.toolkit=sun.lwawt.macosx.LWCToolkit | |
java.specification.version=11 | |
sun.cpu.isalist= | |
sun.jnu.encoding=UTF-8 | |
java.class.path=/usr/local/Cellar/bloop/1.3.4/bin/blp-coursier | |
java.vm.vendor=AdoptOpenJDK | |
coursier.mainJar=/usr/local/Cellar/bloop/1.3.4/bin/blp-coursier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ metals git:(master) pwd [I] | |
/Users/mhughe008/OpenSource/metals | |
➜ metals git:(master) git info | head [I] | |
## Remote URLs: | |
origin https://github.com/scalameta/metals.git (fetch) | |
origin https://github.com/scalameta/metals.git (push) | |
## Remote Branches: |
OlderNewer