Skip to content

Instantly share code, notes, and snippets.

View caleb-allen's full-sized avatar

Caleb Allen caleb-allen

View GitHub Profile
#!/usr/bin/env julia
#
# Find any Julia history entries with control sequences that corrupt the REPL state.
# By default, print the lines which are corrupted.
#
# usage: ./fix_history.jl [--delete_corrupted, --escape_corrupted]
#
# --delete_corrupted: remove entries which are corrupted from history.
#
# --escape_corrupted: sanitize the entries which are corrupted so that the corrupted
#!/usr/bin/julia
using Dates
import Base.read
import Base.:<
import Base.:>
import Base.isapprox
struct Clipboard
name :: String
read :: Cmd

Keybase proof

I hereby claim:

  • I am caleb-allen on github.
  • I am caleballen (https://keybase.io/caleballen) on keybase.
  • I have a public key ASCROH_2qpy4MN2nv1BNE1nptS83A44MtlEFi4lMCoFT2go

To claim this, I am signing this object: