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
1 | |
00:00:13,480 --> 00:00:24,920 | |
This place has known magic. Very dark. Very powerful. | |
2 | |
00:00:28,980 --> 00:00:31,940 | |
This time I cannot hope to destroy it alone. | |
3 | |
00:00:35,060 --> 00:00:39,580 |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Demo Php App: EC2 Metadata</title> | |
<style> | |
#instanceData { | |
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; | |
border-collapse: collapse; |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-service | |
spec: | |
type: ExternalName | |
externalName: my.database.example.com |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-frontend-service | |
spec: | |
type: LoadBalancer | |
clusterIP: 10.0.171.123 | |
loadBalancerIP: 123.123.123.123 | |
selector: | |
app: web |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-frontend-service | |
spec: | |
type: NodePort | |
selector: | |
app: web | |
ports: | |
- name: http |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-backend-service | |
spec: | |
type: ClusterIP # Optional field (default) | |
clusterIP: 10.10.0.1 # within service cluster ip range | |
ports: | |
- name: http | |
protocol: TCP |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: myapp-service | |
spec: | |
selector: | |
app: myapp | |
ports: | |
- name: http | |
protocol: TCP |
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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: my-ingress | |
spec: | |
rules: | |
- host: example.com | |
http: | |
paths: | |
- path: /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
// Query | |
public class GetCustomerByIdQuery : IRequest<Customer> | |
{ | |
public Guid Id { get; set; } | |
} | |
// Query Handler | |
public class GetCustomerByIdQueryHandler : IRequestHandler<GetCustomerByIdQuery, Customer> | |
{ | |
private readonly IRepository<Customer> _repository; |
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
// Command | |
public class CreateCustomerCommand : IRequest<Customer> | |
{ | |
public Customer Customer { get; set; } | |
} | |
// Command Handler | |
public class CreateCustomerCommandHandler : IRequestHandler<CreateCustomerCommand, Customer> | |
{ |