Skip to content

Instantly share code, notes, and snippets.

<%*
// v0.1
/* START OF USER DEFINED SETTINGS */
// template to use
const templateFolder = "templates";
const templateName = "template_anthony.md";
// creating the new file
const newFileFolder = "test/meetings";
const openNewFile = false;
@classicrob
classicrob / TwitterArchiveParser.swift
Created March 29, 2022 17:20 — forked from rolandleth/TwitterArchiveParser.swift
Extracting and converting your Twitter archive into simpler objects
// Blog post: https://rolandleth.com/extracting-and-parsing-tweets-from-your-twitter-archive
import Foundation
struct Tweet: Codable {
let text: String
let timestamp: String
}
@classicrob
classicrob / html.clj
Created March 15, 2022 01:05 — forked from green-coder/html.clj
Cross platform (CLJC) and hackable `html->hiccup` function.
(ns hiccdown.html
(:require [clojure.edn :as edn]
[instaparse.core :as insta :refer [defparser]]))
;; A cross-platform (CLJC) html->hiccup converter for Hiccdown's own needs.
;; For now, only used in the tests.
(defparser html-parser "
nodes = node*
<node> = text | open-close-tags | self-closing-tag
open-close-tags = opening-tag nodes closing-tag