View docker_default_config.json
{
"ociVersion": "1.0.1",
"process": {
"user": {
"uid": 0,
"gid": 0,
"additionalGids": [
0,
1,
2,
View gh_pr_issues.sh
#!/bin/bash
set -eu
OWNER=${1:?"repo onwer required"}
URL_BASE="https://api.github.com"
REPOS_URL="/users/$OWNER/repos?per_page=100"
PULLS_URL="/repos/$OWNER/%s/pulls"
ISSUES_URL="/repos/$OWNER/%s/issues"
View main.go
package main
import (
"flag"
"fmt"
"os"
"strings"
)
const (
View clone_files.go
package main
import (
"fmt"
"io/ioutil"
"os"
"syscall"
"time"
)
View playbook.yml
---
- hosts: all
connection: local
gather_facts: no
vars:
ruby_an_api_base_path: /path/to/base/dir
ruby_an_api_version: 2.X.Y
sudo: no
tasks:
- name: confirm create a symlink
View netcat.pl
use strict;
use warnings;
use Socket;
use Getopt::Long;
GetOptions(\my %opts, qw/x/);
if (scalar(@ARGV) < 2) {
print "usage: $0 [-x] HOST PORT\n";
View README.md

alpineでparamikoをインストール

docker run --rm -it alpine /bin/sh
apk update
apk add musl-dev openssl-dev libffi-dev
apk add python python-dev py-pin
apk add gcc
pip install paramiko
View .vimrc
set nocompatible
set backspace=indent,eol,start
set cursorline
set completeopt=menuone
set noswapfile
set autochdir
set ignorecase