Skip to content

Instantly share code, notes, and snippets.

View kijimad's full-sized avatar
⛏️

Daigo Kijima kijimad

⛏️
View GitHub Profile
@kijimad
kijimad / main.sh
Last active February 17, 2026 15:10
system-bootstrap
#!/bin/bash
set -eux
curl -fsSL https://raw.githubusercontent.com/kijimad/dotfiles/refs/heads/main/.config/home-manager/bootstrap.sh | bash
@kijimad
kijimad / omikuji.rb
Last active January 11, 2022 14:18
omikuji.rb
# 以下のおみくじをRubyスクリプトで作ってみてください。
#
# ・大吉10枚、中吉20枚、小吉30枚、末吉30枚、凶10枚入ったおみくじがあります。
# ・抽選して1回1枚引きます
# ・引いたおみくじ分を減らして再度抽選出来るようにしてください
# ・抽選確率は残った枚数を均等で計算してください
# ・DBなどのストレージは使わないでください
class Kuji
def initialize
;; This is an operating system configuration for a VM image.
;; Modify it as you see fit and instantiate the changes by running:
;;
;; guix system reconfigure /etc/config.scm
;;
(use-modules (gnu) (guix) (srfi srfi-1))
(use-service-modules desktop mcron networking spice ssh xorg)
(use-package-modules bootloaders certs fonts nvi
package-management wget xorg)
// Bookmarklet for GitHub Project board. Switch assigner quickly.
var element = document.getElementsByName("card_filter_query" )[0];
element.value = "assignee:kijimaD" ;
element.dispatchEvent(new KeyboardEvent("input"));
// For bookmarklet. Copy clipboard excluding with 100.0% category.
// Bookmarklet compress: https://ytyng.github.io/bookmarklet-script-compress/
const CATEGORIES = [
"All",
"Con",
"Cha",
"Mod",
"Mai",
"Hel",

assignee:kijimaD is:issue closed:2021-01-01T00:00:00+09:00..2021-03-31T00:00:00+09:00 label:"事業要望"

# フック、自動実行されるようにしたい
git gc
git fetch --prune

LGTM

LGTM

rbenv global 2.7.2して、 gem install rubocop gem install rubocop-rails M-x flycheck-compile