Test case for package.el's dependency resolution. The two test cases are, with dependencies flowing left to right:
C / \ X---Z A D--E \ / \ / Y B
lorne@argon$ curl -vsL -o - http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz | file - | |
* Adding handle: conn: 0x7fd610803a00 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 | |
* Curl_addHandleToPipeline: length: 1 | |
* - Conn 0 (0x7fd610803a00) send_pipe: 1, recv_pipe: 0 | |
* About to connect() to www.python.org port 80 (#0) | |
* Trying 82.94.164.162... | |
* Connected to www.python.org (82.94.164.162) port 80 (#0) | |
> GET /ftp/python/2.7.6/Python-2.7.6.tgz HTTP/1.1 |
lorne@northind$ traceroute ftp.nz.freebsd.org | |
traceroute to warnock.catalyst.net.nz (202.78.240.39), 64 hops max, 52 byte packets | |
1 routerboard (10.88.0.1) 0.367 ms 0.335 ms 0.233 ms | |
2 * * * | |
3 lo0.internet.ivpn.pe25.telstraclear.net (218.101.61.124) 42.577 ms 14.755 ms 8.580 ms | |
4 telstraclear3.wix.nzix.net (202.7.0.77) 10.100 ms 9.760 ms 9.917 ms | |
5 catalyst-it1.wix.nzix.net (202.7.0.145) 19.930 ms 19.580 ms 19.955 ms | |
6 warnock.catalyst.net.nz (202.78.240.39) 20.234 ms 19.625 ms 19.801 ms | |
lorne@northind$ traceroute update2.freebsd.org |
#!/bin/sh | |
# freebsd-update makes assumptions that don't match the world I live | |
# in. My local mirror has a 20ms rtt, can probably saturate my 130mbps | |
# line speed and takes about 2 minutes to fetch all of FreeBSD 10's | |
# dists; freebsd-update's mirrors are at least 140ms away, and take | |
# about 4 hours to fetch the changes from 9.1-RELEASE-p10 to | |
# 10.0-RELEASE. | |
# | |
# freebsd-update is a clever script that downloads a lot of bsdiff |
#!/usr/bin/env ruby | |
at_exit { raise } | |
if pid = fork | |
Thread.new {} | |
exit(0) | |
end |
Test case for package.el's dependency resolution. The two test cases are, with dependencies flowing left to right:
C / \ X---Z A D--E \ / \ / Y B
#!/usr/bin/env ruby | |
require 'sqlite3' | |
db = SQLite3::Database.new(ARGV[0]) | |
SEP = "\u001f" | |
# First field in deck is frame number from the v6 edition (well | |
# actually the id, but the id and frame number seem to match) | |
# |
{ | |
"name": "conshomebridge", | |
"scripts": { | |
"start": "nf start", | |
"start:mosca": "mosca --credentials mosca/credentials.json -v", | |
"start:homebridge": "homebridge -D -U $PWD/homebridge -P plugins" | |
}, | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", |
diff --git a/pkgs/tools/networking/whois/default.nix b/pkgs/tools/networking/whois/default.nix | |
index 6f37e88f4f6..abd358339b1 100644 | |
--- a/pkgs/tools/networking/whois/default.nix | |
+++ b/pkgs/tools/networking/whois/default.nix | |
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec { | |
substituteInPlace $i --replace "prefix = /usr" "prefix = $out" | |
done | |
- substituteInPlace Makefile --replace "DEFS += HAVE_ICONV" "DEFS += HAVE_ICONV\nwhois_LDADD += -liconv" | |
+ substituteInPlace Makefile --replace "DEFS += -DHAVE_ICONV" "$(printf "%s\n%s" "DEFS += -DHAVE_ICONV" "whois_LDADD += -liconv")" |
$ cat metrics.nix | |
with (import <nixpkgs> {}); | |
runCommand "test-metrics" {} '' | |
performance-metrics() { | |
thingname=$1 | |
shift | |
if [ -n "${enablePhaseMetrics:-}" ]; then | |
TIMEFORMAT="time.$thingname.user %U | |
time.$thingname.system %S |
cmake_minimum_required(VERSION 3.11) | |
project(accounts-service-consumer LANGUAGES C) | |
find_package(PkgConfig) | |
pkg_check_modules(Glib IMPORTED_TARGET REQUIRED glib-2.0) | |
pkg_check_modules(AccountsService IMPORTED_TARGET REQUIRED accountsservice) | |
add_executable(accounts-service-consumer main.c) |