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
INFO - V (27014) wifi: | |
INFO - scan specific ssid=Wokwi-GUEST | |
INFO - | |
INFO - V (27081) wifi: | |
INFO - start max timer | |
INFO - | |
INFO - D (27241) wifi: |
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
M561 ; clear any bed transform | |
G29 S2 ; Clear bed height map | |
; Probe 2-points | |
M401 ; Deploy probe - deployprobe.g | |
G30 P0 X20 Y200 Z-9999 ; Center Left | |
G30 P1 X340 Y200 Z-9999 S2 ; Center Right | |
M402 ; Retract Probe - retractprobe.g |
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
0x45b1fDcA7aa4acF6957c464815E3708B0aB7354a |
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
"use strict"; | |
var request = require('request'); | |
// request login | |
request({ | |
url: 'https://home.nest.com/user/login', | |
method: 'POST', | |
headers: { | |
'user-agent': 'Nest/2.1.3 CFNetwork/548.0.4', |
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
// helpful links: | |
// https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/EV_SET.2.html | |
// http://julipedia.meroh.net/2004/10/example-of-kqueue.html | |
// create kqueue | |
kq, err := syscall.Kqueue() | |
if err != nil { | |
log.Println("Error creating Kqueue descriptor!") | |
return | |
} |