Skip to content

Instantly share code, notes, and snippets.

View basilesimon's full-sized avatar

Basile Simon basilesimon

View GitHub Profile
$ exiftool -m -p template.txt -r path/to/images  > out.csv
$ cat out.csv | head -n 5
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_1208.jpg","Apple","","iPhone 6s Plus back camera 4.15mm f/2.2","1/172","2.2","25","4.2 mm","Program AE","2017:08:28 15:45:36","39 deg 2' 0.27" N, 125 deg 41' 31.51" E","39 deg 2' 0.27" N","125 deg 41' 31.51" E","2017:08:28 07:15:36Z","2017:08:28","78.74673629","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_0670.jpg","Apple","","iPhone 6s Plus front camera 2.65mm f/2.2","1/954","2.2","32","2.6 mm","Program AE","2017:08:27 12:08:06","37 deg 57' 22.13" N, 126 deg 40' 37.81" E","37 deg 57' 22.13" N","126 deg 40' 37.81" E","2017:08:27 03:38:06Z","2017:08:27","245.7400531","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_0664.jpg","Apple","","iPhone 6s Plus front camera 2.65mm f/2.2","1/954","2.2","32","2.6 mm","Program AE","2017:08:27 12:08:04","37 deg 57' 22.13" N, 126 deg 40' 37.
@basilesimon
basilesimon / index.md
Last active April 1, 2025 15:58
Chain of C2PA attestations

Stated Goal: Add photographer metadata to 1.JPG, then add a highlight metadata to the resulting 2.JPG. What will be contained in the resulting 3.JPG? Presumably, a store of all previous Assertions.

$ c2patool 1.JPG -m manifest-1.json -o 2.JPG
...
$ c2patool 2.JPG -m manifest-2.json -o 3.JPG
...
$ c2patool 3.JPG --tree
Tree View:
 Asset:3.JPG, Manifest:starling-me:urn:uuid:100d326b-3cf4-4aa3-a418-bdd4f5ca23e9
@basilesimon
basilesimon / data.csv
Created March 28, 2025 11:31
Batch set Attributes
filename name description author publication_datetime event narrative general_narrative facebook_total twitter_total telegram_engagement overall_engagement dateCrawled sourceId authsign_domain URL
edbcfd1d0bcaa2682560616f25397eed249ec02d29973afee2be053ecb719e3b Володин: признание ЛНР и ДНР остановит гуманитарную катастрофу Authenticated web archive of [ https://regnum.ru/news/3514149.html] captured on 2023-02-17 Digital Forensic Research Lab 2022-02-22T08:03:00Z Recognition of Donbas independance The Russian army will establish peace Russia is seeking peace 0 0 0 0 2023-02-17T02:24:36Z 6936781112 authsign.starlinglab.org https://regnum.ru/news/3514149.html

Keybase proof

I hereby claim:

  • I am basilesimon on github.
  • I am basilesimon (https://keybase.io/basilesimon) on keybase.
  • I have a public key whose fingerprint is F659 40E8 4739 495F BAD6 74C3 9275 B939 3778 0CF6

To claim this, I am signing this object:

@basilesimon
basilesimon / 01_export.R
Created February 14, 2023 11:51
DFRLab data wrangle
library(tidyverse)
library(readxl)
library(jsonlite)
read_excel("DFRLab_RNR-data.xlsx",
sheet = "RNR pre-invasion events") %>%
mutate(
path = target_url,
organization_id = "dfrlab",
collection_id = "pre-invasion-russian-narratives",
@basilesimon
basilesimon / .block
Created August 29, 2019 15:32
Stacked Negative Values
license: gpl-3.0
@basilesimon
basilesimon / .block
Last active August 29, 2019 12:51
Symmetric Stack Chart (v4)
license: mit
@basilesimon
basilesimon / .block
Last active August 23, 2019 13:23
Arrowheads at each end of axis
license: mit
@basilesimon
basilesimon / .block
Last active May 9, 2019 09:53
Zoomable Sunburst with Labels
license: mit
@basilesimon
basilesimon / .block
Last active April 30, 2019 20:46
Satellite Projection (canvas)
license: gpl-3.0