Skip to content

Instantly share code, notes, and snippets.

@artismarti
artismarti / last_100_repos
Last active October 16, 2019 11:54
Last 100 repos for an org
query ($login: String!) {
organization(login: $login) {
name
url
repositories(last: 100) {
nodes {
name
}
}
}
@artismarti
artismarti / fetch.js
Created December 20, 2018 22:10
fetch functions
// GET
fetch(quotesURL)
.then(response => response.json())
.then((quotes) => renderAllQuotes(quotes))
}
// PATCH
fetch(`${quotesURL}/${quote.id}`, {
method: 'PATCH',
headers: {

Keybase proof

I hereby claim:

  • I am artismarti on github.
  • I am artismarti (https://keybase.io/artismarti) on keybase.
  • I have a public key whose fingerprint is 32ED A1A7 8AA6 F3DE 10B8 65F4 A8B5 1018 9130 BF57

To claim this, I am signing this object: