Instantly share code, notes, and snippets.

View result.txt
ref: https://twitter.com/aussiastronomer/status/1042193826205454336
g(earth) = 9.81
g(vulcan) = g(earth) * 1.4
g(vulcan) = 9.81 * 1.4
g(vulcan) = 13.734
G = 6.67408e-11
M(earth) = 5.972e24
View autorefresh.js
/* Enable commented lines (beneath this documentation) if you want to use in a userscript or similar,
otherwise copy all uncommented lines (or the whole gist) and paste into the javascript console.
Note that the update will only happen if you're scrolled all the way to the top. This prevents the
page jumping around when the update happens.
If you're pasting into the Javascript console, bear in mind that if you refresh with your browser,
the functionality will be lost and you'll need to paste it in again.
MIT licenced
Dave Williams (github:daveio), September 2018 */
// $(document).ready(function () {
View youtube.sh
#!/bin/bash
# Stream from the Pi camera to YouTube Live.
# Uses information from https://www.makeuseof.com/tag/live-stream-youtube-raspberry-pi/
# Modified to use v4l2 directly (lower cpu, lower latency, higher frame rate, basically More Better)
# Setup: standard Pi Camera setup, then sudo apt-get install libav-tools
# You may need to modify the horizontal and vertical flip options to suit your mount.
# Usage: youtube.sh YOUTUBE-SECRET-KEY
View reply.md

Why did Lorca suddenly care about other creatures (ones hes never met, and actually betrayed him) and want to defend them from Klingons despite even not knowing if the Klingons would attack the planet? Its insulting to the viewer to just randomly disregard a character's pre-established traits and act in a way that totally contradicts that without any explanation as to why.

Other than the fact that Saru would have kicked up a gigantic stink? For an excuse to attack the Ship of the Dead. He knew it was coming and was itching to provoke a confrontation, so he could order his crew to figure out a way. Remember he knows Admiral Cornwell wants him gone, and he doesn't know whether she'd given that order or submitted her report before her capture. A confrontation before the next visit to a Starbase was his only certain option to fight the Ship of the Dead.

I beleive again you're falling into the same trap - that is, ignoring Lorca's pre-established traits. He doesn't give a shit what Saru thinks. He has ignor

View reply.md

Why did Lorca suddenly care about other creatures (ones hes never met, and actually betrayed him) and want to defend them from Klingons despite even not knowing if the Klingons would attack the planet? Its insulting to the viewer to just randomly disregard a character's pre-established traits and act in a way that totally contradicts that without any explanation as to why.

Other than the fact that Saru would have kicked up a gigantic stink? For an excuse to attack the Ship of the Dead. He knew it was coming and was itching to provoke a confrontation, so he could order his crew to figure out a way. Remember he knows Admiral Cornwell wants him gone, and he doesn't know whether she'd given that order or submitted her report before her capture. A confrontation before the next visit to a Starbase was his only certain option to fight the Ship of the Dead.

Why did the writers just totally discard the Pavho story line entirely? Last week it was all the rage and they communicated to the Klingons and then this we

View ut1mdiff.sh
#!/bin/bash
day1=$(date --date="1 days ago" +"%Y"-"%m"-"%d")
day2=$(date --date="2 days ago" +"%Y"-"%m"-"%d")
tmpdir=$(mktemp)
tmpret=$?
if [ $tmpret -ne 0 ]
then
echo "Could not create working directory"
exit 1
fi
View gist:edac4aaee516cd6a408d5c8e763cef5f
$ gpg --verify -v Qubes-R3.2-x86_64.iso.asc Qubes-R3.2-x86_64.iso
Version: GnuPG v2
gpg: armor header:
gpg: Signature made Tue 20 Sep 18:33:37 2016 BST
gpg: using RSA key 0xCB11CA1D03FA5082
gpg: requesting key 0xCB11CA1D03FA5082 from hkp server gpg.mozilla.org
Version: SKS 1.1.5
gpg: armor header:
Comment: Hostname: keyserver.mozilla.org
gpg: armor header:
View install.txt
brew uninstall testssl
brew install https://gist.github.com/daveio/7e4c5034b1c7d17e602ec729874d61e1/raw/openssl_peter_mosmans.rb
brew install https://gist.github.com/daveio/7e4c5034b1c7d17e602ec729874d61e1/raw/testssl.rb
View file
{"0.021400556949460747":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgME603X8VN920DF9y8xkAcK4NLmnuY40vr9\r\nzdJ2XYhny+TgfrxOIA0EbfXue1J2Ok2yy54xJ7T4YRfGtMRojlXXDM3/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCV+kMSP8AAAACiwn/AAAACZDO62dSpc6R\r\njf8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAAs4cA/3EXa254t02A\r\nqRvNQBhDovIGlqq3H/AZ9go6yj0sgjBWAQDHYkJT4cY5r5a6pb5MrpvkHLa8xE1Z\r\nswO1yohr2+6Qrc7/AAAAVgQAAAAAEggqhkjOPQMBBwIDBGqK4fMukMNP2PooNUau\r\neHrvqZHUEoLUgL1DpVXwJx2vqNVIxS+gGbi0J7vAQ19vttvdxbNPFlPOamToPYyV\r\nY2kDAQgHwv8AAABtBBgTCAAf/wAAAAWCV+kMSf8AAAAJkM7rZ1KlzpGN/wAAAAKb\r\nDAAAcDcBAPXJuf5eMGUICxZol6O7Rwn6b7fYNfh8NFRkULwvZ5JTAQCiGseiYrYC\r\nORDyCXtgWFyCbYD9qj60YTEyvQyqq25P/Q==\r\n=XaaT\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n","0.719589925584214":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMENhKZ7rkEtJkYBUOkgPkt6p3gKlheWpv5\r\njR+5JcWoJc5gLT+U6Df+ZIrnmbI7cA/avcmEN/JYf8qwatyXmWtm183/AAAACDxn\r\naXRodWI+wv8AAACOB
View keybase.md

Keybase proof

I hereby claim:

  • I am daveio on github.
  • I am dave (https://keybase.io/dave) on keybase.
  • I have a public key ASC1XiJUlsb8Nn3i6Spci0myBjKGOx1lyXl_yp9k5sR6-Qo

To claim this, I am signing this object: