Skip to content

Instantly share code, notes, and snippets.

@takumin
takumin / .gitignore
Created September 2, 2022 09:34
Check AWS SSO ListUsers
bin/
@takumin
takumin / README.md
Last active August 21, 2021 20:01
buildroot qemu-system-aarch64 external toolchain
@takumin
takumin / suica-reader.py
Created February 6, 2020 12:18
Python Suica Reader
#!/usr/bin/env python3
import binascii
import nfc
num_blocks = 20
service_code = 0x090f
class StationRecord(object):
db = None
@takumin
takumin / .gitignore
Last active December 25, 2019 14:23
[WIP] Cloud Hypervisor Network Boot Image
kernel.img
initrd.img
rootfs.squashfs

Keybase proof

I hereby claim:

  • I am takumin on github.
  • I am takumin (https://keybase.io/takumin) on keybase.
  • I have a public key ASDBJYWQIbl_6fzdLj68zpgegOH3yYIvZARKx95_4XmGowo

To claim this, I am signing this object:

package main
import (
"log"
"os"
"gopkg.in/src-d/go-billy.v4/memfs"
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/config"
"gopkg.in/src-d/go-git.v4/plumbing/transport/http"
@takumin
takumin / Dockerfile
Created September 1, 2019 03:43
Alpine Linux for mruby build
FROM alpine AS build
ARG TARGET
RUN apk add --no-cache \
autoconf \
automake \
bison \
curl \
flex \
@takumin
takumin / failed-old-commit.log
Last active April 29, 2019 09:18
go-apt-mirror configuration
2019-04-28T18:06:19.659613Z dsk.privu.tmfam.com go-apt-mirror info: "update starts"
2019-04-28T18:06:19.659995Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-redis" suite="xenial"
2019-04-28T18:06:19.660033Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-maas-stable" suite="xenial"
2019-04-28T18:06:19.660022Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-fish-shell-3x" suite="xenial"
2019-04-28T18:06:19.660140Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-gcc-arm" suite="xenial"
2019-04-28T18:06:19.660693Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-handbrake-nightly" suite="xenial"
2019-04-28T18:06:19.660558Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-wireshark" suite="xenial"
2019-04-28T18:06:19.664405Z dsk.privu.tmfam.com go-apt-mirror info: "download Release/InRelease" repo="ppa-kicad-40x" suite="xenial"
2
#!/bin/sh
set -e
################################################################################
# Variables
################################################################################
# Raspberry Pi Kernel Version
: ${KERNEL_VERSION:="4.14.y"}