- Weekly Agenda (created on a different day, and embedded with
/Block Reference
) - [[Morning Questions]]
- {{[[slider]]}} How many hours of sleep did I get?
- What's one thing top of mind today?
- What's the one thing I need to get done today to make progress?
- Review #[[Index: Questions]] #values
- Agenda
- {{[[TODO]]}} Morning walk #goal-health #habit
- {{[[TODO]]}} Check calendar for scheduled events
- {{[[TODO]]}} Morning focus hour
This file contains 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
#!/bin/bash | |
# Do nothing if the WALLET_PASSWORD var is not set. | |
if [ -z "$PASSWORD" ]; then | |
echo "[lnd_unlock] Please set PASSWORD in order to unlock wallet automatically." | |
s6-pause | |
fi | |
# output script content for easier debugging. | |
# set -x | |
# exit from script if error was raised. | |
set -e |
There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket
You may use the same computer for work and personal development and need to separate your work.
When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.
You may have different projects you're working on where you would like to segregate your access.
This file contains 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
version: 2 | |
workflows: | |
version: 2 | |
build: | |
jobs: | |
- test | |
jobs: | |
test: |
The following toolkit makes getting started with Drivechain TestDrive easier and more fun!
- SideShift (Source): Swap coins from beteeen any Drivechain (side)chain!
- Faucet (Source): Get free Drivenet coins
- Auto Installer: Automatic installer for Drivechain (with sidechains) for Ubuntu Linux (with GUI)
- Transaction Replayer (stats) (Source): Stats for the bot that replays Bitcoin (BTC) transactions onto Drivecain mainchain
This file contains 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/env bash | |
# AutoTestDrive v7 | |
# Automation Drivechain TestDrive installation for Ubuntu | |
# Uses Drivenet-9, UTXO-7, Sidechain-8, Payment-1 | |
# | |
# Changelog | |
# | |
# Revision 8 | |
# - Do not restore wallet unless revision 8 | |
# - Fix typo in wallet restore code (payment restored sidechain wallet) |
This file contains 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
import * as Sentry from '@sentry/browser'; | |
import getConfig from 'next/config'; | |
import React from 'react'; | |
const { SENTRY_DSN } = getConfig().publicRuntimeConfig; | |
Sentry.init({ dsn: SENTRY_DSN }); | |
/** | |
* Send an error event to Sentry. |
This file contains 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
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp | |
index ec398f662..6724399c0 100644 | |
--- a/src/policy/policy.cpp | |
+++ b/src/policy/policy.cpp | |
@@ -117,6 +117,10 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason, const bool witnes | |
return false; | |
} | |
+ if (tx.ReplayProtected()) { | |
+ return false; |
This file contains 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
/** | |
* Import dependencies | |
*/ | |
const { EventEmitter } = require('events'); | |
const ReconnectingWebSocket = require('reconnecting-websocket'); | |
/** | |
* Export a function that creates a websocket connection interface | |
*/ | |
export default function createReconnectingWebsocket(uri) { |
This file contains 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
/** | |
* WHY? - BECAUSE EXCEPTIONS/TRY/CATCH IS A GLOBAL HORRIBLE MESS :-( | |
* Check out error handling in golang: https://blog.golang.org/error-handling-and-go | |
*/ | |
/** | |
* Wrap an "unsafe" promise | |
*/ | |
function safePromise(promise) { | |
return promise |
NewerOlder