I hereby claim:
- I am mrmcc3 on github.
- I am mrmcc3 (https://keybase.io/mrmcc3) on keybase.
- I have a public key ASCkjr0Fu9-UPxZXz84T__hxWxG3-2SK1S8H4e-8jorvaAo
To claim this, I am signing this object:
const { generateSW } = require('workbox-build') | |
const { readFileSync } = require('fs') | |
const { map, concat, flatMap, pickBy, uniq } = require('lodash') | |
const buildId = readFileSync('.next/BUILD_ID', 'utf8') | |
const extraPreCachePatterns = [ | |
'public/img/**', | |
'public/favicon.ico', | |
'public/manifest.json' | |
] |
(ns demo | |
(:import | |
(org.commonmark.parser Parser) | |
(org.commonmark.renderer.html HtmlRenderer))) | |
(def parser (.build (Parser/builder))) | |
(def renderer (.build (HtmlRenderer/builder))) | |
(defn -main [input] | |
(->> (slurp input) |
FROM openjdk:8-jre-alpine | |
# install the official clojure cli tooling | |
WORKDIR /tmp/clojure-scripts | |
RUN apk add --update curl bash ruby && \ | |
curl -O https://download.clojure.org/install/brew/clojure-scripts.tar.gz && tar xzf clojure-scripts.tar.gz && \ | |
mkdir -p /root/clojure-scripts && ./install.sh /root/clojure-scripts && \ | |
apk del curl ruby && rm -rf /var/cache/apk/* && rm -rf /tmp/clojure-scripts | |
ENV PATH=$PATH:/root/clojure-scripts/bin |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{:remote #include "s3://aero-s3-example/secrets.edn" | |
:local #include "../project.clj"} |
(ns tokens | |
(:require [buddy.sign.jws :as jws] | |
[buddy.sign.util :refer [to-timestamp]] | |
[clj-time.core :as time])) | |
;; see https://www.firebase.com/docs/rest/guide/user-auth.html#section-token-generation | |
(defn firebase-token | |
"generates a firebase JWT. (generated JWT must be less than 1024 characters) | |
a nil token is returned if requirements aren't met |
(defproject sse-example "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.8.0"] | |
[cheshire "5.5.0"] | |
[org.glassfish.jersey.media/jersey-media-sse "2.22.2"]]) |