Skip to content

Instantly share code, notes, and snippets.

View myarkchain.sh
#!/bin/bash
echo "running update"
sudo apt-get -y update
echo "downloading ark-deployer"
git clone https://github.com/ArkEcosystem/ark-deployer.git
echo "downloading nvm"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
View index.js
var fs = require('fs')
var path = require('path')
var _ = require('underscore');
var request = require('request')
// Return only base file name without dir
function getMostRecentFileName(dir) {
var files = fs.readdirSync(dir);
You can’t perform that action at this time.