Skip to content

Instantly share code, notes, and snippets.

View joedeveloper's full-sized avatar

joedeveloper

View GitHub Profile
{
"Status": "True",
"Message": "Success",
"Payload": {
"Status": "True",
"Result": [
{
"Container_no": "TRLU7049571",
"Bl_no": "null",
"Booking_no": "null",
/* https://rawgit.com/joedeveloper/e48f4a800b23d9f7050cd83fc10ec919/raw/WL_embed_styles.css */
body {background-color: orange;}
.winpowered {
background-color: white;
box-shadow: 0 0 5px black;
border-radius: 5px;
margin: 5px;
}
/* https://rawgit.com/joedeveloper/e48f4a800b23d9f7050cd83fc10ec919/raw/WL_embed_styles.css */
* {font-family: 'Roboto Condensed' !important;box-sizing: border-box !important;}
body {background: #fff;}
.winpowered {background-color: white;box-shadow: 0 0 5px black;border-radius: 5px;margin: 5px;}
input, select {/*box-shadow: inset 2px 2px 6px -1px orange;*/height:37px;}
.tt-container {background-color: orange;}
Fields: { 'Dep.Port': 1, 'Arr.Port': 1, FlightNo: 1 }
Query: {
"$or":[
{"Carrier.Code":"PK","FlightNo":"267","EffDates.From":{"$lte":"2016-09-08T09:21:58.054Z"},"EffDates.To":{"$gte":"2016-09-08T09:21:58.054Z"}},
{"Carrier.Code":"PK","FlightNo":"721","EffDates.From":{"$lte":"2016-09-08T09:21:58.054Z"},"EffDates.To":{"$gte":"2016-09-08T09:21:58.054Z"}},
{"Carrier.Code":"PK","FlightNo":"789","EffDates.From":{"$lte":"2016-09-08T09:21:58.054Z"},"EffDates.To":{"$gte":"2016-09-08T09:21:58.054Z"}},
{"Carrier.Code":"PK","FlightNo":"306","EffDates.From":{"$lte":"2016-09-08T09:21:58.054Z"},"EffDates.To":{"$gte":"2016-09-08T09:21:58.054Z"}},
{"Carrier.Code":"PK","FlightNo":"797","EffDates.From":{"$lte":"2016-09-08T09:21:58.054Z"},"EffDates.To":{"$gte":"2016-09-08T09:21:58.054Z"}}
]}
ar combinedQuery = gql `query get_users_me_reserve($url_name: String){
reserve(url_name: $url_name){
reserve
sponsored
}
users{_id profile{firstName,lastName,profilePicture,profileText,defaultColor}}
me{_id profile{firstName,lastName,profilePicture,profileText,defaultColor}}
}`;
const UglyMapWithData = graphql(combinedQuery, {
props: (props) => {
// *******************************************************************
// Arduino Nano 5V example code -- adapted to use analog joystick as input
// for https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC
//
// Copyright (C) 2019-2020 Emanuel FERU <aerdronix@gmail.com>
//
// *******************************************************************
// INFO:
// • This sketch uses the the Serial Software interface to communicate and send commands to the hoverboard
// • The built-in (HW) Serial interface is used for debugging and visualization. In case the debugging is not needed,