Merged.

Pascal J. Bourguignon [2018-11-09 09:49]
Merged.
Filename
distribution
git-groups
macosx-security-list-keys
shell
ssh-show-host-fingerprints
diff --git a/distribution b/distribution
index a26d6a1..c1fe714 100755
--- a/distribution
+++ b/distribution
@@ -400,6 +400,34 @@ declareDarwinVersion "16.1.0"  "Sierra"          "October 24, 2016"    "OS X v10
 declareDarwinVersion "16.3.0"  "Sierra"          "December 13, 2016"   "OS X v10.12.2"                          "build 16C67 16C68"
 declareDarwinVersion "16.4.0"  "Sierra"          "December 20, 2016"   "OS X v10.12.3 Beta 2"                   "build 16D17a"

+declareDarwinVersion "17.0.0"  "High Sierra"     "September 25, 2017"  "OS X v10.13"                            "build 17A365"
+declareDarwinVersion "17.0.0"  "High Sierra"     "October 5, 2017"     "OS X v10.13"                            "build 17A405"
+
+declareDarwinVersion "17.2.0"  "High Sierra"     "October 31, 2017"    "OS X v10.13.1"                          "build 17B48"
+declareDarwinVersion "17.2.0"  "High Sierra"     "November 29, 2017"   "OS X v10.13.1"                          "build 17B1002"
+declareDarwinVersion "17.2.0"  "High Sierra"     "November 29, 2017"   "OS X v10.13.1"                          "build 17B1003"
+
+declareDarwinVersion "17.3.0"  "High Sierra"     "December 6, 2017"    "OS X v10.13.2"                          "build 17C88"
+declareDarwinVersion "17.3.0"  "High Sierra"     "December 6, 2017"    "OS X v10.13.2"                          "build 17C89"
+declareDarwinVersion "17.3.0"  "High Sierra"     "January 8, 2018"     "OS X v10.13.2"                          "build 17C205"
+declareDarwinVersion "17.3.0"  "High Sierra"     "January 8, 2018"     "OS X v10.13.2"                          "build 17C2205"
+
+declareDarwinVersion "17.4.0"  "High Sierra"     "January 23, 2018"    "OS X v10.13.3"                          "build 17D47"
+declareDarwinVersion "17.4.0"  "High Sierra"     "January 23, 2018"    "OS X v10.13.3"                          "build 17D2047"
+declareDarwinVersion "17.4.0"  "High Sierra"     "February 19, 2018"   "OS X v10.13.3"                          "build 17D102"
+declareDarwinVersion "17.4.0"  "High Sierra"     "February 19, 2018"   "OS X v10.13.3"                          "build 17D2102"
+
+declareDarwinVersion "17.5.0"  "High Sierra"     "March 29, 2018"      "OS X v10.13.4"                          "build 17E199"
+declareDarwinVersion "17.5.0"  "High Sierra"     "April 24, 2018"      "OS X v10.13.4"                          "build 17E202"
+
+declareDarwinVersion "17.6.0"  "High Sierra"     "June 1, 2018"        "OS X v10.13.5"                          "build 17F77"
+
+declareDarwinVersion "17.7.0"  "High Sierra"     "July 9, 2018"        "OS X v10.13.6"                          "build 17G65"
+declareDarwinVersion "17.7.0"  "High Sierra"     "July 9, 2018"        "OS X v10.13.6"                          "build 17G2208"
+declareDarwinVersion "17.7.7"  "High Sierra"     "August 28, 2018"     "OS X v10.13.6"                          "build 17G23"
+
+declareDarwinVersion "18.0.0"  "Mojave"          "September 24, 2018"  "OS X v10.14"                            "build 18A384"
+
 # http://en.wikipedia.org/wiki/Darwin_%28operating_system%29#Release_history


diff --git a/git-groups b/git-groups
index 822bf43..d5b73b0 100755
--- a/git-groups
+++ b/git-groups
@@ -7,7 +7,7 @@ gsets=()
 gdirs=("$HOME/.config/gpull-dirs"  "$(dirname "$0")/gdirs")
 for dir in "${gdirs[@]}" ; do
     if [ -r "$dir" ] ; then
-        source "$dir" # should define gsets
+        source "$dir" || true # should define gsets
         break
     fi
 done
diff --git a/macosx-security-list-keys b/macosx-security-list-keys
new file mode 100755
index 0000000..bccb12a
--- /dev/null
+++ b/macosx-security-list-keys
@@ -0,0 +1,3 @@
+#!/bin/bash -e
+security dump-keychain | grep labl | awk -F= '{print $2}' | grep -v '<NULL>' | sort -u
+# security dump-keychain | grep 0x00000007 | awk -F= '{print $2}' | grep -v '<NULL>' | sort -u
diff --git a/shell b/shell
index 01f3ca9..8438497 100755
--- a/shell
+++ b/shell
@@ -3034,6 +3034,28 @@ ACCESS MEMLOC 1279AF400  ACCESSING…

 "))

+(defparameter *nasanet*
+  '("
+================== NASANET ========================
+
+X-RAY FLUORESCENCE SPECTROMETER ANALYSIS
+RESULTS
+
+         SAMPLE                UTOPIA PLANITIA
+------------------------   ------------------------
+SILICON OXIDE         45   SILICON OXIDE         45
+IRON                  15   IRON                  15
+MAGNESIUM             08   MAGNESIUM             08
+SULFUR                08   SULFUR                08
+ALUMINUM              06   ALUMINUM              06
+CALCIUM               06   CALCIUM               06
+TITANIUM              01   TITANIUM              01
+OTHER                 05   OTHER                 05
+
+"
+    )
+
+  "Alien Invasion")
 ;;;---------------------------------------------------------------------
 ;;; Run it
 ;;;---------------------------------------------------------------------
diff --git a/ssh-show-host-fingerprints b/ssh-show-host-fingerprints
new file mode 100755
index 0000000..20b51ca
--- /dev/null
+++ b/ssh-show-host-fingerprints
@@ -0,0 +1,4 @@
+#!/bin/bash
+for file in /etc/ssh/*.pub ; do
+    ssh-keygen -lf "$file"
+done
ViewGit