Skip to content

Instantly share code, notes, and snippets.

View HazAT's full-sized avatar
🏗️
Break things to make things

Daniel Griesser HazAT

🏗️
Break things to make things
View GitHub Profile
@HazAT
HazAT / gist:9958649
Created April 3, 2014 17:11
keybase.md
### Keybase proof
I hereby claim:
* I am hazat on github.
* I am haza (https://keybase.io/haza) on keybase.
* I have a public key whose fingerprint is 2988 72CD 3871 F628 F482 EC13 E013 B6A7 67FC E3DC
To claim this, I am signing this object:
const Sentry = require("@sentry/node");
const DELIVERY_TIME = process.argv[2];
const TIMEOUT = process.argv[3];
console.log(`\nDelivery time: ${DELIVERY_TIME / 1000}s`);
console.log(`Timeout: ${TIMEOUT / 1000}s`);
// @ignore-start Helper function
async function sleep() {
@HazAT
HazAT / index.js
Last active May 8, 2024 08:32
Fetch top 100 external contributors from a github org
const axios = require('axios');
const ORGANIZATION = 'ORG';
const GITHUB_TOKEN = 'GH_TOKEN';
// Get the date one year ago
const oneYearAgo = new Date();
oneYearAgo.setFullYear(oneYearAgo.getFullYear() - 1);
async function fetchAllMembers() {