Skip to content

Instantly share code, notes, and snippets.

View jtwebman's full-sized avatar
🌱

JT Turner jtwebman

🌱
View GitHub Profile
/*
This is a simple script that reads files in the patches folder under the folder this file is in and runs then
getDBConnection = just pg-promise gets a pg-promise pool db object connected to the DB.
*/
'use strict';
const config = require('config');
const fs = require('fs');
const path = require('path');
@jtwebman
jtwebman / graphql
Created December 4, 2019 17:02
Github API V4 GraphQL Query For Users Repo Language Count
{
user(login: "jtwebman") {
repositories(isFork: false, privacy: PUBLIC, ownerAffiliations: [OWNER], first: 100, orderBy: {field: NAME, direction: ASC}) {
totalCount
nodes {
name
owner {
login
}
languages(first: 100, orderBy: {field: SIZE, direction: DESC}) {
@jtwebman
jtwebman / keybase.md
Created September 23, 2014 14:08
Keybase

Keybase proof

I hereby claim:

  • I am jtwebman on github.
  • I am jtwebman (https://keybase.io/jtwebman) on keybase.
  • I have a public key whose fingerprint is 04E5 FD29 C310 6FC2 A647 4A53 B226 138F 1F05 90E2

To claim this, I am signing this object: