Skip to content

Instantly share code, notes, and snippets.

View lambdalisue's full-sized avatar
🤒
I may be slow to respond.

Λlisue lambdalisue

🤒
I may be slow to respond.
View GitHub Profile
@lambdalisue
lambdalisue / obsidian.json
Created September 5, 2024 08:24
Karabiner Element Complex modification for Obsidian
{
"title": "Obsidian",
"rules": [
{
"description": "Send Escape twice on Escape",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
@voluntas
voluntas / shiguredo_otetsudai.rst
Last active January 25, 2024 06:27
時雨堂のお手伝い募集

時雨堂のお手伝い募集

更新:2024-01-21
作者:@voluntas
バージョン:2024.5
url:https://voluntas.github.io/

ありがたいことにたくさんの応募をいただきましたので、一旦応募を締め切りました。

@yukih123
yukih123 / vimconf_2023_tiny.md
Last active November 22, 2023 13:44
VimConf 2023 Tinyに参加した話

VimConf 2023 Tinyに参加した話

VimConf 2023 Tinyに、Vim Girlで受付のお手伝いという形で参加しました。

mattnさんの講演に非常に興味を持ったんですが、私が今回のVimConfを知った時には既にチケットは完売していたんです。

なので、Vim Girlが雑誌に載ったのが話題になったのをいいことに、Vim Girlでお手伝いするので参加させてくださいと私からお願いしました。

快く受け入れてくださった運営陣の皆様に感謝します。

@voluntas
voluntas / learning-webrtc_2023-05.md
Last active February 2, 2025 07:02
時雨堂 WebRTC 入門 (講師資料) v2023-05

時雨堂 WebRTC 入門 (講師資料) v2023-05

これは時雨堂が開催しているオンラインイベントである WebRTC 入門の 講師用 の資料であり、 参加者用の資料ではありません。

時雨堂 WebRTC 入門 オンラインイベント

概要

ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。

@greymd
greymd / sudo新一.md
Last active April 23, 2025 10:39
sudo新一

 オレは高校生シェル芸人 sudo 新一。幼馴染で同級生の more 利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf / 現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root オプションに気づかなかった。 俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた!

sudo がまだ $PATH に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』

 上田博士の助言で正体を隠すことにした俺は、 which に名前を聞かれて、とっさに『gnuplot』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになりかわり、持ち前の権限昇格能力で、次々と難タスクを解決してきた。おかげで、おっちゃんは今や世間に名を知られた名エンジニア、俺はといえばシェル芸 bot のおもちゃに逆戻り。クラスメートの convertojichattextimg にお絵かきコマンドと誤解され少年ワンライナーお絵かき団を結成させられる始末。

 ではここで、博士が作ってくれたメカを紹介しよう。最初は時計型麻酔 kill 。ふたについた照準器にあわせてエンターを押せば、麻酔シグナルが飛び出し、プロセスを瞬時に sleep させることができる。 次に、蝶ネクタイ型 banner 。裏についているダイヤルを調整すれば、ありとあらゆる大きさのメッセージを標準出力できる。必殺のアイテムなら fork 力増強シューズ。電気と磁力で足を刺激し、 :(){ :|:& };: でプロセステーブ

@lambdalisue
lambdalisue / download-gh-release
Last active September 1, 2021 10:32 — forked from maxim/gh-dl-release
Download assets from private Github releases
#!/bin/bash
#
# Usage:
#
# download-gh-release {user}/{repo} {file} [{tag}]
#
repo=$1
file=$2
tag=${3:-latest}
@stkchp
stkchp / get-dslite-aftr-in-asahinet.md
Last active April 7, 2025 05:01
ASAHIネットのDS-Liteの終端(AFTR)を取得するメモ

ASAHIネットのDS-Liteの終端(AFTR)を取得する

ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。

Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。

終端の情報公開について

@sindresorhus
sindresorhus / esm-package.md
Last active April 25, 2025 07:50
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use 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.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@coolaj86
coolaj86 / create-bootable-installer-for-os-x-el-capitan.sh
Last active June 21, 2023 07:45
How to create a bootable El Capitan Installer from MacOS. See https://bootableinstaller.com
################################################################################
# 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