Skip to content

Instantly share code, notes, and snippets.

View renoirb's full-sized avatar

Renoir Boulanger renoirb

View GitHub Profile
@renoirb
renoirb / 0_README.md
Last active March 4, 2025 04:27
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 / 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

@renoirb
renoirb / 0_MAKEFILE_WORTHWILE_BOOKMARKS.md
Last active November 27, 2022 16:13
List of publicly available Bash & Makefile black magic I can't get to remember by heart
@renoirb
renoirb / components.ts
Created November 5, 2021 01:41
Lit.Dev with @lit-labs/context
import { LitElement, html, TemplateResult } from 'lit'
import { property } from 'lit/decorators/property.js'
import { state } from 'lit/decorators/state.js'
import { assert } from '@esm-bundle/chai'
import { ContextProvider, createContext } from '../context.js'
import { ContextConsumer } from '../lib/controllers/context-consumer.js'
@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))?$/
@renoirb
renoirb / 0README.md
Created August 16, 2021 22:40
Jenkinsfile when using RushJS.io and releasing only on CI

Example of a Jenkinsfile when publish on Nexus and use with RushJS.io

@renoirb
renoirb / 0README.md
Last active July 6, 2023 04:32
Example of a Page rendered within an application layout customElement and rendered client-side from raw markdown hosted on a GitHub Gist
@renoirb
renoirb / 0README.md
Last active July 15, 2021 01:14
DOM Coercion helpers

DOM Cœrcion utils

Utilities to drill down and manipulate back to the DOM

@renoirb
renoirb / 0README.md
Created July 15, 2021 00:33
Stateful purgatory

Stateful purgatory

Keep track of strings or numbers, and tell me whenever they are no longer needed.

Make something we want to keep track of to be self-purging. i.e. keep track of keys, by telling you've used them, if after a time isn't used, fill a list

Based on debounce-with-map.

@renoirb
renoirb / 0README_Input_Checkbox_Event.md
Last active June 10, 2021 20:54
Input and button clicking event without framework

Input type checkbox activated by button

This is common pattern, a "prettier" button showing a checkbox when checked