These are books, grouped by author name, that I have read or re-read in the past couple of years and that I think other people might enjoy.
Ann Leckie
- Ancillary Justice
- Ancillary Sword
- Ancillary Mercy
- Provenance
import akka.actor._ | |
import akka.pattern.ask | |
import akka.util._ | |
import akka.util.duration._ | |
import scala.util.control.Exception._ | |
/** | |
* To test, execute this code and use this command in a shell: "telnet localhost 8080" | |
* At the prompt, type in numbers and press enter, and they will be accumulated, returning | |
* the total value each time. |
let | |
hpack2nix = | |
name: src: | |
let | |
addCabalFile = stdenv.mkDerivation { | |
inherit name src; | |
phases = [ "unpackPhase" "patchPhase" "installPhase" ]; | |
installPhase = ''cp -r . $out''; | |
patchPhase = '' | |
${haskellPackages.hpack}/bin/hpack |
{config, ...}: | |
let | |
allowHttps = true; | |
serverTemplate = { | |
domain, | |
proxyTarget, | |
redirectWww ? false, | |
enableHttps ? false | |
}: let |
{ pkgs, lib, config, ... }: | |
{ | |
networking = { | |
firewall.allowedTCPPorts = [ | |
3000 # grafana | |
9090 # prometheus | |
9093 # alertmanager | |
]; | |
useDHCP = true; | |
}; |