Skip to content

Instantly share code, notes, and snippets.

diff --git a/config.m4 b/config.m4
index fca4c2e..92dd8ed 100644
--- a/config.m4
+++ b/config.m4
@@ -9,15 +9,30 @@ if test "$PHP_UUID" != "no"; then
PHP_CHECK_FUNC_LIB(uuid_type, uuid)
PHP_CHECK_FUNC_LIB(uuid_variant, uuid)
+ PHP_CHECK_FUNC_LIB(uuid_time, uuid)
+ PHP_CHECK_FUNC_LIB(uuid_mac, uuid)
@e-nomem
e-nomem / executor.py
Last active December 11, 2019 08:08
Advent of Code 2019
from enum import IntEnum
from typing import Optional
from .io import Reader
from .io import stdin
from .io import stdout
from .io import Writer
from .utils import Program
@e-nomem
e-nomem / accept_stream.rs
Last active June 4, 2022 22:54
Hyper Acceptor
use std::fmt::Debug;
use std::io;
use std::marker::PhantomData;
use std::net::SocketAddr;
use std::pin::Pin;
use std::sync::Arc;
use std::task::Context;
use std::task::Poll;
use futures::ready;
@e-nomem
e-nomem / flake.nix
Created November 9, 2022 15:58
Rust Nix Flake Setup
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
naersk = {
url = "github:nix-community/naersk";