Scripts for the TAs
-
csv2json.hs
-
Convert
.csv
files to.json
format -
Usage:
runhaskell csv2json.hs < input.csv > output.json
-
-
documents:
-
installation:
npm install github
-
authentication for the scripts:
-
By username+passwd: not recommended
-
Using oauth2 token: You can manage your personal token here
Then in (some) scripts we have
gh.authenticate({ type: "oauth", token: fs.readFileSync("../my-oauth-token", { encoding: "utf-8" }) });
-
- Underscore.js:
npm install underscore