Skip to content

Instantly share code, notes, and snippets.

@oconn
oconn / re-frame-routing.cljs
Last active July 26, 2019 18:03
re-frame-routing example
;; Container views (usally in seperate views
(defn home
[{:keys [route-key path-parms query-params]}]
[:div "Home"])
(defn sign-in
[{:keys [route-key path-parms query-params]}]
[:div "Sign In"])
@oconn
oconn / code.gs
Created January 8, 2025 22:13
Google App Script for setting up a live sync between your Google Sheets and Vistaly 🚀
function onEditHandler(e) {
try {
// 1. Determine what was edited
const range = e.range;
const row = range.getRow();
const col = range.getColumn();
// 2. Check if the edited cell is in column C (col = 3)
if (col === 3) {
const sheet = range.getSheet();