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
@TaskDependency(ConfigTask.class) | |
public Observable<ConfigDto> configTask; | |
@TaskDependency(SiteTask.class) | |
public Observable<SiteDto> siteTask; | |
@TaskDependency(UserTask.class) | |
public Observable<UserDto> userTask; | |
@Inject |
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
@TaskDependency(ConfigTask.class) | |
public Observable<ConfigDto> configTask; | |
@TaskDependency(SiteTask.class) | |
public Observable<SiteDto> siteTask; | |
@TaskDependency(UserTask.class) | |
public Observable<UserDto> userTask; | |
@Inject |
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 java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.CompletionException; | |
import static java.lang.System.out; | |
import static java.util.stream.Collectors.toList; | |
public class Futures { |
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 java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.CompletionException; | |
import static java.lang.System.out; | |
import static java.util.stream.Collectors.toList; | |
public class Futures { |
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 java.time.ZonedDateTime; | |
import static java.lang.System.out; | |
class Program { | |
public static void main(String[] args) { | |
ZonedDateTime thisStart = ZonedDateTime.now().plusHours(-4); | |
ZonedDateTime thisEnd = ZonedDateTime.now().plusHours(-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
{ | |
"type": "folder", | |
"id": "115975a8-577f-43bb-b660-21b0f31f4dcc", | |
"name": "root", | |
"nodes": [ | |
{ | |
"type": "folder", | |
"id": "6b2eea90-357b-40ba-a575-497fe63f875f", | |
"parent": "115975a8-577f-43bb-b660-21b0f31f4dcc", | |
"name": "music", |
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 com.ariel; | |
import com.ariel.core.Application; | |
import com.fasterxml.jackson.annotation.*; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.databind.SerializationFeature; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Scanner; |
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
using System; | |
using System.Collections.Generic; | |
using Moq; | |
using NUnit.Framework; | |
namespace TestProject1 | |
{ | |
[TestFixture] | |
public class UserServiceTest |
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
{"schemaVersion":1,"label":"Unit Test Coverage","message":"88.65%","color":"brightgreen"} |
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
using System; | |
using System.Collections.Generic; | |
class Program { | |
public static void Main(String[] args) { | |
TranslatorFactory translatorFactory = new TranslatorFactory(); | |
OlderNewer