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
// ******************************************************************* | |
// 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, |
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
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) => { |
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
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"}} | |
]} |
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
/* 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;} |
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
/* 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; | |
} |
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
{ | |
"Status": "True", | |
"Message": "Success", | |
"Payload": { | |
"Status": "True", | |
"Result": [ | |
{ | |
"Container_no": "TRLU7049571", | |
"Bl_no": "null", | |
"Booking_no": "null", |
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
{ | |
"AirlineName": "China Airlines Cargo", | |
"AirlinePrefix": "297", | |
"AirlineCodeIATA": "CI", | |
"AwbNumber": "30169624", | |
"Statuses": [ | |
{ | |
"AirportCode": "BKK", | |
"Details": [ | |
{ |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"id": "/", | |
"type": "object", | |
"description": "Results returned by WIN UAT API for successful AWBno searches", | |
"properties": { | |
"AirlineName": { | |
"id": "AirlineName", | |
"type": "string", | |
"description": "Human Readable Airline name.", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Responsive Design Testing</title> | |
<style> | |
body { margin: 20px; font-family: sans-serif; overflow-x: scroll; } | |
.wrapper { width: 6000px; } | |
.frame { float: left; } | |
h2 { margin: 0 0 5px 0; } |
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
/** helper function to dynamically include js */ | |
var js; | |
function include_js(file) { | |
var html_doc = document.getElementsByTagName('head')[0]; | |
js = document.createElement('script'); | |
js.setAttribute('type', 'text/javascript'); | |
js.setAttribute('src', file); | |
html_doc.appendChild(js); | |
NewerOlder