https://www.youtube.com/watch?v=hALFGQNeEnU Ruby Midwest 2011 - Keynote: Architecture the Lost Years
This file contains 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
import java.net.http.HttpRequest; | |
import java.net.URI; | |
import static java.util.Optional.ofNullable; | |
public class JavaNetHttp { | |
public static void main(String[] args) { | |
System.out.printf("jdk.httpclient.allowRestrictedHeaders %s\n", | |
ofNullable(System.getProperty("jdk.httpclient.allowRestrictedHeaders")) | |
.orElse("Not found")); | |
try { |
This file contains 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 com.grzm.mum.viz.client.app.mock-remote-x | |
(:require | |
[cljs.core.async :as async] | |
[com.wsscode.pathom.connect :as pc :refer [defresolver]] | |
[com.wsscode.pathom.core :as p])) | |
(defonce tasks | |
[{:mum.task/id "0", :mum.task/deps [{:mum.task/id "2"}]} | |
{:mum.task/id "1", :mum.task/deps [{:mum.task/id "3"}]} | |
{:mum.task/id "2"} |
This file contains 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
# Install JDBC Driver Vertica 9 | |
# No Maven repository, install locally | |
mvn install:install-file -Dfile={/path_to/vertica-jdbc-9.0.1-0.jar} -DgroupId=com.vertica -DartifactId=vjdbc9 -Dversion=9.0.1 -Dpackaging=jar |
This file contains 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
(defproject com.grzm/sorty.alpha "0.0.1-SNAPSHOT" | |
:description "Simple web-based classification app" | |
:url "https://github.com/grzm/sorty.alpha" | |
:license {:name "MIT" | |
:url "https://opensource.org/licenses/MIT"} | |
:min-lein-version "2.0.0" | |
:dependencies [[ch.qos.logback/logback-classic "1.1.7" | |
:exclusions [org.slf4j/slf4j-api]] | |
[com.grzm/logback-discriminator "0.1.1-SNAPSHOT" | |
:exclusions [ch.qos.logback/logback-classic]] |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am grzm on github. | |
* I am grzm (https://keybase.io/grzm) on keybase. | |
* I have a public key whose fingerprint is E446 68E9 A5F7 AE2E 14A9 6BE4 1C94 A5C9 A242 737A | |
To claim this, I am signing this object: |
This file contains 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 spec-ex.core | |
(:require | |
[clojure.spec.alpha :as s] | |
[clojure.spec.gen.alpha :as gen] | |
[clojure.spec.test.alpha :as stest])) | |
;; [org.clojure/spec.alpha "0.1.123"] | |
;; The goal is to stub functions which require some kind external | |
;; dependency, such as a service or other I/O. |
This file contains 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
λ lein cljsbuild once prod | |
Compiling ClojureScript... | |
Compiling "out/main.js" from ["src"]... | |
Sep 26, 2016 7:03:38 PM com.google.javascript.jscomp.LoggerErrorManager println | |
WARNING: /Users/grzm/Documents/dev/om-namespace/out/cljs/analyzer.js:4740: WARNING - incomplete alias created for namespace cljs.spec | |
var mchk = (function (){var and__6935__auto__ = cljs.spec; | |
^ | |
Sep 26, 2016 7:03:38 PM com.google.javascript.jscomp.LoggerErrorManager printSummary | |
WARNING: 0 error(s), 1 warning(s) |
This file contains 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 myapp.client.core | |
(:require | |
[om.next :as om] | |
[myapp.client.ui :as ui] | |
[myapp.client.ui.user :as user] | |
[untangled.client.core :as uc] | |
[untangled.client.data-fetch :as df])) | |
(defn on-start | |
[{:keys [reconciler]}] |
This file contains 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
(require '[figwheel-sidecar.repl :as r] | |
'[figwheel-sidecar.repl-api :as ra] | |
'[com.stuartsierra.component :as component] | |
'[om-starter.server :as server] | |
'[ring.component.jetty :refer [jetty-server]]) | |
(def figwheel-config | |
{:figwheel-options {} | |
:build-ids ["dev"] | |
:all-builds |
NewerOlder