Skip to content

Instantly share code, notes, and snippets.

View mcarbonneaux's full-sized avatar

CARBONNEAUX Mathieu mcarbonneaux

View GitHub Profile
@mathieucarbou
mathieucarbou / README.md
Last active February 4, 2025 20:35
Linky Teleinformation (TIC) + ESPHome + Home Assistant

Linky Teleinformation (TIC) + ESPHome + Home Assistant

Vue Home Assistant

Safari Screenshot 2023-02-15 01 58 53

Vue du Web Server

Screenshot 2023-02-15 at 12 24 23

Porting Go to SPARC Solaris

Source: https://sysadm.life/posts/porting_golang_to_sparc/

Learn how to compile and port Go for SPARC Solaris Tue, 18 Dec 2018 label GO Solaris
This article aims to present the steps required to create a port of Go for SPARC Solaris. The ‘spark’ that kicked this idea off was part of an aspiration to first get the Prometheus node exporter for the core machine metrics running on SPARC tin for Solaris 11.3, then potentially other node exporters such as the JMX exporter and a Oracle DB exporter.

Note: Oracle announced Go version 1.7.6 will be available in Solaris 11.4. However, it seems like that 11.4 is a no go for a lot of SPARC hardware

@skylord123
skylord123 / esphome_config.yaml
Last active November 14, 2024 16:25
Wiegand ESP32-POE config
esphome:
name: west_warehouse_access_control
platform: ESP32
board: esp32-poe
includes:
- custom_components/wiegand_device/wiegand_device.h
ethernet:
use_address: west_warehouse_access_control
type: LAN8720
@maraino
maraino / list.sh
Last active October 17, 2024 16:17
Create CRL index.txt
#!/bin/sh
set -e
# prepare copy directory
mkdir -p /crl/db/
# clean leftovers
rm -f /crl/db/*
# make a copy of badger db
@ralmn
ralmn / README.MD
Last active June 5, 2024 19:54
Lixee ZLinky_TIC - Zigbee2MQTT

Intégration du Lixee ZLinky_TIC dans Zigbee2MQTT

Le module Zlinky_TIC est maintenant intégré officillement dans Zigbee2MQTT grâce au travail de @vk496 !

Pour archives :

@Da-Juan
Da-Juan / opnsense_add_OCSP_stapling.md
Last active February 21, 2024 15:00
opnsense/haproxy: add OCSP stapling support

Here is a work around to automate OCSP stapling on Opnsense with HAproxy plugin.

Hope it helps :)

I created a script based on acme.sh's haproxy deploy hook.

As /tmp is emptied on reboot you need to regenerate ocsp files on startup so I put the script as a startup script: /usr/local/etc/rc.syshook.d/start/99-ocsp (symoblic links in rc.syshook.d don't work).

#!/bin/sh                          
{
"basics": {
"name": "Mathieu CARBONNEAUX",
"label": "Infrastructure IT Devops / Solutions Architect",
"photo": "https://www.ch2o.info/wp-content/uploads/2017/03/photocv-1x1.jpg",
"picture": "https://www.ch2o.info/wp-content/uploads/2017/03/photocv-1x1.jpg",
"image": "https://www.ch2o.info/wp-content/uploads/2017/03/photocv-1x1.jpg",
"website": "https://www.ch2o.info",
"summary": "Passionate about computers since my youngness, I started programming when i was 12 years old (logo, basic, Z80 assembler, 680x0, C/C++). </br></br>I followed training initially focused on electronics, industrial IT then on management IT (client/server programming, network, system, database and network wriring), which gave me a global vision of computing from hardware to software. </br></br>With more than 27 years (1997) of professional experience, where I alternately had the roles of application developer, database administrator, system engineer, network engineer, security engineer, middleware expert,
@coryodaniel
coryodaniel / list.txt
Created May 13, 2020 22:04
GCP List of API Services
NAME TITLE
abusiveexperiencereport.googleapis.com Abusive Experience Report API
acceleratedmobilepageurl.googleapis.com Accelerated Mobile Pages (AMP) URL API
accessapproval.googleapis.com Access Approval API
accesscontextmanager.googleapis.com Access Context Manager API
actions.googleapis.com Actions API
adexchangebuyer-json.googleapis.com Ad Exchange Buyer API
adexchangebuyer.googleapis.com Ad Exchange Buyer API II
adexchangeseller.googleapis.com Ad Exchange Seller API
adexperiencereport.googleapis.com Ad Experience Report API
@aondio
aondio / ova-to-box.md
Created April 8, 2019 15:09
Convert VirtualBox .ova to Vagrant box

Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.

  1. List your VMs to find the VM id you want to convert:
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
  1. You can now package the .ova VM as Vagrant box:
@sbernard31
sbernard31 / test.c
Last active March 11, 2023 18:04
UDP load balancer proto using bcc (XDP/Bpf)
#define KBUILD_MODNAME "foo"
#include <uapi/linux/bpf.h>
#include <linux/bpf.h>
#include <linux/icmp.h>
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>