This file contains hidden or 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# NuttX/x86_64 Configuration | |
# | |
# | |
# License Setup | |
# | |
# CONFIG_ALLOW_BSD_COMPONENTS is not set | |
# CONFIG_ALLOW_GPL_COMPONENTS is not set |
This file contains hidden or 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
import network | |
import socket | |
x = network.LAN() | |
x.active(True) | |
print(x.ifconfig()) | |
ListenPort = 80 | |
Host = '' |
This file contains hidden or 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
import React from "https://cdn.skypack.dev/[email protected]"; | |
import ReactDOM from "https://cdn.skypack.dev/[email protected]"; | |
function Demo ({inpv}) { | |
return (<pre><code>{inpv}</code></pre>); | |
} | |
function App () { | |
const [text, setText] = React.useState("Waiting..."); | |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\msys2] | |
@="MSYS2 Bash Here" | |
"Icon"="\"C:\\msys64\\msys2.ico\"" | |
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\msys2\command] | |
@="C:\\msys64\\msys2.exe env CHERE_INVOKING=1 bash -li" |
This file contains hidden or 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.4.83 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_MIGHT_HAVE_PCI=y | |
CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
CONFIG_HAVE_PROC_CPU=y | |
CONFIG_STACKTRACE_SUPPORT=y |
This file contains hidden or 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
nc64 -L -p 5002 | mpv - --no-cache --untimed --no-demuxer-thread --video-sync=audio --vd-lavc-threads=1 --fps=50 --lavfi-complex="[vid1] split [s0][s1]; [s0][s1] hstack [vo]" | |
REM Requires netcat -- google for "nc64.exe" | |
REM run this on RPi: raspivid -t 0 -b 2000000 --hflip --vflip -o - -w 1296 -h 972 -fps 42 | nc 192.168.1.101 5002 |
This file contains hidden or 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
' This code works on x64 windows, but fails on arm64 | |
' That occurs because the upper 4 bytes of the pointer get cut off and arm relies on them | |
' I.e. 0x0000007f88799fc0 turns into 0xffffffff88799fc0 on arm | |
' On x64 it doesn't crash because the upper 4 bytes are just so happen to be unused | |
' I.e. 0000000003139FC0 still remains 0000000003139FC0 | |
' You _can_ make it work on arm if you manually replace the higher 0xffffffff back to 0x0000007f | |
' | |
' This code is only for documenting purposes | |
Framework BRL.StandardIO |
This file contains hidden or 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
Import OpenB3DMax.B3DGLGraphics | |
' TODO: Tweakable keybindings and speeds | |
Function MouseLook(pivot:TMesh, camera:TCamera, time:Long ) | |
Local elapsed:Long | |
Repeat | |
elapsed=MilliSecs()-time | |
Until elapsed>0 |
This file contains hidden or 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
pi@raspberrypi:~/convert2.1/tuya-convert/scripts $ tail -f smarthack-web.log | |
tornado.ioloop.IOLoop.current().start() | |
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", lin e 148, in start | |
self.asyncio_loop.run_forever() | |
File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever | |
self._run_once() | |
File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once | |
event_list = self._selector.select(timeout) | |
File "/usr/lib/python3.7/selectors.py", line 468, in select | |
fd_event_list = self._selector.poll(timeout, max_ev) |
This file contains hidden or 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
pi@raspberrypi:~/convert2/tuya-convert/scripts $ tail -f smarthack-mqtt.log | |
1569302251: mosquitto version 1.5.7 starting | |
1569302251: Using default config. | |
1569302251: Opening ipv4 listen socket on port 1883. | |
1569302251: Opening ipv6 listen socket on port 1883. | |
^C1569302467: mosquitto version 1.5.7 terminating | |
1569302533: mosquitto version 1.5.7 starting | |
1569302533: Using default config. | |
1569302533: Opening ipv4 listen socket on port 1883. | |
1569302533: Opening ipv6 listen socket on port 1883. |
NewerOlder