Skip to content

Instantly share code, notes, and snippets.

View pythongirl325's full-sized avatar

Julia Scheaffer pythongirl325

View GitHub Profile
@pythongirl325
pythongirl325 / keybase.md
Created January 28, 2020 01:13
Keybase proof

Keybase proof

I hereby claim:

  • I am pythondude325 on github.
  • I am pythondude (https://keybase.io/pythondude) on keybase.
  • I have a public key ASCVIhvOVRAxOD06tycbbkaHEVS8nysW25YGo254eQlLEgo

To claim this, I am signing this object:

@pythongirl325
pythongirl325 / multi_error.rs
Created May 3, 2019 05:17
Multi Error Rust Macro
/// This macro allows you to easier make a type to simply propagate errors with
/// ease.
///
/// Define an error type like this:
/// ```rust
/// multi_error!(FileDocumentError,
/// "an error occured while read the document from file",
/// IoError: std::io::Error,
/// EncodingError: std::str::Utf8Error,
/// );
$(function() {
var arrow_up = "▲";
var arrow_down = "▼";
$(".fold-body").hide();
$(".fold-head").append("<span class='fold-arrow'>" + arrow_down + "</span>");
$(".fold-arrow").css("float", "right");
$(".fold-head").click(function(e) {
full = $(this).parent();
head = full.children('.fold-head');
" │─┌┐└┘┼┴┬┤├.-|++##.##<><>_|\\#{~.}..## #~"
─│┌┐└┘├┤┬┴┼

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname