Skip to content

Instantly share code, notes, and snippets.

View soundstep's full-sized avatar
💭
There is a difference between a peasant and a knight

Romuald Quantin soundstep

💭
There is a difference between a peasant and a knight
View GitHub Profile
#!/usr/bin/env -S deno run --allow-net --allow-env
interface GitHubTag {
name: string;
commit: {
sha: string;
url: string;
};
}
@soundstep
soundstep / compress-pdf.sh
Last active June 26, 2025 09:00
compress pdf ghostscript
#!/bin/bash
#
# Usage Example:
#
# 1. Save this script to a file (e.g., compress_pdfs.sh).
# 2. Make it executable in your Terminal:
# chmod +x compress_pdfs.sh
#
# 3. Run the script with your desired input and quality:
#
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Romuald Quantin",
"label": "Lead Engineer at ITV",
"image": "https://media.licdn.com/dms/image/C4E03AQFkYpiUUKyITA/profile-displayphoto-shrink_800_800/0/1516610700132?e=1726704000&v=beta&t=1je596By0Mg8ATimFqcDyV9NLEmZei-Wao1L18jx630",
"email": "romu@soundstep.com",
"phone": "",
"url": "https://soundstep.com",
"summary": "As a Lead Engineer with years of technical experience, I specialise in managing cross-disciplinary teams and leading large-scale projects within complex organisations. My expertise includes front-end engineering, cloud infrastructure, and CI/CD delivery platforms, with a focus on enhancing developer experience, productivity, and organisational efficiency.\n\nWorking alongside Engineering Managers, Technical Leads, and Directors, I've participated in developing a comprehensive front-end strategy for our Streaming department, establishing a clear vis
@soundstep
soundstep / status.js
Created March 3, 2023 11:50
Goreplay
const gor = require('goreplay_middleware');
const fs = require('fs');
// `init` will initialize STDIN listener
gor.init();
// Example of very basic way to compare if replayed traffic have no errors
gor.on('request', function (req) {
gor.on('response', req.ID, function (resp) {
gor.on('replay', req.ID, function (repl) {
if (gor.httpStatus(resp.http) != gor.httpStatus(repl.http)) {
import sodium from 'https://cdn.skypack.dev/libsodium-wrappers@0.7.10?dts';
console.log(sodium);
import sodium from 'https://esm.sh/libsodium-wrappers@0.7.10?deno-std=0.160.0';
console.log(sodium);
@soundstep
soundstep / output
Created August 11, 2022 10:08
Deno semver
semver.inc("1.0.0", "patch") >>> 1.0.1
semver.inc("1.0.0", "minor") >>> 1.1.0
semver.inc("1.0.0", "major") >>> 2.0.0
--- prepatch ---
semver.inc("1.0.0", "prepatch") >>> 1.0.1-0
semver.inc("1.0.0-itvx", "prepatch", "itvx") > 1.0.1-itvx.0
semver.inc("1.0.0-itvx.0", "prepatch", "itvx") > 1.0.1-itvx.0
--- preminor ---
semver.inc("1.0.0", "preminor") >>> 1.1.0-0
semver.inc("1.0.0-itvx", "preminor", "itvx") > 1.1.0-itvx.0
openapi: 3.0.3
info:
title: Pact bi-directional
version: 1.0.0
contact: {}
servers:
- url: http://example.com
paths:
/discovery:
post:
openapi: 3.0.3
info:
title: ITV - Pact bi-directional
version: 1.0.0
contact: {}
servers:
- url: http://example.com
paths:
/discovery:
get:
{
"info": {
"_postman_id": "41598fbc-9770-47d3-930e-6d0a491e8e00",
"name": "Pact bi-directional",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "659145"
},
"item": [
{
"name": "POST discovery PRD",