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
yzl / TechAndEthicsReadingCollection.md
Last active Nov 8, 2019
tech and ethics reading collection
View TechAndEthicsReadingCollection.md

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
nathanKramer / twitter-list-management.py
Last active Sep 27, 2019
Create a twitter list containing your followers or your mutuals, with idempotent `set_list` function
View twitter-list-management.py
import twitter
api = twitter.Api(consumer_key='consumer_key',
consumer_secret='consumer_secret',
access_token_key='access_token_key',
access_token_secret='access_token_secret')
u = api.VerifyCredentials()
def create_list(name='Untitled', mode='private'):
@rjhansen
rjhansen / keyservers.md
Last active Oct 31, 2019
SKS Keyserver Network Under Attack
View keyservers.md

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
simpsoka / Leadership-CI.md
Last active Oct 8, 2019
This is a list of questions to check our decision making.
View Leadership-CI.md

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
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)
ORDER BY ROW DESC, col ASC
), marked_points AS (
SELECT ROW, col, (CASE WHEN ROW & col != 0
THEN ' '
ELSE '*'
END) AS marker
@dienhoa
dienhoa / tabular-rf.ipynb
Created Oct 12, 2018
data preprocessing with Tabular Module fast.ai
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
emwalker / setup.md
Last active Nov 11, 2019
Geting set up with Cayley and Postgres (April 2018)
View setup.md

Getting set up with Cayley and Postgres (April 2018)

Initialize the database

$ createdb testdb
$ wget https://github.com/cayleygraph/cayley/releases/download/v0.7.2/cayley_0.7.2_darwin_amd64.tar.gz
$ tar zxvf cayley_0.7.2_darwin_amd64.tar.gz
$ cat >cayley.cfg.json
{
  "store": {
@danbo
danbo / cayley-visualizer.html
Last active Apr 10, 2019
cayley visualizer
View cayley-visualizer.html
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://unpkg.com/viz.js@1.8.0/viz.js" type="javascript/worker"></script>
<script src="https://unpkg.com/d3-graphviz@1.4.0/build/d3-graphviz.min.js"></script>
<script type = "text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head>
<body>
@demofly
demofly / GLB.sh
Created Apr 10, 2018
How to attach your GKE NodePort nginx-service to a precreated GLB
View GLB.sh
#!/bin/bash
#set -x
## Predefined variables ##
#export GCP_CI_SVC_ACCOUNT=$(base64 my-svc-account-gcp.json)
#export GCP_CI_SVC_ACCOUNT_ID=my-svc-account-gcp-id@....google.com
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
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.