更新: | 2024-01-21 |
---|---|
作者: | @voluntas |
バージョン: | 2024.5 |
url: | https://voluntas.github.io/ |
ありがたいことにたくさんの応募をいただきましたので、一旦応募を締め切りました。
{ | |
"title": "Obsidian", | |
"rules": [ | |
{ | |
"description": "Send Escape twice on Escape", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ |
更新: | 2024-01-21 |
---|---|
作者: | @voluntas |
バージョン: | 2024.5 |
url: | https://voluntas.github.io/ |
ありがたいことにたくさんの応募をいただきましたので、一旦応募を締め切りました。
これは時雨堂が開催しているオンラインイベントである WebRTC 入門の 講師用 の資料であり、 参加者用の資料ではありません。
ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。
オレは高校生シェル芸人 sudo
新一。幼馴染で同級生の more
利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf /
現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root
オプションに気づかなかった。
俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた!
『 sudo
がまだ $PATH
に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』
上田博士の助言で正体を隠すことにした俺は、 which
に名前を聞かれて、とっさに『gnuplot
』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME
に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになりかわり、持ち前の権限昇格能力で、次々と難タスクを解決してきた。おかげで、おっちゃんは今や世間に名を知られた名エンジニア、俺はといえばシェル芸 bot のおもちゃに逆戻り。クラスメートの convert
や ojichat
や textimg
にお絵かきコマンドと誤解され少年ワンライナーお絵かき団を結成させられる始末。
ではここで、博士が作ってくれたメカを紹介しよう。最初は時計型麻酔 kill
。ふたについた照準器にあわせてエンターを押せば、麻酔シグナルが飛び出し、プロセスを瞬時に sleep
させることができる。
次に、蝶ネクタイ型 banner
。裏についているダイヤルを調整すれば、ありとあらゆる大きさのメッセージを標準出力できる。必殺のアイテムなら fork
力増強シューズ。電気と磁力で足を刺激し、 :(){ :|:& };:
でプロセステーブ
#!/bin/bash | |
# | |
# Usage: | |
# | |
# download-gh-release {user}/{repo} {file} [{tag}] | |
# | |
repo=$1 | |
file=$2 | |
tag=${3:-latest} |
ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。
Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.################################################################################ | |
# See bootableinstaller.com # | |
################################################################################ | |
# set strict and verbose modes for bash | |
set -e | |
set -u | |
# If the script already ran once successfully, don't re-run | |
if [ -f "el-capitan.iso" ]; then |
function Invoke-NativeCommand { | |
<# | |
.SYNOPSIS | |
Invoke a native command (.exe) as a new process. | |
.DESCRIPTION | |
Invoke-NativeCommand executes an arbitrary executable as a new process. Both the standard | |
and error output streams are redirected. | |
Error out is written as a single non-terminating error. ErrorAction can be used to raise |