Skip to content

Instantly share code, notes, and snippets.

Josh Mize jgmize

Block or report user

Report or block jgmize

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yzl /
Last active Nov 8, 2019
tech and ethics reading collection

Tech and ethics reading collection

A list of books, essays, papers, blog posts, tweets, etc. on tech and ethics that I have either read and found useful or plan to read because I think they might be useful. I’m not especially interested in ethics that doesn’t take power or structure into account, so most of the standard texts one would read in a course on ethics aren’t represented on my list.

(My) starting point

Not strictly about either ethics or tech, but Claire Dederer’s What Do We Do With the Art of Monstrous Men? verbalizes something that is wound up in how I think about ethics, and what I hear when people talk about ethics:

This, I think, is what happens to so many of us when we consider the work of the monster geniuses—we tell ourselves we’re having ethical thoughts when really what we’re having is moral feelings.

Ideal theory

Dr. Robin James recommends Charles Mills’ [Ideal Theory as I

nathanKramer /
Last active Sep 27, 2019
Create a twitter list containing your followers or your mutuals, with idempotent `set_list` function
import twitter
api = twitter.Api(consumer_key='consumer_key',
u = api.VerifyCredentials()
def create_list(name='Untitled', mode='private'):
rjhansen /
Last active Oct 31, 2019
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

simpsoka /
Last active Oct 8, 2019
This is a list of questions to check our decision making.

Do I want to die on this hill?

  • Pass: This is morally good and if not handled has long term consequences
  • Fail: This if self serving

Am I including everyone?

  • Pass: My ego is not driving this conversation
  • Fail: The people in this conversation will only tell me I'm right and not push back
malisper / gist:2d6ec4077f3097559b2206663ae39bec
Created Feb 24, 2019
SQL Queries that Produce Fractals
View gist:2d6ec4077f3097559b2206663ae39bec
-- Sierpinski's Triangle.
WITH points AS (
SELECT ROW, col FROM generate_series(0, 63) a(ROW)
CROSS JOIN generate_series(0, 63) b(col)
), marked_points AS (
SELECT ROW, col, (CASE WHEN ROW & col != 0
THEN ' '
ELSE '*'
END) AS marker
dienhoa / tabular-rf.ipynb
Created Oct 12, 2018
data preprocessing with Tabular Module
View tabular-rf.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
emwalker /
Last active Nov 11, 2019
Geting set up with Cayley and Postgres (April 2018)

Getting set up with Cayley and Postgres (April 2018)

Initialize the database

$ createdb testdb
$ wget
$ tar zxvf cayley_0.7.2_darwin_amd64.tar.gz
$ cat >cayley.cfg.json
  "store": {
danbo / cayley-visualizer.html
Last active Apr 10, 2019
cayley visualizer
View cayley-visualizer.html
<!DOCTYPE html>
<meta charset="utf-8">
<script src=""></script>
<script src="" type="javascript/worker"></script>
<script src=""></script>
<script type = "text/javascript" src=""></script>
demofly /
Created Apr 10, 2018
How to attach your GKE NodePort nginx-service to a precreated GLB
#set -x
## Predefined variables ##
#export GCP_CI_SVC_ACCOUNT=$(base64 my-svc-account-gcp.json)
export CI_DOMAIN="ci.domain.tld"
View pa-remedial-plan.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.