gist edit works!
'gist' is a command line interface for working with github gists. It provides several methods for inspecting a users gists, and the ability to easily create them.
100 REM Insertion sort by Neal McBurnett for Byte magazine 1978-07 | |
101 REM from page 121 of https://vintageapple.org/byte/pdf/197807_Byte_Magazine_Vol_03-07_Antique_Mechanical_Computers.pdf | |
120 print "How many numbers to be sorted?" | |
130 input n | |
140 print "Input numbers one at a time" | |
150 for i = 1 to n | |
155 dim a(n) | |
160 input a(i) | |
170 next i |
# Find the nearest syzygy (solstice or equinox) to a given date. | |
# Solution for https://stackoverflow.com/questions/55838712/finding-equinox-and-solstice-times-with-astropy | |
# TODO: need to ensure we're using the right sun position functions for the syzygy definition.... | |
import math | |
from astropy.time import Time, TimeDelta | |
import astropy.coordinates | |
from scipy.optimize import brentq | |
from astropy import units as u |
#!/bin/bash | |
# Locate the history file in your profile, and copy it to the same folder as this script. | |
# On Mac: ~/Library/Application\ Support/Google/Chrome/Default/History | |
# On Windows: C:\Users\YOUR USER NAME\AppData\Local\Google\Chrome\User Data\Default\History | |
sqlite3 History <<! | |
.headers on | |
.mode csv | |
.output out.csv |
#!/usr/bin/env python | |
"""Calculate Bitcoin address corresponding to given ECDSA private key. | |
Handy for verifying document timestamps provided by OriginStamp.org. | |
Usage: ecdsa_to_bitocin_addy.py ecdsa_private_key # that's a 64-character hex string | |
Prerequisite: | |
pip install ecdsa |