I hereby claim:
- I am skazhy on github.
- I am skazhy (https://keybase.io/skazhy) on keybase.
- I have a public key whose fingerprint is EF9B F9E8 90F7 A325 D409 215D 432B D41F 835B 3C81
To claim this, I am signing this object:
ul> | |
{% for p in posts %} | |
<li><a href="{{ a.url }}">{{ a.title }}</a> | |
{% endfor %} | |
</ul> |
import tornado.web | |
class BaseHandler(tornado.web.RequestHandler): | |
def reverse_angular_url(self, name, *args): | |
# Works like regular reverse_url but replaces regex groups | |
# with :arg, so it can fit nicely in the AngularJS router | |
# for given route named "employee" "/company/(.*)/employees/(.*)$" -> | |
# reverse_angular_url("employee", "company_id", "employee_id") | |
# returns "/company/:company_id/employees/:employee_id" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadIdentifier</key> | |
<string>com.fullcontact</string> | |
<key>PayloadType</key> | |
<string>Configuration</string> |
name := "foo" | |
version := "1.0" | |
libraryDependencies ++= Seq( | |
"net.debasishg" % "redisclient_2.10" % "2.12", | |
"org.specs2" %% "specs2" % "2.3.10" % "test", | |
) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(ns bandarlog.core | |
(:require [clojure.core.async :refer [thread-call <!! thread go <!]]) | |
(:import com.amazonaws.auth.BasicAWSCredentials | |
com.amazonaws.services.sqs.AmazonSQSAsyncClient | |
com.amazonaws.services.sqs.buffered.AmazonSQSBufferedAsyncClient | |
(com.amazonaws.services.sqs.model SendMessageRequest | |
SendMessageBatchRequest | |
SendMessageBatchRequestEntry | |
ReceiveMessageRequest | |
ReceiveMessageResult))) |
Exception thrown during phase :analyze+eval of linting namespace test | |
IllegalArgumentException No method in multimethod '-item-to-ssa' for dispatch value: :with-meta | |
clojure.lang.MultiFn.getFn (MultiFn.java:156) | |
clojure.lang.MultiFn.invoke (MultiFn.java:229) | |
clojure.core.async.impl.ioc-macros/item-to-ssa (ioc_macros.clj:492) | |
clojure.core.async.impl.ioc-macros/fn--3592/fn--3595 (ioc_macros.clj:600) | |
clojure.core.async.impl.ioc-macros/parse-to-state-machine/fn--3798 (ioc_macros.clj:802) | |
clojure.core.async.impl.ioc-macros/get-plan (ioc_macros.clj:80) | |
clojure.core.async.impl.ioc-macros/parse-to-state-machine (ioc_macros.clj:802) | |
clojure.core.async.impl.ioc-macros/state-machine (ioc_macros.clj:1067) |
(defn arg-map [{:keys [foo]}] foo) | |
(arg-map {:foo 1}) ; 1 | |
(arg-map {:foo 1 :foo 2}) ; Compiler Exception | |
; apply hash-map is executed internally, so fun things happen: | |
(defn kwargs [& {:keys [foo]}] foo) | |
(kwargs :foo 1) ; => 1 | |
(kwargs :foo 1 :foo 2) ; => 2 |