This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import matplotlib.ticker as mtick | |
import meps | |
survey = meps.as_dataframe("h192") | |
fig, ax = plt.subplots(1, 1, figsize=(9, 4)) | |
fmt = '${x:,.0f}' | |
tick = mtick.StrMethodFormatter(fmt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.earldouglas.remoteakka | |
import akka.actor.Actor | |
import akka.actor.Actor._ | |
case object Greeting | |
case class Jar(val bytes: Array[Byte]) | |
case class RegisterRemote(val name: String, val className: String) | |
object Runner { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/pre/04_install_phantomjs": | |
mode: "000777" | |
owner: root | |
group: root | |
content: | | |
#!/usr/bin/env bash | |
set -xe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import breeze.linalg._ | |
import breeze.math._ | |
import breeze.numerics._ | |
case class BernoulliTrial(outcome: Boolean) | |
object Experiment { | |
def apply(successes: Int, failures: Int) = new Experiment(successes, failures) | |
} |