Skip to content

Instantly share code, notes, and snippets.

View err931's full-sized avatar

Minoru Maekawa err931

  • Kobe, Hyogo, Japan
View GitHub Profile

Zig内蔵のC/C++コンパイラを使った静的ビルド手順


1. Makeflie

COMMON_FLAGS="-target x86_64-linux-musl -O2 -pipe"

export CC="zig cc"
{
"$schema": "https://aka.ms/winget-settings.schema.json",
"visual": {
"progressBar": "rainbow"
},
"installBehavior": {
"archiveExtractionMethod": "tar",
"preferences": {
"scope": "machine"
@echo off
net stop usosvc
net stop dosvc
net stop wuauserv
net stop bits
rmdir /s /q %SystemRoot%\SoftwareDistribution
del %ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr0.dat
del %ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr1.dat
net start bits
{
"subscriptions": [
{
"name": "ncaq-uBlacklistRule",
"url": "https://raw.githubusercontent.com/ncaq/uBlacklistRule/master/uBlacklist.txt",
"enabled": true
},
{
"name": "ublacklist-programming-school",
"url": "https://raw.githubusercontent.com/108EAA0A/ublacklist-programming-school/main/uBlacklist.txt",

Jason から標準 JSON への差し替え手順書 (Erlang/OTP 27+ | Elixir v1.18+)

config/config.exs に以下を追加する。

erlang-jose

config :jose, json_module: :json