Skip to content

Instantly share code, notes, and snippets.

View renoirb's full-sized avatar

Renoir Boulanger renoirb

View GitHub Profile
@renoirb
renoirb / MyHeritage.md
Last active May 1, 2024 22:00
Genaology tree stuff

Extract siblings, daughters and sons

From a person's Profile page.

var siblings = {};
var family = {};
var parents = [];
    
[...document.querySelectorAll('.family_relative')].forEach(i => {
@renoirb
renoirb / a.json
Created July 7, 2014 17:50
A few duplicates that gets overwritten while running mdn-compat-importer see:
[{
"slug": "a",
"contents": {
"desktop": {
"Basic support": {
"Chrome": {
"?": "y"
},
"Firefox": {
"notes": {
@renoirb
renoirb / 0_README.md
Last active March 18, 2024 09:34
Extracting transactions from RBC Personal Online Banking OMNI

RBC Royal Bank Online Banking doesn't allow extracting CSV of transactions

This does. Just run this when you’ve selected the filter criteria you want, then paste this in developer tool. It'll transform the transaction button with "Download CSV".

A date range and you want those transactions as CSV, with transaction number and only amounts, no formatting: so you can use your spreadsheet to manage that data.

Furthermore, RBC’s OMNI Team; What would be even cooler is if when we filter the transactions with criterias. When we click to view an item, like a Cheque image, when we click "Back" on the browser, we don’t lose the search we had. Like it currently does. That would be easily possible if the URL kept the filter criterias. This changes browser history, and allows to use the Back button *for free*. But the FrontEnd code doesn’t do that. And that Gist’s content isn't covering this problem — But I might tackle that one too some day.

@renoirb
renoirb / resume.json
Last active February 20, 2024 06:27
{"theme":"elegant"}
{"meta":{"theme":"elegant","lastModified":"2024-02-20T23:39:60","canonical":"http://registry.jsonresume.org/renoirb","alternate":"https//renoirb.github.io/site/resume","source":"https://gist.github.com/renoirb/65fccabc7dea76fea70dccb14077ab0d#gistcomment-3010170","_source":"https://github.com/renoirb/site/blob/2020/content/resume/jsonresume-renoirb.yaml"},"basics":{"name":"Renoir Boulanger","label":"Expert in Front-End Ops, UI Libraries who cares about Accessibility","image":"https://secure.gravatar.com/avatar/cbf8c9036c204fe85e15155f9d70faec?size=420","picture":"https://secure.gravatar.com/avatar/cbf8c9036c204fe85e15155f9d70faec?size=420","email":"hello@renoirboulanger.com","url":"https://renoirb.com","website":"https://renoirb.com","summary":"Experienced full-stack developer dedicated to creating web solutions that excel in Accessibility, Performance, and Code Quality. Strong emphasis on continuous testing, test-driven development (TDD), and managing packages to maintain code integrity. A polyglot programme
@renoirb
renoirb / 0README.md
Last active February 7, 2024 04:55
Université de Sherbrooke INF721 Théorie de Mesure

Ce qui suit a été du code qui a été écrit durant un examen et j'illustre comment j'ai pu utiliser ce qui est fourni.

Notez que j'inscrit ici (ce Gist sur GitHub aujourd'hui en Février 2024) ce qui était dans mes fichiers que je n'ai pas touché depuis plus de 2 ans (Mai 2021!).

Durant examen chapitre sur la Théorie de la Mesure

La question citait des points de données en liste que j'ai assigné dans DATA_KLOC, DATA_MOD, DATA_FD directement de l'exercice.

@renoirb
renoirb / 0_VIM.md
Last active January 30, 2024 06:58
Now that I no longer use computer full time every day. Linux, files and Vim notes, because I can't remember all commands by heart

Delete every lines containing "DS_Store"

:g/DS_Store/d

Delete every line NOT containing "DS_Store"

:v/DS_Store/d
@renoirb
renoirb / step0_extract_from_message_list.mjs
Last active January 21, 2024 20:38
Extract data from Proton Mail
/**
* Extract all messages from left panel
*
* We can click on "next" page, and re-run
*/
/**
* .item-firstline > .item-senders > [data-testid="message-column:sender-address"][title],
* .item-firstline > .item-senders > [data-testid="message-column:sender-address"].textContent,
*
@renoirb
renoirb / svg-loader.ts
Created September 27, 2021 22:02
Vite Lit.dev SVG loader
import { html } from 'lit'
import { unsafeSVG } from 'lit/directives/unsafe-svg.js'
import { dirname } from 'path'
import { readFile } from 'fs/promises'
import { Plugin } from 'vite'
import { URL } from 'url' // in Browser, the URL in native accessible on window
export const svgLoader = (): Plugin => {
const svgRegex = /\.svg(\?(raw|url|component))?$/
title source author
Lucilla’s last moments
Dune: Chapterhouse
Frank Herbert

Lucilla cautioned herself not to assume too familiar a feeling about this acidgreen room and the recurring presence of Great Honored Matre. This was junction, stronghold of the ones who sought extermination of the Rene Gesserit. This was the enemy. Day seventeen.

@renoirb
renoirb / 0_README.md
Last active August 10, 2023 01:19
Unfinished: Making RBC Personal Online Banking OMNI usable.

RBC Royal Bank Online Banking doesn't allow extracting CSV of transactions

This does. Just run this when you’ve selected a date range and you want those transactions as CSV

See usable snippet