シール用紙に実寸で印刷して、対応がわかるように貼り付けます
- 小さすぎて文字が読みづらいので、最低限の表記とカラーリングで識別
- 電源系(5V, 3.3V, GND)は黒文字
- その他のピンは白抜き文字
- なお、下記の画像を参考に作成しました
#!/bin/bash | |
# for macOS | |
cd /Volumes/boot | |
dtoverlay="dtoverlay=dwc2" | |
module_load="modules-load=dwc2,g_ether" | |
if [ -z $(grep "^$dtoverlay$" config.txt 2>/dev/null) ]; then | |
echo "$dtoverlay" | tee -a config.txt |
#!/usr/bin/env ruby | |
if __FILE__ == $0 | |
while line = gets do | |
case line | |
when /^○ +/ | |
m = Regexp.last_match | |
s = m.post_match.chomp | |
break if s == 'お客様情報' | |
print line, "\n" |
# https://github.com/airtonix/avahi-aliases | |
[Unit] | |
Description=Avahi Aliases | |
Requires=avahi-daemon.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/local/bin/avahi-alias start | |
ExecStop=/usr/local/bin/avahi-alias stop | |
ExecReload=/usr/local/bin/avahi-alias restart |
#!/bin/bash | |
usage="Usage: $(basename $0) <ssid>" | |
fatal() { | |
echo "$@" >&2 | |
exit 1 | |
} | |
[ -z "$1" ] && fatal "$usage" |
# build-swift | |
# | |
# VERSION 0.0.1 | |
FROM debian | |
MAINTAINER gnue | |
RUN apt-get update \ | |
&& apt-get install -y git cmake ninja-build clang uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config \ | |
&& apt-get clean |
# swift | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu:15.10 | |
MAINTAINER gnue | |
RUN apt-get update \ | |
&& apt-get install -y curl libedit-dev libicu-dev libpython2.7 \ | |
&& apt-get clean |
# sshd+nginx | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu | |
RUN apt-get update | |
# sshd | |
RUN apt-get install -y openssh-server |
# sshd | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y openssh-server | |
RUN mkdir /var/run/sshd | |
RUN echo "root:foobar" | chpasswd |
#!/bin/bash | |
die() { | |
echo "$1" 1>&2 | |
exit 1 | |
} | |
usage() { | |
die "Usage: $(basename $0) [-s] [-u USER] CONTAINER" | |
} |