Skip to content

Instantly share code, notes, and snippets.

View infogulch's full-sized avatar

Joe Taber infogulch

View GitHub Profile
@rem /* vim:set ft=go:
@echo off
setlocal
set fn=%RANDOM%.go
set fp=%TEMP%\%fn%
more +10 "%~f0" > "%fp%"
(cd "%TEMP%" & go run %fn%)
del "%fp%"
goto :eof
*/
@robertodr
robertodr / configuration.nix
Created September 13, 2021 13:37
Caddy on NixOS
{ config, pkgs, options, ... }:
let
baseConfig = {
allowUnfree = true;
};
unstable = import <nixos-unstable> { config = baseConfig; };
in
{
imports = [