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
| from math import pow, sqrt | |
| def distance_two_points(x1, y1, x2, y2): | |
| return sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2)) | |
| points = [(1, 2), (3, 4), (5, 6)] | |
| sum = 0 | |
| for outer_i in range(len(points)): | |
| for inner_i in range(len(points)): |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am jaraujoduarte on github. | |
| * I am jonathanduarte (https://keybase.io/jonathanduarte) on keybase. | |
| * I have a public key ASBTHX2Np_jB0b9xN8dE7VgeOlCc_pA3RyuqMffANRz0IQo | |
| To claim this, I am signing this object: |
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
| panic: runtime error: invalid memory address or nil pointer dereference | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2353fc6] | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: goroutine 260 [running]: | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: github.com/terraform-providers/terraform-provider-azurerm/azurerm.flattenAzureRmVirtualMachineDataDisk(0xc420893f20, 0x275d9e8, 0xf) | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_virtual_machine.go:965 +0x5c6 | |
| 2018-04-06T18:17:28.350+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.3.2_x4: github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourc |