Skip to content

Instantly share code, notes, and snippets.

// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';

Rename a git tag old to new:

git tag new old
git tag -d old
git push origin :refs/tags/old
git push --tags

The colon in the push command removes the tag from the remote repository. If you don't do this, git will create the old tag on your machine when you pull.

-- source http://stackoverflow.com/a/5719854/695454

@jerzyjamroz
jerzyjamroz / evm-mtca-300.pvlist
Last active November 16, 2023 12:09
mrfioc2 universal naming - pvlist
$(P)AcTrigPhase-RB
$(P)EvtClkRFFreq-RB
$(P)EvtClkFracSynFreq-RB
$(P)EvtClkFrequency-RB
$(P)TimeErr-I
$(P)Mxc0Frequency-RB
$(P)Mxc0EvtClkFreq-RB_
$(P)Mxc1Frequency-RB
$(P)Mxc1EvtClkFreq-RB_
$(P)Mxc2Frequency-RB