From f9b86b245dcacb7e50908147152dbeea33e8c417 Mon Sep 17 00:00:00 2001 From: Kalindu De Costa Date: Wed, 13 Oct 2021 17:38:06 -0400 Subject: [PATCH] Code attempts --- colors-text.txt | 512 +++++++++++++++++++++++++++++++++++++++++++++ colors.js | 25 +++ data.json | 1 + package-lock.json | 86 ++++++++ package.json | 1 + stats.js | 8 +- stats/students.csv | 206 ++++++++++++++++++ test.py | 7 + user.js | 43 ++++ 9 files changed, 887 insertions(+), 2 deletions(-) create mode 100644 colors-text.txt create mode 100644 colors.js create mode 100644 data.json create mode 100644 stats/students.csv create mode 100644 test.py create mode 100644 user.js diff --git a/colors-text.txt b/colors-text.txt new file mode 100644 index 0000000..570224f --- /dev/null +++ b/colors-text.txt @@ -0,0 +1,512 @@ +"color add Black #000000", +"color add Maroon #800000", +"color add Green #008000", +"color add Olive #808000", +"color add Navy #000080", +"color add Purple #800080", +"color add Teal #008080", +"color add Silver #c0c0c0", +"color add Grey #808080", +"color add Red #ff0000", +"color add Lime #00ff00", +"color add Yellow #ffff00", +"color add Blue #0000ff", +"color add Fuchsia #ff00ff", +"color add Aqua #00ffff", +"color add White #ffffff", +"color add Grey0 #000000", +"color add NavyBlue #00005f", +"color add DarkBlue #000087", +"color add Blue3 #0000af", +"color add Blue3 #0000d7", +"color add Blue1 #0000ff", +"color add DarkGreen #005f00", +"color add DeepSkyBlue4 #005f5f", +"color add DeepSkyBlue4 #005f87", +"color add DeepSkyBlue4 #005faf", +"color add DodgerBlue3 #005fd7", +"color add DodgerBlue2 #005fff", +"color add Green4 #008700", +"color add SpringGreen4 #00875f", +"color add Turquoise4 #008787", +"color add DeepSkyBlue3 #0087af", +"color add DeepSkyBlue3 #0087d7", +"color add DodgerBlue1 #0087ff", +"color add Green3 #00af00", +"color add SpringGreen3 #00af5f", +"color add DarkCyan #00af87", +"color add LightSeaGreen #00afaf", +"color add DeepSkyBlue2 #00afd7", +"color add DeepSkyBlue1 #00afff", +"color add Green3 #00d700", +"color add SpringGreen3 #00d75f", +"color add SpringGreen2 #00d787", +"color add Cyan3 #00d7af", +"color add DarkTurquoise #00d7d7", +"color add Turquoise2 #00d7ff", +"color add Green1 #00ff00", +"color add SpringGreen2 #00ff5f", +"color add SpringGreen1 #00ff87", +"color add MediumSpringGreen #00ffaf", +"color add Cyan2 #00ffd7", +"color add Cyan1 #00ffff", +"color add DarkRed #5f0000", +"color add DeepPink4 #5f005f", +"color add Purple4 #5f0087", +"color add Purple4 #5f00af", +"color add Purple3 #5f00d7", +"color add BlueViolet #5f00ff", +"color add Orange4 #5f5f00", +"color add Grey37 #5f5f5f", +"color add MediumPurple4 #5f5f87", +"color add SlateBlue3 #5f5faf", +"color add SlateBlue3 #5f5fd7", +"color add RoyalBlue1 #5f5fff", +"color add Chartreuse4 #5f8700", +"color add DarkSeaGreen4 #5f875f", +"color add PaleTurquoise4 #5f8787", +"color add SteelBlue #5f87af", +"color add SteelBlue3 #5f87d7", +"color add CornflowerBlue #5f87ff", +"color add Chartreuse3 #5faf00", +"color add DarkSeaGreen4 #5faf5f", +"color add CadetBlue #5faf87", +"color add CadetBlue #5fafaf", +"color add SkyBlue3 #5fafd7", +"color add SteelBlue1 #5fafff", +"color add Chartreuse3 #5fd700", +"color add PaleGreen3 #5fd75f", +"color add SeaGreen3 #5fd787", +"color add Aquamarine3 #5fd7af", +"color add MediumTurquoise #5fd7d7", +"color add SteelBlue1 #5fd7ff", +"color add Chartreuse2 #5fff00", +"color add SeaGreen2 #5fff5f", +"color add SeaGreen1 #5fff87", +"color add SeaGreen1 #5fffaf", +"color add Aquamarine1 #5fffd7", +"color add DarkSlateGray2 #5fffff", +"color add DarkRed #870000", +"color add DeepPink4 #87005f", +"color add DarkMagenta #870087", +"color add DarkMagenta #8700af", +"color add DarkViolet #8700d7", +"color add Purple #8700ff", +"color add Orange4 #875f00", +"color add LightPink4 #875f5f", +"color add Plum4 #875f87", +"color add MediumPurple3 #875faf", +"color add MediumPurple3 #875fd7", +"color add SlateBlue1 #875fff", +"color add Yellow4 #878700", +"color add Wheat4 #87875f", +"color add Grey53 #878787", +"color add LightSlateGrey #8787af", +"color add MediumPurple #8787d7", +"color add LightSlateBlue #8787ff", +"color add Yellow4 #87af00", +"color add DarkOliveGreen3 #87af5f", +"color add DarkSeaGreen #87af87", +"color add LightSkyBlue3 #87afaf", +"color add LightSkyBlue3 #87afd7", +"color add SkyBlue2 #87afff", +"color add Chartreuse2 #87d700", +"color add DarkOliveGreen3 #87d75f", +"color add PaleGreen3 #87d787", +"color add DarkSeaGreen3 #87d7af", +"color add DarkSlateGray3 #87d7d7", +"color add SkyBlue1 #87d7ff", +"color add Chartreuse1 #87ff00", +"color add LightGreen #87ff5f", +"color add LightGreen #87ff87", +"color add PaleGreen1 #87ffaf", +"color add Aquamarine1 #87ffd7", +"color add DarkSlateGray1 #87ffff", +"color add Red3 #af0000", +"color add DeepPink4 #af005f", +"color add MediumVioletRed #af0087", +"color add Magenta3 #af00af", +"color add DarkViolet #af00d7", +"color add Purple #af00ff", +"color add DarkOrange3 #af5f00", +"color add IndianRed #af5f5f", +"color add HotPink3 #af5f87", +"color add MediumOrchid3 #af5faf", +"color add MediumOrchid #af5fd7", +"color add MediumPurple2 #af5fff", +"color add DarkGoldenrod #af8700", +"color add LightSalmon3 #af875f", +"color add RosyBrown #af8787", +"color add Grey63 #af87af", +"color add MediumPurple2 #af87d7", +"color add MediumPurple1 #af87ff", +"color add Gold3 #afaf00", +"color add DarkKhaki #afaf5f", +"color add NavajoWhite3 #afaf87", +"color add Grey69 #afafaf", +"color add LightSteelBlue3 #afafd7", +"color add LightSteelBlue #afafff", +"color add Yellow3 #afd700", +"color add DarkOliveGreen3 #afd75f", +"color add DarkSeaGreen3 #afd787", +"color add DarkSeaGreen2 #afd7af", +"color add LightCyan3 #afd7d7", +"color add LightSkyBlue1 #afd7ff", +"color add GreenYellow #afff00", +"color add DarkOliveGreen2 #afff5f", +"color add PaleGreen1 #afff87", +"color add DarkSeaGreen2 #afffaf", +"color add DarkSeaGreen1 #afffd7", +"color add PaleTurquoise1 #afffff", +"color add Red3 #d70000", +"color add DeepPink3 #d7005f", +"color add DeepPink3 #d70087", +"color add Magenta3 #d700af", +"color add Magenta3 #d700d7", +"color add Magenta2 #d700ff", +"color add DarkOrange3 #d75f00", +"color add IndianRed #d75f5f", +"color add HotPink3 #d75f87", +"color add HotPink2 #d75faf", +"color add Orchid #d75fd7", +"color add MediumOrchid1 #d75fff", +"color add Orange3 #d78700", +"color add LightSalmon3 #d7875f", +"color add LightPink3 #d78787", +"color add Pink3 #d787af", +"color add Plum3 #d787d7", +"color add Violet #d787ff", +"color add Gold3 #d7af00", +"color add LightGoldenrod3 #d7af5f", +"color add Tan #d7af87", +"color add MistyRose3 #d7afaf", +"color add Thistle3 #d7afd7", +"color add Plum2 #d7afff", +"color add Yellow3 #d7d700", +"color add Khaki3 #d7d75f", +"color add LightGoldenrod2 #d7d787", +"color add LightYellow3 #d7d7af", +"color add Grey84 #d7d7d7", +"color add LightSteelBlue1 #d7d7ff", +"color add Yellow2 #d7ff00", +"color add DarkOliveGreen1 #d7ff5f", +"color add DarkOliveGreen1 #d7ff87", +"color add DarkSeaGreen1 #d7ffaf", +"color add Honeydew2 #d7ffd7", +"color add LightCyan1 #d7ffff", +"color add Red1 #ff0000", +"color add DeepPink2 #ff005f", +"color add DeepPink1 #ff0087", +"color add DeepPink1 #ff00af", +"color add Magenta2 #ff00d7", +"color add Magenta1 #ff00ff", +"color add OrangeRed1 #ff5f00", +"color add IndianRed1 #ff5f5f", +"color add IndianRed1 #ff5f87", +"color add HotPink #ff5faf", +"color add HotPink #ff5fd7", +"color add MediumOrchid1 #ff5fff", +"color add DarkOrange #ff8700", +"color add Salmon1 #ff875f", +"color add LightCoral #ff8787", +"color add PaleVioletRed1 #ff87af", +"color add Orchid2 #ff87d7", +"color add Orchid1 #ff87ff", +"color add Orange1 #ffaf00", +"color add SandyBrown #ffaf5f", +"color add LightSalmon1 #ffaf87", +"color add LightPink1 #ffafaf", +"color add Pink1 #ffafd7", +"color add Plum1 #ffafff", +"color add Gold1 #ffd700", +"color add LightGoldenrod2 #ffd75f", +"color add LightGoldenrod2 #ffd787", +"color add NavajoWhite1 #ffd7af", +"color add MistyRose1 #ffd7d7", +"color add Thistle1 #ffd7ff", +"color add Yellow1 #ffff00", +"color add LightGoldenrod1 #ffff5f", +"color add Khaki1 #ffff87", +"color add Wheat1 #ffffaf", +"color add Cornsilk1 #ffffd7", +"color add Grey100 #ffffff", +"color add Grey3 #080808", +"color add Grey7 #121212", +"color add Grey11 #1c1c1c", +"color add Grey15 #262626", +"color add Grey19 #303030", +"color add Grey23 #3a3a3a", +"color add Grey27 #444444", +"color add Grey30 #4e4e4e", +"color add Grey35 #585858", +"color add Grey39 #626262", +"color add Grey42 #6c6c6c", +"color add Grey46 #767676", +"color add Grey50 #808080", +"color add Grey54 #8a8a8a", +"color add Grey58 #949494", +"color add Grey62 #9e9e9e", +"color add Grey66 #a8a8a8", +"color add Grey70 #b2b2b2", +"color add Grey74 #bcbcbc", +"color add Grey78 #c6c6c6", +"color add Grey82 #d0d0d0", +"color add Grey85 #dadada", +"color add Grey89 #e4e4e4", +"color add Grey93 #eeeeee", +"color add Black #000000", +"color add Maroon #800000", +"color add Green #008000", +"color add Olive #808000", +"color add Navy #000080", +"color add Purple #800080", +"color add Teal #008080", +"color add Silver #c0c0c0", +"color add Grey #808080", +"color add Red #ff0000", +"color add Lime #00ff00", +"color add Yellow #ffff00", +"color add Blue #0000ff", +"color add Fuchsia #ff00ff", +"color add Aqua #00ffff", +"color add White #ffffff", +"color add Grey0 #000000", +"color add NavyBlue #00005f", +"color add DarkBlue #000087", +"color add Blue3 #0000af", +"color add Blue3 #0000d7", +"color add Blue1 #0000ff", +"color add DarkGreen #005f00", +"color add DeepSkyBlue4 #005f5f", +"color add DeepSkyBlue4 #005f87", +"color add DeepSkyBlue4 #005faf", +"color add DodgerBlue3 #005fd7", +"color add DodgerBlue2 #005fff", +"color add Green4 #008700", +"color add SpringGreen4 #00875f", +"color add Turquoise4 #008787", +"color add DeepSkyBlue3 #0087af", +"color add DeepSkyBlue3 #0087d7", +"color add DodgerBlue1 #0087ff", +"color add Green3 #00af00", +"color add SpringGreen3 #00af5f", +"color add DarkCyan #00af87", +"color add LightSeaGreen #00afaf", +"color add DeepSkyBlue2 #00afd7", +"color add DeepSkyBlue1 #00afff", +"color add Green3 #00d700", +"color add SpringGreen3 #00d75f", +"color add SpringGreen2 #00d787", +"color add Cyan3 #00d7af", +"color add DarkTurquoise #00d7d7", +"color add Turquoise2 #00d7ff", +"color add Green1 #00ff00", +"color add SpringGreen2 #00ff5f", +"color add SpringGreen1 #00ff87", +"color add MediumSpringGreen #00ffaf", +"color add Cyan2 #00ffd7", +"color add Cyan1 #00ffff", +"color add DarkRed #5f0000", +"color add DeepPink4 #5f005f", +"color add Purple4 #5f0087", +"color add Purple4 #5f00af", +"color add Purple3 #5f00d7", +"color add BlueViolet #5f00ff", +"color add Orange4 #5f5f00", +"color add Grey37 #5f5f5f", +"color add MediumPurple4 #5f5f87", +"color add SlateBlue3 #5f5faf", +"color add SlateBlue3 #5f5fd7", +"color add RoyalBlue1 #5f5fff", +"color add Chartreuse4 #5f8700", +"color add DarkSeaGreen4 #5f875f", +"color add PaleTurquoise4 #5f8787", +"color add SteelBlue #5f87af", +"color add SteelBlue3 #5f87d7", +"color add CornflowerBlue #5f87ff", +"color add Chartreuse3 #5faf00", +"color add DarkSeaGreen4 #5faf5f", +"color add CadetBlue #5faf87", +"color add CadetBlue #5fafaf", +"color add SkyBlue3 #5fafd7", +"color add SteelBlue1 #5fafff", +"color add Chartreuse3 #5fd700", +"color add PaleGreen3 #5fd75f", +"color add SeaGreen3 #5fd787", +"color add Aquamarine3 #5fd7af", +"color add MediumTurquoise #5fd7d7", +"color add SteelBlue1 #5fd7ff", +"color add Chartreuse2 #5fff00", +"color add SeaGreen2 #5fff5f", +"color add SeaGreen1 #5fff87", +"color add SeaGreen1 #5fffaf", +"color add Aquamarine1 #5fffd7", +"color add DarkSlateGray2 #5fffff", +"color add DarkRed #870000", +"color add DeepPink4 #87005f", +"color add DarkMagenta #870087", +"color add DarkMagenta #8700af", +"color add DarkViolet #8700d7", +"color add Purple #8700ff", +"color add Orange4 #875f00", +"color add LightPink4 #875f5f", +"color add Plum4 #875f87", +"color add MediumPurple3 #875faf", +"color add MediumPurple3 #875fd7", +"color add SlateBlue1 #875fff", +"color add Yellow4 #878700", +"color add Wheat4 #87875f", +"color add Grey53 #878787", +"color add LightSlateGrey #8787af", +"color add MediumPurple #8787d7", +"color add LightSlateBlue #8787ff", +"color add Yellow4 #87af00", +"color add DarkOliveGreen3 #87af5f", +"color add DarkSeaGreen #87af87", +"color add LightSkyBlue3 #87afaf", +"color add LightSkyBlue3 #87afd7", +"color add SkyBlue2 #87afff", +"color add Chartreuse2 #87d700", +"color add DarkOliveGreen3 #87d75f", +"color add PaleGreen3 #87d787", +"color add DarkSeaGreen3 #87d7af", +"color add DarkSlateGray3 #87d7d7", +"color add SkyBlue1 #87d7ff", +"color add Chartreuse1 #87ff00", +"color add LightGreen #87ff5f", +"color add LightGreen #87ff87", +"color add PaleGreen1 #87ffaf", +"color add Aquamarine1 #87ffd7", +"color add DarkSlateGray1 #87ffff", +"color add Red3 #af0000", +"color add DeepPink4 #af005f", +"color add MediumVioletRed #af0087", +"color add Magenta3 #af00af", +"color add DarkViolet #af00d7", +"color add Purple #af00ff", +"color add DarkOrange3 #af5f00", +"color add IndianRed #af5f5f", +"color add HotPink3 #af5f87", +"color add MediumOrchid3 #af5faf", +"color add MediumOrchid #af5fd7", +"color add MediumPurple2 #af5fff", +"color add DarkGoldenrod #af8700", +"color add LightSalmon3 #af875f", +"color add RosyBrown #af8787", +"color add Grey63 #af87af", +"color add MediumPurple2 #af87d7", +"color add MediumPurple1 #af87ff", +"color add Gold3 #afaf00", +"color add DarkKhaki #afaf5f", +"color add NavajoWhite3 #afaf87", +"color add Grey69 #afafaf", +"color add LightSteelBlue3 #afafd7", +"color add LightSteelBlue #afafff", +"color add Yellow3 #afd700", +"color add DarkOliveGreen3 #afd75f", +"color add DarkSeaGreen3 #afd787", +"color add DarkSeaGreen2 #afd7af", +"color add LightCyan3 #afd7d7", +"color add LightSkyBlue1 #afd7ff", +"color add GreenYellow #afff00", +"color add DarkOliveGreen2 #afff5f", +"color add PaleGreen1 #afff87", +"color add DarkSeaGreen2 #afffaf", +"color add DarkSeaGreen1 #afffd7", +"color add PaleTurquoise1 #afffff", +"color add Red3 #d70000", +"color add DeepPink3 #d7005f", +"color add DeepPink3 #d70087", +"color add Magenta3 #d700af", +"color add Magenta3 #d700d7", +"color add Magenta2 #d700ff", +"color add DarkOrange3 #d75f00", +"color add IndianRed #d75f5f", +"color add HotPink3 #d75f87", +"color add HotPink2 #d75faf", +"color add Orchid #d75fd7", +"color add MediumOrchid1 #d75fff", +"color add Orange3 #d78700", +"color add LightSalmon3 #d7875f", +"color add LightPink3 #d78787", +"color add Pink3 #d787af", +"color add Plum3 #d787d7", +"color add Violet #d787ff", +"color add Gold3 #d7af00", +"color add LightGoldenrod3 #d7af5f", +"color add Tan #d7af87", +"color add MistyRose3 #d7afaf", +"color add Thistle3 #d7afd7", +"color add Plum2 #d7afff", +"color add Yellow3 #d7d700", +"color add Khaki3 #d7d75f", +"color add LightGoldenrod2 #d7d787", +"color add LightYellow3 #d7d7af", +"color add Grey84 #d7d7d7", +"color add LightSteelBlue1 #d7d7ff", +"color add Yellow2 #d7ff00", +"color add DarkOliveGreen1 #d7ff5f", +"color add DarkOliveGreen1 #d7ff87", +"color add DarkSeaGreen1 #d7ffaf", +"color add Honeydew2 #d7ffd7", +"color add LightCyan1 #d7ffff", +"color add Red1 #ff0000", +"color add DeepPink2 #ff005f", +"color add DeepPink1 #ff0087", +"color add DeepPink1 #ff00af", +"color add Magenta2 #ff00d7", +"color add Magenta1 #ff00ff", +"color add OrangeRed1 #ff5f00", +"color add IndianRed1 #ff5f5f", +"color add IndianRed1 #ff5f87", +"color add HotPink #ff5faf", +"color add HotPink #ff5fd7", +"color add MediumOrchid1 #ff5fff", +"color add DarkOrange #ff8700", +"color add Salmon1 #ff875f", +"color add LightCoral #ff8787", +"color add PaleVioletRed1 #ff87af", +"color add Orchid2 #ff87d7", +"color add Orchid1 #ff87ff", +"color add Orange1 #ffaf00", +"color add SandyBrown #ffaf5f", +"color add LightSalmon1 #ffaf87", +"color add LightPink1 #ffafaf", +"color add Pink1 #ffafd7", +"color add Plum1 #ffafff", +"color add Gold1 #ffd700", +"color add LightGoldenrod2 #ffd75f", +"color add LightGoldenrod2 #ffd787", +"color add NavajoWhite1 #ffd7af", +"color add MistyRose1 #ffd7d7", +"color add Thistle1 #ffd7ff", +"color add Yellow1 #ffff00", +"color add LightGoldenrod1 #ffff5f", +"color add Khaki1 #ffff87", +"color add Wheat1 #ffffaf", +"color add Cornsilk1 #ffffd7", +"color add Grey100 #ffffff", +"color add Grey3 #080808", +"color add Grey7 #121212", +"color add Grey11 #1c1c1c", +"color add Grey15 #262626", +"color add Grey19 #303030", +"color add Grey23 #3a3a3a", +"color add Grey27 #444444", +"color add Grey30 #4e4e4e", +"color add Grey35 #585858", +"color add Grey39 #626262", +"color add Grey42 #6c6c6c", +"color add Grey46 #767676", +"color add Grey50 #808080", +"color add Grey54 #8a8a8a", +"color add Grey58 #949494", +"color add Grey62 #9e9e9e", +"color add Grey66 #a8a8a8", +"color add Grey70 #b2b2b2", +"color add Grey74 #bcbcbc", +"color add Grey78 #c6c6c6", +"color add Grey82 #d0d0d0", +"color add Grey85 #dadada", +"color add Grey89 #e4e4e4", +"color add Grey93 #eeeeee", diff --git a/colors.js b/colors.js new file mode 100644 index 0000000..3db8a7b --- /dev/null +++ b/colors.js @@ -0,0 +1,25 @@ +const data = require('./data.json'); +const fs = require('fs'); + +var colours = [] + +console.log("\nSetting Colours...\n"); + +fs.readFile('./data.json', 'utf8', (err, jsonString) => { + if (err) { + console.log("File read failed:", err) + return + } + + var data = JSON.parse(jsonString); + data.forEach(element => { + fs.appendFileSync('colors-text.txt', "\"color add " + element.name + " " + element.hexString + "\",\n"); + }); + +}) + +console.log("\n------------------------------\n"); +process.on('SIGINT', function() { + console.log("ok."); + process.exit(); +}); \ No newline at end of file diff --git a/data.json b/data.json new file mode 100644 index 0000000..6df7612 --- /dev/null +++ b/data.json @@ -0,0 +1 @@ +[{"colorId":0,"hexString":"#000000","rgb":{"r":0,"g":0,"b":0},"hsl":{"h":0,"s":0,"l":0},"name":"Black"},{"colorId":1,"hexString":"#800000","rgb":{"r":128,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":25},"name":"Maroon"},{"colorId":2,"hexString":"#008000","rgb":{"r":0,"g":128,"b":0},"hsl":{"h":120,"s":100,"l":25},"name":"Green"},{"colorId":3,"hexString":"#808000","rgb":{"r":128,"g":128,"b":0},"hsl":{"h":60,"s":100,"l":25},"name":"Olive"},{"colorId":4,"hexString":"#000080","rgb":{"r":0,"g":0,"b":128},"hsl":{"h":240,"s":100,"l":25},"name":"Navy"},{"colorId":5,"hexString":"#800080","rgb":{"r":128,"g":0,"b":128},"hsl":{"h":300,"s":100,"l":25},"name":"Purple"},{"colorId":6,"hexString":"#008080","rgb":{"r":0,"g":128,"b":128},"hsl":{"h":180,"s":100,"l":25},"name":"Teal"},{"colorId":7,"hexString":"#c0c0c0","rgb":{"r":192,"g":192,"b":192},"hsl":{"h":0,"s":0,"l":75},"name":"Silver"},{"colorId":8,"hexString":"#808080","rgb":{"r":128,"g":128,"b":128},"hsl":{"h":0,"s":0,"l":50},"name":"Grey"},{"colorId":9,"hexString":"#ff0000","rgb":{"r":255,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":50},"name":"Red"},{"colorId":10,"hexString":"#00ff00","rgb":{"r":0,"g":255,"b":0},"hsl":{"h":120,"s":100,"l":50},"name":"Lime"},{"colorId":11,"hexString":"#ffff00","rgb":{"r":255,"g":255,"b":0},"hsl":{"h":60,"s":100,"l":50},"name":"Yellow"},{"colorId":12,"hexString":"#0000ff","rgb":{"r":0,"g":0,"b":255},"hsl":{"h":240,"s":100,"l":50},"name":"Blue"},{"colorId":13,"hexString":"#ff00ff","rgb":{"r":255,"g":0,"b":255},"hsl":{"h":300,"s":100,"l":50},"name":"Fuchsia"},{"colorId":14,"hexString":"#00ffff","rgb":{"r":0,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":50},"name":"Aqua"},{"colorId":15,"hexString":"#ffffff","rgb":{"r":255,"g":255,"b":255},"hsl":{"h":0,"s":0,"l":100},"name":"White"},{"colorId":16,"hexString":"#000000","rgb":{"r":0,"g":0,"b":0},"hsl":{"h":0,"s":0,"l":0},"name":"Grey0"},{"colorId":17,"hexString":"#00005f","rgb":{"r":0,"g":0,"b":95},"hsl":{"h":240,"s":100,"l":18},"name":"NavyBlue"},{"colorId":18,"hexString":"#000087","rgb":{"r":0,"g":0,"b":135},"hsl":{"h":240,"s":100,"l":26},"name":"DarkBlue"},{"colorId":19,"hexString":"#0000af","rgb":{"r":0,"g":0,"b":175},"hsl":{"h":240,"s":100,"l":34},"name":"Blue3"},{"colorId":20,"hexString":"#0000d7","rgb":{"r":0,"g":0,"b":215},"hsl":{"h":240,"s":100,"l":42},"name":"Blue3"},{"colorId":21,"hexString":"#0000ff","rgb":{"r":0,"g":0,"b":255},"hsl":{"h":240,"s":100,"l":50},"name":"Blue1"},{"colorId":22,"hexString":"#005f00","rgb":{"r":0,"g":95,"b":0},"hsl":{"h":120,"s":100,"l":18},"name":"DarkGreen"},{"colorId":23,"hexString":"#005f5f","rgb":{"r":0,"g":95,"b":95},"hsl":{"h":180,"s":100,"l":18},"name":"DeepSkyBlue4"},{"colorId":24,"hexString":"#005f87","rgb":{"r":0,"g":95,"b":135},"hsl":{"h":197.777777777778,"s":100,"l":26},"name":"DeepSkyBlue4"},{"colorId":25,"hexString":"#005faf","rgb":{"r":0,"g":95,"b":175},"hsl":{"h":207.428571428571,"s":100,"l":34},"name":"DeepSkyBlue4"},{"colorId":26,"hexString":"#005fd7","rgb":{"r":0,"g":95,"b":215},"hsl":{"h":213.488372093023,"s":100,"l":42},"name":"DodgerBlue3"},{"colorId":27,"hexString":"#005fff","rgb":{"r":0,"g":95,"b":255},"hsl":{"h":217.647058823529,"s":100,"l":50},"name":"DodgerBlue2"},{"colorId":28,"hexString":"#008700","rgb":{"r":0,"g":135,"b":0},"hsl":{"h":120,"s":100,"l":26},"name":"Green4"},{"colorId":29,"hexString":"#00875f","rgb":{"r":0,"g":135,"b":95},"hsl":{"h":162.222222222222,"s":100,"l":26},"name":"SpringGreen4"},{"colorId":30,"hexString":"#008787","rgb":{"r":0,"g":135,"b":135},"hsl":{"h":180,"s":100,"l":26},"name":"Turquoise4"},{"colorId":31,"hexString":"#0087af","rgb":{"r":0,"g":135,"b":175},"hsl":{"h":193.714285714286,"s":100,"l":34},"name":"DeepSkyBlue3"},{"colorId":32,"hexString":"#0087d7","rgb":{"r":0,"g":135,"b":215},"hsl":{"h":202.325581395349,"s":100,"l":42},"name":"DeepSkyBlue3"},{"colorId":33,"hexString":"#0087ff","rgb":{"r":0,"g":135,"b":255},"hsl":{"h":208.235294117647,"s":100,"l":50},"name":"DodgerBlue1"},{"colorId":34,"hexString":"#00af00","rgb":{"r":0,"g":175,"b":0},"hsl":{"h":120,"s":100,"l":34},"name":"Green3"},{"colorId":35,"hexString":"#00af5f","rgb":{"r":0,"g":175,"b":95},"hsl":{"h":152.571428571429,"s":100,"l":34},"name":"SpringGreen3"},{"colorId":36,"hexString":"#00af87","rgb":{"r":0,"g":175,"b":135},"hsl":{"h":166.285714285714,"s":100,"l":34},"name":"DarkCyan"},{"colorId":37,"hexString":"#00afaf","rgb":{"r":0,"g":175,"b":175},"hsl":{"h":180,"s":100,"l":34},"name":"LightSeaGreen"},{"colorId":38,"hexString":"#00afd7","rgb":{"r":0,"g":175,"b":215},"hsl":{"h":191.162790697674,"s":100,"l":42},"name":"DeepSkyBlue2"},{"colorId":39,"hexString":"#00afff","rgb":{"r":0,"g":175,"b":255},"hsl":{"h":198.823529411765,"s":100,"l":50},"name":"DeepSkyBlue1"},{"colorId":40,"hexString":"#00d700","rgb":{"r":0,"g":215,"b":0},"hsl":{"h":120,"s":100,"l":42},"name":"Green3"},{"colorId":41,"hexString":"#00d75f","rgb":{"r":0,"g":215,"b":95},"hsl":{"h":146.511627906977,"s":100,"l":42},"name":"SpringGreen3"},{"colorId":42,"hexString":"#00d787","rgb":{"r":0,"g":215,"b":135},"hsl":{"h":157.674418604651,"s":100,"l":42},"name":"SpringGreen2"},{"colorId":43,"hexString":"#00d7af","rgb":{"r":0,"g":215,"b":175},"hsl":{"h":168.837209302326,"s":100,"l":42},"name":"Cyan3"},{"colorId":44,"hexString":"#00d7d7","rgb":{"r":0,"g":215,"b":215},"hsl":{"h":180,"s":100,"l":42},"name":"DarkTurquoise"},{"colorId":45,"hexString":"#00d7ff","rgb":{"r":0,"g":215,"b":255},"hsl":{"h":189.411764705882,"s":100,"l":50},"name":"Turquoise2"},{"colorId":46,"hexString":"#00ff00","rgb":{"r":0,"g":255,"b":0},"hsl":{"h":120,"s":100,"l":50},"name":"Green1"},{"colorId":47,"hexString":"#00ff5f","rgb":{"r":0,"g":255,"b":95},"hsl":{"h":142.352941176471,"s":100,"l":50},"name":"SpringGreen2"},{"colorId":48,"hexString":"#00ff87","rgb":{"r":0,"g":255,"b":135},"hsl":{"h":151.764705882353,"s":100,"l":50},"name":"SpringGreen1"},{"colorId":49,"hexString":"#00ffaf","rgb":{"r":0,"g":255,"b":175},"hsl":{"h":161.176470588235,"s":100,"l":50},"name":"MediumSpringGreen"},{"colorId":50,"hexString":"#00ffd7","rgb":{"r":0,"g":255,"b":215},"hsl":{"h":170.588235294118,"s":100,"l":50},"name":"Cyan2"},{"colorId":51,"hexString":"#00ffff","rgb":{"r":0,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":50},"name":"Cyan1"},{"colorId":52,"hexString":"#5f0000","rgb":{"r":95,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":18},"name":"DarkRed"},{"colorId":53,"hexString":"#5f005f","rgb":{"r":95,"g":0,"b":95},"hsl":{"h":300,"s":100,"l":18},"name":"DeepPink4"},{"colorId":54,"hexString":"#5f0087","rgb":{"r":95,"g":0,"b":135},"hsl":{"h":282.222222222222,"s":100,"l":26},"name":"Purple4"},{"colorId":55,"hexString":"#5f00af","rgb":{"r":95,"g":0,"b":175},"hsl":{"h":272.571428571429,"s":100,"l":34},"name":"Purple4"},{"colorId":56,"hexString":"#5f00d7","rgb":{"r":95,"g":0,"b":215},"hsl":{"h":266.511627906977,"s":100,"l":42},"name":"Purple3"},{"colorId":57,"hexString":"#5f00ff","rgb":{"r":95,"g":0,"b":255},"hsl":{"h":262.352941176471,"s":100,"l":50},"name":"BlueViolet"},{"colorId":58,"hexString":"#5f5f00","rgb":{"r":95,"g":95,"b":0},"hsl":{"h":60,"s":100,"l":18},"name":"Orange4"},{"colorId":59,"hexString":"#5f5f5f","rgb":{"r":95,"g":95,"b":95},"hsl":{"h":0,"s":0,"l":37},"name":"Grey37"},{"colorId":60,"hexString":"#5f5f87","rgb":{"r":95,"g":95,"b":135},"hsl":{"h":240,"s":17,"l":45},"name":"MediumPurple4"},{"colorId":61,"hexString":"#5f5faf","rgb":{"r":95,"g":95,"b":175},"hsl":{"h":240,"s":33,"l":52},"name":"SlateBlue3"},{"colorId":62,"hexString":"#5f5fd7","rgb":{"r":95,"g":95,"b":215},"hsl":{"h":240,"s":60,"l":60},"name":"SlateBlue3"},{"colorId":63,"hexString":"#5f5fff","rgb":{"r":95,"g":95,"b":255},"hsl":{"h":240,"s":100,"l":68},"name":"RoyalBlue1"},{"colorId":64,"hexString":"#5f8700","rgb":{"r":95,"g":135,"b":0},"hsl":{"h":77.7777777777778,"s":100,"l":26},"name":"Chartreuse4"},{"colorId":65,"hexString":"#5f875f","rgb":{"r":95,"g":135,"b":95},"hsl":{"h":120,"s":17,"l":45},"name":"DarkSeaGreen4"},{"colorId":66,"hexString":"#5f8787","rgb":{"r":95,"g":135,"b":135},"hsl":{"h":180,"s":17,"l":45},"name":"PaleTurquoise4"},{"colorId":67,"hexString":"#5f87af","rgb":{"r":95,"g":135,"b":175},"hsl":{"h":210,"s":33,"l":52},"name":"SteelBlue"},{"colorId":68,"hexString":"#5f87d7","rgb":{"r":95,"g":135,"b":215},"hsl":{"h":220,"s":60,"l":60},"name":"SteelBlue3"},{"colorId":69,"hexString":"#5f87ff","rgb":{"r":95,"g":135,"b":255},"hsl":{"h":225,"s":100,"l":68},"name":"CornflowerBlue"},{"colorId":70,"hexString":"#5faf00","rgb":{"r":95,"g":175,"b":0},"hsl":{"h":87.4285714285714,"s":100,"l":34},"name":"Chartreuse3"},{"colorId":71,"hexString":"#5faf5f","rgb":{"r":95,"g":175,"b":95},"hsl":{"h":120,"s":33,"l":52},"name":"DarkSeaGreen4"},{"colorId":72,"hexString":"#5faf87","rgb":{"r":95,"g":175,"b":135},"hsl":{"h":150,"s":33,"l":52},"name":"CadetBlue"},{"colorId":73,"hexString":"#5fafaf","rgb":{"r":95,"g":175,"b":175},"hsl":{"h":180,"s":33,"l":52},"name":"CadetBlue"},{"colorId":74,"hexString":"#5fafd7","rgb":{"r":95,"g":175,"b":215},"hsl":{"h":200,"s":60,"l":60},"name":"SkyBlue3"},{"colorId":75,"hexString":"#5fafff","rgb":{"r":95,"g":175,"b":255},"hsl":{"h":210,"s":100,"l":68},"name":"SteelBlue1"},{"colorId":76,"hexString":"#5fd700","rgb":{"r":95,"g":215,"b":0},"hsl":{"h":93.4883720930233,"s":100,"l":42},"name":"Chartreuse3"},{"colorId":77,"hexString":"#5fd75f","rgb":{"r":95,"g":215,"b":95},"hsl":{"h":120,"s":60,"l":60},"name":"PaleGreen3"},{"colorId":78,"hexString":"#5fd787","rgb":{"r":95,"g":215,"b":135},"hsl":{"h":140,"s":60,"l":60},"name":"SeaGreen3"},{"colorId":79,"hexString":"#5fd7af","rgb":{"r":95,"g":215,"b":175},"hsl":{"h":160,"s":60,"l":60},"name":"Aquamarine3"},{"colorId":80,"hexString":"#5fd7d7","rgb":{"r":95,"g":215,"b":215},"hsl":{"h":180,"s":60,"l":60},"name":"MediumTurquoise"},{"colorId":81,"hexString":"#5fd7ff","rgb":{"r":95,"g":215,"b":255},"hsl":{"h":195,"s":100,"l":68},"name":"SteelBlue1"},{"colorId":82,"hexString":"#5fff00","rgb":{"r":95,"g":255,"b":0},"hsl":{"h":97.6470588235294,"s":100,"l":50},"name":"Chartreuse2"},{"colorId":83,"hexString":"#5fff5f","rgb":{"r":95,"g":255,"b":95},"hsl":{"h":120,"s":100,"l":68},"name":"SeaGreen2"},{"colorId":84,"hexString":"#5fff87","rgb":{"r":95,"g":255,"b":135},"hsl":{"h":135,"s":100,"l":68},"name":"SeaGreen1"},{"colorId":85,"hexString":"#5fffaf","rgb":{"r":95,"g":255,"b":175},"hsl":{"h":150,"s":100,"l":68},"name":"SeaGreen1"},{"colorId":86,"hexString":"#5fffd7","rgb":{"r":95,"g":255,"b":215},"hsl":{"h":165,"s":100,"l":68},"name":"Aquamarine1"},{"colorId":87,"hexString":"#5fffff","rgb":{"r":95,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":68},"name":"DarkSlateGray2"},{"colorId":88,"hexString":"#870000","rgb":{"r":135,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":26},"name":"DarkRed"},{"colorId":89,"hexString":"#87005f","rgb":{"r":135,"g":0,"b":95},"hsl":{"h":317.777777777778,"s":100,"l":26},"name":"DeepPink4"},{"colorId":90,"hexString":"#870087","rgb":{"r":135,"g":0,"b":135},"hsl":{"h":300,"s":100,"l":26},"name":"DarkMagenta"},{"colorId":91,"hexString":"#8700af","rgb":{"r":135,"g":0,"b":175},"hsl":{"h":286.285714285714,"s":100,"l":34},"name":"DarkMagenta"},{"colorId":92,"hexString":"#8700d7","rgb":{"r":135,"g":0,"b":215},"hsl":{"h":277.674418604651,"s":100,"l":42},"name":"DarkViolet"},{"colorId":93,"hexString":"#8700ff","rgb":{"r":135,"g":0,"b":255},"hsl":{"h":271.764705882353,"s":100,"l":50},"name":"Purple"},{"colorId":94,"hexString":"#875f00","rgb":{"r":135,"g":95,"b":0},"hsl":{"h":42.2222222222222,"s":100,"l":26},"name":"Orange4"},{"colorId":95,"hexString":"#875f5f","rgb":{"r":135,"g":95,"b":95},"hsl":{"h":0,"s":17,"l":45},"name":"LightPink4"},{"colorId":96,"hexString":"#875f87","rgb":{"r":135,"g":95,"b":135},"hsl":{"h":300,"s":17,"l":45},"name":"Plum4"},{"colorId":97,"hexString":"#875faf","rgb":{"r":135,"g":95,"b":175},"hsl":{"h":270,"s":33,"l":52},"name":"MediumPurple3"},{"colorId":98,"hexString":"#875fd7","rgb":{"r":135,"g":95,"b":215},"hsl":{"h":260,"s":60,"l":60},"name":"MediumPurple3"},{"colorId":99,"hexString":"#875fff","rgb":{"r":135,"g":95,"b":255},"hsl":{"h":255,"s":100,"l":68},"name":"SlateBlue1"},{"colorId":100,"hexString":"#878700","rgb":{"r":135,"g":135,"b":0},"hsl":{"h":60,"s":100,"l":26},"name":"Yellow4"},{"colorId":101,"hexString":"#87875f","rgb":{"r":135,"g":135,"b":95},"hsl":{"h":60,"s":17,"l":45},"name":"Wheat4"},{"colorId":102,"hexString":"#878787","rgb":{"r":135,"g":135,"b":135},"hsl":{"h":0,"s":0,"l":52},"name":"Grey53"},{"colorId":103,"hexString":"#8787af","rgb":{"r":135,"g":135,"b":175},"hsl":{"h":240,"s":20,"l":60},"name":"LightSlateGrey"},{"colorId":104,"hexString":"#8787d7","rgb":{"r":135,"g":135,"b":215},"hsl":{"h":240,"s":50,"l":68},"name":"MediumPurple"},{"colorId":105,"hexString":"#8787ff","rgb":{"r":135,"g":135,"b":255},"hsl":{"h":240,"s":100,"l":76},"name":"LightSlateBlue"},{"colorId":106,"hexString":"#87af00","rgb":{"r":135,"g":175,"b":0},"hsl":{"h":73.7142857142857,"s":100,"l":34},"name":"Yellow4"},{"colorId":107,"hexString":"#87af5f","rgb":{"r":135,"g":175,"b":95},"hsl":{"h":90,"s":33,"l":52},"name":"DarkOliveGreen3"},{"colorId":108,"hexString":"#87af87","rgb":{"r":135,"g":175,"b":135},"hsl":{"h":120,"s":20,"l":60},"name":"DarkSeaGreen"},{"colorId":109,"hexString":"#87afaf","rgb":{"r":135,"g":175,"b":175},"hsl":{"h":180,"s":20,"l":60},"name":"LightSkyBlue3"},{"colorId":110,"hexString":"#87afd7","rgb":{"r":135,"g":175,"b":215},"hsl":{"h":210,"s":50,"l":68},"name":"LightSkyBlue3"},{"colorId":111,"hexString":"#87afff","rgb":{"r":135,"g":175,"b":255},"hsl":{"h":220,"s":100,"l":76},"name":"SkyBlue2"},{"colorId":112,"hexString":"#87d700","rgb":{"r":135,"g":215,"b":0},"hsl":{"h":82.3255813953488,"s":100,"l":42},"name":"Chartreuse2"},{"colorId":113,"hexString":"#87d75f","rgb":{"r":135,"g":215,"b":95},"hsl":{"h":100,"s":60,"l":60},"name":"DarkOliveGreen3"},{"colorId":114,"hexString":"#87d787","rgb":{"r":135,"g":215,"b":135},"hsl":{"h":120,"s":50,"l":68},"name":"PaleGreen3"},{"colorId":115,"hexString":"#87d7af","rgb":{"r":135,"g":215,"b":175},"hsl":{"h":150,"s":50,"l":68},"name":"DarkSeaGreen3"},{"colorId":116,"hexString":"#87d7d7","rgb":{"r":135,"g":215,"b":215},"hsl":{"h":180,"s":50,"l":68},"name":"DarkSlateGray3"},{"colorId":117,"hexString":"#87d7ff","rgb":{"r":135,"g":215,"b":255},"hsl":{"h":200,"s":100,"l":76},"name":"SkyBlue1"},{"colorId":118,"hexString":"#87ff00","rgb":{"r":135,"g":255,"b":0},"hsl":{"h":88.2352941176471,"s":100,"l":50},"name":"Chartreuse1"},{"colorId":119,"hexString":"#87ff5f","rgb":{"r":135,"g":255,"b":95},"hsl":{"h":105,"s":100,"l":68},"name":"LightGreen"},{"colorId":120,"hexString":"#87ff87","rgb":{"r":135,"g":255,"b":135},"hsl":{"h":120,"s":100,"l":76},"name":"LightGreen"},{"colorId":121,"hexString":"#87ffaf","rgb":{"r":135,"g":255,"b":175},"hsl":{"h":140,"s":100,"l":76},"name":"PaleGreen1"},{"colorId":122,"hexString":"#87ffd7","rgb":{"r":135,"g":255,"b":215},"hsl":{"h":160,"s":100,"l":76},"name":"Aquamarine1"},{"colorId":123,"hexString":"#87ffff","rgb":{"r":135,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":76},"name":"DarkSlateGray1"},{"colorId":124,"hexString":"#af0000","rgb":{"r":175,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":34},"name":"Red3"},{"colorId":125,"hexString":"#af005f","rgb":{"r":175,"g":0,"b":95},"hsl":{"h":327.428571428571,"s":100,"l":34},"name":"DeepPink4"},{"colorId":126,"hexString":"#af0087","rgb":{"r":175,"g":0,"b":135},"hsl":{"h":313.714285714286,"s":100,"l":34},"name":"MediumVioletRed"},{"colorId":127,"hexString":"#af00af","rgb":{"r":175,"g":0,"b":175},"hsl":{"h":300,"s":100,"l":34},"name":"Magenta3"},{"colorId":128,"hexString":"#af00d7","rgb":{"r":175,"g":0,"b":215},"hsl":{"h":288.837209302326,"s":100,"l":42},"name":"DarkViolet"},{"colorId":129,"hexString":"#af00ff","rgb":{"r":175,"g":0,"b":255},"hsl":{"h":281.176470588235,"s":100,"l":50},"name":"Purple"},{"colorId":130,"hexString":"#af5f00","rgb":{"r":175,"g":95,"b":0},"hsl":{"h":32.5714285714286,"s":100,"l":34},"name":"DarkOrange3"},{"colorId":131,"hexString":"#af5f5f","rgb":{"r":175,"g":95,"b":95},"hsl":{"h":0,"s":33,"l":52},"name":"IndianRed"},{"colorId":132,"hexString":"#af5f87","rgb":{"r":175,"g":95,"b":135},"hsl":{"h":330,"s":33,"l":52},"name":"HotPink3"},{"colorId":133,"hexString":"#af5faf","rgb":{"r":175,"g":95,"b":175},"hsl":{"h":300,"s":33,"l":52},"name":"MediumOrchid3"},{"colorId":134,"hexString":"#af5fd7","rgb":{"r":175,"g":95,"b":215},"hsl":{"h":280,"s":60,"l":60},"name":"MediumOrchid"},{"colorId":135,"hexString":"#af5fff","rgb":{"r":175,"g":95,"b":255},"hsl":{"h":270,"s":100,"l":68},"name":"MediumPurple2"},{"colorId":136,"hexString":"#af8700","rgb":{"r":175,"g":135,"b":0},"hsl":{"h":46.2857142857143,"s":100,"l":34},"name":"DarkGoldenrod"},{"colorId":137,"hexString":"#af875f","rgb":{"r":175,"g":135,"b":95},"hsl":{"h":30,"s":33,"l":52},"name":"LightSalmon3"},{"colorId":138,"hexString":"#af8787","rgb":{"r":175,"g":135,"b":135},"hsl":{"h":0,"s":20,"l":60},"name":"RosyBrown"},{"colorId":139,"hexString":"#af87af","rgb":{"r":175,"g":135,"b":175},"hsl":{"h":300,"s":20,"l":60},"name":"Grey63"},{"colorId":140,"hexString":"#af87d7","rgb":{"r":175,"g":135,"b":215},"hsl":{"h":270,"s":50,"l":68},"name":"MediumPurple2"},{"colorId":141,"hexString":"#af87ff","rgb":{"r":175,"g":135,"b":255},"hsl":{"h":260,"s":100,"l":76},"name":"MediumPurple1"},{"colorId":142,"hexString":"#afaf00","rgb":{"r":175,"g":175,"b":0},"hsl":{"h":60,"s":100,"l":34},"name":"Gold3"},{"colorId":143,"hexString":"#afaf5f","rgb":{"r":175,"g":175,"b":95},"hsl":{"h":60,"s":33,"l":52},"name":"DarkKhaki"},{"colorId":144,"hexString":"#afaf87","rgb":{"r":175,"g":175,"b":135},"hsl":{"h":60,"s":20,"l":60},"name":"NavajoWhite3"},{"colorId":145,"hexString":"#afafaf","rgb":{"r":175,"g":175,"b":175},"hsl":{"h":0,"s":0,"l":68},"name":"Grey69"},{"colorId":146,"hexString":"#afafd7","rgb":{"r":175,"g":175,"b":215},"hsl":{"h":240,"s":33,"l":76},"name":"LightSteelBlue3"},{"colorId":147,"hexString":"#afafff","rgb":{"r":175,"g":175,"b":255},"hsl":{"h":240,"s":100,"l":84},"name":"LightSteelBlue"},{"colorId":148,"hexString":"#afd700","rgb":{"r":175,"g":215,"b":0},"hsl":{"h":71.1627906976744,"s":100,"l":42},"name":"Yellow3"},{"colorId":149,"hexString":"#afd75f","rgb":{"r":175,"g":215,"b":95},"hsl":{"h":80,"s":60,"l":60},"name":"DarkOliveGreen3"},{"colorId":150,"hexString":"#afd787","rgb":{"r":175,"g":215,"b":135},"hsl":{"h":90,"s":50,"l":68},"name":"DarkSeaGreen3"},{"colorId":151,"hexString":"#afd7af","rgb":{"r":175,"g":215,"b":175},"hsl":{"h":120,"s":33,"l":76},"name":"DarkSeaGreen2"},{"colorId":152,"hexString":"#afd7d7","rgb":{"r":175,"g":215,"b":215},"hsl":{"h":180,"s":33,"l":76},"name":"LightCyan3"},{"colorId":153,"hexString":"#afd7ff","rgb":{"r":175,"g":215,"b":255},"hsl":{"h":210,"s":100,"l":84},"name":"LightSkyBlue1"},{"colorId":154,"hexString":"#afff00","rgb":{"r":175,"g":255,"b":0},"hsl":{"h":78.8235294117647,"s":100,"l":50},"name":"GreenYellow"},{"colorId":155,"hexString":"#afff5f","rgb":{"r":175,"g":255,"b":95},"hsl":{"h":90,"s":100,"l":68},"name":"DarkOliveGreen2"},{"colorId":156,"hexString":"#afff87","rgb":{"r":175,"g":255,"b":135},"hsl":{"h":100,"s":100,"l":76},"name":"PaleGreen1"},{"colorId":157,"hexString":"#afffaf","rgb":{"r":175,"g":255,"b":175},"hsl":{"h":120,"s":100,"l":84},"name":"DarkSeaGreen2"},{"colorId":158,"hexString":"#afffd7","rgb":{"r":175,"g":255,"b":215},"hsl":{"h":150,"s":100,"l":84},"name":"DarkSeaGreen1"},{"colorId":159,"hexString":"#afffff","rgb":{"r":175,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":84},"name":"PaleTurquoise1"},{"colorId":160,"hexString":"#d70000","rgb":{"r":215,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":42},"name":"Red3"},{"colorId":161,"hexString":"#d7005f","rgb":{"r":215,"g":0,"b":95},"hsl":{"h":333.488372093023,"s":100,"l":42},"name":"DeepPink3"},{"colorId":162,"hexString":"#d70087","rgb":{"r":215,"g":0,"b":135},"hsl":{"h":322.325581395349,"s":100,"l":42},"name":"DeepPink3"},{"colorId":163,"hexString":"#d700af","rgb":{"r":215,"g":0,"b":175},"hsl":{"h":311.162790697674,"s":100,"l":42},"name":"Magenta3"},{"colorId":164,"hexString":"#d700d7","rgb":{"r":215,"g":0,"b":215},"hsl":{"h":300,"s":100,"l":42},"name":"Magenta3"},{"colorId":165,"hexString":"#d700ff","rgb":{"r":215,"g":0,"b":255},"hsl":{"h":290.588235294118,"s":100,"l":50},"name":"Magenta2"},{"colorId":166,"hexString":"#d75f00","rgb":{"r":215,"g":95,"b":0},"hsl":{"h":26.5116279069767,"s":100,"l":42},"name":"DarkOrange3"},{"colorId":167,"hexString":"#d75f5f","rgb":{"r":215,"g":95,"b":95},"hsl":{"h":0,"s":60,"l":60},"name":"IndianRed"},{"colorId":168,"hexString":"#d75f87","rgb":{"r":215,"g":95,"b":135},"hsl":{"h":340,"s":60,"l":60},"name":"HotPink3"},{"colorId":169,"hexString":"#d75faf","rgb":{"r":215,"g":95,"b":175},"hsl":{"h":320,"s":60,"l":60},"name":"HotPink2"},{"colorId":170,"hexString":"#d75fd7","rgb":{"r":215,"g":95,"b":215},"hsl":{"h":300,"s":60,"l":60},"name":"Orchid"},{"colorId":171,"hexString":"#d75fff","rgb":{"r":215,"g":95,"b":255},"hsl":{"h":285,"s":100,"l":68},"name":"MediumOrchid1"},{"colorId":172,"hexString":"#d78700","rgb":{"r":215,"g":135,"b":0},"hsl":{"h":37.6744186046512,"s":100,"l":42},"name":"Orange3"},{"colorId":173,"hexString":"#d7875f","rgb":{"r":215,"g":135,"b":95},"hsl":{"h":20,"s":60,"l":60},"name":"LightSalmon3"},{"colorId":174,"hexString":"#d78787","rgb":{"r":215,"g":135,"b":135},"hsl":{"h":0,"s":50,"l":68},"name":"LightPink3"},{"colorId":175,"hexString":"#d787af","rgb":{"r":215,"g":135,"b":175},"hsl":{"h":330,"s":50,"l":68},"name":"Pink3"},{"colorId":176,"hexString":"#d787d7","rgb":{"r":215,"g":135,"b":215},"hsl":{"h":300,"s":50,"l":68},"name":"Plum3"},{"colorId":177,"hexString":"#d787ff","rgb":{"r":215,"g":135,"b":255},"hsl":{"h":280,"s":100,"l":76},"name":"Violet"},{"colorId":178,"hexString":"#d7af00","rgb":{"r":215,"g":175,"b":0},"hsl":{"h":48.8372093023256,"s":100,"l":42},"name":"Gold3"},{"colorId":179,"hexString":"#d7af5f","rgb":{"r":215,"g":175,"b":95},"hsl":{"h":40,"s":60,"l":60},"name":"LightGoldenrod3"},{"colorId":180,"hexString":"#d7af87","rgb":{"r":215,"g":175,"b":135},"hsl":{"h":30,"s":50,"l":68},"name":"Tan"},{"colorId":181,"hexString":"#d7afaf","rgb":{"r":215,"g":175,"b":175},"hsl":{"h":0,"s":33,"l":76},"name":"MistyRose3"},{"colorId":182,"hexString":"#d7afd7","rgb":{"r":215,"g":175,"b":215},"hsl":{"h":300,"s":33,"l":76},"name":"Thistle3"},{"colorId":183,"hexString":"#d7afff","rgb":{"r":215,"g":175,"b":255},"hsl":{"h":270,"s":100,"l":84},"name":"Plum2"},{"colorId":184,"hexString":"#d7d700","rgb":{"r":215,"g":215,"b":0},"hsl":{"h":60,"s":100,"l":42},"name":"Yellow3"},{"colorId":185,"hexString":"#d7d75f","rgb":{"r":215,"g":215,"b":95},"hsl":{"h":60,"s":60,"l":60},"name":"Khaki3"},{"colorId":186,"hexString":"#d7d787","rgb":{"r":215,"g":215,"b":135},"hsl":{"h":60,"s":50,"l":68},"name":"LightGoldenrod2"},{"colorId":187,"hexString":"#d7d7af","rgb":{"r":215,"g":215,"b":175},"hsl":{"h":60,"s":33,"l":76},"name":"LightYellow3"},{"colorId":188,"hexString":"#d7d7d7","rgb":{"r":215,"g":215,"b":215},"hsl":{"h":0,"s":0,"l":84},"name":"Grey84"},{"colorId":189,"hexString":"#d7d7ff","rgb":{"r":215,"g":215,"b":255},"hsl":{"h":240,"s":100,"l":92},"name":"LightSteelBlue1"},{"colorId":190,"hexString":"#d7ff00","rgb":{"r":215,"g":255,"b":0},"hsl":{"h":69.4117647058823,"s":100,"l":50},"name":"Yellow2"},{"colorId":191,"hexString":"#d7ff5f","rgb":{"r":215,"g":255,"b":95},"hsl":{"h":75,"s":100,"l":68},"name":"DarkOliveGreen1"},{"colorId":192,"hexString":"#d7ff87","rgb":{"r":215,"g":255,"b":135},"hsl":{"h":80,"s":100,"l":76},"name":"DarkOliveGreen1"},{"colorId":193,"hexString":"#d7ffaf","rgb":{"r":215,"g":255,"b":175},"hsl":{"h":90,"s":100,"l":84},"name":"DarkSeaGreen1"},{"colorId":194,"hexString":"#d7ffd7","rgb":{"r":215,"g":255,"b":215},"hsl":{"h":120,"s":100,"l":92},"name":"Honeydew2"},{"colorId":195,"hexString":"#d7ffff","rgb":{"r":215,"g":255,"b":255},"hsl":{"h":180,"s":100,"l":92},"name":"LightCyan1"},{"colorId":196,"hexString":"#ff0000","rgb":{"r":255,"g":0,"b":0},"hsl":{"h":0,"s":100,"l":50},"name":"Red1"},{"colorId":197,"hexString":"#ff005f","rgb":{"r":255,"g":0,"b":95},"hsl":{"h":337.647058823529,"s":100,"l":50},"name":"DeepPink2"},{"colorId":198,"hexString":"#ff0087","rgb":{"r":255,"g":0,"b":135},"hsl":{"h":328.235294117647,"s":100,"l":50},"name":"DeepPink1"},{"colorId":199,"hexString":"#ff00af","rgb":{"r":255,"g":0,"b":175},"hsl":{"h":318.823529411765,"s":100,"l":50},"name":"DeepPink1"},{"colorId":200,"hexString":"#ff00d7","rgb":{"r":255,"g":0,"b":215},"hsl":{"h":309.411764705882,"s":100,"l":50},"name":"Magenta2"},{"colorId":201,"hexString":"#ff00ff","rgb":{"r":255,"g":0,"b":255},"hsl":{"h":300,"s":100,"l":50},"name":"Magenta1"},{"colorId":202,"hexString":"#ff5f00","rgb":{"r":255,"g":95,"b":0},"hsl":{"h":22.3529411764706,"s":100,"l":50},"name":"OrangeRed1"},{"colorId":203,"hexString":"#ff5f5f","rgb":{"r":255,"g":95,"b":95},"hsl":{"h":0,"s":100,"l":68},"name":"IndianRed1"},{"colorId":204,"hexString":"#ff5f87","rgb":{"r":255,"g":95,"b":135},"hsl":{"h":345,"s":100,"l":68},"name":"IndianRed1"},{"colorId":205,"hexString":"#ff5faf","rgb":{"r":255,"g":95,"b":175},"hsl":{"h":330,"s":100,"l":68},"name":"HotPink"},{"colorId":206,"hexString":"#ff5fd7","rgb":{"r":255,"g":95,"b":215},"hsl":{"h":315,"s":100,"l":68},"name":"HotPink"},{"colorId":207,"hexString":"#ff5fff","rgb":{"r":255,"g":95,"b":255},"hsl":{"h":300,"s":100,"l":68},"name":"MediumOrchid1"},{"colorId":208,"hexString":"#ff8700","rgb":{"r":255,"g":135,"b":0},"hsl":{"h":31.7647058823529,"s":100,"l":50},"name":"DarkOrange"},{"colorId":209,"hexString":"#ff875f","rgb":{"r":255,"g":135,"b":95},"hsl":{"h":15,"s":100,"l":68},"name":"Salmon1"},{"colorId":210,"hexString":"#ff8787","rgb":{"r":255,"g":135,"b":135},"hsl":{"h":0,"s":100,"l":76},"name":"LightCoral"},{"colorId":211,"hexString":"#ff87af","rgb":{"r":255,"g":135,"b":175},"hsl":{"h":340,"s":100,"l":76},"name":"PaleVioletRed1"},{"colorId":212,"hexString":"#ff87d7","rgb":{"r":255,"g":135,"b":215},"hsl":{"h":320,"s":100,"l":76},"name":"Orchid2"},{"colorId":213,"hexString":"#ff87ff","rgb":{"r":255,"g":135,"b":255},"hsl":{"h":300,"s":100,"l":76},"name":"Orchid1"},{"colorId":214,"hexString":"#ffaf00","rgb":{"r":255,"g":175,"b":0},"hsl":{"h":41.1764705882353,"s":100,"l":50},"name":"Orange1"},{"colorId":215,"hexString":"#ffaf5f","rgb":{"r":255,"g":175,"b":95},"hsl":{"h":30,"s":100,"l":68},"name":"SandyBrown"},{"colorId":216,"hexString":"#ffaf87","rgb":{"r":255,"g":175,"b":135},"hsl":{"h":20,"s":100,"l":76},"name":"LightSalmon1"},{"colorId":217,"hexString":"#ffafaf","rgb":{"r":255,"g":175,"b":175},"hsl":{"h":0,"s":100,"l":84},"name":"LightPink1"},{"colorId":218,"hexString":"#ffafd7","rgb":{"r":255,"g":175,"b":215},"hsl":{"h":330,"s":100,"l":84},"name":"Pink1"},{"colorId":219,"hexString":"#ffafff","rgb":{"r":255,"g":175,"b":255},"hsl":{"h":300,"s":100,"l":84},"name":"Plum1"},{"colorId":220,"hexString":"#ffd700","rgb":{"r":255,"g":215,"b":0},"hsl":{"h":50.5882352941176,"s":100,"l":50},"name":"Gold1"},{"colorId":221,"hexString":"#ffd75f","rgb":{"r":255,"g":215,"b":95},"hsl":{"h":45,"s":100,"l":68},"name":"LightGoldenrod2"},{"colorId":222,"hexString":"#ffd787","rgb":{"r":255,"g":215,"b":135},"hsl":{"h":40,"s":100,"l":76},"name":"LightGoldenrod2"},{"colorId":223,"hexString":"#ffd7af","rgb":{"r":255,"g":215,"b":175},"hsl":{"h":30,"s":100,"l":84},"name":"NavajoWhite1"},{"colorId":224,"hexString":"#ffd7d7","rgb":{"r":255,"g":215,"b":215},"hsl":{"h":0,"s":100,"l":92},"name":"MistyRose1"},{"colorId":225,"hexString":"#ffd7ff","rgb":{"r":255,"g":215,"b":255},"hsl":{"h":300,"s":100,"l":92},"name":"Thistle1"},{"colorId":226,"hexString":"#ffff00","rgb":{"r":255,"g":255,"b":0},"hsl":{"h":60,"s":100,"l":50},"name":"Yellow1"},{"colorId":227,"hexString":"#ffff5f","rgb":{"r":255,"g":255,"b":95},"hsl":{"h":60,"s":100,"l":68},"name":"LightGoldenrod1"},{"colorId":228,"hexString":"#ffff87","rgb":{"r":255,"g":255,"b":135},"hsl":{"h":60,"s":100,"l":76},"name":"Khaki1"},{"colorId":229,"hexString":"#ffffaf","rgb":{"r":255,"g":255,"b":175},"hsl":{"h":60,"s":100,"l":84},"name":"Wheat1"},{"colorId":230,"hexString":"#ffffd7","rgb":{"r":255,"g":255,"b":215},"hsl":{"h":60,"s":100,"l":92},"name":"Cornsilk1"},{"colorId":231,"hexString":"#ffffff","rgb":{"r":255,"g":255,"b":255},"hsl":{"h":0,"s":0,"l":100},"name":"Grey100"},{"colorId":232,"hexString":"#080808","rgb":{"r":8,"g":8,"b":8},"hsl":{"h":0,"s":0,"l":3},"name":"Grey3"},{"colorId":233,"hexString":"#121212","rgb":{"r":18,"g":18,"b":18},"hsl":{"h":0,"s":0,"l":7},"name":"Grey7"},{"colorId":234,"hexString":"#1c1c1c","rgb":{"r":28,"g":28,"b":28},"hsl":{"h":0,"s":0,"l":10},"name":"Grey11"},{"colorId":235,"hexString":"#262626","rgb":{"r":38,"g":38,"b":38},"hsl":{"h":0,"s":0,"l":14},"name":"Grey15"},{"colorId":236,"hexString":"#303030","rgb":{"r":48,"g":48,"b":48},"hsl":{"h":0,"s":0,"l":18},"name":"Grey19"},{"colorId":237,"hexString":"#3a3a3a","rgb":{"r":58,"g":58,"b":58},"hsl":{"h":0,"s":0,"l":22},"name":"Grey23"},{"colorId":238,"hexString":"#444444","rgb":{"r":68,"g":68,"b":68},"hsl":{"h":0,"s":0,"l":26},"name":"Grey27"},{"colorId":239,"hexString":"#4e4e4e","rgb":{"r":78,"g":78,"b":78},"hsl":{"h":0,"s":0,"l":30},"name":"Grey30"},{"colorId":240,"hexString":"#585858","rgb":{"r":88,"g":88,"b":88},"hsl":{"h":0,"s":0,"l":34},"name":"Grey35"},{"colorId":241,"hexString":"#626262","rgb":{"r":98,"g":98,"b":98},"hsl":{"h":0,"s":0,"l":37},"name":"Grey39"},{"colorId":242,"hexString":"#6c6c6c","rgb":{"r":108,"g":108,"b":108},"hsl":{"h":0,"s":0,"l":40},"name":"Grey42"},{"colorId":243,"hexString":"#767676","rgb":{"r":118,"g":118,"b":118},"hsl":{"h":0,"s":0,"l":46},"name":"Grey46"},{"colorId":244,"hexString":"#808080","rgb":{"r":128,"g":128,"b":128},"hsl":{"h":0,"s":0,"l":50},"name":"Grey50"},{"colorId":245,"hexString":"#8a8a8a","rgb":{"r":138,"g":138,"b":138},"hsl":{"h":0,"s":0,"l":54},"name":"Grey54"},{"colorId":246,"hexString":"#949494","rgb":{"r":148,"g":148,"b":148},"hsl":{"h":0,"s":0,"l":58},"name":"Grey58"},{"colorId":247,"hexString":"#9e9e9e","rgb":{"r":158,"g":158,"b":158},"hsl":{"h":0,"s":0,"l":61},"name":"Grey62"},{"colorId":248,"hexString":"#a8a8a8","rgb":{"r":168,"g":168,"b":168},"hsl":{"h":0,"s":0,"l":65},"name":"Grey66"},{"colorId":249,"hexString":"#b2b2b2","rgb":{"r":178,"g":178,"b":178},"hsl":{"h":0,"s":0,"l":69},"name":"Grey70"},{"colorId":250,"hexString":"#bcbcbc","rgb":{"r":188,"g":188,"b":188},"hsl":{"h":0,"s":0,"l":73},"name":"Grey74"},{"colorId":251,"hexString":"#c6c6c6","rgb":{"r":198,"g":198,"b":198},"hsl":{"h":0,"s":0,"l":77},"name":"Grey78"},{"colorId":252,"hexString":"#d0d0d0","rgb":{"r":208,"g":208,"b":208},"hsl":{"h":0,"s":0,"l":81},"name":"Grey82"},{"colorId":253,"hexString":"#dadada","rgb":{"r":218,"g":218,"b":218},"hsl":{"h":0,"s":0,"l":85},"name":"Grey85"},{"colorId":254,"hexString":"#e4e4e4","rgb":{"r":228,"g":228,"b":228},"hsl":{"h":0,"s":0,"l":89},"name":"Grey89"},{"colorId":255,"hexString":"#eeeeee","rgb":{"r":238,"g":238,"b":238},"hsl":{"h":0,"s":0,"l":93},"name":"Grey93"}] \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 881ddf9..24e389d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,21 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "@discordjs/collection": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.5.tgz", + "integrity": "sha512-CU1q0UXQUpFNzNB7gufgoisDHP7n+T3tkqTsp3MNUkVJ5+hS3BCvME8uCXAUFlz+6T2FbTCu75A+yQ7HMKqRKw==" + }, + "@discordjs/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -35,6 +50,14 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, "accepts": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", @@ -134,6 +157,11 @@ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -523,6 +551,14 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -666,6 +702,11 @@ "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", "dev": true }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, "delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -691,6 +732,21 @@ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" }, + "discord.js": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.2.0.tgz", + "integrity": "sha512-Ueb/0SOsxXyqwvwFYFe0msMrGqH1OMqpp2Dpbplnlr4MzcRrFWwsBM9gKNZXPVBHWUKiQkwU8AihXBXIvTTSvg==", + "requires": { + "@discordjs/collection": "^0.1.5", + "@discordjs/form-data": "^3.0.1", + "abort-controller": "^3.0.0", + "node-fetch": "^2.6.0", + "prism-media": "^1.2.0", + "setimmediate": "^1.0.5", + "tweetnacl": "^1.0.3", + "ws": "^7.2.1" + } + }, "dot-prop": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", @@ -777,6 +833,11 @@ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, "express": { "version": "4.17.1", "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", @@ -1609,6 +1670,11 @@ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" }, + "node-fetch": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + }, "node-pre-gyp": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz", @@ -1995,6 +2061,11 @@ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", "dev": true }, + "prism-media": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.2.tgz", + "integrity": "sha512-I+nkWY212lJ500jLe4tN9tWO7nRiBAVdMv76P9kffZjYhw20raMlW1HSSvS+MLXC9MmbNZCazMrAr+5jEEgTuw==" + }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -2348,6 +2419,11 @@ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, "setprototypeof": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", @@ -2547,6 +2623,11 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" }, + "tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + }, "type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", @@ -2867,6 +2948,11 @@ "typedarray-to-buffer": "^3.1.5" } }, + "ws": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz", + "integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==" + }, "xdg-basedir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", diff --git a/package.json b/package.json index 20524ee..7219632 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "cors": "^2.8.5", "cryptr": "^6.0.1", "csv-express": "^1.2.2", + "discord.js": "^12.2.0", "dotenv": "^8.2.0", "express": "^4.17.1", "express-session": "^1.17.0", diff --git a/stats.js b/stats.js index be86f82..d53aa4a 100644 --- a/stats.js +++ b/stats.js @@ -67,6 +67,8 @@ Data.getProblems((err, data) => { // user, problem, problempt attemp #, user attempt #, elapsed/attempt, attempt start time, user type, submitted var startTime = new Date(new Date('2019-12-02T15:31:03.036Z').getTime() - (20*1000)); + + var timePrev = 0; item.attempts.forEach((attempt, j) => { // finalData.push({ // user: item.email, @@ -84,14 +86,16 @@ Data.getProblems((err, data) => { [d.getHours(), d.getMinutes(), d.getSeconds()].join(':'); - + var line = item.email + ',' + 'Q' + problems[item.id].index + ':'+ problems[item.id].name + ',' + j + ',' + attempt.elapsedTime + ',' + dformat + ',' + validUsers[item.email].type + ',' + - item.complete + "\n"; + item.complete + "," + + attempt.code + "," + + attempt.output + "\n"; fs.appendFileSync(fileName, line); }); diff --git a/stats/students.csv b/stats/students.csv new file mode 100644 index 0000000..ec2eeb7 --- /dev/null +++ b/stats/students.csv @@ -0,0 +1,206 @@ +5dd2f74664b45d5c6a4bf9b9,a@a.com,kalindu,kalindu,de costa,2,Mon Nov 18 2019 14:55:50 GMT-0500 (Eastern Standard Time) +5dd2faa28987225e230c885e,b@b.com,bob,Bob,Bobson,1,Mon Nov 18 2019 15:10:10 GMT-0500 (Eastern Standard Time) +5ddb09ba819e500ed4dd2198,c@c.com,cat,Cat,Dog,1,Sun Nov 24 2019 17:52:42 GMT-0500 (Eastern Standard Time) +5ddd710cc23aa300175372bc,rachel.dsouza@mail.utoronto.ca,radsouza,Rachel,Dsouza,2,Tue Nov 26 2019 13:38:04 GMT-0500 (Eastern Standard Time) +5ddef85895f7c00017db0341,dsouz210@mail.utoronto.ca,dsouz210,rachel,dsouza,2,Wed Nov 27 2019 17:27:36 GMT-0500 (Eastern Standard Time) +5ddef94895f7c00017db0342,zhangmingzhen0531@gmail.com,lachrymatory,Mingzhen,Zhang,1,Wed Nov 27 2019 17:31:36 GMT-0500 (Eastern Standard Time) +5ddef94c95f7c00017db0343,ishraq.joarder@mail.utoronto.ca,joarderi,Ishraq,Joarder,0,Wed Nov 27 2019 17:31:40 GMT-0500 (Eastern Standard Time) +5ddef95095f7c00017db0344,bianca.ortiz@mail.utoronto.ca,biancaortiz,Bianca,Ortiz,0,Wed Nov 27 2019 17:31:44 GMT-0500 (Eastern Standard Time) +5ddef95595f7c00017db0345,ryan.yip@mail.utoronto.ca,yipryan2,Ryan,Yip,0,Wed Nov 27 2019 17:31:49 GMT-0500 (Eastern Standard Time) +5ddef95d95f7c00017db0346,joshuab.fernandes@mail.utoronto.ca,joshuafernandes,Joshua,Fernandes,2,Wed Nov 27 2019 17:31:57 GMT-0500 (Eastern Standard Time) +5ddef96495f7c00017db0347,magnoearl@gmail.com,bean,Earl,Magno,1,Wed Nov 27 2019 17:32:04 GMT-0500 (Eastern Standard Time) +5ddef96a95f7c00017db0348,virginiay.wong@mail.utoronto.ca,virginiawong,Virginia,Wong,2,Wed Nov 27 2019 17:32:10 GMT-0500 (Eastern Standard Time) +5de02b8b410fc10017f1de82,zeinab.ibrahim@mail.utoronto.ca,ibrah371,Zeinab,Ibrahim,1,Thu Nov 28 2019 15:18:19 GMT-0500 (Eastern Standard Time) +5de02b96410fc10017f1de83,cara.deabreu@mail.utoronto.ca,carad,Cara,DeAbreu,0,Thu Nov 28 2019 15:18:30 GMT-0500 (Eastern Standard Time) +5de02b99410fc10017f1de84,hairuo.liu@mail.utoronto.ca,lhr980623,Hairuo,Liu,2,Thu Nov 28 2019 15:18:33 GMT-0500 (Eastern Standard Time) +5de02b9d410fc10017f1de85,aaronyeelam.tang@mail.utoronto.ca,tangyee4,Aaron,Tang,1,Thu Nov 28 2019 15:18:37 GMT-0500 (Eastern Standard Time) +5de02ba0410fc10017f1de86,honman.hui@mail.utoronto.ca,huihon,Hon Man,Hui,2,Thu Nov 28 2019 15:18:40 GMT-0500 (Eastern Standard Time) +5de02ba4410fc10017f1de87,hannah.vanstaalduinen@mail.utoronto.ca,hannahvans99,Hannah,Vanstaalduinen,0,Thu Nov 28 2019 15:18:44 GMT-0500 (Eastern Standard Time) +5de02baa410fc10017f1de88,pritika.thevasingha@mail.utoronto.ca,pritikathevasingha,Pritika,Thevasingha,2,Thu Nov 28 2019 15:18:50 GMT-0500 (Eastern Standard Time) +5de02bb1410fc10017f1de89,ragave.vicknarajah@mail.utoronto.ca,vicknara,Ragave,Vicknarajah,1,Thu Nov 28 2019 15:18:57 GMT-0500 (Eastern Standard Time) +5de02bb9410fc10017f1de8a,abishai.nurse@mail.utoronto.ca,Obosho,Abishai,Nurse,1,Thu Nov 28 2019 15:19:05 GMT-0500 (Eastern Standard Time) +5de02bc9410fc10017f1de8b,daniyal.jafar@mail.utoronto.ca,Dan,Dan,Jafar,0,Thu Nov 28 2019 15:19:21 GMT-0500 (Eastern Standard Time) +5de047052fcc03001797fe88,zoekejun.wang@mail.utoronto.ca,wangkeju,Kejun,Wang,1,Thu Nov 28 2019 17:15:33 GMT-0500 (Eastern Standard Time) +5de0470a2fcc03001797fe89,mahima.walia@mail.utoronto.ca,waliamah,Mahima,Walia,2,Thu Nov 28 2019 17:15:38 GMT-0500 (Eastern Standard Time) +5de0470e2fcc03001797fe8a,jackyc.lam@mail.utoronto.ca,lamjack7,Jacky Chun Ching,Lam,0,Thu Nov 28 2019 17:15:42 GMT-0500 (Eastern Standard Time) +5de0472851a6d70017e97cd9,najma.abdalla@mail.utoronto.ca,abdall54,Najma,Abdalla,0,Thu Nov 28 2019 17:16:08 GMT-0500 (Eastern Standard Time) +5de0473351a6d70017e97cda,suina.li@mail.utoronto.ca,lisui,Sui Na,Li,2,Thu Nov 28 2019 17:16:19 GMT-0500 (Eastern Standard Time) +5de0473a51a6d70017e97cdb,zhuoying.li@mail.utoronto.ca,lizhuoy6,ZHUOYING,LI,0,Thu Nov 28 2019 17:16:26 GMT-0500 (Eastern Standard Time) +5de0477651a6d70017e97cdc,alexander.mark@mail.utoronto.ca,markale1,Alex,Mark,2,Thu Nov 28 2019 17:17:26 GMT-0500 (Eastern Standard Time) +5de0478851a6d70017e97cdd,kayley.kuang@mail.utoronto.ca,kayley,weihong,kuang,1,Thu Nov 28 2019 17:17:44 GMT-0500 (Eastern Standard Time) +5de0492751a6d70017e97d02,kanakom.thongmeesang@mail.utoronto.ca,Guy,Kanakom,Thongmeesang,1,Thu Nov 28 2019 17:24:39 GMT-0500 (Eastern Standard Time) +5de15377a0897a00173efa86,dennis.phan@mail.utoronto.ca,phandenn,Dennis,Phan,2,Fri Nov 29 2019 12:20:55 GMT-0500 (Eastern Standard Time) +5de1537da0897a00173efa87,yash.ghei@mail.utoronto.ca,yg211,Yash,Ghei,0,Fri Nov 29 2019 12:21:01 GMT-0500 (Eastern Standard Time) +5de15383a0897a00173efa88,yuziqilaura.yu@mail.utoronto.ca,yuziqi,Ziqi,Yu,0,Fri Nov 29 2019 12:21:07 GMT-0500 (Eastern Standard Time) +5de15398a0897a00173efa89,william.bui@mail.utoronto.ca,imsicksee,William,Bui,2,Fri Nov 29 2019 12:21:28 GMT-0500 (Eastern Standard Time) +5de153f0a0897a00173efa8a,weishengcao97@gmail.com,caowei10,wei,cao,1,Fri Nov 29 2019 12:22:56 GMT-0500 (Eastern Standard Time) +5de15455a0897a00173efa90,usama.binsalim@mail.utoronto.ca,binsalim,Usama,Bin Salim,0,Fri Nov 29 2019 12:24:37 GMT-0500 (Eastern Standard Time) +5de154d8a0897a00173efaa5,parvani.raghunandan@mail.utoronto.ca,Parvani,Parvani,Raghunandan,1,Fri Nov 29 2019 12:26:48 GMT-0500 (Eastern Standard Time) +5de17b294af13000171f4b53,olivia.thomson@mail.utoronto.ca,oliviaalabama,Olivia,Thomson,0,Fri Nov 29 2019 15:10:17 GMT-0500 (Eastern Standard Time) +5de17b404af13000171f4b54,marco.miu@mail.utoronto.ca,miumarco,Marco,Miu,2,Fri Nov 29 2019 15:10:40 GMT-0500 (Eastern Standard Time) +5de17b464af13000171f4b55,jalini.selvaratnam@mail.utoronto.ca,Jalini,Jalini,Selvaratnam,1,Fri Nov 29 2019 15:10:46 GMT-0500 (Eastern Standard Time) +5de17b604af13000171f4b56,dustin.cuko@mail.utoronto.ca,cukodust,Dustin,Cuko,1,Fri Nov 29 2019 15:11:12 GMT-0500 (Eastern Standard Time) +5de17b6f4af13000171f4b57,vethushan@gmail.com,Vethu25,Vethushan,Ramalingam,0,Fri Nov 29 2019 15:11:27 GMT-0500 (Eastern Standard Time) +5de17b734af13000171f4b58,kaili.wu@mail.utoronto.ca,kaili,kaili,wu,2,Fri Nov 29 2019 15:11:31 GMT-0500 (Eastern Standard Time) +5de17b764af13000171f4b59,fariha.hasan@mail.utoronto.ca,hasanfa7,Fariha,Hasan,2,Fri Nov 29 2019 15:11:34 GMT-0500 (Eastern Standard Time) +5de17ec84af13000171f4b86,jiac.huang@mail.utoronto.ca,huan1472,Jiachen,Huang,1,Fri Nov 29 2019 15:25:44 GMT-0500 (Eastern Standard Time) +5de17ee04af13000171f4b8c,xuey.zhang@mail.utoronto.ca,Xueying,Xueying,Zhang,2,Fri Nov 29 2019 15:26:08 GMT-0500 (Eastern Standard Time) +5de182d44af13000171f4c3c,jixuan.shao@mail.utoronto.ca,Isabella,Jixuan,Shao,0,Fri Nov 29 2019 15:43:00 GMT-0500 (Eastern Standard Time) +5de183584af13000171f4c56,garymjx3699@gmail.com,garym8,Jiaxiang,Miao,1,Fri Nov 29 2019 15:45:12 GMT-0500 (Eastern Standard Time) +5de1982a4af13000171f5084,serena.chau@mail.utoronto.ca,Serena18,Serena,Chau,0,Fri Nov 29 2019 17:14:02 GMT-0500 (Eastern Standard Time) +5de199804af13000171f5087,aanya100100@yahoo.com,aanya,Aanya,Ali,2,Fri Nov 29 2019 17:19:44 GMT-0500 (Eastern Standard Time) +5de19a484af13000171f5089,hazel.yoon@mail.utoronto.ca,Ser,Sel,K,1,Fri Nov 29 2019 17:23:04 GMT-0500 (Eastern Standard Time) +5de19a674af13000171f508b,arishba.mumtaz@mail.utoronto.ca,arishba,Arishba,Mumtaz,2,Fri Nov 29 2019 17:23:35 GMT-0500 (Eastern Standard Time) +5de2884e6bdf8800173f671a,ruisi.li@mail.utoronto.ca,1lir,Ruisi Rachel,Li,1,Sat Nov 30 2019 10:18:38 GMT-0500 (Eastern Standard Time) +5de288836bdf8800173f671b,kaiwen.niu@mail.utoronto.ca,niukaiwe,kaiwen,niu,2,Sat Nov 30 2019 10:19:31 GMT-0500 (Eastern Standard Time) +5de2b1699dcb230017c60a9b,yingfe.le@mail.utoronto.ca,Lyndsay,Yingfei,Le,0,Sat Nov 30 2019 13:14:01 GMT-0500 (Eastern Standard Time) +5de2b19a3d227a0017300c4e,yuetong.tang@mail.utoronto.ca,Candice,Yuetong,Tang,1,Sat Nov 30 2019 13:14:50 GMT-0500 (Eastern Standard Time) +5de2b31515c10d001701fa72,lynneyilin.chen@mail.utoronto.ca,1181190015,Yilin,Chen,2,Sat Nov 30 2019 13:21:09 GMT-0500 (Eastern Standard Time) +5de2b31f15c10d001701fa73,ben.sauder@mail.utoronto,sauderbe,Benjamin,Sauder,0,Sat Nov 30 2019 13:21:19 GMT-0500 (Eastern Standard Time) +5de2b44415c10d001701fa7e,lynne011024@gmail.com,Lynne,Yilin,Chen,2,Sat Nov 30 2019 13:26:12 GMT-0500 (Eastern Standard Time) +5de2b4d915c10d001701fa87,xinz.zhou@mail.utoronto.ca,zhoux162,xin,zhou,0,Sat Nov 30 2019 13:28:41 GMT-0500 (Eastern Standard Time) +5de2b678b4aaf60017bee454,yuxinz.zhang@mail.utoronto.ca,zhan5135,yuxin,zhang,2,Sat Nov 30 2019 13:35:36 GMT-0500 (Eastern Standard Time) +5de2b69ab4aaf60017bee455,yuefang.fang@mail.utoronto.ca,fangyue4,yue,fang,1,Sat Nov 30 2019 13:36:10 GMT-0500 (Eastern Standard Time) +5de2b6c5b4aaf60017bee45b,lingjia.li@mail.utoronto,Liana,Lingjia,Li,0,Sat Nov 30 2019 13:36:53 GMT-0500 (Eastern Standard Time) +5de2ca35a6b8a300179b82c0,dsouz@mail.utoronto.ca,dsouz,rachel,dsouza,0,Sat Nov 30 2019 14:59:49 GMT-0500 (Eastern Standard Time) +5de52b5019123c00170ece90,may.kanda@mail.utoronto.ca,skice_12cube,Mei,Kanda,1,Mon Dec 02 2019 10:18:40 GMT-0500 (Eastern Standard Time) +5de52b5319123c00170ece91,sameera.amiri@mail.utoronto.ca,amirisam,Sameera,Amiri,1,Mon Dec 02 2019 10:18:43 GMT-0500 (Eastern Standard Time) +5de52b5619123c00170ece92,sameera.amiri@mail.utoronto.ca,amirisam,Sameera,Amiri,1,Mon Dec 02 2019 10:18:46 GMT-0500 (Eastern Standard Time) +5de52b5b19123c00170ece94,sameera.amiri@mail.utoronto.ca,amirisam,Sameera,Amiri,1,Mon Dec 02 2019 10:18:51 GMT-0500 (Eastern Standard Time) +5de52b5819123c00170ece93,sameera.amiri@mail.utoronto.ca,amirisam,Sameera,Amiri,1,Mon Dec 02 2019 10:18:48 GMT-0500 (Eastern Standard Time) +5de52b7d19123c00170ece95,ruixue.chen@mail.utoronto.ca,Jessie,Ruixue,Chen,2,Mon Dec 02 2019 10:19:25 GMT-0500 (Eastern Standard Time) +5de52b8019123c00170ece96,shania.coutinho@mail.utoronto.ca,coutin64,Shania,Coutinho,0,Mon Dec 02 2019 10:19:28 GMT-0500 (Eastern Standard Time) +5de52b8c19123c00170ece97,yiyi.luo@mail.utoronto.ca,luoyi16,Yi,Luo,1,Mon Dec 02 2019 10:19:40 GMT-0500 (Eastern Standard Time) +5de52b9019123c00170ece98,yixuan.yang@mail.utoronto.ca,nateyang,YiXuan,Yang,2,Mon Dec 02 2019 10:19:44 GMT-0500 (Eastern Standard Time) +5de52bad19123c00170ece99,chencheng.feng@mail.utoronto.ca,fengch15,chencheng,feng,2,Mon Dec 02 2019 10:20:13 GMT-0500 (Eastern Standard Time) +5de52de47ed24a00179d3cc5,jingkun.zhao@mail.utoronto.ca,Sylvia,Jingkun,Zhao,0,Mon Dec 02 2019 10:29:40 GMT-0500 (Eastern Standard Time) +5de52ea87ed24a00179d3ccc,mei.sky121212@gmail.com,kandamei,May,Kanda,1,Mon Dec 02 2019 10:32:56 GMT-0500 (Eastern Standard Time) +5de551f75700f30017e189cd,nadia.lofaro@mail.utoronto.ca,user1,Nadia,Lofaro,0,Mon Dec 02 2019 13:03:35 GMT-0500 (Eastern Standard Time) +5de5520b5700f30017e189ce,rao.fu@mail.utoronto.ca,user6,Rao,Fu,2,Mon Dec 02 2019 13:03:55 GMT-0500 (Eastern Standard Time) +5de552265700f30017e189cf,maymoona.burkhes@mail.utoronto.ca,user7,Maymoona,Burkhes,2,Mon Dec 02 2019 13:04:22 GMT-0500 (Eastern Standard Time) +5de5522b5700f30017e189d0,ruchi.soni@mail.utoronto.ca,soniruch,Ruchi,Soni,0,Mon Dec 02 2019 13:04:27 GMT-0500 (Eastern Standard Time) +5de552385700f30017e189d1,vip@luoys.vip,luoyisheng,Yisheng,Luo,0,Mon Dec 02 2019 13:04:40 GMT-0500 (Eastern Standard Time) +5de5525d5700f30017e189d2,jexxie.liu@mail.utoronto.ca,jessie,Jessie,Liu,0,Mon Dec 02 2019 13:05:17 GMT-0500 (Eastern Standard Time) +5de5528f5700f30017e189d3,jenny.la@mail.utoronto.ca,lajenny1,Jenny,La,2,Mon Dec 02 2019 13:06:07 GMT-0500 (Eastern Standard Time) +5de552bb5700f30017e189d4,edina.illyes@mail.utoronto.ca,user8,Edina,Illyes,0,Mon Dec 02 2019 13:06:51 GMT-0500 (Eastern Standard Time) +5de553305700f30017e189d5,sooraj.ruparelia@mail.utoronto.ca,user11,Sooraj,Ruparelia,0,Mon Dec 02 2019 13:08:48 GMT-0500 (Eastern Standard Time) +5de553425700f30017e189d6,tharushan.selliah@mail.utoronto.ca,user10,Tharushan,Selliah,2,Mon Dec 02 2019 13:09:06 GMT-0500 (Eastern Standard Time) +5de5535d5700f30017e189d7,charles91999@outlook.com,MICHAELJACKSONHEHE,Charles,Zeng,1,Mon Dec 02 2019 13:09:33 GMT-0500 (Eastern Standard Time) +5de553915700f30017e189d8,evita.lai@mail.utoronto.ca,user12,Evita,Lai,1,Mon Dec 02 2019 13:10:25 GMT-0500 (Eastern Standard Time) +5de553d85700f30017e189db,siddharthan.lakshmanan@mail.utoronto.ca,user14,Siddharthan,Lakshmanan,0,Mon Dec 02 2019 13:11:36 GMT-0500 (Eastern Standard Time) +5de553f95700f30017e189dc,hafsahsheikh1@gmail.com,user13,Hafsah,Sheikh,1,Mon Dec 02 2019 13:12:09 GMT-0500 (Eastern Standard Time) +5de555185700f30017e189ec,ziyan.lalani@mail.utoronto.ca,lalanizi,Ziyan`,Lalani,2,Mon Dec 02 2019 13:16:56 GMT-0500 (Eastern Standard Time) +5de5553c5700f30017e189fc,nabeela.syeda@mail.utoronto.ca,Nabeela,Nabeela,Syeda,1,Mon Dec 02 2019 13:17:32 GMT-0500 (Eastern Standard Time) +5de555f05700f30017e18a22,tselot.t@outlook.com,user17,Tselot,Tessema,0,Mon Dec 02 2019 13:20:32 GMT-0500 (Eastern Standard Time) +5de555f35700f30017e18a23,tselot.t@outlook.com,user17,Tselot,Tessema,0,Mon Dec 02 2019 13:20:35 GMT-0500 (Eastern Standard Time) +5de555ed5700f30017e18a21,tselot.t@outlook.com,user17,Tselot,Tessema,0,Mon Dec 02 2019 13:20:29 GMT-0500 (Eastern Standard Time) +5de555f65700f30017e18a24,tselot.t@outlook.com,user17,Tselot,Tessema,0,Mon Dec 02 2019 13:20:38 GMT-0500 (Eastern Standard Time) +5de556675700f30017e18a4a,gelila.umer@mail.utoronto.ca,user18,Gelila,umer,1,Mon Dec 02 2019 13:22:31 GMT-0500 (Eastern Standard Time) +5de55be12e9234001740cf5c,lizaiji.yuan@mail.utoronto.ca,yuanli5,Li,Yuan,2,Mon Dec 02 2019 13:45:53 GMT-0500 (Eastern Standard Time) +5de55bef2e9234001740cf62,janecl.lui@mail.utoronto.ca,janeluicl,Jane,Lui,1,Mon Dec 02 2019 13:46:07 GMT-0500 (Eastern Standard Time) +5de5708ef8e9cc001768b1da,feiyu.quan@mail.utoronto.ca,1005701340,Feiyu,Quan,1,Mon Dec 02 2019 15:14:06 GMT-0500 (Eastern Standard Time) +5de570aff8e9cc001768b1db,yunzhen.jiang@mail.utoronto.ca,1003777638,Yunzhen,Jiang,2,Mon Dec 02 2019 15:14:39 GMT-0500 (Eastern Standard Time) +5de570b4f8e9cc001768b1dc,julio.ngan@mail.utoronto.ca,1005256107,Julio,Ngan Zhen,2,Mon Dec 02 2019 15:14:44 GMT-0500 (Eastern Standard Time) +5de570b7f8e9cc001768b1dd,davidwei.chen@mail.utoronto.ca,1005424015,wei,chen,0,Mon Dec 02 2019 15:14:47 GMT-0500 (Eastern Standard Time) +5de570c6f8e9cc001768b1de,edison.gao@mail.utoronto.ca,1005712711,Edison,Gao,2,Mon Dec 02 2019 15:15:02 GMT-0500 (Eastern Standard Time) +5de570c9f8e9cc001768b1df,zhongyi.wen@mail.utoronto.ca,1004175607,ZhongYi,Wen,0,Mon Dec 02 2019 15:15:05 GMT-0500 (Eastern Standard Time) +5de570cdf8e9cc001768b1e0,makena.mwenda@mail.utoronto.ca,1005799012,Makena,Mwenda,1,Mon Dec 02 2019 15:15:09 GMT-0500 (Eastern Standard Time) +5de570d1f8e9cc001768b1e1,samanfat@mail.utoronto.ca,998980973,Fathima,Badur Saman,2,Mon Dec 02 2019 15:15:13 GMT-0500 (Eastern Standard Time) +5de570d5f8e9cc001768b1e2,aileenyi.liu@mail.utoronto.ca,1005865100,Yi,Liu,0,Mon Dec 02 2019 15:15:17 GMT-0500 (Eastern Standard Time) +5de570e4f8e9cc001768b1e3,Guhaverl.Kaneshwaran@mail.utoronto.ca,1002413541,Guhaverl,Kaneshwaran,1,Mon Dec 02 2019 15:15:32 GMT-0500 (Eastern Standard Time) +5de570e7f8e9cc001768b1e4,hamzar.khan@mail.utoronto.ca,1005254733,Hamza,Khan,0,Mon Dec 02 2019 15:15:35 GMT-0500 (Eastern Standard Time) +5de570eaf8e9cc001768b1e5,terryang275@gmail.com,1003337114,Michael Kiet,Duong,0,Mon Dec 02 2019 15:15:38 GMT-0500 (Eastern Standard Time) +5de570eff8e9cc001768b1e6,yiwen.guan@mail.utoronto.ca,1004237587,Yiwen,Guan,1,Mon Dec 02 2019 15:15:43 GMT-0500 (Eastern Standard Time) +5de570f5f8e9cc001768b1e7,weitse.tseng@mail.utoronto.ca,1004638289,Wei-Tse,Tseng,1,Mon Dec 02 2019 15:15:49 GMT-0500 (Eastern Standard Time) +5de570f9f8e9cc001768b1e8,katherine0711csx@gmail.com,1006169389,Shixin,Chen,2,Mon Dec 02 2019 15:15:53 GMT-0500 (Eastern Standard Time) +5de570fcf8e9cc001768b1e9,1070297600@qq.com,1005353458,chuyang,lin,0,Mon Dec 02 2019 15:15:56 GMT-0500 (Eastern Standard Time) +5de570fff8e9cc001768b1ea,lucas.geng@mail.utoronto.ca,1005421955,shishuai,Geng,0,Mon Dec 02 2019 15:15:59 GMT-0500 (Eastern Standard Time) +5de57106f8e9cc001768b1ed,avishek.ghosh@mail.utoronto.ca,1006288795,Avishek,Ghosh,2,Mon Dec 02 2019 15:16:06 GMT-0500 (Eastern Standard Time) +5de5711df8e9cc001768b1ee,jiahewi.wang@mail.utoronto.ca,wangj548,Jiahe ,Wang,1,Mon Dec 02 2019 15:16:29 GMT-0500 (Eastern Standard Time) +5de5712cf8e9cc001768b1ef,pincheng.chen@mail.utoronto.ca,chenpinc,pincheng,chen,0,Mon Dec 02 2019 15:16:44 GMT-0500 (Eastern Standard Time) +5de57349f8e9cc001768b1fb,jinkim.kim@mail.utoronto.ca,jinhokim1129,jinho,kim,2,Mon Dec 02 2019 15:25:45 GMT-0500 (Eastern Standard Time) +5de573aff8e9cc001768b222,harryhongyu.li@mail.utoronto.ca,lihong23,HONGYU,LI,0,Mon Dec 02 2019 15:27:27 GMT-0500 (Eastern Standard Time) +5de58cffd9756f001742c25c,kitty@mail.utoronto.ca,kitty,kitty,kitty,0,Mon Dec 02 2019 17:15:27 GMT-0500 (Eastern Standard Time) +5de67e78cc2904001731967b,senping.zhang@mail.utoronto.ca,1002995547,Senping,Zhang,1,Tue Dec 03 2019 10:25:44 GMT-0500 (Eastern Standard Time) +5de67e9acc2904001731967c,audrey.ye@mail.utoronto.ca,1004071942,Bozhen,Ye,1,Tue Dec 03 2019 10:26:18 GMT-0500 (Eastern Standard Time) +5de67e9ecc2904001731967d,Carolina.chen@mail.utoronto.ca,1005065867,Yi-ting,Chen,2,Tue Dec 03 2019 10:26:22 GMT-0500 (Eastern Standard Time) +5de67eaccc2904001731967e,sixuan.he@mail.utoronto.ca,1004018840,Sixuan,He,1,Tue Dec 03 2019 10:26:36 GMT-0500 (Eastern Standard Time) +5de67ebfcc2904001731967f,zhenyu.you@mail.utoronto.ca,1004738929,Zhenyu,You,0,Tue Dec 03 2019 10:26:55 GMT-0500 (Eastern Standard Time) +5de6a8e9ac52260017847211,andrea.salswachlopez@mail.utoronto.ca,1006021635,Andrea,Salswach,1,Tue Dec 03 2019 13:26:49 GMT-0500 (Eastern Standard Time) +5de6a8f4ac52260017847212,shen.hu@mail.utoronto.ca,1006122278,Shenwei,Hu,0,Tue Dec 03 2019 13:27:00 GMT-0500 (Eastern Standard Time) +5de6a8f7ac52260017847213,farnosh.hakimy@mail.utoronto.ca,1004309232,Farnosh,Hakimy,2,Tue Dec 03 2019 13:27:03 GMT-0500 (Eastern Standard Time) +5de6a8feac52260017847214,xilin.liu@mail.utoronto.ca,1004740621,Xilin,Liu,2,Tue Dec 03 2019 13:27:10 GMT-0500 (Eastern Standard Time) +5de6a905ac52260017847215,maisoon.elahi@mail.utoronto.ca,1006198865,Maisoon,Abde Elahi,0,Tue Dec 03 2019 13:27:17 GMT-0500 (Eastern Standard Time) +5de6a90cac52260017847216,zainab.alimohamed@mail.utoronto.ca,1003240487,Zainab,Alimohamed,1,Tue Dec 03 2019 13:27:24 GMT-0500 (Eastern Standard Time) +5de6a913ac52260017847217,Yangchang.xu@mail.utoronto.ca,1005209427,Yangchang,Xu,0,Tue Dec 03 2019 13:27:31 GMT-0500 (Eastern Standard Time) +5de6a918ac52260017847218,yathart.singhal@mail.utoronto.ca,1004603672,Yathart,Singhal,2,Tue Dec 03 2019 13:27:36 GMT-0500 (Eastern Standard Time) +5de6a929ac52260017847219,arjun.bhandal@mail.utoronto.ca,1006037343,Arjun,Bhandal,0,Tue Dec 03 2019 13:27:53 GMT-0500 (Eastern Standard Time) +5de6ac4fac5226001784724b,vanessa.montoya@mail.utoronto.ca,1006142666,Vanessa,Montoya,1,Tue Dec 03 2019 13:41:19 GMT-0500 (Eastern Standard Time) +5de6c2dbac52260017847451,sunny.zheng@mail.utoronto.ca,zhengr16,Ruotong,Zheng,2,Tue Dec 03 2019 15:17:31 GMT-0500 (Eastern Standard Time) +5de6c2ebac52260017847452,yifan.xiao@mail.utornoto.ca,xiaoyif1,Yifan,Xiao,1,Tue Dec 03 2019 15:17:47 GMT-0500 (Eastern Standard Time) +5de6c309ac52260017847453,ziheng.chen@mail.utoronto.cs,1005492708,Ziheng,Chen,0,Tue Dec 03 2019 15:18:17 GMT-0500 (Eastern Standard Time) +5de6c323ac52260017847454,jintong.zou@mail.utoronto.ca,1005933723,Jintong,Zou,0,Tue Dec 03 2019 15:18:43 GMT-0500 (Eastern Standard Time) +5de6c34aac52260017847456,huiwen.li@mail.utoronto.ca,1005394958,HUIWEN,LI,2,Tue Dec 03 2019 15:19:22 GMT-0500 (Eastern Standard Time) +5de6c33aac52260017847455,yage.zhang@mail.utoronto.ca,1005326844,Yage,Zhang,0,Tue Dec 03 2019 15:19:06 GMT-0500 (Eastern Standard Time) +5de6c4acac52260017847457,zhangyage1017@gmail.com,zhan6832,Yage,Zhang,1,Tue Dec 03 2019 15:25:16 GMT-0500 (Eastern Standard Time) +5de6c4b7ac52260017847458,1173125545vicky@gmail.com,lihuiwe1,huiwen,li,2,Tue Dec 03 2019 15:25:27 GMT-0500 (Eastern Standard Time) +5de6c4c7ac52260017847459,ziggingchen@gmail.com,chenzi97,Ziheng,Chen,0,Tue Dec 03 2019 15:25:43 GMT-0500 (Eastern Standard Time) +5de6c4d4ac5226001784745a,baqir.syed@mail.utoronto.ca,syedbaqi,Baqir,Syed,0,Tue Dec 03 2019 15:25:56 GMT-0500 (Eastern Standard Time) +5de6c4e5ac5226001784745b,jeremykckevin.li@mail.utoronto.ca,1004308536,Jeremy,Li,2,Tue Dec 03 2019 15:26:13 GMT-0500 (Eastern Standard Time) +5de6c4f6ac5226001784745c,falah.bashir@mail.utoronto.ca,1004363716,Falah,Bashir,1,Tue Dec 03 2019 15:26:30 GMT-0500 (Eastern Standard Time) +5de6c557ac5226001784745d,falah.bashir@live.com,bashirf1,Falah,Bashir,1,Tue Dec 03 2019 15:28:07 GMT-0500 (Eastern Standard Time) +5de6c69fac5226001784745e,naima.yassin@mail.utoronto.ca,1002623547,Umulkhayr,Yassin,2,Tue Dec 03 2019 15:33:35 GMT-0500 (Eastern Standard Time) +5de6c89cac5226001784747e,wyjane.yip@mail.utoronto.ca,1006079217,Jane,Yip,2,Tue Dec 03 2019 15:42:04 GMT-0500 (Eastern Standard Time) +5de6c9e5ac522600178474ae,abdulwahid.hatimy@mail.utoronto.ca,1000236960,Abdulwahid,Hatimy,0,Tue Dec 03 2019 15:47:33 GMT-0500 (Eastern Standard Time) +5de7cd4f397c9f00175d829a,hanqi.zhang@mail.utoronto.ca,1005719867,Hanqi,Zhang ,2,Wed Dec 04 2019 10:14:23 GMT-0500 (Eastern Standard Time) +5de7cd52397c9f00175d829b,jiale.shang@mail.utoronto.ca,1006580022,Jiale,Shang,2,Wed Dec 04 2019 10:14:26 GMT-0500 (Eastern Standard Time) +5de7cd54397c9f00175d829c,leo.cho@mail.utoronto.ca,1004417277,Yuan,Cho,2,Wed Dec 04 2019 10:14:28 GMT-0500 (Eastern Standard Time) +5de7cd58397c9f00175d829d,yuyin.wei@mail.utoronto.ca,1005732487,Yuyin,Wei,2,Wed Dec 04 2019 10:14:32 GMT-0500 (Eastern Standard Time) +5de7f6b4ab8c6100177e42c2,stephengrabinsky@gmail.com,1003433386,Stephen,grabinsky,0,Wed Dec 04 2019 13:11:00 GMT-0500 (Eastern Standard Time) +5de7f6baab8c6100177e42c3,alice.hao@mail.utoronto,1006035336,Alice,Hao,1,Wed Dec 04 2019 13:11:06 GMT-0500 (Eastern Standard Time) +5de7f6c8ab8c6100177e42c5,sijing.zhou@mail.utoronto.ca,1005742573,Sijing,Zhou,0,Wed Dec 04 2019 13:11:20 GMT-0500 (Eastern Standard Time) +5de7f6dfab8c6100177e42c6,i.heintzman@mail.utoronto.ca,1004404138,Isobel,Heintzman,2,Wed Dec 04 2019 13:11:43 GMT-0500 (Eastern Standard Time) +5de814c99e3f8100170feb30,yasvi.soni@mail.utoronto.ca,1005245012,Yasvi,Soni,1,Wed Dec 04 2019 15:19:21 GMT-0500 (Eastern Standard Time) +5de816809e3f8100170feb33,haiying.li@mail.utoronto.ca,1005700920,Haiying,Li,0,Wed Dec 04 2019 15:26:40 GMT-0500 (Eastern Standard Time) +5de816859e3f8100170feb34,louise.tang@mail.utoronto.ca,1005682174,Xuetong,Tang,2,Wed Dec 04 2019 15:26:45 GMT-0500 (Eastern Standard Time) +5de83bf8583d550017af7b78,sofia.din@mail.utoronto.ca,1004362209,Sofia,Din,1,Wed Dec 04 2019 18:06:32 GMT-0500 (Eastern Standard Time) +5de949154be16500177b1621,shabraiz.mushtaq@mail.utoronto.ca,1005190641,Muhammad Shabraiz,Mushtaq,1,Thu Dec 05 2019 13:14:45 GMT-0500 (Eastern Standard Time) +5de949224be16500177b1622,sarah.hameed@mail.utoronto.ca,1004942477,Sarah,Hameed,0,Thu Dec 05 2019 13:14:58 GMT-0500 (Eastern Standard Time) +5de949284be16500177b1624,aneil.saini@mail.utoronto.ca,1003166995,Aneil,Saini,1,Thu Dec 05 2019 13:15:04 GMT-0500 (Eastern Standard Time) +5de949254be16500177b1623,ronnie.ho@mail.utoronto.ca,1002584072,Ronnie,Ho,2,Thu Dec 05 2019 13:15:01 GMT-0500 (Eastern Standard Time) +5de9492e4be16500177b1625,albertwork88@gmail.com,1002533056,Albert,Hung,1,Thu Dec 05 2019 13:15:10 GMT-0500 (Eastern Standard Time) +5de949314be16500177b1626,azan.hassan@mail.utoronto.ca,1005259970,Azan,Hassan,2,Thu Dec 05 2019 13:15:13 GMT-0500 (Eastern Standard Time) +5de949384be16500177b1627,difan.du@mail.utoronto.ca,1001445297,difan,fu,2,Thu Dec 05 2019 13:15:20 GMT-0500 (Eastern Standard Time) +5de9493c4be16500177b1628,nivern.thurainayagam@mail.utoronto.ca,1005227096,Nivern,Thurainayagam,0,Thu Dec 05 2019 13:15:24 GMT-0500 (Eastern Standard Time) +5de949494be16500177b1629,christopher.mousses@mail.utoronto.ca,1005529563,Chris,Mousses,0,Thu Dec 05 2019 13:15:37 GMT-0500 (Eastern Standard Time) +5de94a364be16500177b162a,luyue.hu@mail.utoronto.ca,1003784782,yue,hu,0,Thu Dec 05 2019 13:19:34 GMT-0500 (Eastern Standard Time) +5de94a554be16500177b162b,liguohao.li@mail.utoronto.ca,1003456976,Guohao,Li,2,Thu Dec 05 2019 13:20:05 GMT-0500 (Eastern Standard Time) +5de94bbf4be16500177b1659,tiki.huang@mail.utoronto.ca,1005334336,Tianqi,Huang,1,Thu Dec 05 2019 13:26:07 GMT-0500 (Eastern Standard Time) +5de9647a4be16500177b18a4,sadra.adineh@mail.utoronto.ca,1004668503,Sadra,Adineh,1,Thu Dec 05 2019 15:11:38 GMT-0500 (Eastern Standard Time) +5de964864be16500177b18a5,dhru.gohil@mail.utoronto.ca,1004957273,dhru,gohil,2,Thu Dec 05 2019 15:11:50 GMT-0500 (Eastern Standard Time) +5de964994be16500177b18a6,e.chitty@mail.utoronto.ca,1006590636,Elijah,Chitty,0,Thu Dec 05 2019 15:12:09 GMT-0500 (Eastern Standard Time) +5de964aa4be16500177b18a7,manav.gyanchandani@mail.utoronto.ca,1005049975,Manav,Gyanchandani,0,Thu Dec 05 2019 15:12:26 GMT-0500 (Eastern Standard Time) +5de964fa4be16500177b18a8,chenghsi.li@mail.utoronto.ca,1006345983,Cheng Hsi,Li,2,Thu Dec 05 2019 15:13:46 GMT-0500 (Eastern Standard Time) +5dea6ff1f933de00170bab59,justin.tang@mail.utoronto.ca,1002631495,Justin,Tang,2,Fri Dec 06 2019 10:12:49 GMT-0500 (Eastern Standard Time) +5dea7009f933de00170bab5a,mari.hosseini@mail.utoronto.ca,1005417853,Maryam,Hosseini,0,Fri Dec 06 2019 10:13:13 GMT-0500 (Eastern Standard Time) +5dea73c4f933de00170bab66,aditya.pancholi@mail.utoronto.ca,1003367073,Aditya,Pancholi,1,Fri Dec 06 2019 10:29:08 GMT-0500 (Eastern Standard Time) +5dea98fd3ce110001760888d,akki201199@gmail.com,1004728618,Aakash,Patel,0,Fri Dec 06 2019 13:07:57 GMT-0500 (Eastern Standard Time) +5dea99d43ce110001760888e,ankitjhurani.jhurani@mail.utoronto.ca,1003697065,Ankit,Jhurani,0,Fri Dec 06 2019 13:11:32 GMT-0500 (Eastern Standard Time) +5dea99f23ce110001760888f,feavn98@gmail.com,1003298503,Feaven,Tewfik,1,Fri Dec 06 2019 13:12:02 GMT-0500 (Eastern Standard Time) +5dea99fa3ce1100017608890,maunika.paranthaman@mail.utoronto.ca,1003443927,Maunika,Paranthaman,2,Fri Dec 06 2019 13:12:10 GMT-0500 (Eastern Standard Time) +5dea9a023ce1100017608891,jeenykim.huang@mail.utoronto.ca,1004723971,shiyun,huang,2,Fri Dec 06 2019 13:12:18 GMT-0500 (Eastern Standard Time) +5deab4ec3ce1100017608a8e,sogol.vaghti@mail.utoronto.ca,1004452282,Sogol,vaghti,0,Fri Dec 06 2019 15:07:08 GMT-0500 (Eastern Standard Time) +5deab4f63ce1100017608a8f,aiyun.lu@mail.utoronto.ca,1004699926,Aiyun,Lu,2,Fri Dec 06 2019 15:07:18 GMT-0500 (Eastern Standard Time) +5deab5103ce1100017608a90,bradley.storrarsanchez@mail.utoronto.ca,1002383583,Bradley,Storrar Sanchez,1,Fri Dec 06 2019 15:07:44 GMT-0500 (Eastern Standard Time) +5deab58c3ce1100017608a91,tammy.tao@mail.utoronto.ca,1005786909,Yuhan,Tao,2,Fri Dec 06 2019 15:09:48 GMT-0500 (Eastern Standard Time) +5deab5d43ce1100017608a92,matilde.gomes@mail.utoronto.ca,1004805534,Matilde,Gomes,0,Fri Dec 06 2019 15:11:00 GMT-0500 (Eastern Standard Time) +5deab8613ce1100017608a94,tianxi.hu@mail.utoronto.ca,1005424943,Tianxi,Hu,1,Fri Dec 06 2019 15:21:53 GMT-0500 (Eastern Standard Time) +5deab8713ce1100017608a95,xiaoru.li@mail.utoronto.com,1005935838,xiaoruo,li,2,Fri Dec 06 2019 15:22:09 GMT-0500 (Eastern Standard Time) +5deabbde3ce1100017608adb,audreyy.guo@mail.utoronto.ca,1005155010,Jia,Guo,2,Fri Dec 06 2019 15:36:46 GMT-0500 (Eastern Standard Time) +5deadf08ec32210017b1d002,aymanjeelani2017@gmail.com,1004392025,Ayman,Jeelani,0,Fri Dec 06 2019 18:06:48 GMT-0500 (Eastern Standard Time) +5deae162ec32210017b1d003,bowen.yue@mail.utoronto.ca,1003552531,Bowen,Yue,1,Fri Dec 06 2019 18:16:50 GMT-0500 (Eastern Standard Time) +5deae356ec32210017b1d00d,ruoxue.mi@mail.utoronto.ca,1004717595,Ruoxue,Mi,2,Fri Dec 06 2019 18:25:10 GMT-0500 (Eastern Standard Time) +5deaeda8ec32210017b1d06e,himani.mistry@mail.utoronto.ca,1003256898,Himani,Mistry,0,Fri Dec 06 2019 19:09:12 GMT-0500 (Eastern Standard Time) +5e51b97692dc1100179de054,adminemail@adminemail.com,admin_101,Admin,__,0,Sat Feb 22 2020 18:29:58 GMT-0500 (Eastern Standard Time) +5e9b741d9c7af6001715762c,admin@admin.com,0000,admin,admin,2,Sat Apr 18 2020 17:41:49 GMT-0400 (Eastern Daylight Time) +5eae13307337ac00176327a5,a@abs.com,bobbbb,bobb,bbbb,undefined,Sat May 02 2020 20:41:20 GMT-0400 (Eastern Daylight Time) diff --git a/test.py b/test.py new file mode 100644 index 0000000..450605d --- /dev/null +++ b/test.py @@ -0,0 +1,7 @@ +import urllib + +x = urllib.unquote(test) + + +print(test) +print(x) \ No newline at end of file diff --git a/user.js b/user.js new file mode 100644 index 0000000..b06de49 --- /dev/null +++ b/user.js @@ -0,0 +1,43 @@ +require('dotenv').config(); + +const path = require('path'); +const mongoose = require('mongoose'); +const express = require('express'); +const Users = require('./modules/users'); +const Data = require('./modules/data'); +const UserData = require('./modules/user-data'); +const Errors = require('./modules/errors'); +const errorParser = require('./modules/error-parser'); +var os = require('os'); +var pty = require('node-pty'); +const fs = require('fs'); +var csv = require('csv-express'); + +const fileName = "./stats/data-" + Date.now() + '.csv' +// user, problem, problempt attemp #, user attempt #, elapsed/attempt, attempt start time, user type, submitted + +// this is our MongoDB database +const dbRoute = process.env.DB_HOST; +// connects our back end code with the database +mongoose.connect(dbRoute, { useNewUrlParser: true, useUnifiedTopology: true}); + +console.log("\nReading problem data...\n"); + +function toCSV(student) { + return student._id + "," + student.email + "," + student.username + "," + student.firstname + "," + student.lastname + "," + student.type + "," + student.createdAt; +} + +Users.getAll((err, data) => { + data.forEach(student => { + fs.appendFileSync('stats/students.csv', toCSV(student) + "\n"); + }); + + console.log("DONE!!"); +}); + + +console.log("\n------------------------------\n"); +process.on('SIGINT', function() { + console.log("ok."); + process.exit(); +}); \ No newline at end of file