Skip to content

Instantly share code, notes, and snippets.

View sibblegp's full-sized avatar

George Patterson Sibble sibblegp

View GitHub Profile
assemblyExcludedJars in assembly := {
val cp = (fullClasspath in assembly).value
cp filter { af =>
val file = af.data
(file.getName == "scala-library-" + scalaVersion.value + ".jar") &&
(file.getPath contains "org/scala-lang")
}
}
@littleskunk
littleskunk / Storj_Farmer_Contracts.js
Last active March 19, 2021 07:20
Storj_Farmer_Contracts.js
// How to run it
// Requires nodejs LTS, git, python2
// Open command line and move to the folder where this script is stored
// Edit the script and modify storage location (line 87)
// Check the startDate and EndDate and modify it if you need another timeframe (line 102 - 103)
// Stop the farmer
// Execute "npm install storj-lib"
// Execute "node Storj_Farmer_Contracts.js"
// Start the farmer