Navigation Menu

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 February 28, 2024 16:42
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": "Tanguy Herrmann's mission is to make machines serve people (and not the other way around).\n\nHe automates and optimizes processes to achieve objectives with long-term efficiency in mind. His commitment to increasing efficiency − by designing software architecture, writing clean code that makes future maintenance easy, streamlining the development process (coding, versioning, testing, reviewing, issue tracking, delivering), or learning new and better technologies − has made him a valued member of project teams in many different industries (see below).\n\nTanguy considers his work an investment in a future where people imagine, create and enjoy while computers take care of the rest.\n\nHe's looking for projects in Go and teams who love sustainable software development − projects that a
@dolanor
dolanor / volumetric-clouds.glsl
Created September 30, 2016 11:09
Volumetric clouds GLSL webGL
// Created by inigo quilez - iq/2013
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
// Volumetric clouds. It performs level of detail (LOD) for faster rendering
float noise( in vec3 x )
{
vec3 p = floor(x);
vec3 f = fract(x);
f = f*f*(3.0-2.0*f);
@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 & {
@dolanor
dolanor / README.md
Created November 22, 2012 10:16
Apache2 configuration for multiple subdomains pointing to different local ports with SSL

#Apache2 and bind configuration for subdomain for each web application running on different port

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 / gist:5695732
Created June 3, 2013 01:50
Optimize a pdf file for printing (got a 45MB file down to 300KB)
ps2pdf -dPDFSETTINGS=/prepress input-file.pdf output-file.pdf