Skip to content

Instantly share code, notes, and snippets.


Stephen Checkoway stevecheckoway

View GitHub Profile
stevecheckoway /
Created Oct 30, 2020
DKIM signature verification
#!/usr/bin/env python3
from dkim import DKIM
import sys
def get_txt(*args, **kwargs):
return b'k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Kd87/UeJjenpabgbFwh+eBCsSTrqmwIYYvywlbhbqoo2DymndFkbjOVIPIldNs/m40KF+yzMn1skyoxcTUGCQs8g3FgD2Ap3ZB5DekAo5wMmk4wimDO+U8QzI3SD0" "7y2+07wlNWwIt8svnxgdxGkVbbhzY8i+RQ9DpSVpPbF7ykQxtKXkv/ahW3KjViiAH+ghvvIhkx4xYSIc9oSwVmAl5OctMEeWUwg8Istjqz8BZeTWbf41fbNhte7Y+YqZOwq1Sd0DbvYAD9NOZK9vlfuac0598HY+vtSBczUiKERHv1yRbcaQtZFh5wtiRrN04BLUTD21MycBX5jYchHjPY/wIDAQAB'
failed = False
stevecheckoway /
Last active Sep 12, 2019
Checklist for making a quiz on Blackboard
  • reading quizzes > Assessments > Test
  • Create a New Test with questions
  • Set all point values to 1
  • Make test available to students
  • Allow unlimited attempts
  • Display after the previous class
  • Set the due date to the beginning of class
  • Do not allow students to start the Test if the due date has passed
  • After submission show all answers and submitted
  • After due date, show everything
stevecheckoway /
Created May 29, 2019
Installing Ghidra Server on Ubuntu 18.04.2 LTS

Installation on Ubuntu 18.04.2 LTS

  1. Install the jdk.

    $ sudo apt update
    $ sudo apt install default-jdk
  2. Create a new user.

stevecheckoway / fa.sty
Created Mar 10, 2018
Finite automata and (deterministic) Turing machine running/drawing.
View fa.sty
[2018/03/09 v0.3 Construct finite automata and Turing machines]
% Define \emptystring to \varepsilon
stevecheckoway / skramdown.rb
Last active Oct 24, 2018
Simple Jekyll plugin to 1. parse `$…$` or `\(…\)` as inline math; 2. parse `$$…$$` as display math both inside and outside paragraphs.
View skramdown.rb
# This is a (more) sane math parsing scheme.
require 'kramdown/parser/kramdown'
require 'kramdown/parser/kramdown/block_boundary'
module Kramdown
module Parser
class Skramdown < Kramdown::Parser::GFM
def initialize(source, options)
idx = @span_parsers.index(:inline_math)
stevecheckoway / smalloc.c
Created Jan 9, 2016
Malloc implementation designed to be vulnerable to buffer overflows on the heap.
View smalloc.c
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* glibc's malloc hooks. Silence warnings about deprecated hooks (see
* bottom of this file). */

Keybase proof

I hereby claim:

  • I am stevecheckoway on github.
  • I am stevecheckoway ( on keybase.
  • I have a public key ASDmRS21uuyoSF8fbJpR5c8MWoHaZlc3DOeEyrJsK59VZAo

To claim this, I am signing this object: