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
Service | Watch App | Carplay App | Stream in Carplay | |
---|---|---|---|---|
Tidal | No | Yes | No | |
Apple | Yes | Yes | Yes | |
Qobuz | No | Yes | No | |
Deezer | Yes | Yes | Yes | |
Amazon | No | No | - | |
Spotify | Yes | Yes | Yes |
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
Service | Library | Quality | Desktop App | Algorithm | Desktop Memory | Price | |
---|---|---|---|---|---|---|---|
Tidal | 8/10 | Lossy | Good | Good | 450MB | €10-20 | |
Apple | 10/10 | Lossy | Great | Good | 200MB | €10 | |
Qobyz | 6/10 | High Res | Meh | No algorithms | 400MB | €15 | |
Deezer | 9/10 | Losless | Good | Good | 250MB | €10-15 | |
Amazon | 7/10 | Lossy | Okay | No algorithms | 450MB | €10 | |
Spotify | 10/10 | Lossy | Good | Great | 500MB | €10 |
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
{ | |
"request": { | |
"customer_number": 12345678, | |
"request_date": "2020-19-10 11:01:55" | |
}, | |
"insights": { | |
"ds_ingress": { | |
"score_date": "2020-18-10", | |
"score_datetime": "2020-18-10 13:12:05", | |
"ds_ingress": true, |
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
Brand | Model | Apps | Specs | Bluetooth | Weight | |
---|---|---|---|---|---|---|
FiiO | M5 | None | 4.2 | 38 | ||
FiiO | M6 | Tidal/Spotify/Qobuz/Deezer | 4.2 | 83 | ||
HiBy | R3 | Tidal/Qobuz | MQA | 4.1 | 95 | |
HiBy | R3 Pro | Tidal/Qobuz | MQA | 5.0 | 95 | |
Hidizs | AP80 | None | 4.0 | 70 | ||
Hidizs | AP80 Pro | None | 4.2 | 68 | ||
Shanling | M0 | None | 4.1 | 38 | ||
Shanling | M2x | Tidal | 4.2 | 147 | ||
Shanling | M6 | Android | 4.2 | 228 |
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 unittest | |
from test1 import Test1 | |
from test2 import Test2 | |
loader = unittest.TestLoader() | |
suite = unittest.TestSuite() | |
suite.addTest(loader.loadTestsFromTestCase(Test1)) | |
suite.addTest(loader.loadTestsFromTestCase(Test2)) |
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
#!/bin/bash | |
if ! [ -x "$(command -v docker-machine)" ]; then | |
echo 'docker-machine not installed' | |
brew install docker-machine | |
fi | |
if ! [ -x "$(command -v docker)" ]; then | |
echo 'docker client not installed' | |
brew install docker | |
fi |
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 io.crystalline.jigsaw.client.Client; | |
import io.crystalline.jigsaw.repo.SimpleCustomerRepository; | |
public class Application { | |
public static void main(String[] args) { | |
SimpleCustomerRepository repo = new SimpleCustomerRepository(); | |
Client client = new Client(repo); | |
client.demonstrate(); | |
} |
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
public class SimpleCustomerRepository implements CustomerRepository { | |
@Override | |
public Iterable<Customer> allCustomers() { | |
SimpleCustomer customer1 = new SimpleCustomer(1, "John Doe"); | |
return Arrays.asList(customer1); | |
} | |
} | |
public class SimpleOrderRepository implements OrderRepository { |
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
interface Customer { | |
String getName(); | |
String getId(); | |
} | |
interface CustomerRepository { | |
Stream<Customer> allCustomers(); | |
} | |
interface Order { |
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
public class Client { | |
public Client(CustomerRepository customerRepo, OrderRepository orderRepo) { | |
this.customerRepo = customerRepo; | |
this.orderRepo = orderRepo; | |
} | |
public void demonstrate() { | |
customerRepo.allCustomers().forEach(customer -> { | |
List<Order> orders = orderRepo.getOrdersForCustomer(customer.getId()); |
NewerOlder