View workcat-save-yoshi.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; workcat-save-yoshi.el --- ヨシッ! | |
;; Author: Wataru MIYAGUNI <gonngo@gmail.com> | |
;; Copyright (c) 2022 Wataru MIYAGUNI | |
;; | |
;; MIT License | |
;; | |
;; Permission is hereby granted, free of charge, to any person obtaining | |
;; a copy of this software and associated documentation files (the |
View init.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let* ((font (format "%s-%d:weight=normal:slant=normal" "Cica" 22)) | |
(fontset (create-fontset-from-ascii-font font nil "gongo"))) | |
(set-fontset-font fontset ?い (font-spec :family "Cica" :size 38)) | |
(add-to-list 'default-frame-alist `(font . ,fontset)) | |
(set-face-font 'default fontset) | |
(setq use-default-font-for-symbols nil) | |
) | |
;; この設定だと Cica-22 そのものは適用されるけど | |
;; 「い」のサイズは変わらない(22のまま) |
View init.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(leaf font | |
:global-minor-mode global-font-lock-mode | |
:config | |
(leaf spec | |
:when (memq window-system '(mac ns)) | |
:defun my-ja-font-setter my-ascii-font-setter my-font-config | |
:custom | |
'( |
View gongo.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# こういうことをしてくれる nanika_no_method が欲しい | |
# Ripper とかそこらへん使えばいけるのだろうか | |
nanika_no_method(<<EOS) | |
def gongo1 | |
'a' | |
end | |
EOS | |
# => ['a'] |
View eww-hatebu-nicomment.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'deferred) | |
(require 'request-deferred) | |
(require 'eww) | |
(defun eww-hatebu-nicomment () | |
(let ((url (url-hexify-string (eww-current-url)))) | |
(deferred:$ | |
(request-deferred (concat "http://b.hatena.ne.jp/entry/jsonlite/?url=" url) | |
:type "GET" | |
:parser 'json-read) |
View csv.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
row1 = CSV::Row.new(['a', 'b'], [1, 2]) | |
row2 = CSV::Row.new(['a', 'c'], [4, 12]) | |
table = CSV::Table.new([row1, row2]) | |
table.to_s | |
# | |
# expected: | |
# | |
# a,b,c |
View gist:c5a5ecef02ddf023c3d76381022d6755
キングタコス
- タコライス
- 美味しい
- 例: https://www.instagram.com/p/BXPLqhdDOz9/
- 沖縄にいくつか店舗あり
キャプテンカンガルー
View imascg_stage_event.org
日付 | イベントpt | スタドリ10 | スタドリ20 | スタドリ30 | スタドリMAX(84) | 合計(スタミナ) |
---|---|---|---|---|---|---|
5/19 | 2678 | 10 | 10 | 10 | 0 | 600 |
5/20 | 5156 | 10 | 12 | 7 | 0 | 550 |
5/21 | 14113 | 10 | 14 | 10 | 11 | 1604 |
5/22 | 16237 | 0 | 1 | 0 | 0 | 20 |
5/23 | 20307 | 0 | 0 | 0 | 0 | 0 |
5/24 | 42003 | 10 | 11 | 10 | 0 | 620 |
5/25 | 51105 | 10 | 10 | 10 | 0 | 600 |
5/26 | 52480 | 10 | 12 | 10 | 0 | 640 |
View shellcheck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
( | |
dir="$(cd "$(dirname "$1")" && pwd)" | |
name="$(basename "$1")" | |
docker run --rm -v "${dir}:/scripts" koalaman/shellcheck "/scripts/${name}" | |
) |
NewerOlder