Skip to content

Instantly share code, notes, and snippets.

Lesik / ingdiba-transactions.js
Created Nov 4, 2021
Dump all transactions from your ING DiBa account to JSON // Auszug aller Zahlungsein/ausgänge vom ING-DiBa-Konto in JSON
View ingdiba-transactions.js
/** Run this on, the final object will be
* inside a Promise in your console from where you can copy it into your data
* processing software.
// load all transactions
loadMoreFn = (resolve, reject) => {
const btn = document.querySelector('.g2p-transaction__card__load-more');
if (btn) {;
Lesik /
Last active Apr 8, 2022
Fetch a lendable book from as individual page images

By looking at the book online, you already (unwillingly and unknowingly) downloaded the pages to your computer, the only difference is that you have to keep the browser open, stay logged in and have internet connectivity to read it. I see no moral concerns with taking the data that's already on your computer and saving it in a more accessible way.

Open Chrome and devtools, then visit the book's online reading page and click "Borrow for 1 hour".

In the network tab, click XHR and copy the response of BookReaderJISA.php?... and save it as data in the console.

Then, run:, firstI) => {
Lesik /
Last active Feb 24, 2020
PyQt 5 pyqtProperty QSS example
#!/usr/bin/env python3
from PyQt5.QtCore import QRect, pyqtProperty
from PyQt5.QtGui import QPaintEvent, QPainter, QColor, QPen
from PyQt5.QtWidgets import QWidget
from PyQt5.QtCore import Qt
class Widget(QWidget):