Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mullinat on github.
  • I am neets (https://keybase.io/neets) on keybase.
  • I have a public key whose fingerprint is 53B8 3780 D94F 7206 CCEC 8DDF 94CA 481D 1903 DADE

To claim this, I am signing this object:

var parse = require('csv-parse/lib/sync');
var fs = require('fs');
var RawCSVData = fs.readFileSync('MySpeadsheet.csv', 'utf8');
console.log(RawCSVData);//Print the raw text
var records = parse(RawCSVData, {columns: true});
console.log(records);//Print the JSON repersentation os the CSV

Keybase proof

I hereby claim:

  • I am mullinat on github.
  • I am dentropy (https://keybase.io/dentropy) on keybase.
  • I have a public key ASDMOz3lwxGSB2DcuYryqMHJz3k0jkZvIIBQsnPWiJzsjAo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am dentropy on github.
* I am dentropy (https://keybase.io/dentropy) on keybase.
* I have a public key ASD0XprtOq0A_d35omUe9KDV9RXlxgErRSQt7SoxVdN3pAo
To claim this, I am signing this object:
// 2
const { Ed25519Provider } = require('key-did-provider-ed25519')
//import { Ed25519Provider } from 'key-did-provider-ed25519'
// 3
const { randomBytes } = require('@stablelib/random')
const seed = randomBytes(32)
// 4
const provider = new Ed25519Provider(seed)
["https://github.com/bitcoin/bitcoin","https://github.com/bitcoin/bips","https://github.com/ethereum/go-ethereum","https://github.com/ethereum/py-evm","https://github.com/ethereum/aleth","https://github.com/ethereum/web3.py","https://github.com/ethereum/solidity","https://github.com/ethereum/sharding","https://github.com/ethereum/casper","https://github.com/paritytech/parity","https://github.com/solana-labs/solana","https://github.com/input-output-hk/cardano-sl","https://github.com/input-output-hk/js-cardano-wasm","https://github.com/input-output-hk/plutus","https://github.com/input-output-hk/rust-cardano","https://github.com/input-output-hk/cardano-chain","https://github.com/paritytech/polkadot","https://github.com/dogecoin/dogecoin","https://github.com/dogecoin/libdohj","https://github.com/centrehq/centre-tokens","https://github.com/terra-project/core","https://github.com/litecoin-project/litecoin","https://github.com/smartcontractkit/chainlink","https://github.com/smartcontractkit/chainlink-ruby","https://
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run > ~/code-server-install.txt
curl -fsSL https://code-server.dev/install.sh | sh
echo -e "export PASSWORD=\`tr -cd '[:alnum:]' < /dev/urandom | fold -w31 | head -n1\`" > ~/run-code-sever.sh
echo -e "PASSWORD=\$PASSWORD" >> ~/run-code-sever.sh
echo -e "echo 'Password posted below'" >> ~/run-code-sever.sh
echo -e "echo \$PASSWORD" >> ~/run-code-sever.sh
echo "code-server --disable-telemetry --cert --auth password --bind-addr 0.0.0.0:8082" >> ~/run-code-sever.sh
chmod +x ~/run-code-sever.sh
cat ~/run-code-sever.sh
~/run-code-sever.sh
prepend_string = '''---
share: true
---
'''
import os
from glob import glob
files = glob("./files/**", recursive=True)
from pprint import pprint
for file_name in files:
if "md" in file_name and os.path.isfile(file_name):
num_lines = 3
import os
from glob import glob
files = glob("./dentropydaemon-wiki/**", recursive=True)
from pprint import pprint
for file_name in files:
if "md" in file_name and os.path.isfile(file_name):
file_contents = open(file_name, 'r').readlines()[3:]
new_file = open(file_name, 'w')
new_file.write("".join(file_contents))