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:
I hereby claim:
To claim this, I am signing this object:
#!/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)') |
# 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' |
00:00:00.000 [INFO] [sway/main.c:338] Sway version 1.8.1 | |
00:00:00.000 [INFO] [sway/main.c:339] wlroots version 0.16.2 | |
00:00:00.001 [INFO] [sway/main.c:120] Linux Archaxibami 6.3.4-zen1-1.1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 26 May 2023 12:04:59 +0000 x86_64 GNU/Linux | |
00:00:00.001 [INFO] [sway/main.c:136] Contents of /etc/lsb-release: | |
00:00:00.001 [INFO] [sway/main.c:120] DISTRIB_ID="Arch" | |
00:00:00.001 [INFO] [sway/main.c:120] DISTRIB_RELEASE="rolling" | |
00:00:00.001 [INFO] [sway/main.c:120] DISTRIB_DESCRIPTION="Arch Linux" | |
00:00:00.001 [INFO] [sway/main.c:136] Contents of /etc/os-release: | |
00:00:00.001 [INFO] [sway/main.c:120] NAME="Arch Linux" | |
00:00:00.001 [INFO] [sway/main.c:120] PRETTY_NAME="Arch Linux" |
Script started on 2023-05-27 11:25:02+09:00 [TERM="linux" TTY="/dev/tty4" COLUMNS="240" LINES="67"] | |
[root@Archaxibami ~]# coredumpctl gdb sway | |
PID: 12693 (sway) | |
UID: 1000 (haxibami) | |
GID: 1000 (haxibami) | |
Signal: 11 (SEGV) | |
Timestamp: Sat 2023-05-27 11:23:00 JST (2min 17s ago) | |
Command Line: /usr/bin/sway -d -V -c /etc/sway/config | |
Executable: /usr/bin/sway | |
Control Group: /user.slice/user-1000.slice/session-7.scope |
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. |
東大構内で使える無線LAN(0000UTokyo
と eduroam
)はいずれも 802.1x
(EAP-PEAP方式)の認証を要求する。当然 iwd もこれに対応している。
基本的にはArchWikiの記載どおりに設定すれば接続できるが、どの設定項目が最低限必要かは実際に接続してみないとわからない(ネットワークによって異なるため)。そこで何度か試行し、最小項目のみを抜き出したのが下のファイルである。
下のファイルの必要項目を埋め、0000UTokyo.8021x
および eduroam.8021x
として /var/lib/iwd/
以下に配置し、iwdを再起動すれば接続できる(iwdの全体設定 /etc/iwd/main.conf
が済んでおり、DNS / DHCP等の設定が適切に行われていることが前提)。
SF Pro JP
については他記事を参照のこと
User-Agent
と Referer
なしで普通にダウンロードしようとしても拒否される