Skip to content

Instantly share code, notes, and snippets.

View owulveryck's full-sized avatar

Olivier Wulveryck owulveryck

View GitHub Profile
@owulveryck
owulveryck / Makefile
Last active March 29, 2024 15:58
Makefile to convert images to a pdf suitable for presentatio on reMarkable 2
# Makefile to convert images (JPG or PNG) to a grayscale 4-bit PDF with a custom message, contrast adjustment, 8 levels of gray, and a background image using ImageMagick
# Output PDF file name
OUTPUT = output.pdf
# File containing the list of image filenames
IMAGE_LIST_FILE = slides.txt
# Temporary directory for images with messages
TEMP_DIR = temp_msg
@owulveryck
owulveryck / AAaa note.md
Last active January 10, 2024 08:24
havre / a docker like that runs an embedded squashfs image

About

This is a proof of concept of a portable operating system a-la-docker.

It is a single binary that contains an image of an OS in SquashFS and the binary to run it.

a make will build the binary with an embedded alpine image. make havre-xenial will build a binary with an embedded ubuntu image.

What does the binary do?

delegates his need to a virtual assistant - LLM
customer who wants to protect themselves from the sun -- classic search engine
classic search engine - digital company
//customer who wants to protect themselves from the sun.-- classic search engine
classic search engine: {
|..|..|..|x.|
color: Red
}
customer who wants to protect themselves from the sun - semantic search engine
semantic search engine: {
@owulveryck
owulveryck / AAA_research_wardley_retail.md
Last active September 26, 2023 18:39
Ceci est une traduction (faite à l’aide de ChatGPT) de l'article de Simon Wardley: https://medium.com/mapresearch/introduction-ad04e5a0871c

Investir judicieusement dans un monde technologique hybride.

Introduction

Au cours des 15 derniers mois, j'ai travaillé sur un projet de recherche qui examine la question de l'investissement dans un monde technologique hybride (ancien et nouveau).

Devrais-je investir dans le cloud ou construire une plateforme ou dépenser pour l'IA ou peut-être passer au serverless ou déployer de l'IoT ? Comment investir judicieusement ?

La technologie (cloud, plateforme, IA, sans serveur, IoT) n'est que des outils. Ils ne sont pas différents des marteaux ou scies ou ciseaux ou machines à coudre ou pinceaux.

@owulveryck
owulveryck / sample_test.go
Created June 15, 2021 13:23
CUE -> OpenAPI generation
package main
import (
"bytes"
"encoding/json"
"fmt"
"log"
"cuelang.org/go/cue"
"cuelang.org/go/cue/load"
@owulveryck
owulveryck / main.go
Last active July 26, 2023 17:00
http proxy that logs...
package main
import (
"flag"
"fmt"
"io"
"log"
"net/http"
"net/http/httputil"
"net/url"
@owulveryck
owulveryck / main.go
Last active June 5, 2023 09:01
Simon Wardley's (sarcastic) quick route to building a strategy
// https://blog.gardeviance.org/2014/07/a-quick-route-to-building-strategy.html
package main
import (
"html/template"
"math/rand"
"os"
"time"
)
@owulveryck
owulveryck / main.go
Created June 9, 2017 15:10
Spot request in go
package main
import (
"fmt"
"log"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
@owulveryck
owulveryck / AAA README.md
Created February 1, 2023 15:12
Random Coffee

cat data | go run main.go

@owulveryck
owulveryck / AAA README.md
Last active December 19, 2022 20:41
WTG: New attempt for a Wardley DSL

Download the utilities

Download the utility for your plateform from the GitHub repo

Example for Linux:

curl -L -o - https://github.com/owulveryck/wardleyToGo/releases/download/v0.6.0-newdsl/wardleyToGo_0.6.1-newdsl_Linux_x86_64.tar.gz | tar xzvf -

Generate a file