http://www.mongodb.com/events/mongodb-sf-2014
Mostly about 2.8 features.
- document-level locking
http://www.mongodb.com/events/mongodb-sf-2014
Mostly about 2.8 features.
| implicit def writeableOf_AnyContentAsMultiPartFormData(implicit codec: Codec): Writeable[AnyContentAsMultipartFormData] = { | |
| writeableOf_multiPartFormData(codec).map(c => c.asMultipartFormData.getOrElse(MultipartFormData(Map(), List(), List(), List()))) | |
| } |
| sealed abstract class LoyaltyDomain(val id: String) { | |
| def name = { | |
| this match { | |
| case LoyaltyDomain.ANDROID => "Android" | |
| case LoyaltyDomain.IOS => "iOS" | |
| case LoyaltyDomain.AMAZON => "Amazon" | |
| case LoyaltyDomain.WINPHONE => "Windows Phone" | |
| case LoyaltyDomain.WINSTORE => "Windows Store" | |
| // ??? |
| /** | |
| * Example of assigning a constructor to module.exports and methods to its | |
| * prototype. | |
| * @module | |
| */ | |
| /** @constructor */ | |
| module.exports = function() {}; | |
| /** An instance method. */ |
| import scala.collection.mutable.Builder | |
| import scala.collection.TraversableLike | |
| import scala.concurrent.Future | |
| class AsyncMapBuilder[A, B, Coll <: AsyncMap[A, B]](empty: Coll) | |
| extends Builder[(A, B), Coll] | |
| { | |
| protected var elems: Coll = empty |
| # | |
| # Copyright:: Copyright (c) 2009 Opscode, Inc. | |
| # License:: Apache License, Version 2.0 | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| $ php requirer.php | |
| before php tag in required.php | |
| inside php tag in required.phpafter php tag in required.php | |
| require_result: 1 | |
| global_var: global var from required.php |
| { | |
| "access": [ | |
| { | |
| "role": "READER", | |
| "specialGroup": "projectReaders" | |
| }, | |
| { | |
| "role": "WRITER", | |
| "specialGroup": "projectWriters" | |
| }, |
| function bar(): void { | |
| console.log('hello') | |
| } | |
| export class ClassWithClosedOverFunction { | |
| constructor() { | |
| bar() | |
| } | |
| } | |
| /* |
| // @ts-check | |
| const schedule = [ | |
| 13, | |
| 'x', | |
| 'x', | |
| 41, | |
| 'x', | |
| 'x', | |
| 'x', |