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://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html | |
;; https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html | |
;; https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html | |
(ns lambda.main | |
(:require | |
[lambda.log :as log] | |
[lambda.api :as api] | |
[lambda.error :as e]) | |
(:import |
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
Test Summary | |
pg.client-test 334 ms | |
test-client-test-poll-updates 95 ms | |
Tested 1 namespaces in 334 ms | |
Ran 20 assertions, in 5 test functions | |
5 failures | |
3 errors | |
cider-test-fail-fast: t |
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
(ns pg.demo-meetup | |
(:require | |
[clojure.java.io :as io] | |
[pg.core :as pg] | |
[pg.ssl :as ssl])) | |
(def config | |
{:host "127.0.0.1" | |
:port 10140 |
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
(honey.sql/register-fn! | |
:pg-cast | |
(fn [_ [expr type]] | |
(let [[sql & params] | |
(sql/format-expr expr)] | |
[(cc/format "(%s)::%s" sql (name type))]))) |
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 org.pg; | |
import clojure.lang.Agent; | |
import clojure.lang.IFn; | |
import clojure.lang.IPersistentMap; | |
import clojure.lang.PersistentHashMap; | |
import org.pg.auth.MD5; | |
import org.pg.auth.ScramSha256; | |
import org.pg.clojure.LazyMap; | |
import org.pg.codec.EncoderBin; |
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
com.github.igrishaev/pg2-migration "0.1.5-SNAPSHOT" | |
:description | |
"Migration utilities for PG2" | |
:plugins | |
[[lein-parent "0.3.8"]] | |
:dependencies | |
[[com.github.igrishaev/pg2-core] |
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
{:aliases | |
{:migrations | |
{:extra-deps | |
{com.github.igrishaev/pg2-migration {:mvn/version "0.1.5-SNAPSHOT"}} | |
:extra-paths | |
["test/resources"] | |
:main-opts | |
["-m" "pg.migration.cli" | |
"-h" "127.0.0.1" | |
"-p" "10150" |
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
pg.migration | |
> (-> "https://raw.githubusercontent.com/InteractiveAdvertisingBureau/vast/master/vast4macros/data/macros-data.json" | |
java.net.URL. | |
slurp | |
pg.json/read-string | |
type | |
) | |
clojure.lang.PersistentHashMap | |
pg.migration | |
> (-> "https://raw.githubusercontent.com/InteractiveAdvertisingBureau/vast/master/vast4macros/data/macros-data.json" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnterprisePoliciesEnabled</key> | |
<true/> | |
<key>AppAutoUpdate</key> | |
<false/> | |
<key>DisableAppUpdate</key> | |
<true/> |
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
(for [_ all-colls] | |
(gensym "X")) | |
COLLS | |
(for [_ all-colls] | |
(gensym "COLL")) | |
N | |
(gensym "N")] |
NewerOlder