This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""check Misty version numbers against reference | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
https://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2018 rerobots, Inc. | |
# by SCL <scott@rerobots.net> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Copyright (c) 2012, 2015 by California Institute of Technology | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# 26 Nov 2012: Modified by Scott C. Livingston <slivingston@cds.caltech.edu> | |
# to ignore commits to branches besides master. Tags are not | |
# affected by this change. | |
# | |
# 3 Dec 2012: Modified by SCL <slivingston@cds.caltech.edu> to optionally | |
# use the output of a shell command in the subject line. The | |
# command is determined by the config hooks.subjectcmd in a manner | |
# similar that used by hooks.showrev (see below) and inserted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Code to create a timestamp. The resulting command is \now | |
%% | |
%% SCL; 30 May 2012 | |
\newcount\hour \newcount\minute | |
\hour=\time \divide \hour by 60 | |
\minute=\time | |
\loop \ifnum \minute > 59 \advance \minute by -60 \repeat | |
\def\now{\number\year% | |
-{\ifnum \month < 10 0\fi}\number\month% | |
-{\ifnum \day < 10 0\fi}\number\day% |