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
<?xml version="1.0" encoding="UTF-8" ?> | |
<billing-log> | |
<log-start-date>2018-01-15T10:00:00-00:00</log-start-date> | |
<player-name>some-player</player-name> | |
<schema-version>1</schema-version> | |
<player-uuid>2b51f999-a4d3-30dc-a357-f0ee60c34b79</player-uuid> | |
<log-end-date>2018-01-15T10:59:59.999-00:00</log-end-date> | |
<entry><in>2018-01-15T09:59:53.457-00:00</in><out>2018-01-15T10:00:04.486-00:00</out><duration>11.029</duration><channel>xx</channel><frame>Main</frame><mediaitem-path>some_media_item.mp4</mediaitem-path></entry> | |
<entry><in>2018-01-15T10:59:42.290-00:00</in><out>2018-01-15T10:59:53.419-00:00</out><duration>11.123</duration><channel>xx</channel><frame>Main</frame><mediaitem-path>some_media_item.mp4</mediaitem-path></entry> | |
</billing-log> |
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
(defn parse-second | |
"" | |
[time-string] | |
(str (time/second (time-coerce/from-string time-string)))) | |
(defn parse-minute | |
"" | |
[time-string] | |
(str (time/minute (time-coerce/from-string time-string)))) |
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 example.virtualized | |
(:require cljsjs.react-virtualized | |
cljsjs.react | |
[cljs.spec :as s] | |
[re-frame.core :as re-frame])) | |
(def ArrowKeyStepper* (js/React.createFactory js/ReactVirtualized.ArrowKeyStepper)) | |
(def AutoSizer* (js/React.createFactory js/ReactVirtualized.AutoSizer)) | |
(def Collection* (js/React.createFactory js/ReactVirtualized.Collection)) |
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 datatable.core | |
(:require [reagent.core :as reagent] | |
[cljsjs.fixed-data-table])) | |
(def Table (reagent/adapt-react-class js/FixedDataTable.Table)) | |
(def Column (reagent/adapt-react-class js/FixedDataTable.Column)) | |
(defn gen-table | |
"Generate `size` rows vector of 4 columns vectors to mock up the table." | |
[size] |
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
(defn actions [array-of-funcs] | |
(doseq [func array-of-funcs] (func))) |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> | |
<dependency> | |
<dependentAssembly> | |
<assemblyIdentity | |
type="win32" | |
name="Microsoft.Windows.Common-Controls" | |
version="6.0.0.0" processorArchitecture="*" |
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
/* | |
Document: app.js | |
Author: Rustheme | |
Description: UI Framework Custom Functionality (available to all pages) | |
*/ | |
var App = function() { | |
/** | |
* CORE UI FUNCTIONALITY |
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
;;; Disable Scroll bars | |
(scroll-bar-mode -1) |
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
;; Show line nymbers in programming mode | |
(add-hook 'prog-mode-hook 'linum-mode) | |
;; Allow pound sign to be entered, if you're in the UK and on a Mac you | |
;; probably want to uncomment the below | |
;; (global-set-key (kbd "M-3") '(lambda () (interactive) (insert "#"))) |
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
Spark Command: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java -cp /Users/davehouston/Downloads/spark-1.4.1-bin-without-hadoop/sbin/../conf/:/Users/davehouston/Downloads/spark-1.4.1-bin-without-hadoop/lib/spark-assembly-1.4.1-hadoop2.2.0.jar -Xms512m -Xmx512m -XX:MaxPermSize=256m org.apache.spark.deploy.master.Master --ip Daves-MacBook-Air.local --port 7077 --webui-port 8080 | |
======================================== | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger | |
at java.lang.Class.getDeclaredMethods0(Native Method) | |
at java.lang.Class.privateGetDeclaredMethods(Class.java:2521) | |
at java.lang.Class.getMethod0(Class.java:2764) | |
at java.lang.Class.getMethod(Class.java:1653) | |
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494) | |
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486) | |
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger |
NewerOlder