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
This is sample for srt server |
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
#!/bin/sh -xue | |
HOST_IP=xx.yy.zz.ww | |
PORT=7001 | |
RECDIR=$PWD/rec | |
SEGMENT_TIME=3600 | |
FIFO=$PWD/.fifo | |
rm -f $FIFO | |
mkfifo $FIFO |
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
#!/bin/sh | |
set -e | |
GOROOT=`go env GOROOT` | |
GO_GDB="${GO_GDB:-gdb}" | |
exec ${GO_GDB} \ | |
--directory="$GOROOT" \ | |
-iex "add-auto-load-safe-path $GOROOT/src/runtime/runtime-gdb.py" \ | |
"$@" |
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
Dump input event in rust |
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
2D graphics animation tool using cairo rust binding and ffmpeg |
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
Dump pyhical memory in rust. |
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
[dependencies] | |
schedule_recv = "0.1" | |
chrono = "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
$ ./gps_ublox | |
Usage: ./gps_ublox /dev/ttyACM0 rate | |
rate is in msec. (100 <= rate <= 65535) |
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
tinker board. |
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
raspberry pi livestream to YouTubeLive | |
/boot/run.sh | |
/boot/youtube.sh | |
/etc/rc.local | |
additional line to /etc/fstab |