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
@keplersj
keplersj / PortableStoryboard.xml
Created July 8, 2014 08:20
The last Storyboard File I will ever interact with. a.k.a. the Define Portable Story. Posting here so that I can more easily recreate it in Ruby.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6154.17" systemVersion="14A261i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="c2g-df-8MK">
<dependencies>
<deployment defaultVersion="1792" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6153.11"/>
</dependencies>
<scenes>
<!--Dictonary View Controller-->
<scene sceneID="5">
<objects>
@keplersj
keplersj / commands.markdown
Created September 13, 2014 17:46
Crafter Commands

Crafter

Resource = resource pack, mod, etc

All commands offer plumbing versions --plumbing. This offers machine readable output. Example below:

$ craft login username password
DONE success
@keplersj
keplersj / life.groovy
Last active August 29, 2015 14:07
Life Code Sample
import java.util.Scanner
class Life {
void show(boolean[][] grid){
s = ""
for(boolean[] row : grid){
for(boolean val : row)
if(val)
s += "*"
else
@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;
@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:

Verifying I am +k2b6s9j on my passcard. https://onename.com/k2b6s9j
@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',
@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 / 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 / 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