Skip to content

Instantly share code, notes, and snippets.

Conan conan

Block or report user

Report or block conan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@conan
conan / .git-prompt.sh
Created Aug 7, 2019
PS1 script for git; put this in your Linux home directory
View .git-prompt.sh
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
@conan
conan / calva-keybindings.json
Created Aug 7, 2019
Keybindings to replace Calva's default chain-start of CTRL+ALT+V with ALT+V. (Originally from WebWitch, retrieved from Google cache)
View calva-keybindings.json
[
{
"key": "alt+v shift+c",
"command": "calva.toggleCLJCSession"
},
{
"key": "ctrl+alt+v alt+c",
"command": "-calva.toggleCLJCSession"
},
{
View intellij-cursive-local-repo-update.log
2018-10-17 16:15:00,759 [1022547] WARN - #org.jetbrains.idea.maven - Failed to update Maven indices for: [local] file:/C:/Users/conan/dev/citadels/repo
org.jetbrains.idea.maven.server.MavenServerIndexerException: java.lang.RuntimeException: java.io.FileNotFoundException: Resource nexus-maven-repository-index.properties does not exist
at org.jetbrains.idea.maven.server.Maven3ServerIndexerImpl.updateIndex(Maven3ServerIndexerImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
@conan
conan / lein-cljs-lambda-deploy
Created Sep 28, 2018
lein cljs-lambda deploy output
View lein-cljs-lambda-deploy
java.util.concurrent.ExecutionException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('X' (code 88)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@634aa81e; line: 1, column: 2]
at java.util.concurrent.FutureTask.report (FutureTask.java:122)
java.util.concurrent.FutureTask.get (FutureTask.java:192)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:498)
clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)
clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:313)
View figwheel-sidecar-guava-error
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V, compiling:(figwheel_sidecar/repl.clj:1:1)
at clojure.lang.Compiler.load(Compiler.java:7526)
at clojure.lang.RT.loadResourceScript(RT.java:379)
at clojure.lang.RT.loadResourceScript(RT.java:370)
at clojure.lang.RT.load(RT.java:460)
at clojure.lang.RT.load(RT.java:426)
at clojure.core$load$fn__6548.invoke(core.clj:6046)
at clojure.core$load.invokeStatic(core.clj:6045)
at clojure.core$load.doInvoke(core.clj:6029)
at clojure.lang.RestFn.invoke(RestFn.java:408)
View idea.log
2018-04-16 18:14:13,063 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-04-16 18:14:13,090 [ 27] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.5
2018-04-16 18:14:13,090 [ 27] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.5 (IDE-managed HiDPI)
2018-04-16 18:14:13,113 [ 50] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-172.3968.16, 21 Aug 2017 22:13)
2018-04-16 18:14:13,113 [ 50] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2018-04-16 18:14:13,113 [ 50] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b11 (JetBrains s.r.o)
2018-04-16 18:14:13,114 [ 51] INFO - #com.intellij.idea.Main - JVM: 25.152-b11 (OpenJDK 64-Bit Server VM)
2018-04-16 18:14:13,122 [ 59] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:Rese
View url-spec.clj
(require
'[cemerick.url :as url]
'[clojure.spec.alpha :as s]
'[clojure.spec.gen.alpha :as sgen])
(defn non-empty-string-alphanumeric
[]
(sgen/such-that #(not= "" %)
(sgen/string-alphanumeric)))
@conan
conan / url-gen.clj
Created Oct 4, 2017
Clojure.spec URL and email specs with generators
View url-gen.clj
(require '[cemerick.url :as url]
'[clojure.spec.alpha :as s]
'[clojure.spec.gen.alpha :as gen]
'[clojure.string :as string])
(def non-empty-string-alphanumeric
"Generator for non-empty alphanumeric strings"
(gen/such-that #(not= "" %)
(gen/string-alphanumeric)))
View Senior ClojureScript Engineer.md

The Tech

We're building Style.com to be the most sophisticated ecommerce platform in the world. We use the latest technology, not just because it's fun (although it is!), but because the best tools help us put together the best team and deliver a great experience for our customers worldwide.

Here's a taste of the tech you'll be working with:

  • Single-page frontend applications based on a ClojureScript/Reagent/React stack
  • Neural net-driven recommendation and search systems in Clojure
  • Automatic curation tools using tag hierarchies in Datomic
  • Containerised deployments on AWS/Docker/Kubernetes
View Senior Clojure Engineer.md

The Tech

We're building Style.com to be the most sophisticated ecommerce platform in the world. We use the latest technology, not just because it's fun (although it is!), but because the best tools help us put together the best team and deliver a great experience for our customers worldwide.

Here's a taste of the tech you'll be working with:

  • Single-page frontend applications based on a ClojureScript/Reagent/React stack
  • Neural net-driven recommendation and search systems in Clojure
  • Automatic curation tools using tag hierarchies in Datomic
  • Containerised deployments on AWS/Docker/Kubernetes
You can’t perform that action at this time.