From 232d4758347a9c5056123945bdced6ba7e0f36a4 Mon Sep 17 00:00:00 2001 From: rushilwiz Date: Fri, 5 Jun 2020 01:03:18 -0400 Subject: [PATCH] cleaning up master --- .DS_Store | Bin 6148 -> 0 bytes .gitignore | 5 +- .login.txt | 0 commands.py | 119 ------------------------------------- run.py | 22 ------- skool/bin/activate | 76 ----------------------- skool/bin/activate.csh | 37 ------------ skool/bin/activate.fish | 75 ----------------------- skool/bin/easy_install | 10 ---- skool/bin/easy_install-3.7 | 10 ---- skool/bin/pip | 10 ---- skool/bin/pip3 | 10 ---- skool/bin/pip3.7 | 10 ---- skool/bin/pygmentize | 10 ---- skool/bin/python | 1 - skool/bin/python3 | 1 - skool/pyvenv.cfg | 3 - users.json | 1 - 18 files changed, 4 insertions(+), 396 deletions(-) delete mode 100644 .DS_Store delete mode 100644 .login.txt delete mode 100644 commands.py delete mode 100644 run.py delete mode 100644 skool/bin/activate delete mode 100644 skool/bin/activate.csh delete mode 100644 skool/bin/activate.fish delete mode 100755 skool/bin/easy_install delete mode 100755 skool/bin/easy_install-3.7 delete mode 100755 skool/bin/pip delete mode 100755 skool/bin/pip3 delete mode 100755 skool/bin/pip3.7 delete mode 100755 skool/bin/pygmentize delete mode 120000 skool/bin/python delete mode 120000 skool/bin/python3 delete mode 100644 skool/pyvenv.cfg delete mode 100644 users.json diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0. -# Ported to Python 3.3 venv by Andrew Svetlov - -alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate' - -# Unset irrelevant variables. -deactivate nondestructive - -setenv VIRTUAL_ENV "/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool" - -set _OLD_VIRTUAL_PATH="$PATH" -setenv PATH "$VIRTUAL_ENV/bin:$PATH" - - -set _OLD_VIRTUAL_PROMPT="$prompt" - -if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then - if ("skool" != "") then - set env_name = "skool" - else - if (`basename "VIRTUAL_ENV"` == "__") then - # special case for Aspen magic directories - # see http://www.zetadev.com/software/aspen/ - set env_name = `basename \`dirname "$VIRTUAL_ENV"\`` - else - set env_name = `basename "$VIRTUAL_ENV"` - endif - endif - set prompt = "[$env_name] $prompt" - unset env_name -endif - -alias pydoc python -m pydoc - -rehash diff --git a/skool/bin/activate.fish b/skool/bin/activate.fish deleted file mode 100644 index e47a901..0000000 --- a/skool/bin/activate.fish +++ /dev/null @@ -1,75 +0,0 @@ -# This file must be used with ". bin/activate.fish" *from fish* (http://fishshell.org) -# you cannot run it directly - -function deactivate -d "Exit virtualenv and return to normal shell environment" - # reset old environment variables - if test -n "$_OLD_VIRTUAL_PATH" - set -gx PATH $_OLD_VIRTUAL_PATH - set -e _OLD_VIRTUAL_PATH - end - if test -n "$_OLD_VIRTUAL_PYTHONHOME" - set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME - set -e _OLD_VIRTUAL_PYTHONHOME - end - - if test -n "$_OLD_FISH_PROMPT_OVERRIDE" - functions -e fish_prompt - set -e _OLD_FISH_PROMPT_OVERRIDE - functions -c _old_fish_prompt fish_prompt - functions -e _old_fish_prompt - end - - set -e VIRTUAL_ENV - if test "$argv[1]" != "nondestructive" - # Self destruct! - functions -e deactivate - end -end - -# unset irrelevant variables -deactivate nondestructive - -set -gx VIRTUAL_ENV "/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool" - -set -gx _OLD_VIRTUAL_PATH $PATH -set -gx PATH "$VIRTUAL_ENV/bin" $PATH - -# unset PYTHONHOME if set -if set -q PYTHONHOME - set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME - set -e PYTHONHOME -end - -if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" - # fish uses a function instead of an env var to generate the prompt. - - # save the current fish_prompt function as the function _old_fish_prompt - functions -c fish_prompt _old_fish_prompt - - # with the original prompt function renamed, we can override with our own. - function fish_prompt - # Save the return status of the last command - set -l old_status $status - - # Prompt override? - if test -n "(skool) " - printf "%s%s" "(skool) " (set_color normal) - else - # ...Otherwise, prepend env - set -l _checkbase (basename "$VIRTUAL_ENV") - if test $_checkbase = "__" - # special case for Aspen magic directories - # see http://www.zetadev.com/software/aspen/ - printf "%s[%s]%s " (set_color -b blue white) (basename (dirname "$VIRTUAL_ENV")) (set_color normal) - else - printf "%s(%s)%s" (set_color -b blue white) (basename "$VIRTUAL_ENV") (set_color normal) - end - end - - # Restore the return status of the previous command. - echo "exit $old_status" | . - _old_fish_prompt - end - - set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV" -end diff --git a/skool/bin/easy_install b/skool/bin/easy_install deleted file mode 100755 index d362dc7..0000000 --- a/skool/bin/easy_install +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from setuptools.command.easy_install import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/easy_install-3.7 b/skool/bin/easy_install-3.7 deleted file mode 100755 index d362dc7..0000000 --- a/skool/bin/easy_install-3.7 +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from setuptools.command.easy_install import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/pip b/skool/bin/pip deleted file mode 100755 index 30eab01..0000000 --- a/skool/bin/pip +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from pip._internal import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/pip3 b/skool/bin/pip3 deleted file mode 100755 index 30eab01..0000000 --- a/skool/bin/pip3 +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from pip._internal import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/pip3.7 b/skool/bin/pip3.7 deleted file mode 100755 index 30eab01..0000000 --- a/skool/bin/pip3.7 +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from pip._internal import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/pygmentize b/skool/bin/pygmentize deleted file mode 100755 index 16a605e..0000000 --- a/skool/bin/pygmentize +++ /dev/null @@ -1,10 +0,0 @@ -#!/Users/raffukhondaker/Projects/sysadmin/SkoolOS/skool/bin/python3 -# -*- coding: utf-8 -*- -import re -import sys - -from pygments.cmdline import main - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/skool/bin/python b/skool/bin/python deleted file mode 120000 index b8a0adb..0000000 --- a/skool/bin/python +++ /dev/null @@ -1 +0,0 @@ -python3 \ No newline at end of file diff --git a/skool/bin/python3 b/skool/bin/python3 deleted file mode 120000 index e9113d5..0000000 --- a/skool/bin/python3 +++ /dev/null @@ -1 +0,0 @@ -/Users/raffukhondaker/opt/miniconda3/bin/python3 \ No newline at end of file diff --git a/skool/pyvenv.cfg b/skool/pyvenv.cfg deleted file mode 100644 index e5d353c..0000000 --- a/skool/pyvenv.cfg +++ /dev/null @@ -1,3 +0,0 @@ -home = /Users/raffukhondaker/opt/miniconda3/bin -include-system-site-packages = false -version = 3.7.4 diff --git a/users.json b/users.json deleted file mode 100644 index bf1713e..0000000 --- a/users.json +++ /dev/null @@ -1 +0,0 @@ -[{"first_name": "Raffu", "last_name": "Khondaker", "password": "password", "webmail": "2022rkhondak@tjhsst.edu", "classes": {"Math": ["week1_hw", "week2_hw", "week3_hw", "unit3_quiz"], "English": ["journal1", "journal2", "journal3"]}}] \ No newline at end of file