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
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 |
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
#!/bin/sh | |
set -e | |
# prepare copy directory | |
mkdir -p /crl/db/ | |
# clean leftovers | |
rm -f /crl/db/* | |
# make a copy of badger db |
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
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
{ | |
"meta": { | |
"theme": "stackoverflow" | |
}, | |
"basics": { | |
"name": "Mathieu CARBONNEAUX", | |
"label": "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", |
Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.
- List your VMs to find the VM id you want to convert:
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
- You can now package the .ova VM as Vagrant box:
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
#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> |
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
# activate the virtualenv | |
source /home/superset/.virtualenvs/superset/bin/activate | |
fabmanager reset-password --app superset --username admin --password enteryournewpassword |
NewerOlder