Skip to content

Instantly share code, notes, and snippets.

View motform's full-sized avatar
📴
K-SPACE KOLLAPSE

Love Lagerkvist motform

📴
K-SPACE KOLLAPSE
View GitHub Profile
@MokkeMeguru
MokkeMeguru / create-indexed-db.cljs
Last active January 14, 2024 09:57
IndexedDB with ClojureScript
(ns practical-customizable-alerm.idb
(:require [re-frame.core :as re-frame]
[reagent.core :as r]))
;; event
(re-frame/reg-event-db
::init-indexed-db
(fn [db [_ indexed-db]]
(println "db" indexed-db)
@mikroskeem
mikroskeem / gccemacs_osx.md
Last active July 7, 2024 09:37
gccemacs on OSX

gccemacs on OS X

Read this first: http://akrl.sdf.org/gccemacs.html

Prerequisites

1) GCC with libgccjit enabled

For that you need to compile gcc (duh). I edited Homebrew's gcc formula:

(require '[clojure.set :as set])
(def info
[{:year 2017
:month 4
:data "x"}
{:year 2017
:month 4
:data "y"}
@kenjisato
kenjisato / keynote_export.applescript
Last active April 23, 2024 12:09
Script to Export Keynote Presentation Files to PDF or JPEG
on sansExt(theFileName)
do shell script "file=" & theFileName & ";" & "echo ${file%.*}"
end sansExt
on getExt(theFileName)
do shell script "file=" & theFileName & ";" & "echo ${file##*.}"
end getExt
on run argv
set keynote_path to (item 1 of argv)