Bläddra i källkod

Random Java, AWS and Terraform notes

master
Chris Smith 5 år sedan
förälder
incheckning
bad433aa05

+ 20
- 0
content/docs/programming/java.adoc Visa fil

@@ -0,0 +1,20 @@
1
+++++
2
+++++
3
+
4
+== Java
5
+
6
+=== Class file versions
7
+
8
+- Java SE 13 = 57 (0x39 hex)
9
+- Java SE 12 = 56 (0x38 hex)
10
+- Java SE 11 = 55 (0x37 hex)
11
+- Java SE 10 = 54 (0x36 hex)
12
+- Java SE 9 = 53 (0x35 hex)
13
+- Java SE 8 = 52 (0x34 hex)
14
+- Java SE 7 = 51 (0x33 hex)
15
+- Java SE 6.0 = 50 (0x32 hex)
16
+- Java SE 5.0 = 49 (0x31 hex)
17
+- JDK 1.4 = 48 (0x30 hex)
18
+- JDK 1.3 = 47 (0x2F hex)
19
+- JDK 1.2 = 46 (0x2E hex)
20
+- JDK 1.1 = 45 (0x2D hex)

+ 16
- 0
content/docs/software/terraform.adoc Visa fil

@@ -0,0 +1,16 @@
1
++++
2
++++
3
+
4
+== Terraform
5
+
6
+https://www.terraform.io/[Terraform] by HashiCorp is a tool to provision and modify
7
+infrastructure via declarative config files.
8
+
9
+=== Notes
10
+
11
+* An `azurerm_virtual_machine` can't be recreated out-of-the-box as the OS disk
12
+  will still exist. The option `delete_os_disk_on_termination` will delete the
13
+  disk when the machine terminates, which keeps everything happy.
14
+* After adding new providers you need to re-run `terraform init` to install them.
15
+* To force recreation of a resource you can taint it, e.g.
16
+  `terraform taint azurerm_virtual_machine.mymachine`

+ 10
- 0
content/docs/technologies/aws.adoc Visa fil

@@ -0,0 +1,10 @@
1
++++
2
+title = "AWS"
3
++++
4
+
5
+== AWS
6
+
7
+=== EC2
8
+
9
+* Amazon Linux is based on RHEL, so uses the `yum` package manager
10
+* The default user is `ec2-user`

Laddar…
Avbryt
Spara