Skip to content

Instantly share code, notes, and snippets.

View mcarbonneaux's full-sized avatar

CARBONNEAUX Mathieu mcarbonneaux

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle
Name="Example Product"
Version="1.2.3.4"
Manufacturer="John Doe"
Copyright="© 2022 John Doe"
@mcarbonneaux
mcarbonneaux / ova-to-box.md
Created April 18, 2023 20:37 — forked from aondio/ova-to-box.md
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:
@mcarbonneaux
mcarbonneaux / how-to-git-patch-diff.md
Created November 1, 2022 20:47 — forked from nepsilon/how-to-git-patch-diff.md
How to generate and apply patches with git? — First published in fullweb.io issue #33

How to generate and apply patches with git?

It sometimes happen you need change code on a machine from which you cannot push to the repo. You’re ready to copy/paste what diff outputs to your local working copy.

You think there must be a better way to proceed and you’re right. It’s a simple 2 steps process:

1. Generate the patch:

git diff &gt; some-changes.patch
@mcarbonneaux
mcarbonneaux / README.MD
Created May 20, 2022 20:11 — forked from ralmn/README.MD
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 :

@mcarbonneaux
mcarbonneaux / list.sh
Created May 6, 2022 11:31 — forked from maraino/list.sh
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
@mcarbonneaux
mcarbonneaux / README.md
Created June 27, 2021 00:24 — forked from detiber/README.md
Using CFSSL as an external CA for kubeadm

CFSSL as an external CA for non-ha kubeadm intialized clusters

Using cfssl to Create an External CA Infrastructure

Install cfssl

# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
@mcarbonneaux
mcarbonneaux / travis2githubassetupload.sh
Last active July 10, 2020 17:30
To upload asset on github release from travis-ci build
if [ -f $1 ]; then
echo "Start try upload asset $1 to ${TRAVIS_PULL_REQUEST_SLUG} on tag: ${TRAVIS_TAG} at $(date)..."
ASSETTAGID=$(curl --no-progress-meter -q -u "${GITHUB_UPLOAD_USERNAME}:${GITHUB_UPLOAD_TOKEN}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${TRAVIS_PULL_REQUEST_SLUG}/releases/tags/${TRAVIS_TAG} | awk '/"assets": /{flag=1}/"id": /{sub(",$","",$2);id=$2;}/"name": /{sub("^\"","",$2); sub("\",$","",$2);name=$2; if (name=="'"$1"'") {print id;exit}}')
ASSETURL=$(curl --no-progress-meter -q -u "${GITHUB_UPLOAD_USERNAME}:${GITHUB_UPLOAD_TOKEN}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${TRAVIS_PULL_REQUEST_SLUG}/releases/tags/${TRAVIS_TAG} | awk '/"assets_url": /{sub("^\"","",$2); sub("\",$","",$2); sub("^https://api[.]","https://uploads.",$2);print $2;exit}')
if [ -z "${ASSETURL}" ]; then
@mcarbonneaux
mcarbonneaux / README.md
Created June 26, 2020 16:15 — forked from ogarrett/README.md
WebSockets TrafficScript library

This Riverbed TrafficScript library implements support for identification and modification of WebSockets traffic in Stingray Traffic Manager.

For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1451

Tags: #Stingray #TrafficScript #WebSockets #splash.riverbed.com

@mcarbonneaux
mcarbonneaux / README.md
Created June 26, 2020 16:14 — forked from ogarrett/README.md
libTable: TrafficScript libraries to manage on-disk tables of data

These Riverbed TrafficScript libraries implements a means to efficiently search tables of data stored as files in the Resource directory (conf/extra) of Stingray Traffic Manager

For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1618

Tags: #Stingray #TrafficScript #splash.riverbed.com

@mcarbonneaux
mcarbonneaux / README.md
Created June 26, 2020 16:13 — forked from ogarrett/README.md
libHMAC: TrafficScript library to calculate HMAC hashes

This Riverbed TrafficScript library implements the HMAC/SHA1 and HMAC/MD5 calculations.

For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1610

Tags: #Stingray #TrafficScript #HMAC #splash.riverbed.com