- use docker
- add env lines in .bashrc
export DOCKER_TLS_VERIFY="1" export DOCKER_HOST="tcp://192.168.99.100:2376" export DOCKER_CERT_PATH="$HOME\.docker\machine\machines\default" export DOCKER_MACHINE_NAME="default"
$ docker run alpine:edge /bin/sh
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| opens a docx file, replace ALL table style(*) and save on same file | |
| mainly for pandoc exported docx file | |
| (*) the applying style must be pre-defined in given file | |
| Applies MIT License - 2017 K4ZUKI([email protected]) | |
| """ |
-
isolate leaky instruments by relay and external control
-
4mm Banana plug/juck, distance 19.05mm
-
2 x 1c or 1 x 2c terminal relay 5~10ADC rating
- 8A 2c JW2SN-DC5V
-
50x50mm PCB, 35x35xM3 hole, 4x4R corner
-
Akizuki plastic panel
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
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| # simple SVG rotate script | |
| # great hint from | |
| # https://stackoverflow.com/questions/43199869/rotate-and-scale-a-complete-svg-document-using-python | |
| # MIT license (c) K4ZUKI([email protected]) | |
| """ | |
| import svgutils | |
| import math |
follow instruction in https://github.com/ARMmbed/mbed-cli
- requires Python 2.7.11+, mercurial(from pip), git
pip install mercurialpip install mbed-cli
$ mbed import https://developer.mbed.org/users/k4zuki/code/DA7212hello_dev/- Ubuntu16.04
- get
gpp-2.25tar.bzarchive from https://github.com/logological/gpp/releases $ tar jxf gpp-2.25.tar.bz2extractsgpp-2.25directory$ sudo apt-get install mingw-w64 git-core wget quilt$ cd gpp-2.25$ ./configure --host=x86_64-w64-mingw32$ make
- get plantuml jar from http://plantuml.com/download
- put it in $HOME/bin/
- install jdk8
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 | |
| ; add Ricty Diminished in powershell font list | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont] | |
| "932." = "Ricty Diminished" |