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
(crypto) Ben-Wolfson-Tower ~/src/all-the-things/crypto4/service 02:56:23 $ git checkout - | |
Switched to branch 'feature/crypto-py3-container' | |
(crypto) Ben-Wolfson-Tower ~/src/all-the-things/crypto4/service 02:56:25 $ sh generate_all.sh | |
/home/benwolfson/src/all-the-things/deployable/crypto/src/.venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible. | |
utils.DeprecatedIn23, | |
{"algorithm": "ecies-p384-aes-128-gcm", "created": "2019-02-27T22:56:27.607519", "data": {"key": "AssAMFyNTNUXi0GR8Zv1uDf8ULrlFJTeAW4DBaqho3qmtkqREMmZeSdkoYKEnabMeMXjNQ==", "pub": "AssAMDxIgXWedC0PlXxTbDDZH68kd/Qy8GLSBl3DtZX2uRohUmanTipJ2AtHPp/i8DjyfwAwOdqxxPdY6HsGZtQgnjFtdymfhFU8m0OgtoohABLyWNVaUh9iAnpDBOTcktanJ5eg"}, "operation": "encrypt"} | |
/home/benwolfson/src/all-the-things/deployable/cr |
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
(ns answeringest.core | |
(:require [babbage.core :as b] | |
[babbage.provided.core :as p] | |
[clojure.java.io :as io] | |
[clj-time.format :as f] | |
[clj-time.core :as time])) | |
(def mefi-format (f/formatter "MMM d YYYY hh:mm:ss:SSSa")) | |
(defn parse-date [d] | |
(f/parse mefi-format (.replace d " " " "))) |