- Run verdaccio in a separate shell
verdaccio
- In the package you want to test
npm set registry http://127.0.0.1:4873/
verdaccio
npm set registry http://127.0.0.1:4873/
// original result with opreturndata | |
{ | |
"inputs": [ | |
{ | |
"txid": "86c91512041bd4894f1c100ad399e18f11c56977ed11b042ec9b97156a375356", | |
"vout": 0, | |
"value": 5467385988, | |
"height": 5015602, | |
"confirmations": 16, |
-- auto complete | |
local lsp = require('lsp-zero').preset({ | |
name = 'minimal', | |
set_lsp_keymaps = true, | |
manage_nvim_cmp = true, | |
suggest_lsp_servers = fatrue, | |
}) | |
lsp.setup_servers({'tsserver', 'eslint'}) |
# New mail notification | |
# You need terminal-notifier installed: brew install terminal-notifier | |
set new_mail_command="terminal-notifier -title %v -subtitle 'Youve got mail' -message '%n new messages, %u unread'. -activate net.kovidgoyal.kitty" |
module.exports = (fileInfo, api) => { | |
const j = api.jscodeshift | |
const source = j(fileInfo.source) | |
source | |
.find(j.AssignmentPattern) | |
.filter((x) => { | |
// Has ? in left side of assignment, and a right side of assignment | |
return x.value.left.optional && x.value.right | |
}) |
-module(third). | |
-export([maxOfThree/3, howManyEqual/3]). | |
maxOfThree(A,B,C) -> | |
lists:max([A,B,C]). | |
howManyEqual(A,A,A) -> | |
3; | |
howManyEqual(A,_,A) -> | |
2; | |
howManyEqual(A,A,_) -> |
-module(first). | |
-export([add/2, double/1, mult/2, area/3, treble/1, square/1]). | |
add(A,B) -> | |
A + B. | |
mult(X,Y) -> | |
X * Y. | |
double(X) -> |
#============================================================================= | |
# dark_powered.toml --- dark powered configuration example for SpaceVim | |
# Copyright (c) 2016-2017 Wang Shidong & Contributors | |
# Author: Wang Shidong < wsdjeg at 163.com > | |
# URL: https://spacevim.org | |
# License: GPLv3 | |
#============================================================================= | |
# All SpaceVim option below [option] section |