Skip to content

Instantly share code, notes, and snippets.

@likeablob
likeablob / 01-yet-another-minicap-python3-client.md
Last active April 4, 2025 11:23
A simple minicap client with python3

minicap-python3-client

minicap installation

Plan A: Use minicap-prebuilt

$ npm init -y
$ npm i -S minicap-prebuilt
$ ls node_modules/minicap-prebuilt/prebuilt/
@likeablob
likeablob / hacking-f18-smartwatch.md
Last active January 22, 2020 16:01
Hacking "No.1"'s F18 Smartwatch

ISP

  • There is an ISP port under the LCD module.
  • From left to right, VCC SWCLK SWDIO GND.

f18_internal_1

Flashing via BMP

# Unlock
arm-none-eabi-gdb --quiet -ex "target extended-remote /dev/ttyACM0" -ex "monitor connect_srst enable" -ex "set non-stop on" -ex "monitor swdp_scan" -ex "att 2" -ex "mon erase_mass"
@likeablob
likeablob / kicad-fusionpcb-pcba-notes-ja.md
Last active March 2, 2026 01:59
KiCadでFusionPCBのPCBA(部品実装)を利用するメモ

KiCadでFusionPCBのPCBA(部品実装)を利用するメモ

確認環境

  • Ubuntu 18.04 (bionic)
  • KiCad 5.0.1

注文に必要なもの

  • 実装図
  • ピック&プレースファイル
  • BOM(部品表)
@likeablob
likeablob / README.md
Last active October 26, 2019 05:50
Implement Capacitive Touch Sensor (C-T Method) with Digispark

Capactive Touch Sensor with Digispark

$ pio init -b digispark-tiny

IMAG000

@likeablob
likeablob / opizp2_armbian_setup.md
Last active October 12, 2019 09:48
Orange Pi Zero +2 (H3/H5) Armbian セットアップメモ

Orange Pi Zero +2 (H3/H5) Armbian セットアップメモ

$ 7z x Armbian_5.90_Orangepizeroplus2-h3_Ubuntu_bionic_next_4.19.57.7z
$ sudo dd if=./Armbian_5.90_Orangepizeroplus2-h3_Ubuntu_bionic_next_4.19.57.img of=/dev/mmcblk0 bs=1M
  • microUSBで接続するとg_serialなシリアルデバイス/dev/ttyACM*として認識される
@likeablob
likeablob / running-debian-on-goke-gk710x-devices-chroot.md
Last active March 12, 2022 22:13
Running Debian on Goke GK710x devices (chroot)

WIP

Prerequisites

  • A Goke GK710x-based device(uname -r === 3.4.43-gk)
  • Ubuntu 18.04 as a build environment

Set up the toolchain

  • Install crosstool-ng
$ wget http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.24.0.tar.xz
$ tar xvf http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.24.0.tar.xz