Skip to content

Instantly share code, notes, and snippets.

View UnquietCode's full-sized avatar

Benjamin Fagin UnquietCode

View GitHub Profile
@UnquietCode
UnquietCode / Lava Lamp RNG.md
Created April 19, 2015 18:52
Lava Lamp Random Number Generator

Lava Lamp Random Number Generator

(extracted from the now defunct SGI project at http://lavarand.sgi.com/cgi-bin/how.cgi via the magical Internet Archive Wayback Machine)

Lava Lamps can be used as a source of randomness, which can be used to establish a random number generator. The output of the RNG can then be consumed by various computer applications.

Step 1: Establish a chaotic system

(Set up Lava Lite® lamps in a machine room.)

@UnquietCode
UnquietCode / ses.py
Created August 16, 2017 21:09
generate AWS SES email credentials in Python
# based on:
# https://charleslavery.com/notes/aws-ses-smtp-password-from-secret-key-python.html
import hashlib
import hmac
import base64
key = bytes('aws-secret-access-key').encode('utf-8')
message = bytes('SendRawEmail').encode('utf-8')
@UnquietCode
UnquietCode / 0-notes.md
Last active January 22, 2019 23:32
sum github issue labels

Bookmarklet Usage

  1. copy the bookmarklet code below
  2. create a new bookmark with the code as the URL
  3. navigate to an issues listing view in GitHub, like a milestone view
  4. click the bookmark, an alert box will show you the results

Script Usage

  1. navigate to an issues listing view in GitHub, like a milestone view
  2. copy the code snippet
  3. open the browsers JavaScript developer console on the page

Keybase proof

I hereby claim:

  • I am unquietcode on github.
  • I am unquietcode (https://keybase.io/unquietcode) on keybase.
  • I have a public key ASDL4ha8bU25uQvATXGnhAGcrJKFfk_Khbcbs9QUZLCEbgo

To claim this, I am signing this object: