/*
Sketch for a cloud generator
By Mads Kjeldgaard, 2020
*/ ( ~numChannels = 2; s.options.numOutputBusChannels_(~numChannels);
(defvar consult--jq-history nil) | |
(defun consult--jq-query (buffer query) | |
"Return jq candidates for the BUFFER. | |
QUERY is the jq query." | |
(with-temp-buffer | |
(insert-buffer buffer) | |
(call-process-region nil nil "jq" t t nil "-rM" query) | |
(mapcar | |
(lambda (s) |
/*
Sketch for a cloud generator
By Mads Kjeldgaard, 2020
*/ ( ~numChannels = 2; s.options.numOutputBusChannels_(~numChannels);
const backendData = [ | |
{ | |
id: "1", | |
name: "Office Map" | |
}, | |
{ | |
id: "2", | |
name: "New Employee Onboarding", | |
children: [ | |
{ |
[ | |
{ | |
"id": "1", | |
"name": "Office Map" | |
}, | |
{ | |
"id": "2", | |
"name": "New Employee Onboarding", | |
"children": [ | |
{ |
- Specific Notmuch filters (and saved-searches) for: | |
+ The Feed (newsletters, blogs) | |
+ The Paper trail (receipts, ledger) | |
+ Screened Inbox (mail from folks you actually want to read) | |
+ Previously Seen (important mail that you've already read) | |
+ Unscreened Inbox (potential spam / stuff you don't want) | |
- Elisp Functions to move / categorize emails from a particular sender. | |
+ Adds tags needed by filters defined above to all email sent by a particular sender | |
+ Creates an entry in a DB file, which is used by the Notmuch post-new script when indexing new email, to auto-add the relevant tags. |
(ns org.rssys.lzw.coder | |
(:require [clojure.java.io :as io]) | |
(:import (java.io InputStream OutputStream) | |
(com.github.jinahya.bit.io StreamByteInput StreamByteOutput DefaultBitOutput DefaultBitInput))) | |
(def MAX-BITS-LENGTH 18) | |
(def EOF 256) | |
(defn lzw-encode-stream | |
[^InputStream in-stream ^OutputStream out-stream] |
❯ zig version | |
0.4.0+d60f9d0d | |
macOS Mojave | |
Version 10.14.6 (18G95) |
const std = @import("std"); | |
const mem = std.mem; | |
fn LinkedList(comptime T: type) type { | |
const Self = struct { | |
const Node = struct { | |
next: ?*Node, | |
data: T, | |
}; |
pub const struct_uv_handle_s = extern struct { | |
data: ?*c_void, | |
loop: [*c]uv_loop_t, | |
type: uv_handle_type, | |
close_cb: uv_close_cb, // line 1736 | |
handle_queue: [2](?*c_void), | |
u: extern union { | |
fd: c_int, | |
reserved: [4](?*c_void), | |
}, |