Skip to content

Instantly share code, notes, and snippets.

View pbzdyl's full-sized avatar
😎

Piotrek Bzdyl pbzdyl

😎
View GitHub Profile
(ns ui.app
(:refer-hoplon :exclude [main body])
(:refer-clojure :exclude [meta])
(:require-macros [ui.app :as app])
(:require [app.routes :as routes]
[app.integrations :as int]
[ui.global-state :as global]))
(def meta html-meta)
(ns workflow.form
(:require
[castra.core :as castra]
[clojure.walk :as walk]
[clojure.data :as data]))
;; Form data manager ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defn- reset-vals!
[map-of-cells default]
(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]
[cemerick.url :refer [url]]))
@pbzdyl
pbzdyl / designer.html
Created August 27, 2014 09:31
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@pbzdyl
pbzdyl / compiler error
Last active December 31, 2015 15:19
Issue with spray.io and json marshallers
could not find implicit value for parameter marshaller: spray.httpx.marshalling.ToResponseMarshaller[scala.concurrent.Future[Animal]]
(zoo ? GetRandomAnimal).mapTo[Animal]
^
@pbzdyl
pbzdyl / ExampleAPIUsage.java
Created July 13, 2012 10:33
Code for my Parallel Collections post
Set<Customer> customers = ...;
display(new ParallelSet<Customer>(customers).filter(...).map(...).sort(...));