SF Pro JP
については他記事を参照のことUser-Agent
とReferer
なしで普通にダウンロードしようとしても拒否される
東大構内で使える無線LAN(0000UTokyo
と eduroam
)はいずれも 802.1x
(EAP-PEAP方式)の認証を要求する。当然 iwd もこれに対応している。
基本的にはArchWikiの記載どおりに設定すれば接続できるが、どの設定項目が最低限必要かは実際に接続してみないとわからない(ネットワークによって異なるため)。そこで何度か試行し、最小項目のみを抜き出したのが下のファイルである。
下のファイルの必要項目を埋め、0000UTokyo.8021x
および eduroam.8021x
として /var/lib/iwd/
以下に配置し、iwdを再起動すれば接続できる(iwdの全体設定 /etc/iwd/main.conf
が済んでおり、DNS / DHCP等の設定が適切に行われていることが前提)。
This file contains hidden or 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
import { visit } from "unist-util-visit"; | |
import { isMdxJsxAttribute, isMdxJsxFlowElement } from "./hast-util-node-is"; | |
import type { Root } from "hast"; | |
import type { Plugin } from "unified"; | |
interface RehypeAstroFigureOptions { | |
/** | |
* Class names to add to the figure element. |
This file contains hidden or 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
# do nothing if fzf is not installed | |
(( ! $+commands[fzf] )) && return | |
# Bind for fzf history search | |
(( ! ${+ZSH_FZF_HISTORY_SEARCH_BIND} )) && | |
typeset -g ZSH_FZF_HISTORY_SEARCH_BIND='^r' | |
# Args for fzf | |
(( ! ${+ZSH_FZF_HISTORY_SEARCH_FZF_ARGS} )) && | |
typeset -g ZSH_FZF_HISTORY_SEARCH_FZF_ARGS='+s +m -x -e --preview-window=hidden' |
This file contains hidden or 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
#!/usr/bin/env bash | |
# based on the script by @lbatalha | |
# https://github.com/emersion/slurp/issues/104#issuecomment-1381110649 | |
# requirements: sway, grim, slurp, swayimg, libvips, wl-clipboard | |
# Freezes the focused screen, allows capturing an area, even with floating / hover windows (ex. IME window) | |
# imagemagick and ffmpeg can also be used instead of libvips | |
TMPIMG="$(mktemp --suffix ss.png)" | |
IMGCLASS="sway-crop-screen" | |
FOCUSED=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused)') |
I hereby claim:
- I am haxibami on github.
- I am haxibami (https://keybase.io/haxibami) on keybase.
- I have a public key ASCLE_JuIZufCekDuxJewc_7T6ju4sumewEYD_zIfrmWqQo
To claim this, I am signing this object: