aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--COPYING6
-rwxr-xr-xmongoclock8
-rwxr-xr-xmongoclock.py8
3 files changed, 22 insertions, 0 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..392a7fb
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,6 @@
+Copyright © 2013 Mattias Andrée (maandree@member.fsf.org)
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without any warranty. [GNU All Permissive License]
diff --git a/mongoclock b/mongoclock
index 3300e4a..0a6746e 100755
--- a/mongoclock
+++ b/mongoclock
@@ -1,4 +1,12 @@
#!/bin/sh
+#
+# Copyright © 2013 Mattias Andrée (maandree@member.fsf.org)
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty. [GNU All Permissive License]
+
echo -en '\033[?1049h\033[?25l'
"$0.py" 2>/dev/null
echo -en '\033[?25h\033[H\033[2J\033[?1049l'
diff --git a/mongoclock.py b/mongoclock.py
index 957f53c..55c0874 100755
--- a/mongoclock.py
+++ b/mongoclock.py
@@ -1,4 +1,12 @@
#!/usr/bin/env python
+#
+# Copyright © 2013 Mattias Andrée (maandree@member.fsf.org)
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty. [GNU All Permissive License]
+
import os
import time
import sys