Authors: Collaborators: Created: Last updated: Status:
Approvers:
| import scala.concurrent.Future | |
| import scala.concurrent.ExecutionContext.Implicits.global | |
| object Main extends App { | |
| Console.println("Running") | |
| val future = Future.successful(1) | |
| val future2 = Future.successful(2) | |
| def wrapFuture(future: Future[Int]) = future.flatMap{ a => | |
| if(a == 1){ |
| MyComponent.propTypes = { | |
| // You can declare that a prop is a specific JS primitive. By default, these | |
| // are all optional. | |
| optionalArray: React.PropTypes.array, | |
| optionalBool: React.PropTypes.bool, | |
| optionalFunc: React.PropTypes.func, | |
| optionalNumber: React.PropTypes.number, | |
| optionalObject: React.PropTypes.object, | |
| optionalString: React.PropTypes.string, | |
| optionalSymbol: React.PropTypes.symbol, |
| [ORGANIZATIONS_SUCCESS](state, action) { | |
| return Object.assign({}, state, { | |
| organizations: action.organizations | |
| }); | |
| }, | |
| [ADACCOUNTS_SUCCESS](state, action) { | |
| return Object.assign({}, state, { | |
| adAccounts: action.adAccounts | |
| }); | |
| } |
| #!/usr/bin/env bash | |
| # | |
| # File: kafka-move-leadership.sh | |
| # | |
| # Description | |
| # =========== | |
| # | |
| # Generates a Kafka partition reassignment JSON snippet to STDOUT to move the leadership | |
| # of any replicas away from the provided "source" broker to different, randomly selected | |
| # "target" brokers. Run this script with `-h` to show detailed usage instructions. |
| .logo-image #topNav nav li a { | |
| padding-right: 5px; | |
| padding-left: 5px; | |
| } | |
| .logo-image #topNav nav li a:hover { | |
| color: #fff; | |
| background: #f7c21e; | |
| border-radius: 7px 7px; | |
| padding: 0px 5px; | |
| margin-top: 23px; |
| aggregation-low: bintray--sbt-rpm | 1.7 kB 00:00 | |
| aggregation-low: http://dl.bintray.com/sbt/rpm/repodata/3392f9b58d0fd28d73495d95fd43e2c9c17130a4-primary.xml.gz: [Errno -1] Metadata file does not match checksum | |
| aggregation-low: Trying other mirror. |
| [FAILED ] org.scala-sbt#test-agent;0.13.0!test-agent.jar: The HTTP response code for https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.13.0/jars/test-agent.jar did not indicate a success. See log for more detail. (10631ms) | |
| aggregation-low: | |
| aggregation-low: [FAILED ] org.scala-sbt#test-agent;0.13.0!test-agent.jar: The HTTP response code for https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.13.0/jars/test-agent.jar did not indicate a success. See log for more detail. (10631ms) |
| Book | |
| .filter({ | |
| published: true | |
| }) | |
| .orderBy("datePublished") | |
| .getJoin({ | |
| author: true | |
| }) | |
| .filter({ | |
| author: { |
| { | |
| category: "Sponsor Link", | |
| action: "Click" | |
| } |