Skip to content

Instantly share code, notes, and snippets.

View beaufortfrancois's full-sized avatar
🏠
Working from home

François Beaufort beaufortfrancois

🏠
Working from home
View GitHub Profile
Start at https://www.savethedate.foo/
---------
Puzzle #1
https://github.com/kzuse201/trailhead/blob/master/idareyou.js
-28.092472,-52.419667
5
@beaufortfrancois
beaufortfrancois / web-bluetooth-permissions-proposal.js
Last active February 14, 2024 06:17
Web Bluetooth + Permissions API
function connectDevice(device) {
return device.connectGATT()
.then(...)
}
// Simple
permissions.query({ name: 'bluetooth' })
.then(permission => {
if (permission.state != 'granted') {