Skip to content

Instantly share code, notes, and snippets.

@kosh04
Last active December 30, 2023 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosh04/908c80f3665a08c66b52 to your computer and use it in GitHub Desktop.
Save kosh04/908c80f3665a08c66b52 to your computer and use it in GitHub Desktop.
init.el読書会のリクエスト用ストック(気が向いたら追加する)
#!/bin/sh
set -eu
# 指定したディレクトリ以下の elisp 行数を数えるスクリプト
usage="Usage: $0 DIRECTORY [IGNORE_PATTERN]"
DIR=${1?$usage}
IGNORE_PATTERN=${2-}
if [ -n "$IGNORE_PATTERN" ]; then
find $DIR -name "*.el" -type f | egrep -v "$IGNORE_PATTERN" | xargs wc -l
else
find $DIR -name "*.el" -type f | xargs wc -l
fi
#!/bin/bash
# リクエストURLが重複してないか調べるスクリプト
usage="Usage: $0 user_name"
word=${1?$usage}
lookup() {
local word=$1
local url=$2
curl -sL "$url" | grep -Ei "$word"
}
echo "## Request"
lookup "$word" https://github.com/emacs-jp/reading-init.el/wiki/Request
echo "## Request (unpublished)"
lookup "$word" https://gist.github.com/kosh04/908c80f3665a08c66b52/raw/request.md
echo "## Request (local)"
lookup "$word" "file://$PWD/request.md"
echo "## Archive"
lookup "$word" https://github.com/emacs-jp/reading-init.el/raw/master/data/archives.yml

検索用

一覧 (github,gitlab,etc)

一覧 (Literate Programming; Org config)

一覧 (Doom Emacs, Spacemacs etc)

一覧 (better-defaults)

個人設定ではなく「万人向けのより良い初期設定」を目的としたもの

一覧 (ブログ; リポジトリ以外)

一覧 (最終更新日が5年以上前のもの)

あえて古い.emacsを見ることで、今どきの設定を振り返ってみる?

一覧 (404)

ストックしておいたけどいつの間にかリポジトリが消えていたもの

読了 (日付あり)

読了 (日付不明)

Note

前後編時にリポジトリの更新を調べる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment