Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
update nus and ntu module lists
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuochun committed Jul 3, 2013
1 parent b9cd029 commit 0fcff9d
Show file tree
Hide file tree
Showing 15 changed files with 409 additions and 48 deletions.
8 changes: 4 additions & 4 deletions src/schools/sg.ntu/data/crawl-phantomjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
var webpage = require("webpage")
, fs = require("fs")
, sys = require("system")
, list = require("./degrees").degrees;
, list = require("./degrees.sem1.2014").degrees;

// Heading
console.log("\n************* CORS PLANNER **************");
Expand All @@ -24,10 +24,10 @@ var sem = (function(today) {
var year = today.getFullYear()
, month = today.getMonth(); // month is [0, 11]

// Jan 0 - July 6 (this year sem 2)
// Aug 7 - Nov 10 (next year sem 1)
// Jan 0 - May 4 (this year sem 2)
// June 5 - Nov 10 (next year sem 1)
// Dec 11 (next year sem 2)
if (month <= 6) {
if (month <= 4) {
return (year - 1) + ";2";
} else if (month >= 11) {
return year + ";2";
Expand Down
358 changes: 358 additions & 0 deletions src/schools/sg.ntu/data/degrees.sem1.2014.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,358 @@
exports.degrees = ["ACC;GA;1;F",
"ACC;GA;2;F",
"ACC;GA;3;F",
"ACC;GB;1;F",
"ACC;GB;2;F",
"ACC;GB;3;F",
"ADM;;1;F",
"ADM;ANIM;2;F",
"ADM;ANIM;3;F",
"ADM;ANIM;4;F",
"ADM;DIPH;2;F",
"ADM;DIPH;3;F",
"ADM;DIPH;4;F",
"ADM;FILM;2;F",
"ADM;FILM;3;F",
"ADM;FILM;4;F",
"ADM;INME;2;F",
"ADM;INME;3;F",
"ADM;INME;4;F",
"ADM;PROD;2;F",
"ADM;PROD;3;F",
"ADM;PROD;4;F",
"ADM;VISC;2;F",
"ADM;VISC;3;F",
"ADM;VISC;4;F",
"AERO;;1;F",
"AERO;;2;F",
"AERO;;3;F",
"AERO;;4;F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C;;4;F",
"MAT;;1;F",
"MAT;;2;F",
"MAT;;3;F",
"MAT;;4;F",
"MATH;;1;F",
"MATH;;2;F",
"MATH;AMAS;1;F",
"MATH;AMAS;2;F",
"MATH;AMAS;3;F",
"MATH;AMAS;4;F",
"MATH;BA;1;F",
"MATH;BA;2;F",
"MATH;BA;3;F",
"MATH;BA;4;F",
"MATH;PMAS;1;F",
"MATH;PMAS;2;F",
"MATH;PMAS;3;F",
"MATH;PMAS;4;F",
"MATH;STAT;1;F",
"MATH;STAT;2;F",
"MATH;STAT;3;F",
"MATH;STAT;4;F",
"ME;;1;F",
"ME;;2;F",
"ME;;3;F",
"ME;;4;F",
"ME;;5;F",
"ME;DES;2;F",
"ME;DES;3;F",
"ME;DES;4;F",
"ME;MEC;2;F",
"ME;MEC;3;F",
"ME;MEC;4;F",
"MS;;1;F",
"MS;;2;F",
"MS;;3;F",
"MS;;4;F",
"MS;MSB;1;F",
"MS;MSB;2;F",
"MS;MSB;3;F",
"MS;MSB;4;F",
"PHSC;;1;F",
"PHSC;;2;F",
"PHY;;1;F",
"PHY;APHY;1;F",
"PHY;APHY;2;F",
"PHY;APHY;3;F",
"PHY;APHY;4;F",
"PHY;PPHY;1;F",
"PHY;PPHY;2;F",
"PHY;PPHY;3;F",
"PHY;PPHY;4;F",
"PPGA;;1;F",
"PSY;;1;F",
"PSY;;2;F",
"PSY;;3;F",
"PSY;;4;F",
"REP;;1;F",
"REP;;2;F",
"SOC;;1;F",
"SOC;;2;F",
"SOC;;3;F",
"SOC;;4;F",
"SSM;;1;F",
"SSM;;2;F",
"SSM;;3;F",
"SSM;;4;F",
"ACBS;;1;F",
"ACBS;ACS;2;F",
"ACBS;ACS;3;F",
"ACBS;ACS;4;F",
"ACBS;BAF;2;F",
"ACBS;BAF;3;F",
"ACBS;BAF;4;F",
"ACBS;GA;1;F",
"ACBS;GA;2;F",
"ACBS;GA;3;F",
"ACBS;GA;4;F",
"ACBS;GB;1;F",
"ACBS;GB;2;F",
"ACB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GLOAD;MAT;X;F",
"GLOAD;MATH;X;F",
"GLOAD;ME;X;F",
"GLOAD;MS;X;F",
"GLOAD;NIE;X;F",
"GLOAD;NTC;X;F",
"GLOAD;PHY;X;F",
"GLOAD;PPGA;X;F",
"GLOAD;PSY;X;F",
"GLOAD;SOC;X;F",
"GLOAD;SSM;X;F"];
2 changes: 1 addition & 1 deletion src/schools/sg.ntu/data/list.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/schools/sg.ntu/data/list.sem1.2014.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/schools/sg.ntu/data/list.sem2.2013.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0fcff9d

Please sign in to comment.