Skip to content

Instantly share code, notes, and snippets.

View zejacobi's full-sized avatar

Zachary Jacobi zejacobi

View GitHub Profile
@zejacobi
zejacobi / licensing.md
Created March 21, 2018 22:16
Licensing

I have to preface this talk with: I am not a lawyer. This is intended as peer mentorship, not legal advice.

If you write something good, eventually someone may want to use it. It pays to think ahead a bit and ask yourself what you want them to use it for.

There's this "hacker" ethos that's common in programming. People want to make cool tools and they want others to use them. It's common for people to give away really valuable software – like Flask or Linux or Python for free.

And because such great free software exists, it's hard to get people to pay for a lot of software tools, unless you promise to make their life easier with them.

Everything you post to Github is by default copyright by you. It isn't patented – that's a separate legal process – but you still own the copyright for it and technically, you can sue people if they use it without permission.

@zejacobi
zejacobi / Commands.md
Last active March 15, 2018 00:04
SSL Notes

First, you have to answer a challenge to get a certificate and key from Lets Encrypt

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt/
./letsencrypt-auto certonly --manual --email zejacobi@gmail.com -d deltagreen.zachjacobi.com

This will require you to have a file at a certain URL. Note that this file and its URL are by definition not secret and don't need to be in your .gitignore.

@zejacobi
zejacobi / air-table-simple-query-example
Last active September 15, 2017 07:42
Simple examples of query the abortion laws AirTable in node.js
var Airtable = require('airtable');
Airtable.configure({
endpointUrl: 'https://api.airtable.com',
apiKey: 'YOUR_SECRET_KEY' // you have to generate this in your account settings.
});
var base = Airtable.base('appTLhgy0FX8iB1zH'); // you need permission before this will be usable
// Get all the information about restrictions on minors in Arkansas. To see this for all states, just remove the
// "filterByFormula" parameter
var allRecords = [];
@zejacobi
zejacobi / keybase.md
Created December 24, 2016 00:08
Keybase proof of identity

Keybase proof

I hereby claim:

  • I am zejacobi on github.
  • I am zjacobi (https://keybase.io/zjacobi) on keybase.
  • I have a public key whose fingerprint is 1BD6 5133 F6EC 6106 E7DB 8187 CCEF 8D8B 87D9 600D

To claim this, I am signing this object: