2-comment
# %title%%newline%# %url%%newline%
2-lines
%title%%newline%%url%%newline%
1-line
%title% %url%%newline%
pukiwiki
[[%title%>%url%]]%newline%
Title
%title%%newline%
2-semiColon
; %title%%newline%; %url%%newline%
2-apos
' %title%%newline%' %url%%newline%
参考:
Create Link - Chrome ウェブストア
custom key mapping
# for Right-hand
map \ goBack
map _ restoreTab
unpam u
unmap j
unmap k
unmap J
unmap K
map j scrollPageDown
map k scrollPageUp
map J scrollDown
map K scrollUp
unmap h
unmap l
unmap H
unmap L
map h goBack
map l goFront
map H scrollLeft
map L scrollRight
# for Left-hand
map e scrollPageUp
map E scrollUp
map D scrollDown
map a goBack
map s goForward
echo $USER ALL=NOPASSWD: ALL | sudo tee /etc/sudoers.d/$USER
if [ -d /etc/chrony/sources.d ]; then
conf=/etc/chrony/sources.d/japan.sources
else
conf=/etc/chrony/chrony.conf
fi
sudo tee -a "$conf" <<'...'
server ntp.nict.jp iburst
server ntp.jst.mfeed.ad.jp iburst
server ntp.ring.gr.jp iburst
...
sudo systemctl restart chrony
sleep 5
chronyc sources
Ubuntu server 20.04
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl set-default multi-user
sudo reboot
conf_user="$HOME/.config/containers/registries.conf"
[ -d "${conf_user%/*}" ] || mkdir -p "${conf_user%/*}"
cat <<'...' >"$conf_user"
unqualified-search-registries = ["docker.io"]
...
# シンプル版
PS1="${PS1%\\\$*}\\n\\$ "
# 既に改行が含まれているときは何もしない版
printf %s "$PS1" | grep -qF '\n' || PS1="${PS1%\\\$*}\\n\\$ "
ssh-keygen -t rsa -b 2048 -C "$(hostname -s)-$(date +%Y%m%d-%H%M)" -N '' -f ~/.ssh/id_rsa
New-NetFirewallRule -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22