Skip to content

Instantly share code, notes, and snippets.

@elimbaum
elimbaum / 1password.md
Last active February 12, 2021 03:47
1Password instructions

1Password Cheat Sheet

Terminology

What is the 1Password...?

  • extension: The Safari or Chrome small window, which opens when you click the icon in your browser toolbar.

  • autofill helper: The tiny window that pops up under password fields in

@elimbaum
elimbaum / ubuntu-crypt-ssh.md
Last active December 13, 2020 20:42
instructions for unlocking LUKS drive over network

LUKS Decrypt over SSH

If you're using LUKS encyption for your system drive, there's no way, by default, to unlock a remote machine (you need a keyboard and monitor).

We can run a lightweight ssh server, dropbear, from the kernel, to allow decryption (and therefore booting) over the network.

I did this on Ubuntu; there may be easier options for other systems ([this][1] seems targeted to Fedora).

Keybase proof

I hereby claim:

  • I am elimbaum on github.
  • I am elibaum (https://keybase.io/elibaum) on keybase.
  • I have a public key ASC6qRgTcDOjy-rcTSRmY-hBa2me78llF5sIG3AT-Y5hZgo

To claim this, I am signing this object:

/* sevenseg.h
*
* Library for Eli Whitney Arduino camp 2016
* Eli Baum
*/
#ifndef sevenseg_h
#define sevenseg_h
#include "Arduino.h"
/* sevenseg.cpp
*
* Library for Eli Whitney Arduino camp 2016
* Eli Baum
*/
#include "sevenseg.h"
/* === 7-seg Display ===
*
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
JSUOKV+SerifaStd-Bold Type 1C WinAnsi yes yes yes 263 0
JSUOKV+MinionPro-Regular Type 1C Custom yes yes yes 264 0
JSUOKV+Calibri TrueType WinAnsi yes yes yes 262 0
Serifa-Black Type 1C WinAnsi yes no no 77 0
Serifa-Roman Type 1C WinAnsi yes no no 79 0
Times-Roman Type 1C WinAnsi yes no no 81 0
Minion-Regular Type 1C WinAnsi yes no no 83 0
Helvetica-Bold Type 1C WinAnsi yes no no 85 0
@elimbaum
elimbaum / Scanline Error
Created April 10, 2014 02:58
error when trying to run scanline without graphical logon
2014-04-09 22:57:02:391 scanline[4462:507] Available scanners:
2014-04-09 22:57:02.544 scanline[4462:507] ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file:///System/Library/Image%20Capture/Support/Image%20Capture%20Extension.app/'
2014-04-09 22:57:02.545 scanline[4462:507] ***** Failed to launch Image Capture Extension.
2014-04-09 22:57:02.674 scanline[4462:507] ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file:///System/Library/Image%20Capture/Support/Image%20Capture%20Extension.app/'
2014-04-09 22:57:02.674 scanline[4462:507] ***** Failed to launch Image Capture Extension.
2014-04-09 22:57:02.804 scanline[4462:507] ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file:///System/Library/Image%20Capture/Support/Image%20Capture%20Extension.app/'
2014-04-09 22:57:02.804 scanline[4462:507] ***** Failed to launch Image Capture Extension.
2014-04-09 22:57:02.933 scanline[4462:507] ERROR: [I