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
test | |
<rjj"rndeii> | |
efj" ,fdi kef |
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
{ | |
"Description": "HONDA ST1300 A", | |
"RegistrationYear": "2005", | |
"CarMake": { | |
"CurrentTextValue": "HONDA" | |
}, | |
"CarModel": { | |
"CurrentTextValue": "ST1300 A" | |
}, | |
"MakeDescription": { |
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
{ | |
"geocoded_waypoints" : [ | |
{ | |
"geocoder_status" : "OK", | |
"place_id" : "ChIJRVY_etDX3IARGYLVpoq7f68", | |
"types" : [ | |
"bus_station", | |
"transit_station", | |
"point_of_interest", | |
"establishment" |
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://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood&key=YOUR_API_KEY |
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
function maPosition(position) { | |
var infopos = "Position déterminée :\n"; | |
infopos += "Latitude : "+position.coords.latitude +"\n"; | |
infopos += "Longitude: "+position.coords.longitude+"\n"; | |
infopos += "Altitude : "+position.coords.altitude +"\n"; | |
infopos += "Vitesse : "+position.coords.speed +"\n"; | |
document.getElementById("infoposition").innerHTML = infopos; | |
// Un nouvel objet LatLng pour Google Maps avec les paramètres de position |
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
<script> | |
function maPosition(position) { | |
var infopos = "Position déterminée :\n"; | |
infopos += "Latitude : "+position.coords.latitude +"\n"; | |
infopos += "Longitude: "+position.coords.longitude+"\n"; | |
infopos += "Altitude : "+position.coords.altitude +"\n"; | |
document.getElementById("infoposition").innerHTML = infopos; | |
} | |
if(navigator.geolocation) |
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
"messaging_type": "<MESSAGING_TYPE>", | |
"recipient":{ | |
"id":"<PSID>" | |
}, | |
"message":{ | |
"text":"hello, world!" | |
} |
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
// Add this to the header of your file, e.g. in ViewController.m | |
// after #import "ViewController.h" | |
#import <FBSDKCoreKit/FBSDKCoreKit.h> | |
#import <FBSDKLoginKit/FBSDKLoginKit.h> | |
// Add this to the body | |
@implementation ViewController | |
- (void)viewDidLoad { |
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
const imageScaleFactor = 0.50; | |
const flipHorizontal = false; | |
const outputStride = 16; | |
// get up to 5 poses | |
const maxPoseDetections = 5; | |
// minimum confidence of the root part of a pose | |
const scoreThreshold = 0.5; | |
// minimum distance in pixels between the root parts of poses | |
const nmsRadius = 20; | |
const imageElement = document.getElementById('cat'); |
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
const imageScaleFactor = 0.50; | |
const flipHorizontal = false; | |
const outputStride = 16; | |
const imageElement = document.getElementById('cat'); | |
// load the posenet model | |
const net = await posenet.load(); | |
const pose = await net.estimateSinglePose(imageElement, scaleFactor, flipHorizontal, outputStride); |
NewerOlder