CreateLink

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 ウェブストア

vimium

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

sudoers

echo $USER ALL=NOPASSWD: ALL | sudo tee /etc/sudoers.d/$USER

chrony

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

suspendさせないっ!

Ubuntu server 20.04

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

CLIだっ

sudo systemctl set-default multi-user
sudo reboot

podman 入れたあと

conf_user="$HOME/.config/containers/registries.conf"
[ -d "${conf_user%/*}" ] || mkdir -p "${conf_user%/*}"
cat <<'...' >"$conf_user"
unqualified-search-registries = ["docker.io"]
...

ssh

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

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS