config:
target: 'http://localhost:3000'
phases:
- duration: 60
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
SceneController.cs | |
using System; | |
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.UI; | |
using ZbdUnitySDK.Logging; | |
using ZbdUnitySDK; | |
using System.Threading.Tasks; |
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
/* | |
* Copyright (c) 2019 LNBIG.com | |
* All rights reserved. | |
*/ | |
const PromisePool = require('es6-promise-pool') | |
const util = require('util'); | |
const nodeStorage = require('../global/nodeStorage'); | |
const {Mutex} = require('await-semaphore') |
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
Links for BitDevs Nov 13th | |
https://github.com/joostjager/whatsat | |
https://github.com/jamaljsr/polar | |
https://blog.lightning.engineering/posts/2019/11/07/routing-guide-2.html | |
https://github.com/lightningnetwork/lightning-rfc/pull/694 | |
https://github.com/lightningnetwork/lightning-rfc/pull/694 | |
https://github.com/lightningnetwork/lightning-onion/pull/40 | |
https://github.com/lightningnetwork/lightning-rfc/pull/697 | |
https://github.com/lightningnetwork/lnd/pull/3462 | |
https://github.com/lightningnetwork/lnd/pull/1160 |
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
const sub = lnd.sendPayment(); | |
sub.on('error', err => { | |
console.log("ERR", err); | |
}) | |
sub.on('end', () => console.log("END")); | |
sub.on('status', status => console.log("STATUS", status)); | |
sub.on('data', data => { | |
console.log("PAYMENT", data); |
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
const Logger = use('Logger') | |
const bech32 = require('bech32') | |
const Hash = use('Hash') | |
const lnService = require('ln-service') | |
const NonceHashMap = {}; | |
const k1HashMap = {}; | |
async requestWithdrawal ({auth, response}) { | |
try{ |
I hereby claim:
- I am andrerfneves on github.
- I am andrerfneves (https://keybase.io/andrerfneves) on keybase.
- I have a public key ASCB9Kh1_1Ku8bwmfr-O_LuiRg8PvDzjLQPIGDXkiK88ago
To claim this, I am signing this object:
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
Private Repository | |
In case our Github code repository is private, then cloning it on EC2 will fail. | |
In order to make it work, we will need to provide SSH access to the EC2 instance to login and clone the repo. Follow the steps in Generating SSH Keys to add SSH keys but here is the gist: | |
First create the SSH keys on EC2: | |
ls -al ~/.ssh |
NewerOlder