Skip to content

Instantly share code, notes, and snippets.

View kokoichi206's full-sized avatar
🐛
Bug

TAKAHiRO TOMiNAGA kokoichi206

🐛
Bug
View GitHub Profile
@kokoichi206
kokoichi206 / Dockerfile
Last active November 23, 2023 06:15
golang dockerfile
# syntax=docker/dockerfile:1
# 1. build
FROM golang:1.21-alpine AS build
WORKDIR /app
COPY go.mod ./
COPY go.sum ./
RUN go mod download
@kokoichi206
kokoichi206 / get-environments.sh
Created May 20, 2023 14:18
How to get "Execution Environment"
#!/bin/bash
echo "OS: $(uname -s)"
echo "Kernel: $(uname -r)"
echo "Architecture: $(uname -m)"

Resume

Last-Modified: 2022/07/16

Working History

Engineer at OPTiM (2021 - Now)

Skills

@kokoichi206
kokoichi206 / resume_ja.md
Last active August 10, 2022 22:00
履歴書

職務経歴書

最終更新日: 2022/08/11

職務要約

2021年04月~現在: 株式会社OPTiM

職務経歴詳細

@kokoichi206
kokoichi206 / how_many_lines.sh
Last active November 20, 2022 17:33
今日コード何行書いた?
# 1週間分の変更履歴
## List repositories for the authenticated user
## https://docs.github.com/ja/rest/repos/repos#list-repositories-for-the-authenticated-user
## Get the weekly commit activity
## https://docs.github.com/ja/rest/metrics/statistics#get-the-weekly-commit-activity
curl -s \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $REPO_TOKEN"\
"https://api.github.com/users/$USER_NAME/repos?per_page=100" |\
jq '.[].name' |\
@kokoichi206
kokoichi206 / grass.sh
Created May 24, 2022 11:43
Create your custom grass
#!/bin/sh
#
# Description:
# 1. download grass(contributions) from github.
# 2. paint the color as you want.
#
# Usage:
# 0. Fill your account below.
# $ bash grass.sh
#
@kokoichi206
kokoichi206 / gaussian.sh
Last active April 9, 2022 04:52
Experiments on central limit theorem
#! /bin/bash -
#
# Description
# Make a gaussian graph by the following steps.
# 1. Make a uniform distributions from /dev/random.
# 2. Get a gauss distribution by averaging the uniform distributions.
# 3. Write them to a temporary file.
# 4. Make a graph by using graph.sh
# 5. Remove the temporary file.
#