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
<?php | |
use Behat\Behat\Context\ClosuredContextInterface; | |
use Behat\Behat\Context\TranslatedContextInterface; | |
use Behat\Behat\Context\BehatContext; | |
use Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; | |
use Behat\Mink\Behat\Context\MinkContext; |
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 sbt._ | |
import Keys._ | |
object SpringExampleBuild extends Build { | |
private val springVersion = "3.1.1.RELEASE" | |
private val slf4jVersion = "1.6.4" | |
val exampleSettings = Seq( | |
name := "SpringExample", | |
version := "1.0-SNAPSHOT", |
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
<?php | |
use Behat\Behat\Context\Step\Given; | |
use Behat\Behat\Context\Step\Then; | |
use Behat\Behat\Context\Step\When; | |
use Behat\Behat\Event\SuiteEvent; | |
use Behat\Gherkin\Node\TableNode; | |
use Behat\MinkExtension\Context\MinkContext; | |
use Zend\Db\Adapter\Adapter; |
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
package org.example.blog.app.main; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RequestMethod; | |
@Controller | |
@RequestMapping("/") | |
public class HomeController { |
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 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
final firebaseAuthProvider = Provider<FirebaseAuth>((ref) { | |
return FirebaseAuth.instance; | |
}); | |
final authStateChangesProvider = StreamProvider<User>((ref) { | |
return ref.watch(firebaseAuthProvider).authStateChanges(); | |
}); |
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
function MyNumber(n) { | |
var internal = Number(n); | |
this.multiply = function(n) { | |
return internal * n | |
} | |
this.divide = function(n) { | |
return internal / n | |
} |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"checkJs": false, | |
"jsx": "react", | |
"module": "UMD", | |
"moduleResolution": "nodenext", | |
"target": "es6", | |
}, | |
"include": [ | |
"src/**/*" |