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 November 16, 2023 18:52
Makefile to convert images to a pdf suitable for presentatio on reMarkable 2
View Makefile
# 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
View llm-kg-en.wtg
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
View AAA_research_wardley_retail.md

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
View sample_test.go
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...
View main.go
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
View main.go
// 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
View main.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
View AAA README.md

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
View AAA README.md

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

@owulveryck
owulveryck / figure1.go
Last active November 30, 2022 06:54
Article Wardley sources
View figure1.go
// Stages of evolution
package main
import (
"image/color"
"log"
"math"
"os"
"golang.org/x/image/font/opentype"