Skip to content

Instantly share code, notes, and snippets.

View haruki7049's full-sized avatar

haruki7049 haruki7049

View GitHub Profile
@haruki7049
haruki7049 / lbForth.c
Created November 13, 2024 11:37 — forked from lbruder/lbForth.c
A minimal Forth compiler in ANSI C
/*******************************************************************************
*
* A minimal Forth compiler in C
* By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com
* Release 2014-04-04
*
* Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial
*
* PUBLIC DOMAIN
*
@haruki7049
haruki7049 / err.log
Created November 11, 2024 08:32
nixpkgs 3d7216f, zig_0_13 build failure
this derivation will be built:
/nix/store/6pjsgwpc0s3mndk3fp96mkya2vbna9s2-zig-0.13.0.drv
building '/nix/store/6pjsgwpc0s3mndk3fp96mkya2vbna9s2-zig-0.13.0.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/d3f65k6m4fkz9yb20rszsg5ci4b81ca3-source
source root is source
Running phase: patchPhase
substituteStream() in derivation zig-0.13.0: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'lib/std/zig/system.zig')
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
this derivation will be built:
/nix/store/3q5mg6p2hisllsp85nygmq57472ql9v4-jank-lang-dev.drv
building '/nix/store/3q5mg6p2hisllsp85nygmq57472ql9v4-jank-lang-dev.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/rdrb3flsjc7jm8nvwqzr74fx7c9jw8hx-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
fixing cmake files...
this derivation will be built:
/nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv
building '/nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/bmn4d1m81fgpqgqb0jczklinnyjqlc2a-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
fixing cmake files...
@haruki7049
haruki7049 / error.log
Created October 27, 2024 06:25
In nixpkgs, cargo-llvm-cov compile error with Nix 2.18.2, aarch64-darwin
this derivation will be built:
/nix/store/w4zmmz30sqhxq5xlzmnvag4i7pm08j8b-cargo-llvm-cov-0.6.12.drv
building '/nix/store/w4zmmz30sqhxq5xlzmnvag4i7pm08j8b-cargo-llvm-cov-0.6.12.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/hwrfkp6w5i6cy1ppmmmp18dwlhycs7s9-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/18nyfs5h08z17dxz48am8202vx2v7kjn-cargo-llvm-cov-0.6.12-vendor.tar.gz
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
@haruki7049
haruki7049 / slides.md
Last active October 26, 2024 05:42
10月26日のスライド。Marp-cliを使用。
@haruki7049
haruki7049 / package.nix
Created September 15, 2024 02:10
sonic-pi-tool
{
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "sonic-pi-tool";
version = "0-unstable-2022-11-04";
src = fetchFromGitHub {

Keybase proof

I hereby claim:

  • I am haruki7049 on github.
  • I am haruki7049 (https://keybase.io/haruki7049) on keybase.
  • I have a public key ASDfbjVWDmhLZOqGDuch6FZOVRysjXidgfeCgQrnhr1XzAo

To claim this, I am signing this object:

Vimについての怪文書です。


ヴィムの謎と伝説

ある日、プログラマのタカシは古びた書店で埃をかぶった本を見つけた。それは「Vimの真髄」と題された手書きの写本だった。表紙には謎めいたシンボルが描かれ、ただならぬ気配を漂わせていた。タカシは好奇心に勝てず、その本を手に取った。

ページをめくると、古代の呪文のようなVimのコマンドが並んでいた。「i」で挿入、「:wq」で保存して終了といった基本的なものから、「g~」や「=G」など、見たこともない呪術のようなコマンドまでが記されていた。

@haruki7049
haruki7049 / config
Created January 26, 2024 03:37
My tofi's configuration
# FROM https://github.com/philj56/tofi/blob/v0.9.1/themes/dmenu
anchor = top
width = 100%
height = 30
horizontal = true
font-size = 14
prompt-text = " run: "
font = monospace
outline-width = 0