Skip to content

Instantly share code, notes, and snippets.

View zchee's full-sized avatar
😩
want to Go knowledge...

Koichi Shiraishi zchee

😩
want to Go knowledge...
View GitHub Profile
diff --git a/configure b/configure
index 65f1145..068f21f 100755
--- a/configure
+++ b/configure
@@ -24432,9 +24432,9 @@ if ${gl_cv_func_getcwd_abort_bug+:} false; then :
$as_echo_n "(cached) " >&6
else
# Remove any remnants of a previous test.
- rm -rf confdir-14B---
+ # rm -rf confdir-14B---

Keybase proof

I hereby claim:

  • I am zchee on github.
  • I am zchee (https://keybase.io/zchee) on keybase.
  • I have a public key ASArvoRTEcakD3btrMtTlHx9ZD4X-xoHdolb5H30Muo6Cgo

To claim this, I am signing this object:

@zchee
zchee / minimal-docker-hosts.md
Created January 22, 2016 12:11 — forked from ailispaw/minimal-docker-hosts.md
メモ:Docker ホスト用軽量OS(30MB以下)の比較
DhyveOS DockerRoot RancherOS Boot2Docker Hyper on Mac (*7)
Version 2.0.0 1.2.8 0.4.2 1.9.1 0.4.0
Size 12 MB 13.7 MB 29 MB 30 MB 4.6 MB
Kernel 4.3.3 4.3.3 4.2.3 4.1.13 4.0.4
User Land Buildroot(uClibc) + BusyBox v1.24.1 Buildroot(GLIBC) + BusyBox v1.24.1 Buildroot(GLIBC) + BusyBox v1.23.2 Tiny Core Linux v6.4.1 -
Docker 1.9.1 1.9.1 1.9.1 1.9.1 -
Storage Driver btrfs overlay overlay (*2) aufs (*2) VDI
TLS - (*9) -
Vagrant box - (v0.4.1) (*3) -
## Where to find info and how to report on system extensions in macOS Catalina+
# Staged system extensions location in folder based on unique ID
/Library/SystemExtensions/
# Info on each
/Library/SystemExtensions/db.plist
Includes...
- state (enabled, activated, etc.)
- associated launchd plists
" Tiny init.vim for deoplete
" vim-plug
set runtimepath+=$XDG_CONFIG_HOME/nvim/plugged/deoplete.nvim
set completeopt+=noinsert,noselect
set completeopt-=preview
hi Pmenu gui=NONE guifg=#c5c8c6 guibg=#373b41
hi PmenuSel gui=reverse guifg=#c5c8c6 guibg=#373b41
ARCH ?= arm64
VERSION ?= 20.10
SPIN ?= live-server
vftool ?= ./vftool/build/vftool
DATA ?= ./data
ISO := ubuntu-$(VERSION)-$(SPIN)-$(ARCH).iso
MOUNTPOINT := /Volumes/Ubuntu
CD := $(DATA)/$(ISO)
@zchee
zchee / parse_yaml.sh
Created January 26, 2021 15:37 — forked from pkuczynski/parse_yaml.sh
Read YAML file from Bash script
#!/bin/sh
parse_yaml() {
local prefix=$2
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \
-e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 |
awk -F$fs '{
indent = length($1)/2;
vname[indent] = $2;
for (i in vname) {if (i > indent) {delete vname[i]}}
@zchee
zchee / install_jman.sh
Created December 16, 2020 19:28 — forked from ay65535/install_jman.sh
日本語manページをインストールするスクリプト (Mac用,というか自分用)
#!/usr/bin/env bash
# 参考サイト: http://tukaikta.blog135.fc2.com/blog-entry-224.html
# ================各種設定================
# ダウンロードするファイル (GNU 日本語man)
#
# http://linuxjm.sourceforge.jp/ からダウンロードするファイルを指定します。
#export GNUJMAN=man-pages-ja-20120915.tar.gz
#export GNUJMAN=man-pages-ja-20150315.tar.gz
@zchee
zchee / process_names.txt
Created December 10, 2020 10:08 — forked from miguelmota/process_names.txt
macOS process whitelist
# not an exhaustive list
nsurlsessiond "icloud sync"
fseventsd "macos file system events"
WindowServer "macos windows"
DisplayLinkManager "macos driver"
configd "macos dynamic configuration"
displaypolicyd "macos process"
CommCenter "macos keychain"
kernel_task "macos kernel"