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
pragma solidity ^0.5.3; | |
contract SimpleStorage { | |
function getValue() public pure returns(uint256){ | |
uint256 value = 1000; | |
return value; | |
} | |
} |
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
{ | |
"failed": false, | |
"gas": 114967, | |
"returnValue": "6080604052348015600f57600080fd5b506004361060325760003560e01c80631865c57d146037578063c19d93fb14604f575b600080fd5b603d6055565b60408051918252519081900360200190f35b603d605b565b60005490565b6000548156fea265627a7a723058209fa44d2c74885e60715e4d845d6f360f80cbef23b84d3804408903f946b90bbf64736f6c634300050a0032", | |
"structLogs": [ | |
{ | |
"depth": 1, | |
"gas": 50087, | |
"gasCost": 3, | |
"memory": [], |
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
[ | |
{ | |
"_id": "5bfaf0eef07982278d00b57e", | |
"language": "en", | |
"preSurvey": [ | |
{ | |
"answers": [ | |
{ | |
"_id": "5bfaf0eef07982278d00b582", | |
"answerId": "5bf8575d537b180079deca30", |
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
# if you're doing anything beyond your local machine, please pin this to a specific version at https://hub.docker.com/_/node/ | |
FROM node:8 as builder | |
RUN mkdir -p /opt/app | |
# set our node environment, either development or production | |
# defaults to production, compose overrides this to development on build and run | |
ARG NODE_ENV=production | |
ENV NODE_ENV $NODE_ENV |
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
import {Action, ActionCreator, Dispatch} from 'redux'; | |
import {ThunkAction} from 'redux-thunk'; | |
// Redux action | |
const reduxAction: ActionCreator<Action> = (text: string) => { | |
return { | |
type: SET_TEXT, | |
text | |
}; | |
}; |
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
{ | |
"kind": "youtube#searchListResponse", | |
"etag": "\"DuHzAJ-eQIiCIp7p4ldoVcVAOeY/vWzIsrwMDACFroB6cxG_WasELAI\"", | |
"nextPageToken": "CAoQAA", | |
"regionCode": "GB", | |
"pageInfo": { | |
"totalResults": 1000000, | |
"resultsPerPage": 10 | |
}, | |
"items": [ |
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
import * as React from 'react'; | |
interface Props { | |
name?: string; | |
} | |
const Header: React.SFC<Props> = (props: Props) => ( | |
<h1> | |
Hello, {props.name}! Welcome to React and TypeScript. | |
</h1> |
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
import network | |
from network import LoRa | |
import binascii | |
# Initialize LoRa in LORAWAN mode. | |
lora = LoRa(mode=LoRa.LORAWAN) | |
# Display our device address | |
print(binascii.hexlify(lora.mac()).upper().decode('utf-8')) |
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
import React from 'react'; | |
import { Button } from 'semantic-ui-react'; | |
import { Connect, SimpleSigner } from 'uport-connect' | |
const MNID = require('mnid'); | |
class Login extends React.Component { | |
loginClicked = () => { | |
console.log("Event clicked"); |
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
import React from 'react'; | |
import { Button } from 'semantic-ui-react'; | |
class Login extends React.Component { | |
loginClicked = ()=>{ | |
console.log("Event clicked"); | |
} | |
render() { |