Skip to content

Instantly share code, notes, and snippets.

ssize_t
nxs_sendfile(const int out_fd, const int in_fd,
off_t *offset, const size_t size) {
#if defined(__linux__)
const ssize_t nw = sendfile(out_fd, in_fd, offset, size);
return nw;
#elif defined(__FreeBSD__)
module GoogleChart exposing (..)
import Html exposing (Html)
import Html.Attributes as HtmlA
import Json.Encode as E
import List.Extra as List
import Chart exposing (..)
colors =