I hereby claim:
- I am johnchapin on github.
- I am johnchapin (https://keybase.io/johnchapin) on keybase.
- I have a public key ASD_tzhscMiT7N2m45xstkcnLEly0_d9oTzvx9ena-IsOQo
To claim this, I am signing this object:
#!/usr/local/opt/python/bin/python3.7 | |
# -*- coding: utf-8 -*- | |
import awsmfa | |
import os | |
import re | |
import sys | |
awsmfa.AWS_CREDS_PATH = os.getenv('AWS_SHARED_CREDENTIALS_FILE', '%s/.aws/credentials' % (os.path.expanduser('~'),)) | |
if __name__ == '__main__': |
I hereby claim:
To claim this, I am signing this object:
package io.symphonia; | |
import com.codahale.metrics.Counter; | |
import io.symphonia.lambda.annotations.CloudwatchLogGroup; | |
import io.symphonia.lambda.annotations.CloudwatchMetric; | |
import io.symphonia.lambda.metrics.LambdaMetricSet; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class SampleLambda { |
package io.symphonia; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class Lambda { | |
private static Logger LOG = LoggerFactory.getLogger(Lambda.class); | |
public void handler(String input) { | |
LOG.info(input); |
<dependency> | |
<groupId>io.symphonia</groupId> | |
<artifactId>lambda-logging</artifactId> | |
<version>1.0.0</version> | |
</dependency> |
(ns friend-oauth2-app-example | |
(:require [cemerick.friend :as friend] | |
[cemerick.friend [workflows :as workflows] | |
[credentials :as creds]] | |
[friend-oauth2.workflow :as oauth2])) | |
(compojure.core/defroutes routes ,,,) | |
(def app | |
(compojure.handler/site |
(ns asynchronicity.core | |
(:require [clojure.core.async :refer [alts!! chan close! go go-loop thread >! <!]] | |
[clojure.tools.logging :as log])) | |
(defprotocol JobProtocol | |
(run [this])) | |
(defrecord Job [id fcn] | |
JobProtocol | |
(run [this] |
(defn- derefable? [x] | |
(instance? clojure.lang.IDeref x)) | |
(defn- derefable-gate [x] | |
(when (derefable? x) x)) | |
(def deep-structure | |
{:foo (atom {:bar :baz})}) | |
(some-> |