Skip to content

Instantly share code, notes, and snippets.

@slaymaker1907
slaymaker1907 / TestSaverModule.tid
Last active January 26, 2022 10:47
Example TiddlyWiki 5 Saver Using HTML 5 File System Access API
created: 20210424052412556
modified: 20210424052444872
module-type: saver
tags:
title: TestSaverModule
type: application/javascript
// Disable this to limit logging.
let debugEnabled = true;
let problemEncountered = false;
@borgand
borgand / git-merge-svn
Last active January 7, 2019 06:44
A helper script to set *svn:mergeinfo* property when using `git svn dcommit` on merged git branches.This makes it possible to merge two SVN branches using **git-svn**.NB! the merged-from branch **MUST** be pushed to SVN.USAGE: git merge-svn <branch name>EDIT: added exit condition when mergeinfo calculation fails to avoid pushing incomplete merge…
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}