summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cdxget6
-rwxr-xr-xbin/fmt-metadata7
-rwxr-xr-xbin/gitify6
-rwxr-xr-xbin/poolify6
-rwxr-xr-xbin/urlkey2url6
5 files changed, 31 insertions, 0 deletions
diff --git a/bin/cdxget b/bin/cdxget
index 6844fa6..1dbc8f0 100755
--- a/bin/cdxget
+++ b/bin/cdxget
@@ -1,4 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2017, 2023 Luke Shumaker <lukeshu@lukeshu.com>
+#
+# This work is free. You can redistribute it and/or modify it under
+# the terms of the Do What The Fuck You Want To Public License,
+# Version 2, as published by Sam Hocevar. See the COPYING file for
+# more details.
url='http://web.archive.org/cdx/search/cdx'
s='?'
diff --git a/bin/fmt-metadata b/bin/fmt-metadata
index c92419b..ec82451 100755
--- a/bin/fmt-metadata
+++ b/bin/fmt-metadata
@@ -1,4 +1,11 @@
#!/usr/bin/env ruby
+# Copyright (c) 2017 Luke Shumaker <lukeshu@lukeshu.com>
+#
+# This work is free. You can redistribute it and/or modify it under
+# the terms of the Do What The Fuck You Want To Public License,
+# Version 2, as published by Sam Hocevar. See the COPYING file for
+# more details.
+
require 'time'
snapshot = ARGV.first.to_i
diff --git a/bin/gitify b/bin/gitify
index b245f3e..d655f22 100755
--- a/bin/gitify
+++ b/bin/gitify
@@ -1,4 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2017, 2023 Luke Shumaker <lukeshu@lukeshu.com>
+#
+# This work is free. You can redistribute it and/or modify it under
+# the terms of the Do What The Fuck You Want To Public License,
+# Version 2, as published by Sam Hocevar. See the COPYING file for
+# more details.
empty() {
[[ $(stat -c %s "$1") -eq 0 ]]
diff --git a/bin/poolify b/bin/poolify
index 92e3cce..b49cbd9 100755
--- a/bin/poolify
+++ b/bin/poolify
@@ -1,4 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2017, 2023 Luke Shumaker <lukeshu@lukeshu.com>
+#
+# This work is free. You can redistribute it and/or modify it under
+# the terms of the Do What The Fuck You Want To Public License,
+# Version 2, as published by Sam Hocevar. See the COPYING file for
+# more details.
url2murl() {
local x
diff --git a/bin/urlkey2url b/bin/urlkey2url
index 5d0ec3d..813e66f 100755
--- a/bin/urlkey2url
+++ b/bin/urlkey2url
@@ -1,4 +1,10 @@
#!/usr/bin/env bash
+# Copyright (c) 2017 Luke Shumaker <lukeshu@lukeshu.com>
+#
+# This work is free. You can redistribute it and/or modify it under
+# the terms of the Do What The Fuck You Want To Public License,
+# Version 2, as published by Sam Hocevar. See the COPYING file for
+# more details.
for arg in "$@"; do
keydomain="${arg%%)*}"