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
2014-12-22 07:35:00,841 ERROR [io.undertow.request] (default task-22) UT005023: Exception handling request to /counter: java.lang.IllegalStateException: The path to the driver executable must be set by the phantomjs.binary.path capability/system property/PATH variable; for more information, see https://github.com/ariya/phantomjs/wiki. The latest version can be downloaded from http://phantomjs.org/download.html | |
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) [demo-standalone.jar:] | |
at org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:206) [demo-standalone.jar:] | |
at org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:152) [demo-standalone.jar:] | |
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:85) [demo-standalone.jar:] | |
at demo.web$counter.invoke(web.clj:27) [demo-standalone.jar:] | |
at compojure.response$fn__3077.invoke(r |
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 one.helpers.html | |
(:require [om-tools.dom :as d :include-macros true])) | |
(def tags | |
{:a d/a | |
:abbr d/abbr | |
:address d/address | |
:area d/area | |
:article d/article | |
:aside d/aside |
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
[:nav {:class "navbar navbar-fixed-top" | |
:on-click #(println "click")} | |
[:div {:class "container-fluid"} | |
[:div {:class "navbar-header"} | |
[:a {:class "navbar-brand" | |
:href "#/"} | |
"Аудит фотографий"] | |
[:div {:class "version"} | |
"0.93"]]]] |
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
<html> | |
<body> | |
<script src="js/polyfill.js" type="text/javascript"></script> | |
<script src="../../resources/public/js/app_test.js" type="text/javascript"></script> | |
</body> | |
</html> |
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
if (!Function.prototype.bind) { | |
Function.prototype.bind = function(oThis) { | |
if (typeof this !== 'function') { | |
// closest thing possible to the ECMAScript 5 | |
// internal IsCallable function | |
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable'); | |
} | |
var aArgs = Array.prototype.slice.call(arguments, 1), | |
fToBind = this, |
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
var page = require('webpage').create(); | |
var url; | |
if (phantom.args) { | |
url = phantom.args[0]; | |
} else { | |
url = require('system').args[1]; | |
} | |
page.onConsoleMessage = function (message) { |
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
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 9.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :20150705 | |
#usage :/bin/bash wildfly-install.sh | |
WILDFLY_VERSION=9.0.0.Final | |
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION |
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
2015-07-19 12:02:33.382 INFO default datomic.slf4j.bridge - SLF4J Bridge installed | |
2015-07-19 12:02:37.784 INFO default org.eclipse.jetty.server.Server - jetty-8.1.11.v20130520 | |
2015-07-19 12:02:37.821 INFO default o.e.jetty.server.AbstractConnector - Started SelectChannelConnector@0.0.0.0:8001 | |
2015-07-19 12:02:50.588 WARN default datomic.kv-sql-ext - {:tid 19, :pid 14375, :event :sql/validation-query-failed, :query "select 1"} | |
org.postgresql.util.PSQLException: server requested password authentication, but the password was not specified. | |
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:454) ~[postgresql-9.3-1102-jdbc41.jar:na] | |
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:181) ~[postgresql-9.3-1102-jdbc41.jar:na] | |
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) ~[postgresql-9.3-1102-jdbc41.jar:na] | |
at org.postgresql.jdbc2.AbstractJdbc2Conne |
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
(defmulti build | |
"Component build" | |
(fn [cursor owner opts] | |
(-> cursor :component :type))) | |
(defmethod build [:button] [cursor owner opts] | |
(reify | |
event-bus/IInitEventBus | |
(init-event-bus [_] | |
{:xform (add-om-id-xform owner)}) |
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
:on-click (fn [c] | |
(println "owner" owner)) | |
to | |
:on-click (fn [_] | |
(let [t owner] | |
((fn [c] (println "owner" owner)) _))) |