Skip to content

Instantly share code, notes, and snippets.

View err931's full-sized avatar

Minoru Maekawa err931

View GitHub Profile
cmake -B build -DCMAKE_EXE_LINKER_FLAGS="-static -Wl,-s -Wl,-z,relro -Wl,-z,now"
/*!
* 410GoneFromDenoDeploy v1.0.0
*
* Copyright (c) 2024 Minoru Maekawa (https://github.com/err931)
* Licensed under the BSD-3-Clause license
*/
import nhttp from "https://deno.land/x/nhttp/mod.ts";
import { STATUS_CODE } from "https://deno.land/std/http/status.ts";

1. 必要なパッケージをインストールしよう。

apt install -y git unzip inotify-tools

2. Erlang/OTPのビルドに必要な最小限のパッケージをインストールしよう。

apt install -y --no-install-recommends build-essential automake libncurses5-dev libssh-dev