Skip to content

Instantly share code, notes, and snippets.

Pradnyesh Sawant spradnyesh

View GitHub Profile
@spradnyesh
spradnyesh / gist:47c2d19320639156ebf4b34b924fcda1
Created Apr 26, 2018
accessing aws s3 in clojure using amazonica
View gist:47c2d19320639156ebf4b34b924fcda1
(ns amazonica-s3.core
(:require [amazonica.aws.s3 :as s3]
[amazonica.aws.s3transfer :as s3t])
(:gen-class))
(defonce cred {:access-key ""
:secret-key ""
:endpoint ""})
(defonce bucket "")
(defonce static-root "")
@spradnyesh
spradnyesh / reagent-default-1.cljs
Last active Jul 8, 2016
:default-value of :input in reagent when rendering form multiple times
View reagent-default-1.cljs
(ns foo
(:require [reagent.core :as r]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; global app-state
(defonce app-state (r/atom {}))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; UI components
You can’t perform that action at this time.