Skip to content

Instantly share code, notes, and snippets.

View go-gdb
#!/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" \
"$@"
@tetsu-koba
tetsu-koba / 00_rust_cairo
Last active Sep 29, 2018
2D graphics animation tool using cairo rust binding and ffmpeg
View 00_rust_cairo
2D graphics animation tool using cairo rust binding and ffmpeg
@tetsu-koba
tetsu-koba / 00_dump_physical_memory_in_rust
Last active Sep 28, 2018
Dump pyhical memory in rust
View 00_dump_physical_memory_in_rust
Dump pyhical memory in rust.
@tetsu-koba
tetsu-koba / file1.txt
Last active Sep 25, 2018
Linuxでネットワークインタフェースの活動状況を調べる by Rust ref: https://qiita.com/tetsu_koba/items/919337fd4ac4f173e56a
View file1.txt
[dependencies]
schedule_recv = "0.1"
chrono = "0.4"
@tetsu-koba
tetsu-koba / file0.txt
Last active Aug 28, 2018
ubloxのGPSモジュールの測位間隔を変更するコマンドをgolangで作った ref: https://qiita.com/tetsu_koba/items/8f05a9b7887138a566e4
View file0.txt
$ ./gps_ublox
Usage: ./gps_ublox /dev/ttyACM0 rate
rate is in msec. (100 <= rate <= 65535)
View 00_raspberrypi_livestream
raspberry pi livestream to YouTubeLive
/boot/run.sh
/boot/youtube.sh
/etc/rc.local
additional line to /etc/fstab
@tetsu-koba
tetsu-koba / bootlog_raspberryPi3_64bit_kernel
Created Mar 10, 2018
Boot log of Raspberry Pi 3 64bit kernel
View bootlog_raspberryPi3_64bit_kernel
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.79-v8 (koba@instance-3) (gcc version 6.4.0 (Buildroot 2018.02) ) #1 SMP PREEMPT Sat Mar 10 08:50:08 UTC 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 8 MiB at 0x0000000039400000
[ 0.000000] On node 0 totalpages: 236544
[ 0.000000] DMA zone: 3696 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 236544 pages, LIFO batch:31
You can’t perform that action at this time.