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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta name="theme-color" content="#000000" /> | |
<meta | |
name="description" | |
content="Web site created using create-react-app" |
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 './App.css'; | |
import React,{Component} from 'react'; | |
class App extends Component { | |
constructor(){ | |
super(); | |
} | |
render(){ | |
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
kvutien@MBP18VTK-2 myfrontend % tree | |
. | |
├── README.md | |
├── node_modules | |
... | |
├── package-lock.json | |
├── package.json | |
├── public | |
│ ├── favicon.ico | |
│ ├── index.html |
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
npx create-react-app myfrontend | |
cd myfrontend | |
npm run start |
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
ppragma solidity ^0.4.11; | |
contract ReactExample{ | |
address private owner; | |
string public youAwesome; | |
string private secret; | |
function ReactExample() public { | |
owner = msg.sender; | |
youAwesome = 'You are awesome'; |
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
/* | |
* @notice GEE JavaScript for Code Editor | |
* @notice Generate a mosaic using pixels of the best NDVI of all images of a month | |
* @notice Do it over all same months of a period of time, for example March (or August, or December) | |
* @notice ... useful to remove clouds and calculate monthly NDVI stats over several years | |
* @author Vu Tien Khang, licence MIT, Jan 2021 | |
*/ | |
// make a list of years composing the history | |
var history = ee.List.sequence(2017, 2020); | |
// per year of history, calculate bestNDVI and add to bestNDVICollection |
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
/* | |
* @notice fully functional GEE JavaScript for Code Editor | |
* @notice Generate a mosaic using pixels of the best NDVI of all images of a month | |
* @notice Do it over all same months of a period of time, for example March (or August, or December) | |
* @notice ... useful to remove clouds and calculate monthly NDVI stats over several years | |
* @author Vu Tien Khang, licence MIT, Jan 2021 | |
*/ | |
// prepare the refrence set of images, here it's Sentinel-2 MSI: MultiSpectral Instrument, Level-1C | |
var myPoint = ee.Geometry.Point(78.2875, 10.4156); // Sendurai, Tamil Nadu, India | |
Map.centerObject(myPoint, 13); // close zoom around central point, zoom scale 13 |
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
/* | |
* create an orbitDB key-value database of pet animals | |
* July 2021 - (c) Vu Tien Khang - Machu Picchu | |
*/ | |
// import the packages | |
const IPFS = require('ipfs-http-client'); | |
const OrbitDB = require('orbit-db'); | |
async function main () { | |
const ipfsOptions = { }; // placeholder |
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
[1] 28719 | |
Initializing daemon... | |
go-ipfs version: 0.7.0 | |
Repo version: 10 | |
System version: amd64/darwin | |
Golang version: go1.14.4 | |
Swarm listening on /ip4/127.0.0.1/tcp/4001 | |
Swarm listening on /ip4/127.0.0.1/udp/4001/quic | |
... | |
WebUI: http://127.0.0.1:5001/webui |
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
country=LU | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="your wi-fi SSID" | |
psk="your-wifi-password-example204877" | |
} |
OlderNewer