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 / copy-activity-scalable-capital.js
Last active January 13, 2024 16:19
UserScript to copy a transaction activity from Scalable Capital
// ==UserScript==
// @name Copy Activity
// @namespace https://robin-hartmann.com/
// @version 1.0.8
// @description Copy Activity
// @author robin-hartmann
// @match https://de.scalable.capital/*
// @grant none
// @noframes
// ==/UserScript==
@robin-hartmann
robin-hartmann / paste-activity.js
Last active April 5, 2023 09:48
UserScript to paste a transaction activity into Parqet
// ==UserScript==
// @name Paste Activity
// @namespace https://robin-hartmann.com/
// @version 1.0.2
// @description Paste Activity
// @author robin-hartmann
// @match https://app.parqet.com/*
// @grant none
// @noframes
// ==/UserScript==
@robin-hartmann
robin-hartmann / bundler.js
Last active January 3, 2024 08:00
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 / 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