Skip to content

Instantly share code, notes, and snippets.

View robin-hartmann's full-sized avatar
💡
Solving Problems

Robin Hartmann robin-hartmann

💡
Solving Problems
View GitHub Profile
@robin-hartmann
robin-hartmann / change-commit-author.sh
Last active June 7, 2023 19:53
Change the commit author name and email of all matching commits in a repository (e.g., for replacing outdated email addresses)
#!/bin/sh
# DON'T DO THIS, IF OTHER PEOPLE WORK ON YOUR REPO!
set -e
# TODO update these variables
REPO_TO_UPDATE='https://github.com/robin-hartmann/robin-hartmann'
WORKSPACE_FOLDER='workspace-change-commit-author'
git clone --bare $REPO_TO_UPDATE $WORKSPACE_FOLDER
cd $WORKSPACE_FOLDER
@robin-hartmann
robin-hartmann / bundler.js
Last active August 4, 2025 14:46
npm workspaces support for electron-forge
// based on https://github.com/electron-userland/electron-forge/issues/2306#issuecomment-1034882039
'use strict';
/**
* @typedef {{
* new (options: { path: string }): {
* loadActual(): Promise<Node>
* }
* }} Arborist
*/
@robin-hartmann
robin-hartmann / paste-activity.js
Last active October 1, 2025 01:33
UserScript to paste a transaction activity into Parqet
// ==UserScript==
// @name Paste Activity
// @namespace https://robin-hartmann.com/
// @version 1.0.5
// @description Paste activity into parqet
// @grant none
// @author robin-hartmann
// @match https://app.parqet.com/*
// @noframes
// @updateURL https://gist.githubusercontent.com/robin-hartmann/135e43eeca63d3c8fa759681af8045ca/raw
@robin-hartmann
robin-hartmann / copy-activity-scalable-capital.js
Last active October 1, 2025 01:32
UserScript to copy a transaction activity from Scalable Capital
// ==UserScript==
// @name Copy Activity
// @namespace https://robin-hartmann.com/
// @version 1.0.11
// @description Copy activity from Scalable Capital
// @grant none
// @author robin-hartmann
// @match https://de.scalable.capital/*
// @noframes
// @updateURL https://gist.githubusercontent.com/robin-hartmann/b70cde63135fd1b06472e9e6a89c30cc/raw