HTML to export - includes Paged.js polyfill:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
</head>
HTML to export - includes Paged.js polyfill:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
</head>
(ns simple.core | |
(:require [reagent.dom :as reagent] | |
[re-frame.core :as rf])) | |
;; -- Domino 1 - Event Dispatch ----------------------------------------------- | |
(defn dispatch-click | |
[] | |
(rf/dispatch [:click-count])) ;; send event `:click-count` |
(ns color-sorting.core | |
(:require [reagent.core :as reagent] | |
[reagent.dom :as dom])) | |
(def colors ["blue" "yellow" "green" "purple" "red"]) | |
(def color-row (reagent/atom ["blue" "yellow" "green"])) | |
(def sorted-color-row (reagent.ratom/reaction (sort @color-row))) | |
(defn square [color] |
(ns simple.core | |
(:require [reagent.dom :as dom] | |
[re-frame.core :as rf] | |
[clojure.string :as str])) | |
;; A detailed walk-through of this source code is provied in the docs: | |
;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md | |
;; -- Domino 1 - Event Dispatch ----------------------------------------------- |
(ns instructions.core | |
(:require [reagent.dom :as dom] | |
[re-frame.core :as re-frame])) | |
(defn info [] | |
[:div {:style {:max-width 500}} | |
[:h1 "re-playground"] | |
[:p "code is livereloaded. | |
this right-hand panel has the id 'app'. | |
to render reagent into this panel, target this element with " |
image: php:7.1-fpm | |
pipelines: | |
default: | |
- step: | |
caches: | |
- composer | |
script: | |
# Update dependencies | |
- apt-get update | |
# Install dependencies |
# Delete all logs | |
TRUNCATE ps_log; | |
# Delete old connection data (only used for stats) | |
# change 2016-02-01 00:00:00 according to you needs | |
DELETE c, cs | |
FROM ps_connections c | |
LEFT JOIN ps_connections_source cs ON (c.id_connections = cs.id_connections) | |
WHERE c.date_add < '2016-02-01 00:00:00'; |