できるだけ標準・慣例に従い,また自己文書化及び単一実行可能を心掛けた。
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
xkb_keymap { | |
xkb_keycodes { include "evdev+aliases(qwerty)" }; | |
xkb_types { include "complete" }; | |
xkb_compat { include "complete+japan" }; | |
xkb_symbols { | |
include "pc+jp+inet(evdev)" | |
include "capslock(escape)" | |
include "_" | |
}; | |
xkb_geometry { include "pc(pc105)" }; |
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
<!-- vim: set filetype=xml : --> | |
<!-- https://github.com/microsoft/Terminal/blob/master/src/tools/ColorTool/schemes/campbell.ini --> | |
<scheme name="Campbell" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2019-06-01T00:00:00</property> | |
<property name="ide">CLion</property> | |
<property name="ideVersion">2019.1.4.0.0</property> | |
<property name="modified">2019-06-01T00:00:00</property> | |
<property name="originalScheme">Campbell</property> | |
</metaInfo> |
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
#include "./Xresources.d/campbell.xresource" | |
!!! RXVT | |
!! 操作 | |
URxvt.perl-ext-common: default,matcher | |
URxvt.url-launcher: /usr/bin/xdg-open | |
URxvt.matcher.button: 1 | |
URxvt.matcher.rend: Uline | |
! 行 | |
URxvt.saveLines: 4096 |
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
<https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Examples>より | |
用者情報 保手名 波戸番号 | |
┌────┴────┐ ┌───────┴──────┐┌─┴─┐ | |
https://taro.yamada@www.ドメイン例.jp:8080/公開討論会/質問箱/?tag=ネットワーク&order=newest#top | |
└─┬─┘ └───────────────┬───────────────┘└───────┬──────┘ └───────────┬─────────────┘ └┬┘ | |
機綱 機構 筋 問合せ 旗 |
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
# <https://support.google.com/youtube/answer/7631406?hl=ja&ref_topic=3014328> | |
SPACE cycle pause | |
#PLAY | |
PAUSE cycle pause | |
k cycle pause | |
STOP stop | |
REWIND playlist-next | |
LEFT seek -5 | |
RIGHT seek 5 |
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
" Vim syntax file | |
" Language: ble.sh config file | |
" Maintainer: cmplstofb | |
" Version: 8.0-1 | |
" Last Change: 2018-12-27 | |
" https://github.com/akinomyoga/ble.sh/wiki/ | |
if exists("b:current_syntax") | |
finish | |
endif |
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 | |
__METADATA__='@prefix : <http://purl.org/net/ns/doas#>. <> a :ShellScript; | |
:一行説明 "Vimの手引きをコマンドラインから閲覧する。"; | |
:作成日 "2019-07-27"; | |
:公開版 [:版 "0.1.2"; :作成日 "2019-07-28"]; | |
:作成者 "cmplstofB"; | |
:権利 "ⓒ 2019 cmplstofB"; | |
:ライセンス <http://www.wtfpl.net/txt/copying/>; | |
:依存関係 "vim(1)".' |
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
pdffile=main.pdf | |
startxref="$(dd if="$pdffile" bs=1 2> /dev/null | tr -d '\r' | (tail -n 2 | head -n 1))" | |
eval -- "$(printf 'dd if="$pdffile" bs=1 skip="$startxref" 2> /dev/null | tr -d \047\r\047 | awk \047NR==%d+3,NR==%d+2\047' $( | |
dd if="$pdffile" bs=1 skip="$startxref" 2> /dev/null | tr -d '\r' | (head -n 2 | tail -n 1)))" > xref.ssv | |
# trailerの/Rootの第1引数+1(例: /Root 13 0 R→14) | |
< xref.ssv sed -n -e '13{s/ .*//p}' | |
dd if="$pdffile" bs=1 skip="$(< xref.ssv sed -n -e '14{s/0*\([1-9][0-9]*\) .*/\1/p}')" 2> /dev/null | tr -d '\r' | | |
sed -n -e '1,/>>/p' | |
# ↑これで表示された/Pagesの第1引数+1 | |
dd if="$pdffile" bs=1 skip="$(< xref.ssv sed -n -e '12{s/0*\([1-9][0-9]*\) .*/\1/p}')" 2> /dev/null | tr -d '\r' | |
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 | |
_METADATA='@prefix : <http://purl.org/net/ns/doas#>. <> a :Script; | |
:一行説明 """マイクロソフト社が既定する低明度基調の名称と色符号 | |
(https://docs.microsoft.com/ja-jp/microsoftteams/platform/concepts/design/components/color) | |
をCSS形式で入手"""@ja; | |
:作成日 "2019-11-30"; | |
:公開版 [:版 "0.1.1"; :作成日 "2019-11-30"]; | |
:作成者 "cmplstofB"; | |
:権利 "ⓒ 2019 cmplstofB"; |