Skip to content

Instantly share code, notes, and snippets.

View mystor's full-sized avatar
💥
Breaking Web [===>--------]

Nika Layzell mystor

💥
Breaking Web [===>--------]
View GitHub Profile
@mystor
mystor / tracing-core.h
Created August 20, 2020 18:33
RFC: tracing-core C FFI proposal
#ifndef tracing_core_h
#define tracing_core_h
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
@mystor
mystor / icecc-jobs.pl
Last active March 20, 2021 23:47
A simple script for counting the avaliable jobs in an icecream network
#!/usr/bin/env perl
# This short script queries the icecream scheduler to discover what machines are connected,
# and sums the maximum job counts for all x86-64 machines.
# It can be used in your mozconfig as follows:
# mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)"
# if this script is on your PATH, and named icecc-jobs
use List::Util qw(sum0);