I hereby claim:
- I am kevints on github.
- I am kts (https://keybase.io/kts) on keybase.
- I have a public key whose fingerprint is EC64 F815 4FF6 FE68 59E4 6E5B 06BC 75B8 866B 1734
To claim this, I am signing this object:
# Voting-Age population of each state | |
# From https://www.federalregister.gov/documents/2017/01/30/2017-01890/estimates-of-the-voting-age-population-for-2016 | |
cat > vap.tsv <<EOF | |
3766477 Alabama | |
554567 Alaska | |
5299579 Arizona | |
2283195 Arkansas | |
30157154 California | |
4279173 Colorado | |
2823158 Connecticut |
I hereby claim:
To claim this, I am signing this object:
struct Example { | |
1: required i32 requiredNum | |
2: optional i32 optionalNum | |
3: i32 defaultNum | |
4: i32 defaultedNum = -1 | |
} |
% cat test.aurora | |
class Profile(Struct): | |
a = Default(Integer, 1) | |
jobs = [ | |
Job(role = 'a', environment = 'devel', name = 'c', cluster='devcluster', | |
task = SimpleTask('t', 'echo {{profile.a}}')).bind(profile=Profile()), | |
% aurora job inspect devcluster/a/devel/c test.aurora | |
Job level information |
package org.apache.aurora.scheduler.http; | |
import java.util.List; | |
import com.google.gson.Gson; | |
import org.junit.Test; | |
import static java.util.Arrays.asList; | |
import static java.util.Collections.emptyList; |
"""A REPL for performing ad-hoc analysis of Aurora storage backups.""" | |
import code | |
from twitter.common import app | |
from gen.apache.aurora.storage.ttypes import Snapshot, TBinaryProtocol | |
from thrift.transport import TTransport |
% tox | |
GLOB sdist-make: /home/ksweeney/workspace/pesos/setup.py | |
py26 create: /home/ksweeney/workspace/pesos/.tox/py26 | |
py26 installdeps: compactor[pb]==0.2.1, futures==2.1.6, mesos.interface==0.21.1, pytest, mock | |
py26 inst: /home/ksweeney/workspace/pesos/.tox/dist/pesos-0.2.0.zip | |
py26 runtests: PYTHONHASHSEED='2061337895' | |
py26 runtests: commands[0] | py.test tests | |
========================================================================= test session starts ========================================================================= | |
platform linux2 -- Python 2.6.9 -- py-1.4.26 -- pytest-2.6.4 | |
collected 18 items |
./pants setup-py --recursive src/main/python/apache/aurora/client:client-packaged | |
./build-support/virtualenv aurora.venv | |
source aurora.venv/bin/activate | |
pip install -f dist --pre apache.aurora.client==0.7.1-SNAPSHOT | |
aurora --help |
package com.github.kevints.finaglefutures; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.TimeoutException; | |
import com.google.common.base.Throwables; | |
import com.twitter.util.Await; | |
import com.twitter.util.Duration; | |
import com.twitter.util.Future; |
import javax.inject.Inject; | |
import javax.inject.Named; | |
import com.google.inject.AbstractModule; | |
import com.google.inject.CreationException; | |
import com.google.inject.Guice; | |
import com.google.inject.Key; | |
import com.google.inject.name.Names; | |
import org.junit.Test; |