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, { useCallback, useEffect, useState } from 'react'; | |
| import { Button } from 'semantic-ui-react'; | |
| import { MapLatLng } from '../../../../../../../../../models'; | |
| import { computeDistanceBetween } from '../../../../../../../../../utils'; | |
| type Position = { date: Date; position: MapLatLng }; | |
| const MAX_POSITIONS = 3; | |
| const Speedometer: React.FC = () => { |
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 DynamoDB from 'aws-sdk/clients/dynamodb'; | |
| import { chunk } from 'lodash'; | |
| import { v4 as uuid } from 'uuid'; | |
| export type ItemStructure = { [key: string]: any; } | |
| export type Filter = { | |
| expression: string; | |
| values?: ItemStructure; | |
| } | ItemStructure; |
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
| const arr1 = [ | |
| ["name", "id", "age", "country"], | |
| ["Susan", "3", "20", "mali"], | |
| ["John", "1", "21", "chad"], | |
| ["Jose", "2", "23", "oman"], | |
| ["Alex", "4", "20", "fiji"], | |
| ]; | |
| const arr2 = [ | |
| ["name", "id", "height"], |
OlderNewer