Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am cveilleux on github.
* I am cedricv (https://keybase.io/cedricv) on keybase.
* I have a public key whose fingerprint is 10B6 6EBB E250 FDC5 4545 BA5D CBE7 E60D EB1B 87C7
To claim this, I am signing this object:
@cveilleux
cveilleux / JSONPrivateStorage.js
Created April 20, 2017 18:43
Stanza.io private storage plugin example
/**
* Stanza.io plugin that allows storing private JSON data in private storage on
* the XMPP server (XEP-0049).
*
* Example usage:
*
* ```
* var docs = {doc1: 'some value', doc2: {some: 'value'}, doc3: ['some', 'value']};
* client.setPrivateDocuments(docs, cb);
* client.getPrivateDocuments(cb);
@cveilleux
cveilleux / zfs_0.8.4.bb
Created May 15, 2020 11:50
OpenZFS 0.8.4 Yocto recipe
SUMMARY = "ZFS"
DESCRIPTION="ZFS"
HOMEPAGE = "https://zfsonlinux.org/"
LICENSE = "CDDL"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
SRC_URI = "https://github.com/openzfs/zfs/releases/download/zfs-${PV}/zfs-${PV}.tar.gz"
SRC_URI[md5sum] = "f0c203c59c4fcd44187a64758707469f"
SRC_URI[sha256sum] = "2b988f5777976f09d08083f6bebf6e67219c4c4c183c1f33033fb7e5e5eacafb"
From 6ed4c5ff2d7133038d084ea9c2147bad24b3ed2c Mon Sep 17 00:00:00 2001
From: Cedric Veilleux <[email protected]>
Date: Wed, 19 Jan 2022 12:55:55 -0500
Subject: [PATCH] Revert "build: support native cross-compilation for ARM64
(#3152)"
This reverts commit bfce2316d93a3ead43965d5034676200269f93c0.
---
CMakeLists.txt | 8 ++++----
cmake/linux-arm64.cmake | 17 -----------------
From 6ed4c5ff2d7133038d084ea9c2147bad24b3ed2c Mon Sep 17 00:00:00 2001
From: Cedric Veilleux <[email protected]>
Date: Wed, 19 Jan 2022 12:55:55 -0500
Subject: [PATCH] Revert "build: support native cross-compilation for ARM64
(#3152)"
This reverts commit bfce2316d93a3ead43965d5034676200269f93c0.
---
CMakeLists.txt | 8 ++++----
cmake/linux-arm64.cmake | 17 -----------------
@cveilleux
cveilleux / test3.netset
Last active October 18, 2023 21:48
Test ip list
1.1.1.1
2.2.2.2
3.3.3.3
22.31.11.1
@cveilleux
cveilleux / log.py
Created December 7, 2023 22:08
Advanced unbound python DNS logging module
"""
This is an advanced version of the log.py example found at
https://github.com/NLnetLabs/unbound/blob/master/pythonmod/examples/log.py
Changes:
- Updated for python 3
- Full parsing of resource records in the response using dnslib
- Output in JSON format for easy parsing by other tools.
Requirements: