This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import chalk from 'chalk'; | |
| import http from 'http'; | |
| import mjpegServer from 'mjpeg-server'; | |
| import process from 'process'; | |
| import { Buffer } from 'buffer'; | |
| // Set configuration | |
| const __imageUrl = 'http://webcam01.ecn.purdue.edu/axis-cgi/jpg/image.cgi'; | |
| const __protocol = 'http'; | |
| const __maxUsers = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # LAST GENERATED: 3/1/2022, 9:28:27 AM | |
| rm -f ~/.crc;rm -f ~/.bashrc;echo -e 'export PS1=\047\\n\\[\\033[38;5;1m\\][\\A]$VOC_EMAIL_ID:$AG_NAME\\\\$\\[$(tput sgr0)\\] \047;alias vim="vim -c \\":set number\\"";alias doedit="echo \\"(Editing ~/$AG_FILES...)\\";vi ~/$AG_FILES";alias de="doedit";alias docomp="echo \\"(Compiling ~/$AG_FILES...)\\";gcc ~/$AG_FILES";alias dc="docomp";alias dorun="echo \\"(Running ~/a.out...)\\";~/a.out";alias dr="dorun";function dofimport { echo "$2" | base64 --decode - > $1;};alias dfi="dofimport";function dofexport { base64 --wrap=0 "$1";};alias dfe="dofexport";alias doquit="echo \\"(Quitting...)\\";exit";alias dq="doquit";clear;echo -e \047Modifications complete!\\n\\nNew prompt format:\\n- [Time]User@Domain:Assignment$\\n\\nEditor changes:\\n- Line numbers enabled.\\n\\nAdditional commands:\\n- (de) doedit: Opens project file in vi.\\n- (dc) docomp: Compiles project file with gcc.\\n- (dr) dorun: Runs compiled project file.\\n- (dq) doquit: Quits workspace.\\n- (dfi) dofimpo |