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
const fs = require('fs'); | |
const _ = require('lodash'); | |
const dot = require('dot-object'); | |
const [node, namefile, ...langs] = process.argv; | |
const separator = '";"'; | |
const AllTrads = {}; | |
const translations = [];; |
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
const $ = go.GraphObject.make; // for conciseness in defining templates | |
myDiagram = $(go.Diagram, 'myDiagramDiv', // must name or refer to the DIV HTML element | |
{ | |
initialContentAlignment: go.Spot.Center, | |
layout: $(go.ForceDirectedLayout), | |
allowDelete: false, | |
allowCopy: false, | |
} |
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
#!/bin/bash | |
# usage : ./merkel.sh tx1 tx2 ... txn | |
# better: ./merkel.sh $(bitcoin-cli getblock {hashOfABlock}|jq -rc '.tx[]') | |
function concat() { | |
echo -e "$1$2" | |
} |
OlderNewer