Skip to content

Instantly share code, notes, and snippets.

View MurkyMeow's full-sized avatar
🌺
Types without borders

Smirnova MurkyMeow

🌺
Types without borders
  • Moscow
  • 20:09 (UTC +03:00)
View GitHub Profile
@Janiczek
Janiczek / Main.elm
Last active August 18, 2025 12:36
Free Monad + Interpreter in Elm
module Main exposing (..)
{-| Free monad + interpreter in Elm
-}
import Dict exposing (Dict)
{-| Dict String Int-like structure
@akashrajkn
akashrajkn / fifo_writer.js
Last active July 6, 2021 20:50
IPC with pipes (Node.js): Write to pipe, Read processed data from pipe
const fs = require('fs');
const { spawn, fork } = require('child_process');
const path_a = 'pipe_a';
const path_b = 'pipe_b';
let fifo_b = spawn('mkfifo', [path_b]); // Create Pipe B
fifo_b.on('exit', function(status) {
console.log('Created Pipe B');