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
Test inspect type at point. | |
. | |
...handling :connected | |
. | |
...handling :full-typecheck-finished | |
. | |
Test inspect type in range. |
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
Native Memory Tracking: | |
Total: reserved=454337KB, committed=397365KB | |
- Java Heap (reserved=313344KB, committed=313344KB) | |
(mmap: reserved=313344KB, committed=313344KB) | |
- Class (reserved=6186KB, committed=6186KB) | |
(classes #5856) | |
(malloc=6186KB, #8413) |
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
@(detail : AppDetail) | |
@main(title="控制台"){ | |
<div id="content"> | |
<div class="container"> | |
<ul class="list-group"> | |
<li class="list-group-item"><h4>@detail.app.name</h4></li> | |
<li class="list-group-item"> | |
<span class="col-md-3">build时间 | |
<span class="label label-warning">@detail.lastBuildTime.map(_.format("yyyy-MM-dd HH:mm:ss"))</span> |
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
> testOnly play.api.weibo.StatusesShowBatchSpec | |
[error] Could not create an instance of play.api.weibo.StatusesShowBatchSpec | |
[error] caused by java.lang.Exception: Could not instantiate class play.api.weibo.StatusesShowBatchSpec: null | |
[error] org.specs2.reflect.Classes$class.tryToCreateObjectEither(Classes.scala:93) | |
[error] org.specs2.reflect.Classes$.tryToCreateObjectEither(Classes.scala:211) | |
[error] org.specs2.specification.SpecificationStructure$$anonfun$createSpecificationEither$2.apply(BaseSpecification.scala:119) | |
[error] org.specs2.specification.SpecificationStructure$$anonfun$createSpecificationEither$2.apply(BaseSpecification.scala:119) | |
[error] scala.Option.getOrElse(Option.scala:120) | |
[error] org.specs2.specification.SpecificationStructure$.createSpecificationEither(BaseSpecification.scala:119) | |
[error] org.specs2.runner.SbtRunner.org$specs2$runner$SbtRunner$$specificationRun(SbtRunner.scala:73) |
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
/** | |
* Takes a camel cased identifier name and returns an underscore separated | |
* name | |
* | |
* Example: | |
* camelToUnderscores("thisIsA1Test") == "this_is_a_1_test" | |
*/ | |
def camelToUnderscores(name: String) = "[A-Z\\d]".r.replaceAllIn(name, {m => | |
"_" + m.group(0).toLowerCase() | |
}) |
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
import com.ning.http.client._ | |
import com.ning.http.client.cookie.Cookie | |
import scala.concurrent._ | |
object http { | |
private val rng = new scala.util.Random | |
implicit class AhcClientOps(cli: AsyncHttpClient) { |
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
def inSummaryPool(summaryName: String, summaryType: String) = ??? | |
names.collect { | |
case namePattern(summaryName, summaryType) if inSummaryPool(summaryName, summaryType) => | |
summaryPool(summaryName) | |
} |
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
@(bb: String) | |
@foo(bar: String) = { | |
@for(i <- 1 to 10) { | |
<div> | |
<span>@i</span> | |
</div> | |
} | |
@if(bar == "bar") { | |
<div>@bar</div> |
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
01-25 12:12:54.199 29565 29565 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at com.a.a.a.b.l(SourceFile:86) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at com.a.a.a.b.bJ(SourceFile:81) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at com.android.messaging.ui.conversationlist.ConversationListItemView.a(SourceFile:405) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at com.android.messaging.ui.conversationlist.g.a(SourceFile:32) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at com.android.messaging.ui.C.onBindViewHolder(SourceFile:201) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(SourceFile:5277) | |
01-25 12:12:54.199 29565 29565 E AndroidRuntime: at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(SourceFile:5310) | |
01-2 |
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
case class Alarm(id: Option[Long] = None, | |
weixinId: String, | |
`type`: Int, | |
active: Boolean) |
OlderNewer