Skip to content

Instantly share code, notes, and snippets.

View baloo's full-sized avatar
☢️
Copying and pasting from stackoverflow

Arthur Gautier baloo

☢️
Copying and pasting from stackoverflow
View GitHub Profile
SYSDIG_SRC?=$(HOME)/work/dev/sysdig/
KERNEL_SRC?=/usr/src/linux
KERNEL_CONFIG?=/usr/src/linux/.config
CONFIG_MODULE_SIG_KEY?=$(shell sed -r '/CONFIG_MODULE_SIG_KEY/ !d;s/.*="(.*)"/\1/' $(KERNEL_CONFIG))
CONFIG_MODULE_SIG_HASH=$(shell sed -r '/CONFIG_MODULE_SIG_HASH/ !d;s/.*="(.*)"/\1/' $(KERNEL_CONFIG))
.PHONY: sign-sysdig
sign-sysdig:
sed 's/@PROBE_NAME@/sysdig-probe/;s/@KBUILD_FLAGS@//' $(SYSDIG_SRC)/driver/Makefile.in > $(SYSDIG_SRC)/driver/Makefile
### Keybase proof
I hereby claim:
* I am baloo on github.
* I am baloo (https://keybase.io/baloo) on keybase.
* I have a public key whose fingerprint is A97A 15F5 F4E0 6FEE 03D8 47C2 204C 197F 8552 2F3F
To claim this, I am signing this object:
@baloo
baloo / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
"Get back a mongodb operator from a lens" in {
val lens = JsLens.init \ "author" \ "firstname"
Json.stringify(mongo.prune(lens)) must equalTo("""{"$unset":{"author.firstname":1}}""")
}
@baloo
baloo / ldns-signzone.sh
Created March 19, 2012 20:34 — forked from jedisct1/ldns-signzone.sh
ldns-signzone wrapper that understands $INCLUDE statements #dnssec #nsd
#! /bin/sh
LDNS_SIGNZONE="ldns-signzone"
errx() {
echo "$1" >&2
exit 1
}
parse_opts() {