Skip to content

Instantly share code, notes, and snippets.

View dolanor's full-sized avatar

Tanguy ⧓ Herrmann dolanor

  • Strasbourg, France
View GitHub Profile
@dolanor
dolanor / resume.json
Last active November 7, 2025 11:35
resume.json
{
"basics": {
"name": "Tanguy Herrmann",
"label": "Go Development, Automation and Blockchain",
"email": "tanguy-resume@tuxago.com",
"image": "https://avatars.githubusercontent.com/u/928722?v=4",
"summary": "Expert en développement logiciel, son but est d'avoir les machines au service des humains.\n\nIl automatise et optimise les processus pour d'excellents résultats avec une vision d'efficacité et d'utilisation à long terme. Son engagement à améliorer l'efficacité − que ce soit en réflechissant sur l'architecture logicielle, en écrivant un code propre qui rend la maintenance future facile, en facilitant le processus de développement (code, gestion de version, test, revue, suivi de bug, livraison) ou en apprenant des technologies nouvelles ou meilleures − a fait de lui un collaborateur apprécié au sein d'équipes de projets de beaucoup d'industries différentes (voir Expérience)\n\nIl considère son travail comme un investissement dans un futur ou les personnes imaginent, crééent et profiten
@dolanor
dolanor / plan.cue
Created April 29, 2022 09:06
Inject values in a dagger do run
package main
import (
"dagger.io/dagger"
"universe.dagger.io/bash"
"universe.dagger.io/docker"
)
dagger.#Plan & {
package diffpanicwriter
import (
"testing"
"io"
"errors"
)
type DiffPanicWriter struct {
pos int
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDiawjwXCmkwxx3/egFX2ryVAUiFcDoo/9PHwBCLUsuJ5B8hIcnHj1YWZcZ5DDHq7c2s5Ny1eEsC0MrjIJ6bkkrvSXbUHaZFE0EZRVez1hSoIV1BIJCE4ghRw9eb1cRx86uQrp+kS3azIvD1obCxD7aCRt7VXxkIqAbDmMmpujnbr9j43FlY5CRw1dm/1A7Xt1sOBTEmnoyekwIlCgt45FNj95QPTstoZr+xWnl6eRL2Xs+5nchKN1ZIIjSCmLUskbkiX8yAvsGbRl5g+0aYP9qcAtxcWkwR9L5VUKFpjyGkcg5xTG8c/Pa+IOlNj/Mz/xwncjmJfh/8hpI3jcSr6ah dolanor@moondark
package remotobug
type Info struct {
ID int
Long string
}
package main
import (
"gioui.org/app"
"gioui.org/font/gofont"
"gioui.org/io/system"
"gioui.org/layout"
"gioui.org/widget"
"gioui.org/widget/material"
)
@dolanor
dolanor / mssql-odbc-go.sh
Created May 22, 2019 21:06
Test Go ODBC compatibility with a contained MS SQL Server instance
#!/bin/bash
set -e
cid=`docker run --name go-odbc-mssql-server -d -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=notVERYstrongP455word.' -d mcr.microsoft.com/mssql/server:2017-CU8-ubuntu`
mssqlIP=$(docker inspect --format "{{ .NetworkSettings.Networks.bridge.IPAddress }}" ${cid})
docker run --rm -it golang:1.12 sh -c "
apt update
apt install -y tdsodbc unixodbc-dev freetds-bin
cat > /etc/odbcinst.ini << EOF
@dolanor
dolanor / dovecot.conf
Created January 21, 2018 20:26
mail server conf
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 4.4.0-109-generic x86_64 Ubuntu 14.04.5 LTS ext4
# NOTE: Send doveconf -n output instead when asking for help.
auth_anonymous_username = anonymous
auth_cache_negative_ttl = 1 hours
auth_cache_size = 0
auth_cache_ttl = 1 hours
auth_debug = no
auth_debug_passwords = no
auth_default_realm =
@dolanor
dolanor / slice_test.go
Created January 2, 2018 15:05
Check speed of iterating with an index or the ranged value
package main_test
import (
"testing"
)
type Whatever struct {
a, b, c int
}

Keybase proof

I hereby claim:

  • I am dolanor on github.
  • I am dolanor (https://keybase.io/dolanor) on keybase.
  • I have a public key ASBNfq-OLmmKKwcaQweZRBcccNIhaObYYay0XeFudV5GGQo

To claim this, I am signing this object: