Skip to content

Instantly share code, notes, and snippets.

View keplersj's full-sized avatar
🐦
the birds work for the bourgeoisie

Kepler Sticka-Jones keplersj

🐦
the birds work for the bourgeoisie
View GitHub Profile
import { createApolloFetch } from "apollo-fetch";
import * as cp from "child_process";
import pify from "pify";
import * as path from "path";
import * as fs from "fs";
import got = require("got");
const restEndpoint = "https://api.github.com";
const uri = "https://api.github.com/graphql";
const token = process.env.GITHUB_TOKEN;

Keybase proof

I hereby claim:

  • I am keplersj on github.
  • I am keplersj (https://keybase.io/keplersj) on keybase.
  • I have a public key ASCdDsqhwr0959ZmZrGadwT-4eWZRJHkgNuSTRv-hNhitAo

To claim this, I am signing this object:

@keplersj
keplersj / archiver.ts
Created February 8, 2018 18:16
Sitemap Archiver
import * as got from "got";
import { parseString as parseXML } from "xml2js";
import * as pify from "pify";
import * as puppeteer from "puppeteer";
const sitemapLocation = "";
async function run() {
console.log("Requesting Sitemap");
const sitemapResponse = await got(sitemapLocation);
@keplersj
keplersj / README.md
Last active January 28, 2017 00:51
Linux and macOS CTRE Talon install script.
curl -O https://gist.github.com/keplersj/6fc1364cc97e750b270f198a2a6f285f/raw/4ddcf51b026b7e49ac11f29368fac756c50b1dc0/ctre_java_install.sh
bash ctre_java_install.sh
@keplersj
keplersj / openpgp.txt
Created November 17, 2015 06:36
OpenKeychain API Tests
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:bd03eb5926203455cf0a838ef711c2d538d9cf6c]
@keplersj
keplersj / logged.rs
Created July 25, 2015 21:00
Gist demonstrating the ability to run Crystal code from Rust.
#[link(name = "logger")]
extern {
fn CrystalLog(text: *const u8);
}
fn log(text: &'static str) {
unsafe{ CrystalLog(text.as_bytes().as_ptr()) };
}
fn main() {
@keplersj
keplersj / clone_all_linters.rb
Created June 19, 2015 03:47
A script to clone all AtomLinter linters.
linters = ['linter-phpmd', 'linter-phpcs', 'linter-jshint', 'linter-jscs',
'linter-scss-lint', 'linter-coffeelint', 'linter-pep8', 'linter-pyflakes',
'linter-csslint', 'linter-rubocop', 'linter-xmllint', 'linter-shellcheck',
'linter-ruby', 'linter-rst', 'linter-pylint', 'linter-phplint', 'linter-php',
'linter-lua', 'linter-jsxhint', 'linter-jsl', 'linter-pep257',
'linter-oclitnt', 'linter-tslint', 'linter-javac', 'linter-scalac',
'linter-cpplint', 'linter-jsonlint', 'linter-htmlhint', 'linter-clang',
'linter-eslint', 'linter-flake8', 'linter-twig-lint', 'linter-recess',
'linter-gjslint', 'linter-puppet-lint', 'linter-js-yaml', 'linter-clojure',
'linter-erb', 'linter-codscriptizer', 'linter-kibit', 'linter-tidy',
Verifying I am +k2b6s9j on my passcard. https://onename.com/k2b6s9j
@keplersj
keplersj / keybase.md
Last active March 20, 2016 02:52
KeyBase Proof

Keybase proof

I hereby claim:

  • I am keplersj on github.
  • I am k2b6s9j (https://keybase.io/k2b6s9j) on keybase.
  • I have a public key whose fingerprint is BD03 EB59 2620 3455 CF0A 838E F711 C2D5 38D9 CF6C

To claim this, I am signing this object:

@keplersj
keplersj / die.groovy
Last active August 29, 2015 14:07
Die Code Sample
import java.util.Random
/**
* Models a playing die with sides numbered 1 to N.
* All sides have uniform probablity of being rolled.
*
* @author Summer CS 307 class
*/
class Die
{ static final DEFAULT_SIDES = 6;