$ uname -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
~ ~ | |
, 、 | |
. 。 | |
/ ・ | |
: ー | |
; っ | |
[ 「 | |
] 」 | |
a あ | |
ba ば |
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 | |
# map.sh - IPv4-in-IPv6 tunnel backend | |
# | |
# Author: Steven Barth <cyrus@openwrt.org> | |
# Copyright (c) 2014 cisco Systems, Inc. | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 2 | |
# as published by the Free Software Foundation | |
# |
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
## /etc/firewall.user | |
# This file is interpreted as shell script. | |
# Put your custom iptables rules here, they will | |
# be executed with each firewall (re-)start. | |
# Internal uci firewall chains are flushed and recreated on reload, so | |
# put custom rules into the root chains e.g. INPUT or FORWARD or into the | |
# special user chains, e.g. input_wan_rule or postrouting_lan_rule. |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
- C製
- Doxygen, Moinmoinなどと連携可能
- ブロック図、クラス図、ネットワーク図など
この一覧は 4f247a078
時点のものです。
CODE | UUID(s) | Desc |
---|---|---|
- | 15348ddd-432d-49c2-8a5a-8069753becff (packages/backend/src/server/api/GetterService.ts#L49) | ユーザーが存在しない。 |
- | 15a018eb-58e5-4da1-93be-330fcc5e4e1a (packages/backend/src/core/NotePiningService.ts#L65) | ピン留めできる投稿数の上限に達している。 |
- | 17447091-ce07-46dd-b331-c1fd4f15b1e7 (packages/backend/src/core/UserFollowingService.ts#L541) | フォローリクエストが存在しない。 |
- | 23f0cf4e-59a3-4276-a91d-61a5891c1514 (packages/backend/src/core/NotePiningService.ts#L69) | すでに指定された投稿をピン留めしている。 |
- | 2d16e51c-00 |
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
import requests as req | |
from bs4 import BeautifulSoup | |
def scrape_tokai() -> list[tuple]: | |
res = req.get('https://www.jr-cp.co.jp/wp-json/wp/v2/services?per_page=100&services_category=21') | |
j = res.json() | |
return [(item['title']['rendered'], item['data']['price_services']) for item in res.json()] | |
In VirtualBox, a virtual machine and its settings are described in a virtual machine settings file in XML format.
VM の設定は XML 形式で書いてある。
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
NAME_H="libunit.h" | |
prot=$(find . -type d -name libft -prune -o -type f -name '*.c' | xargs cat | sed -e '/^[a-zA-Z].*)$/!d' -e '/^static/d' -e "s/)$/);/g") | |
TABS=$(echo "${prot}" | awk '{sub("[\t ].*", "");print length($0)}' | sort -nr | head -n 1 | xargs -I{} expr {} / 4 + 1) | |
header="$(sed -e "/^[a-zA-Z][a-zA-Z_0-9]*.*);$/d" -e '/#endif/d' -e '/^$/d' ${NAME_H}) | |
$(echo "${prot}" | awk -v tabs=${TABS} '{s=$0; sub("[\t ].*", ""); l=tabs - int(length($0) / 4); t="";for(i=0;i<l;i++){t=t "\t"};sub("[\t ][\t ]*", t, s); print s}') | |
#endif" |
NewerOlder