Skip to content

Instantly share code, notes, and snippets.

View eggplants's full-sized avatar
🏠
Working from home

haruna eggplants

🏠
Working from home
View GitHub Profile

企業倫理・コンプライアンス研修

2026-07-03 受講

第1章 企業活動とコンプライアンス

不正な行為と知りつつ行われた事例多数。

  • 企業倫理(business Ethics): ビジネス倫理、人倫の道徳
  • 法令遵守(compliance): 規則や法律に従う・守る

ThinkPad 症状 (2026-05-03現在)

製品情報

  • 購入日: 2022-10-15
  • Lenovo直販サイトで購入
  • 製品番号: 20XW00LBJP
  • 商品名: ThinkPad X1 Carbon Gen 9 - ブラック8
  • シリアル番号: PF-3YEEF7
@eggplants
eggplants / grep_exclude_dir.sh
Created March 27, 2026 03:31
How to exclude ordinal ignored directories from targets of grep search in pnpm project
# Use rg instead of:
grep -r FooBar --exclude-dir={.next,node_modules,.pnpm-store,dist,coverage}

インサイダー講習メモ

1-1 インサイダー取引とは

  • 内部者が内部の事実を知りながら金融商品市場で取引すること
  • 金融商品取引法
    • 5年以下の拘禁刑
    • 違法に得た財産の没収や追徴
    • 経済的利益相当の課徴金
  • 500万円以下の罰金 (法人は5億円以下の罰金)
@eggplants
eggplants / ghostty_config_linux
Last active April 24, 2026 23:38
My Ghostty configuration
term = xterm-ghostty
theme = Andromeda
font-family = HackGen Console NF
font-size = 9
font-thicken = true
font-thicken-strength = 1
@eggplants
eggplants / toggle_sleep.sh
Last active January 16, 2026 14:54
Enable/disable Macbook to sleep
#!/usr/bin/bash
# disable to sleep
sudo pmset -a disablesleep 1
# enable to sleep
sudo pmset -a disablesleep 0
#
caffeinate
@eggplants
eggplants / audit_list.jq
Created November 24, 2025 13:33
Convert `pnpm audit --json` into simple list
.actions[].resolves[].id as $id
| .advisories[$id|tostring]
| "\(.severity): \(.module_name): (\(.vulnerable_versions) → \(.patched_versions))"
@eggplants
eggplants / minio.yaml
Created October 29, 2025 14:06
minio
name: Build and Push Docker Images
on:
push:
tags:
- '*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
#!/usr/bin/env bash
__check() {
if [[ $# == 0 ]]; then
echo "usage: $0 <ENV> [spn opt]..."
exit 0
fi
if ! command -v curl git &>/dev/null; then
@eggplants
eggplants / tool.hatch.version.md
Last active April 19, 2025 05:56
Variation of `tool.hatch.version` in Hatch configuration

Variation of tool.hatch.version in Hatch configuration

Created at: 2025-04-01

Hatch official

[tool.hatch.version]