Skip to content

Instantly share code, notes, and snippets.

Avatar
😎

Piotrek Bzdyl pbzdyl

😎
View GitHub Profile
@pbzdyl
pbzdyl / Terraform crash log
Created Mar 2, 2021
Terraform 0.14.7 `panic: value is marked, so must be unmarked first` issue logs
View Terraform crash log
2021/03/02 14:57:29 [INFO] Terraform version: 0.14.7
2021/03/02 14:57:29 [INFO] Go runtime version: go1.15.6
2021/03/02 14:57:29 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.0.0/versions/0.14.7/terraform", "plan"}
2021/03/02 14:57:29 [DEBUG] Attempting to open CLI config file: /Users/piotrek/.terraformrc
2021/03/02 14:57:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/02 14:57:29 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/02 14:57:29 [DEBUG] ignoring non-existing provider search directory /Users/piotrek/.terraform.d/plugins
2021/03/02 14:57:29 [DEBUG] ignoring non-existing provider search directory /Users/piotrek/Library/Application Support/io.terraform/plugins
2021/03/02 14:57:29 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/03/02 14:57:29 [INFO] CLI command args: []string{"plan"}
@pbzdyl
pbzdyl / README.md
Last active Apr 13, 2018
Fulcro interop with React Higher Order Components (HOC)
View README.md
View semantic_ui.cljc
(ns app.ui.semantic-ui
#?(:cljs
(:require
["semantic-ui-react" :as SUI]
[fulcro.client.dom :as dom]
[fulcro.util :as util]
[fulcro.client.dom-common :as dom-common]
goog.object)))
#?(:cljs
View Terminal
$ gcloud deployment-manager deployments create my-deployment --config <path-to-your-yml-file>
View login.cljs.hl
(ns app.ui.login
(:require [goog.net.cookies :as cks]
[app.rpc :as rpc]
[ui.form :as form]
[ui.button :as button]
[workflow.form :as workflow]
[ui.modal :as modal]
[ui.app :as app]))
(def schema
View form.cljs.hl
(ns ui.form
(:refer-hoplon :exclude [select input textarea label form])
(:require [ui.form.input :as input]
[ui.button :as button]
[ui.modal :as modal]
[ui.grid :as grid]
[ui.filters :as filters]
[ui.link :as link]
[ui.util :as util]
[ui.icon :as icon]
View form.clj
(ns ui.form)
(defmacro with-form
[[binding form-machine] & body]
`(let [form-machine# ~form-machine
~binding form-machine#
{data# :data
error# :error
state# :state
exception# :exception
View input.cljs.hl
(ns ui.form.input
(:refer-hoplon :exclude (input textarea select)))
(defn- change-state
[state handler]
(let [handler (or handler (fn []))]
#(do (reset! state @%)
(handler %))))
(defn- field
View form.cljs.hl
(ns ui.form
(:refer-hoplon :exclude [select input textarea label form])
(:require [clojure.string :as str]
[ui.form.input :as input]
[ui.button :as button]
[ui.modal :as modal]
[ui.grid :as grid]
[ui.icon :as icon]
[ui.filters :as filters]
[ui.link :as link]
View index.cljs.hl
(page "index.html"
(:require
[cljs.reader :refer [read-string]]
[app.rpc :as rpc]
[app.routes :as routes]
[app.ui.nav :as nav]
[app.ui.login :as login]
[app.ui.loading :as loading]
[app.ui.advertisers.creatives :as creatives]
[app.ui.inventory.adtypes :as adtypes]