Skip to content

Instantly share code, notes, and snippets.

View yokawasa's full-sized avatar
:octocat:
debugging

Yoichi Kawasaki yokawasa

:octocat:
debugging
View GitHub Profile
@yokawasa
yokawasa / ghcr.md
Last active May 2, 2024 14:27
ghcr (GitHub Container Registry)

ghcr (GitHub Container Registry) quickstart

CLI

To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT

  1. Get PAT (personal access token)

Personal Settings > Developer settings > Personal access tokens

@yokawasa
yokawasa / aks-cheat-sheet.md
Last active April 29, 2024 09:33
Azure Kubernetes Services Cheat Sheet
@yokawasa
yokawasa / nodejs-pack-manager.md
Last active March 14, 2024 06:25
Node.js package manager cheat sheet

Node.js package managers cheat sheet

Yarn and npm

Overview

features npm yarn
lock file package-lock.json yarn.lock
using workspaces supported supported
@yokawasa
yokawasa / README.md
Last active December 12, 2023 07:27
Efficient API development using Postman, VS Code, and Generative AI

Developing TODO API using Postman, VS Code, and Generative AI

Todo appのためのAPIを開発する

Procedure

  1. GitHub Copilot / ChatGPTにpromptで要件をインプットしTodo app用のOpen API Spec(以下OAS)を作ってもらう
@yokawasa
yokawasa / get-workflows-billable-minutes.sh
Last active September 25, 2023 11:25
Get Workflows Billable Minutes
#!/usr/bin/env bash
OWNER=<owner name or org name>
function usage() {
echo "Usage:"
echo " $0 <repositroy-name>"
echo ""
echo " NOTE: you're supposed to set TOKEN info as environment variable"
echo " For example, suppose you want to get my-project-repo info"
@yokawasa
yokawasa / ghq-tips.md
Last active January 28, 2023 07:25
ghq tips

ghq tips

setup

# install 
brew install ghq

# set ghq root dir
git config --global ghq.root '~/dev/ghq'
@yokawasa
yokawasa / notion-tips.md
Created January 2, 2023 14:47
Notion Tips

Notion Tips

Commands

Open New Windows

  • MacOS: shift + cmd + n
  • Windows: shift + ctrl + n

Switch Between Windows