Skip to content

Instantly share code, notes, and snippets.


Hubert SABLONNIÈRE hsablonniere

View GitHub Profile
hsablonniere /
Last active May 21, 2021
APIs which accept an AbortSignal

APIs which accept an AbortSignal

View rss-feeds.opml
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<title>Hubert subscriptions in feedly Cloud</title>
<outline text="Cinéma et Séries" title="Cinéma et Séries">
<outline type="rss" text="Allociné (ciné &amp; séries)" title="Allociné (ciné &amp; séries)" xmlUrl="" htmlUrl=""/>
<outline type="rss" text="Gamekult - Jeux vidéo PC et consoles: tout l'univers des joueurs" title="Gamekult - Jeux vidéo PC et consoles: tout l'univers des joueurs" xmlUrl="" htmlUrl=""/>
hsablonniere /
Last active Nov 15, 2021
Explainer for my rollup plugin idea about import.meta.url with assets

Explainer for my rollup plugin idea

The "i-prefer-import-meta-url-over-using-esm-import-to-get-a-relative-file-url" plugin ;-)


In my components library, I have SVG images. I used them with <img> tags in my components and to get the proper relative URL, I use new URL('../assets/image.svg', import.meta.url').href.

To make this work in a rollup build, you need to:

hsablonniere / README.adoc
Last active Sep 20, 2017
Conference bingo
View README.adoc

Conference bingo


In many tech conferences, attendees are invited to rate the talk and/or the speaker from 1 to 5 stars. This type of ratings is interesting but has a few drawbacks.

The discussion started as a twitter thread with this french proposition.

View devoxx-ma-speaker-box-raw-notes.adoc

Devoxx MA, Speaker BOF (raw notes)

Here are raw notes, questions and answers that occured during the Speaker BOF at Devoxx MA.

I’m passionnate and I want to make a difference to a group I’m a member of. (said by a woman)
First non Java conf and that felt non professional. Hard to get contact with people at first but after I manage to get something out of it.
hsablonniere / slide-transformer.rb
Created Dec 1, 2016 — forked from mojavelinux/slide-transformer.rb
Reconfigure AST to convert all blocks with the role SLIDE into sections and transferring the content to those new sections.
View slide-transformer.rb
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
require 'pp'
Asciidoctor::Extensions.register do
treeprocessor do
process do |doc|
doc.blocks.replace (doc.find_by role: 'SLIDE').map {|slide|
slide.parent.blocks.delete slide
sect = doc, 1, false

Keybase proof

I hereby claim:

  • I am hsablonniere on github.
  • I am hsablonniere ( on keybase.
  • I have a public key ASBARiuIwAOtnXcT9rHaOt8qHGE98lXrAh2uASowMG5T_wo

To claim this, I am signing this object:

hsablonniere / data.json
Last active Apr 8, 2016
SW intercept JSON
View data.json
"foo": "bar",
"baz": [
{ "id": 1, "name": "one" },
{ "id": 2, "name": "two" },
{ "id": 3, "name": "three" },
{ "id": 4, "name": "four" }
hsablonniere / index.html
Created Mar 13, 2016
Flexbox, et le CSS redevient fun ! - 👽51
View index.html
hsablonniere / 41Jbxj3MxTx.css
Last active Mar 18, 2016
CSS pour les nuls - 👽51
View 41Jbxj3MxTx.css
.container {
border: 1px solid #777;
box-sizing: border-box;
font-family: sans-serif;
font-weight: bold;
padding: 5px;
.box {
box-sizing: border-box;