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
143yoga:~% timeout 1 cat /dev/zero | mbuffer -q -l cat.txt -o /dev/null | |
zsh: exit 124 timeout 1 cat /dev/zero | | |
zsh: mbuffer -q -l cat.txt -o /dev/null | |
143yoga:~% timeout 1 mbuffer -q -l native.txt -i /dev/zero -o /dev/null | |
124yoga:~% tail -n 1 cat.txt native.txt | |
==> cat.txt <== | |
mbuffer: in @ 1140 MiB/s, out @ 1140 MiB/s, 799 MiB total, buffer 0% full | |
==> native.txt <== | |
mbuffer: in @ 1995 MiB/s, out @ 1995 MiB/s, 1398 MiB total, buffer 0% full |
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 bash | |
awk 'function wl() { | |
rate=64000; | |
return (rate/160)*(0.87055^(int(rand()*10)))}; | |
BEGIN { | |
srand(); | |
wla=wl(); | |
while(1) { | |
wlb=wla; | |
wla=wl(); |
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
{ repoPrs, writeText }: | |
let | |
inherit (builtins) fromJSON toJSON readFile attrNames map; | |
prs = fromJSON (readFile repoPrs); | |
nixpkgs = (import ../etc/lib/version.nix); | |
prIds = attrNames prs; | |
genJobSet = id: | |
let | |
info = prs."${id}"; |
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 for gitless. | |
self: super: | |
let | |
inherit (super) fetchFromGitHub pythonPackages stdenv; | |
in | |
{ | |
#{ fetchFromGitHub, pythonPackages, stdenv }: | |
gitless = super.pythonPackages.buildPythonApplication rec { |
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
import <nixpkgs/nixos/tests/make-test.nix> { | |
nodes = { | |
testvm = | |
{ config, lib, pkgs, ... }: | |
let | |
CacheMemcachedlibmemcached = buildPerlPackage rec { | |
name = "Cache-Memcached-libmemcached-0.04001"; | |
src = fetchurl { |
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
Building native extensions with: '--with-xml2-config=/nix/store/7900k6sfgwrpqmhgj27c1234l57kqj7z-libxml2-2.9.4-bin/bin/xml2-config --with-xslt-config=/nix/store/r09ik1avdwifxnrrghyc483j04aafzk6-libxslt-1.1.29-bin/bin/xslt-config' |
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
#include <ESP8266WiFi.h> | |
#include <ESP8266httpUpdate.h> | |
#include <PubSubClient.h> | |
// OTA Firmware Version | |
const char* VERSION = "Remote_Control_Switch_Module_MQTT.bin_v0.000"; | |
// gpio info |
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
130petit:~% journalctl -u postfix -n 100000 | grep point@nick | |
Oct 26 14:21:04 petit.hubns.net postfix/smtp[31416]: 54C13281639: to=<vogeln@gmail.com>, orig_to=<point@nick.hubns.net>, relay=gmail-smtp-in.l.google.com[108.177.9.26]:25, delay=0.49, delays=0.17/0/0.07/0.24, dsn=2.0.0, status=sent (250 2.0.0 OK 1509027664 k144si1459871oih.56 - gsmtp) | |
Oct 26 16:03:21 petit.hubns.net postfix/smtp[8665]: 5D29D281B30: to=<vogeln@gmail.com>, orig_to=<point@nick.hubns.net>, relay=gmail-smtp-in.l.google.com[108.177.9.26]:25, delay=0.28, delays=0.03/0/0.07/0.17, dsn=2.0.0, status=sent (250 2.0.0 OK 1509033801 s3si1484857oig.271 - gsmtp) | |
Oct 26 18:04:22 petit.hubns.net postfix/smtp[19826]: 7CC852801FC: to=<vogeln@gmail.com>, orig_to=<point@nick.hubns.net>, relay=gmail-smtp-in.l.google.com[2607:f8b0:4003:c13::1a]:25, delay=0.51, delays=0.26/0/0.07/0.17, dsn=2.0.0, status=sent (250 2.0.0 OK 1509041062 a53si1792824ote.217 - gsmtp) | |
Oct 26 22:16:18 petit.hubns.net postfix/smtp[17642]: 620F9281D50: to=<vogeln@gmail.com>, orig_t |
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 allows a user to run nix-shell in the tech repo and then all | |
# of their system dependencies will be handled. More info on NixOS: | |
# https://nixos.org/ | |
# http://nixos.org/nix/manual/#sec-nix-shell | |
{ pkgs ? import <nixpkgs> {} | |
}: | |
(pkgs.buildFHSUserEnv { | |
name = "ihatevagrant"; |