Skip to content

Instantly share code, notes, and snippets.

View soutys's full-sized avatar

Przemek Konopko soutys

  • mBank/DEI
  • Pruszków, Poland
View GitHub Profile
module Lame = struct
type encoder
let encode_buffer_float_part enc fbl fbr start len = "le Lame"
end
module Other = struct
type encoder
let encode_buffer_float_part enc fbl fbr start len = "le Other"
end
@soutys
soutys / abs_cli.c
Last active May 7, 2019 06:57
abstract namespace unix socket problem
#include <sys/socket.h>
#include <sys/un.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
char *socket_path = "/var/tmp/sock.tmp";
int main(int argc, char *argv[]) {