Skip to content

Instantly share code, notes, and snippets.

View danielkeller's full-sized avatar

Daniel Keller danielkeller

View GitHub Profile
@danielkeller
danielkeller / test.md
Created February 20, 2016 12:05
Test setup for SO question

Test1.hs:

{-# LANGUAGE OverloadedStrings #-}

import qualified Data.ByteString.Lazy as B
import qualified Data.Text as T
import System.IO
import Control.Monad
import Data.Binary
@danielkeller
danielkeller / jetty.service
Created July 18, 2017 08:25
Systemd unit for Jetty
[Unit]
Description=Jetty Web Application Server
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/jetty.pid
ExecStart=/opt/jetty/jetty/bin/jetty.sh start
ExecStop=/opt/jetty/jetty/bin/jetty.sh stop
@danielkeller
danielkeller / .block
Last active October 17, 2017 19:21
Simple approach to plotting
height: 520
// Copyright 2025 Google LLC.
// SPDX-License-Identifier: Apache-2.0
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
#include "third_party/absl/container/flat_hash_set.h"