nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
overlay cape-universal | |
overlay cape-univ-emmc | |
overlay cape-univ-hdmi | |
P8.3 low | |
P8.4 low | |
P8.5 low | |
P8.6 low | |
P8.7 low | |
P8.8 low | |
P8.9 low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code illustrates the setup of a WebRTC call using WSP | |
// This code is only intended for illustration purposes | |
// It lacks details like exception and error handling | |
// In practice this code should run partly on the server and partly on the client. | |
// The WSP protocol must be used between the servers of the caller and the server of the callee | |
// For the communication between the server and the client any protocol could be used. | |
// If none has been established yet, ik makes sense of course to use the same WSP mechanism here as well. | |
// This sample code does not show this communication between the server and the client though | |
var invitation = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from distutils.core import setup | |
setup(name="machinetalk-protobuf", | |
version="1.0", | |
description="Protobuf Python modules for Machinetalk", | |
url="https://github.com/machinekit/machinetalk-protobuf", | |
# TODO: Get this into a named package (machinetalk_protobuf) | |
# so that the modules (like message_pb2) aren't installed as global modules. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { }; | |
#pkgs.clangStdenv.mkDerivation rec { | |
pkgs.stdenv.mkDerivation rec { | |
name = "machinekit"; | |
src = ./.; | |
nativeBuildInputs = [ | |
cmake | |
pkgconfig | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var system = require('system'); | |
var edition = system.args[1] || 'windows10'; | |
var language = system.args[2] || 'english'; | |
var architecture = system.args[3] || '64'; | |
var page = require('webpage').create(); | |
/* Global helper functions */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test whether `nginx` can start when configured to use `acme`. | |
import ./make-test.nix ({ pkgs, ... } : { | |
name = "acme"; | |
meta = with pkgs.stdenv.lib.maintainers; { | |
maintainers = [ bobvanderlinden ]; | |
}; | |
nodes = { | |
server = { config, pkgs, ... }: { | |
services.nginx.enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? ./default.nix, | |
nixos ? ./nixos/release.nix, | |
system ? "x86_64-linux" | |
}: | |
{ | |
vm = (import ./nixos/lib/eval-config.nix { | |
inherit system; | |
modules = [ | |
{ | |
services.nginx = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix.package = (import (pkgs.fetchFromGitHub { | |
owner = "nixos"; | |
repo = "nixpkgs"; | |
rev = "6da8b0d49de784c72a3411b86656fa62656ea98e"; | |
sha256 = "0rmmq67apl28kyl0dspgb4yrc5cq8q9mdcqk4gigmyirji96k4nx"; | |
}) {}).pkgs.nixUnstable; |
I hereby claim:
- I am bobvanderlinden on github.
- I am bobvanderlinden (https://keybase.io/bobvanderlinden) on keybase.
- I have a public key ASD-ZmTE-wd3nzKSoc_5qjuJWSfzf4VNLu_QLdNYOy5O2Ao
To claim this, I am signing this object:
OlderNewer