Note on the Matrix Protocol and Slack Integration
I tried the Riot.im Slack <-> Matrix integration that is available via the "Integrations" icon in Riot.
Setting it up required enabling legacy webhooks:
macro_rules! type_dispatch { | |
($function:ident, | |
($($arg:expr),*), | |
$base_ty:ident, | |
<$($param_ty:ty),*>, | |
[ $value:expr => primitive_type ] $($rest:tt)*) => { | |
match $value { | |
"bool" => type_dispatch!($function, ($($arg),*), $base_ty, <$($param_ty,)* bool>, $($rest)*), | |
"uint8" => type_dispatch!($function, ($($arg),*), $base_ty, <$($param_ty,)* u8>, $($rest)*), | |
"uint16" => type_dispatch!($function, ($($arg),*), $base_ty, <$($param_ty,)* u16>, $($rest)*), |
use generic_array::*; | |
use std::marker::PhantomData; | |
use typenum::Unsigned; | |
use typenum::{U1024, U4096, U512, U8192}; | |
type Hash = [u8; 32]; | |
type Crosslink = u64; | |
trait FixedArray<T> { | |
// Not using `std::Default` for brevity. |
IF(EXACT($C12, "Sell"), IF($E12 - $I12 < VLOOKUP($K12, $A$1:$N$146, 5) - SUMIF($H$2:$H11, $H12, $I$2:$I11) - SUMIF($K$2:$K11, $K12, $L$2:$L11), $E12 - $I12, VLOOKUP($K12, $A$1:$N$146, 5) - SUMIF($H$2:$H11, $H12, $I$2:$I11) - SUMIF($K$2:$K11, $K12, $L$2:$L11)), "") |
I tried the Riot.im Slack <-> Matrix integration that is available via the "Integrations" icon in Riot.
Setting it up required enabling legacy webhooks:
grep '.type = CDL_' capdl_spec.c | sed 's/.*\(\.type = CDL_[[:alnum:]]*\).*/\1/' | sort | uniq |
ethereum==1.6.1 | |
eth-utils==0.7.1 |
[program:caddy] | |
command=/home/caddy/sproul.xyz/start.sh | |
directory=/home/caddy/sproul.xyz | |
user=caddy | |
environment=HOME="/home/caddy",USER="caddy" |
=== Elected === | |
Mathias CORMANN (Liberal) [521540 votes] | |
Sue LINES (Australian Labor Party) [379352 votes] | |
Rachel SIEWERT (The Greens (WA)) [139395 votes] | |
Michaelia CASH (Liberal) [416033 votes] | |
Glenn STERLE (Australian Labor Party) [272937 votes] | |
Dean SMITH (Liberal) [310808 votes] | |
Patrick DODSON (Australian Labor Party) [170055 votes] | |
Linda REYNOLDS (Liberal) [206560 votes] | |
Chris BACK (Liberal) [105249 votes] |
I just moved my bitcoin data out of ~/.bitcoin
by using the -datadir
flag to bitcoind
.
$ bitcoind -daemon -datadir=/external-drive/btc
However, I found that I now needed to pass -datadir=/external-drive/btc
to bitcoin-cli
in order for the passwordless authentication to succeed.
Rather than passing the flag every time, you can also change where bitcoind
will stash the authentication cookie (which is what enables passwordless auth). Moving it back to ~/.bitcoin/.cookie
does the trick, like so:
# Bitcoin Transaction | |
# Spec: https://en.bitcoin.it/wiki/Transaction | |
meta: | |
id: btc_txn | |
endian: le | |
file-extension: txn | |
seq: | |
# Bitcoin version, usually 1. | |
- id: version | |
type: u4 |