Create a resource group in Azure to hold all of the resources you'll be creating:
- Virtual Network
- Virtual Machines
- Don't use 172.* IPs. I used 10.3.0.0/24
<div>list of things</div> | |
<my-pagination | |
(goPage)="goToPage($event)" | |
(goNext)="onNext()" | |
(goPrev)="onPrev()" | |
[pagesToShow]="3" | |
[page]="page" | |
[perPage]="limit" | |
[count]="total"></my-pagination> |
import { | |
trigger, | |
state, | |
style, | |
animate, | |
transition | |
} from '@angular/animations'; | |
import { AnimationEntryMetadata } from "@angular/core"; |
// just an example. A cleaner way is to wrap the showLine-stuff in a dedicated component | |
<template> | |
<div> | |
<my-line v-if="showLine" :data="lineData" :options="options"> | |
</div> | |
</template> | |
<script> | |
export default { | |
data () { |
Namespace ProjectWithSwagger | |
{ | |
public class Startup | |
{ | |
// This method gets called by the runtime. Use this method to add services to the container | |
public void ConfigureServices(IServiceCollection services) | |
{ | |
//.... | |
services.ConfigureSwaggerGen(swaggerGen => | |
{ |
/* .modal-fullscreen */ | |
.modal-fullscreen { | |
background: transparent; | |
} | |
.modal-fullscreen .modal-content { | |
background: transparent; | |
border: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none; | |
} |
import { | |
Directive, TemplateRef, Input, ChangeDetectorRef, ViewContainerRef, | |
IterableDiffers, OnChanges, SimpleChanges, SimpleChange | |
} from '@angular/core'; | |
import { NgFor } from "@angular/common"; | |
import { NgForRow } from "@angular/common/src/directives/ng_for"; | |
@Directive({ | |
selector: '[ngFor][ngForIn]' | |
}) |
Item | Specification |
---|---|
Custom access key | environment MINIO_ACCESS_KEY |
Custom secret key | environment MINIO_SECRET_KEY |
Turn off web browser | environment MINIO_BROWSER=off |
Listening on bucket notifications | using an extended S3 API |
Support for bucket notifications | postgres, amqp, nats, elasticsearch, redis, kafka (in-progress) |
Shared Backend (FS) | In-progress |
# AWS specific install of Docker | |
sudo yum update -y | |
sudo yum install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
# exit the SSH session, login again | |
# Docker | |
docker run -d --hostname my-rabbit --name some-rabbit -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 15672:15672 rabbitmq |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.