Skip to content

Instantly share code, notes, and snippets.

@grantzvolsky
grantzvolsky / 2.2.nix
Created December 16, 2020 00:03
cuelang nix builds to reproduce https://github.com/cuelang/cue/issues/611
# MIT license
# based on https://github.com/NixOS/nixpkgs/blob/bf007a2c0a8c60c4c552c3213b4f095de928ee23/pkgs/development/tools/cue/default.nix
{ buildGoModule, fetchgit, git, stdenv, breakpointHook }:
buildGoModule rec {
pname = "cue";
version = "0.2.2";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
@grantzvolsky
grantzvolsky / lxd_cheatsheet.sh
Last active February 4, 2018 17:13
Basic LXD commands
# Share a host's directory with a container
lxc config device add my-container new-disk-name disk path=/var/ad_hoc/ source=/var/ad_hoc
package com.example
import akka.actor._
import akka.actor.ActorSystem
import akka.actor.Props
import com.typesafe.config._
import java.io.File
object ApplicationMain extends App {