Skip to content

Instantly share code, notes, and snippets.

View DaffyDuke's full-sized avatar

Olivier Duquesne DaffyDuke

View GitHub Profile
@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 / figure1.go
Last active November 30, 2022 06:54
Article Wardley sources
// Stages of evolution
package main
import (
"image/color"
"log"
"math"
"os"
"golang.org/x/image/font/opentype"
@bohwaz
bohwaz / save_twitter_thread.php
Last active September 2, 2022 02:20
Save a Twitter thread to static HTML (using Nitter) - Save and run "php save_twitter_thread.php URL FILE.html" - The created file is static, no external dependency, no JS, except images and videos
#!/usr/bin/env php
<?php
/*
This file is part of KD2FW -- <http://dev.kd2.org/>
Copyright (c) 2001-2019 BohwaZ <http://bohwaz.net/>
All rights reserved.
#!/bin/bash
# DESCRIPTION
# This script migrates from "apt-key" managed keys to "[signed-by=/usr/share/keyrings/...]":
# - loop through all lists in /etc/apt/sources.list.d
# - read all lines with "deb..." that do not contain "[signed-by=]"
# - download the GPG signature from the URL
# - read the key ID from the signature
# - download and saves the key using gpg
# - add "[signed-by=/usr/share/keyrings/...]" to the "deb..." line
library(tidyverse)
library(sf)
#import des données spatiales
ContoursCommunes<-st_read("https://raw.githubusercontent.com/Valexandre/france-geojson/raw/master/communes.geojson")%>%st_transform(crs2154)
arr<-st_read("https://raw.githubusercontent.com/Valexandre/france-geojson/master/arrondissements-millesimes0.geojson")%>%st_transform(crs=2154)
DepsMetro<-st_read("https://raw.githubusercontent.com/Valexandre/france-geojson/master/departements.geojson")%>%
filter(nchar(code)==2)%>%
st_transform(crs=2154)
@owulveryck
owulveryck / AAA README.md
Last active February 13, 2022 08:42
Generateur de QR Code tous anti covid

go run . &gt; output.png

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@rptb1
rptb1 / .gitignore
Last active October 31, 2021 21:28
Convert YouTube subscriptions exported via Google Takeout into OPML
*~
@cmaneu
cmaneu / readme.md
Last active November 19, 2020 11:14
CloudNord 2020 - Scuba Resilience
@TGITS
TGITS / comprehension_examples.py
Last active April 17, 2024 05:41
Différents exemples de compréhensions en Python
import itertools
print('Compréhension de liste')
list_of_powers_of_2_for_first_numbers = [x**2 for x in range(1, 10)]
print(list_of_powers_of_2_for_first_numbers)
print('\n##############\n')
print("Compréhension d'ensemble")
set_of_powers_of_2_for_first_numbers = {x**2 for x in range(1, 10)}