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
const material = new THREE.MeshStandardMaterial({ | |
map: new THREE.TextureLoader().load('map.jpg'), | |
normalMap: new THREE.TextureLoader().load('normalMap.jpg') | |
}); | |
const loader = new THREE.JSONLoader(); | |
loader.load('geometry.json', geometry => { | |
const mesh = new THREE.Mesh(geometry, material); | |
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
pragma solidity >0.4.99 <0.6.0; | |
contract InsuranceClaimFactory{ | |
address public claimer; | |
InsuranceClaim[] public deployedInsuranceClaim; | |
function createInsuranceClaim () public { | |
InsuranceClaim newInsuranceClaim = new InsuranceClaim(msg.sender); | |
deployedInsuranceClaim.push(newInsuranceClaim); | |
} |
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
pragma solidity >0.4.99 <0.6.0; | |
contract InsuranceClaimFactory{ | |
address public claimer; | |
InsuranceClaim[] public deployedInsuranceClaim; | |
function createInsuranceClaim () public { | |
InsuranceClaim newInsuranceClaim = new InsuranceClaim(msg.sender); | |
deployedInsuranceClaim.push(newInsuranceClaim); | |
} |
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
pragma solidity >0.4.99 <0.6.0; | |
contract InsuranceClaimFactory{ | |
address public claimer; | |
InsuranceClaim[] public deployedInsuranceClaim; | |
function createInsuranceClaim () public { | |
InsuranceClaim newInsuranceClaim = new InsuranceClaim(msg.sender); | |
deployedInsuranceClaim.push(newInsuranceClaim); | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am kanlanc on github. | |
* I am kanlanc (https://keybase.io/kanlanc) on keybase. | |
* I have a public key ASC2SlDl3r1-BapFPM06tKLTxgJl9T_BiO_k9mSU9G03GQo | |
To claim this, I am signing this object: |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
Install docker with
sudo amazon-linux-extras install docker