This file contains hidden or 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
| // https://www.epochconverter.com/ | |
| // | |
| // What is epoch time? | |
| // The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number | |
| // of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not | |
| // counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking | |
| // the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a | |
| // synonym for Unix time. Some systems store epoch dates as a signed 32-bit | |
| // integer, which might cause problems on January 19, 2038 | |
| // (known as the Year 2038 problem or Y2038). The converter on this page converts |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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) | |
| } |