Skip to content

Instantly share code, notes, and snippets.

CREATE TABLE employees (
id serial primary key, -- ID
name text, -- 名前
join_year integer, -- 入社年
department_id integer -- 所属部署ID
);
CREATE TABLE departments (
id serial primary key, -- ID
name text -- 部署名
@takaram
takaram / showfile
Last active October 13, 2017 03:14
show the contents of multiple files with file names
#!/bin/bash
set -eu
: ${FILENAME_COLOR:="\e[35m"}
if [ -t 1 ]; then
color=$FILENAME_COLOR
else
color=
fi
for opt in "$@"; do