Skip to content

st945306/ghscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghscripts

Scripts for the TAs

Script List

  • csv2json.hs

    • Convert .csv files to .json format

    • Usage: runhaskell csv2json.hs < input.csv > output.json

GitHub API wrapper for Node

  • node-githb

  • 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" })
      });

Other possible dependencies

  • Underscore.js: npm install underscore

About

Scripts for the TAs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published