This file contains hidden or 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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.define :ubuntu do |ubuntu| | |
| ubuntu.vm.box = "ubuntu" | |
| ubuntu.vm.network "private_network", ip: "10.11.12.13" |
This file contains hidden or 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 fr.mga.spike; | |
| import java.util.concurrent.*; | |
| public class ConcurrentFooBar { | |
| public static String fooBar(int anInteger) { | |
| String result = ""; | |
| if (anInteger % 3 == 0) | |
| result += "foo"; |
This file contains hidden or 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
| 'use strict'; | |
| describe("HelloController", function() { | |
| var isTrue; | |
| var helloController; | |
| var scope; | |
| beforeEach(angular.mock.module('helloWorld.app')); | |
| beforeEach(angular.mock.inject(function($rootScope, $controller){ |
This file contains hidden or 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 fr.mga.concurrent; | |
| import org.springframework.context.ApplicationContext; | |
| import org.springframework.context.support.ClassPathXmlApplicationContext; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.concurrent.*; | |
| public class ConcurrentFooBarQix implements Callable<String> { |
This file contains hidden or 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 fr.mga.foobarqix; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.concurrent.*; | |
| public class ConcurrentFooBarQix implements Callable<String> { | |
| private int toFooBar; |
This file contains hidden or 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 java.io.IOException; | |
| import de.flapdoodle.embed.mongo.MongodExecutable; | |
| import de.flapdoodle.embed.mongo.MongodProcess; | |
| import de.flapdoodle.embed.mongo.MongodStarter; | |
| import de.flapdoodle.embed.mongo.config.MongodConfigBuilder; | |
| import de.flapdoodle.embed.mongo.config.Net; | |
| import de.flapdoodle.embed.mongo.distribution.Version; | |
| import de.flapdoodle.embed.process.runtime.Network; |
NewerOlder