start new:
tmux
start new with session name:
tmux new -s myname
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="de.mobilej.overlay" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk android:minSdkVersion="14" /> | |
<application android:label="SystemOverlay" > | |
<activity |
Recent improvements to the ClojureScript compiler have greatly simplified setting up development versus production outputs.
This example uses Figwheel as something that you want to exclude for production, but the pattern is general.
With this simple setup you only need one html file/view and it will work for developement and production.
;; There are three parts to the problem: | |
;; (1) putting the token on the page on the server-side, | |
;; (2) getting it off on the client-side, | |
;; (3) and then POST-ing it with the request. | |
;;;; One could also GET and then POST using a route, but that makes the CSRF token useless. | |
; 1. Putting the token on the page. | |
; handler.clj |
(require '[datascript.btset :as btset]) | |
(require '[datascript.arrays :as da]) | |
;; What? | |
;; Fast equality check for btset/Iter | |
;; | |
;; Why? | |
;; There's no history or (d/since ) API and I want to know what's changed between two databases. | |
;; With fast Iter equality checks, I can quickly check if an attribute has changed between | |
;; my two database values like so: |