This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
####### | |
# A command line tool for zfs replication at Fastmail | |
# | |
# TODO: add more error state handling (e.g. remote down) | |
# TODO: add force-failover-here mode | |
# TODO: add force-reset-remote mode (split brain recovery) | |
# | |
# This script using the following two get/set keys on the filesystem: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2010-2016 Petri Lehtinen <petri@digip.org> | |
* | |
* Jansson is free software; you can redistribute it and/or modify | |
* it under the terms of the MIT license. See LICENSE for details. | |
* | |
* | |
* This file specifies a part of the site-specific configuration for | |
* Jansson, namely those things that affect the public API in | |
* jansson.h. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"Email/queryChanges", | |
{ | |
"accountId": "u5d2841a9", | |
"calculateTotal": true, | |
"collapseThreads": true, | |
"filter": { "inMailbox": "F04eb5e6d" }, | |
"maxChanges": 25, | |
"sinceQueryState": "26840:0", | |
"sort": [ { "isAscending": false, "property": "receivedAt" } ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 xconvmultisort (reverse arrival) (conversations position (1 30)) utf-8 FLAGGED not folder "INBOX.Junk Mail" not folder "INBOX.Trash" not folder "INBOX.Notes" | |
* XCONVMULTI (("INBOX" 1108730345) ("INBOX.AICSA" 1435285570) ("INBOX.Archive.2014" 1430929570) ("INBOX.Archive.2016" 1495515577) ("INBOX.INBOX.DummyFolder" 1457663261) ("INBOX.INBOX.Expenses.Business" 1455445600) ("INBOX.INBOX.Expenses.MIV" 1458390776) ("INBOX.INBOX.Expenses.Work" 1462245100) ("INBOX.MIV18" 1438554722) ("INBOX.Sent Items" 1203397490)) ((20765a266fec9ece (8 2495)) (e74e1941d02f5be9 (5 161)) (dd72894285154f61 (5 160)) (01dec0aba05a70a2 (8 2396)) (d0a2390ab104bce0 (0 81018)) (e6e41aebda6683f2 (8 2393)) (4d346abcb421091d (8 2388)) (a59ea77a238687b0 (0 80965)) (fc26380d144bcf18 (8 2279)) (99ce16bc3a5becdc (8 2197)) (9d801552f79f58f2 (1 2959)) (12c55050ce5bf725 (8 1776)) (3016f1eec3b4deea (8 1763)) (df32ba8e30ba723b (0 77700)) (3b85a672e820f396 (8 1565)) (6f4a2d9e33735a7d (0 76640)) (f7dad56fded8935d (5 124)) (8698e3e71acaf414 (8 1276)) (50 |