Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit aa6072c

Browse files
committed
Added Favicon and Logo
1 parent 36fc0ac commit aa6072c

File tree

1,139 files changed

+145254
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,139 files changed

+145254
-116
lines changed

README.md

100644100755
File mode changed.

akshat.py

100644100755
File mode changed.

anand.py

100644100755
File mode changed.

flask/.Python

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Library/Frameworks/Python.framework/Versions/3.7/Python

flask/bin/activate

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# This file must be used with "source bin/activate" *from bash*
2+
# you cannot run it directly
3+
4+
deactivate () {
5+
unset -f pydoc >/dev/null 2>&1
6+
7+
# reset old environment variables
8+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
9+
if ! [ -z "${_OLD_VIRTUAL_PATH+_}" ] ; then
10+
PATH="$_OLD_VIRTUAL_PATH"
11+
export PATH
12+
unset _OLD_VIRTUAL_PATH
13+
fi
14+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
15+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
16+
export PYTHONHOME
17+
unset _OLD_VIRTUAL_PYTHONHOME
18+
fi
19+
20+
# This should detect bash and zsh, which have a hash command that must
21+
# be called to get it to forget past commands. Without forgetting
22+
# past commands the $PATH changes we made may not be respected
23+
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
24+
hash -r 2>/dev/null
25+
fi
26+
27+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
28+
PS1="$_OLD_VIRTUAL_PS1"
29+
export PS1
30+
unset _OLD_VIRTUAL_PS1
31+
fi
32+
33+
unset VIRTUAL_ENV
34+
if [ ! "${1-}" = "nondestructive" ] ; then
35+
# Self destruct!
36+
unset -f deactivate
37+
fi
38+
}
39+
40+
# unset irrelevant variables
41+
deactivate nondestructive
42+
43+
VIRTUAL_ENV="/Users/akshatvg/Downloads/magiCode-master/flask"
44+
export VIRTUAL_ENV
45+
46+
_OLD_VIRTUAL_PATH="$PATH"
47+
PATH="$VIRTUAL_ENV/bin:$PATH"
48+
export PATH
49+
50+
# unset PYTHONHOME if set
51+
if ! [ -z "${PYTHONHOME+_}" ] ; then
52+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
53+
unset PYTHONHOME
54+
fi
55+
56+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
57+
_OLD_VIRTUAL_PS1="${PS1-}"
58+
if [ "x" != x ] ; then
59+
PS1="${PS1-}"
60+
else
61+
PS1="(`basename \"$VIRTUAL_ENV\"`) ${PS1-}"
62+
fi
63+
export PS1
64+
fi
65+
66+
# Make sure to unalias pydoc if it's already there
67+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
68+
69+
pydoc () {
70+
python -m pydoc "$@"
71+
}
72+
73+
# This should detect bash and zsh, which have a hash command that must
74+
# be called to get it to forget past commands. Without forgetting
75+
# past commands the $PATH changes we made may not be respected
76+
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
77+
hash -r 2>/dev/null
78+
fi

flask/bin/activate.csh

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This file must be used with "source bin/activate.csh" *from csh*.
2+
# You cannot run it directly.
3+
# Created by Davide Di Blasi <davidedb@gmail.com>.
4+
5+
set newline='\
6+
'
7+
8+
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
9+
10+
# Unset irrelevant variables.
11+
deactivate nondestructive
12+
13+
setenv VIRTUAL_ENV "/Users/akshatvg/Downloads/magiCode-master/flask"
14+
15+
set _OLD_VIRTUAL_PATH="$PATH:q"
16+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
17+
18+
19+
20+
if ("" != "") then
21+
set env_name = ""
22+
else
23+
set env_name = '('"$VIRTUAL_ENV:t:q"') '
24+
endif
25+
26+
if ( $?VIRTUAL_ENV_DISABLE_PROMPT ) then
27+
if ( $VIRTUAL_ENV_DISABLE_PROMPT == "" ) then
28+
set do_prompt = "1"
29+
else
30+
set do_prompt = "0"
31+
endif
32+
else
33+
set do_prompt = "1"
34+
endif
35+
36+
if ( $do_prompt == "1" ) then
37+
# Could be in a non-interactive environment,
38+
# in which case, $prompt is undefined and we wouldn't
39+
# care about the prompt anyway.
40+
if ( $?prompt ) then
41+
set _OLD_VIRTUAL_PROMPT="$prompt:q"
42+
if ( "$prompt:q" =~ *"$newline:q"* ) then
43+
:
44+
else
45+
set prompt = "$env_name:q$prompt:q"
46+
endif
47+
endif
48+
endif
49+
50+
unset env_name
51+
unset do_prompt
52+
53+
alias pydoc python -m pydoc
54+
55+
rehash

flask/bin/activate.fish

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
2+
# Do not run it directly.
3+
4+
function _bashify_path -d "Converts a fish path to something bash can recognize"
5+
set fishy_path $argv
6+
set bashy_path $fishy_path[1]
7+
for path_part in $fishy_path[2..-1]
8+
set bashy_path "$bashy_path:$path_part"
9+
end
10+
echo $bashy_path
11+
end
12+
13+
function _fishify_path -d "Converts a bash path to something fish can recognize"
14+
echo $argv | tr ':' '\n'
15+
end
16+
17+
function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
18+
# reset old environment variables
19+
if test -n "$_OLD_VIRTUAL_PATH"
20+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
21+
if test (echo $FISH_VERSION | tr "." "\n")[1] -lt 3
22+
set -gx PATH (_fishify_path $_OLD_VIRTUAL_PATH)
23+
else
24+
set -gx PATH $_OLD_VIRTUAL_PATH
25+
end
26+
set -e _OLD_VIRTUAL_PATH
27+
end
28+
29+
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
30+
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
31+
set -e _OLD_VIRTUAL_PYTHONHOME
32+
end
33+
34+
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
35+
# Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
36+
set -l fish_function_path
37+
38+
# Erase virtualenv's `fish_prompt` and restore the original.
39+
functions -e fish_prompt
40+
functions -c _old_fish_prompt fish_prompt
41+
functions -e _old_fish_prompt
42+
set -e _OLD_FISH_PROMPT_OVERRIDE
43+
end
44+
45+
set -e VIRTUAL_ENV
46+
47+
if test "$argv[1]" != 'nondestructive'
48+
# Self-destruct!
49+
functions -e pydoc
50+
functions -e deactivate
51+
functions -e _bashify_path
52+
functions -e _fishify_path
53+
end
54+
end
55+
56+
# Unset irrelevant variables.
57+
deactivate nondestructive
58+
59+
set -gx VIRTUAL_ENV "/Users/akshatvg/Downloads/magiCode-master/flask"
60+
61+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
62+
if test (echo $FISH_VERSION | tr "." "\n")[1] -lt 3
63+
set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
64+
else
65+
set -gx _OLD_VIRTUAL_PATH $PATH
66+
end
67+
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
68+
69+
# Unset `$PYTHONHOME` if set.
70+
if set -q PYTHONHOME
71+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
72+
set -e PYTHONHOME
73+
end
74+
75+
function pydoc
76+
python -m pydoc $argv
77+
end
78+
79+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
80+
# Copy the current `fish_prompt` function as `_old_fish_prompt`.
81+
functions -c fish_prompt _old_fish_prompt
82+
83+
function fish_prompt
84+
# Save the current $status, for fish_prompts that display it.
85+
set -l old_status $status
86+
87+
# Prompt override provided?
88+
# If not, just prepend the environment name.
89+
if test -n ""
90+
printf '%s%s' "" (set_color normal)
91+
else
92+
printf '%s(%s) ' (set_color normal) (basename "$VIRTUAL_ENV")
93+
end
94+
95+
# Restore the original $status
96+
echo "exit $old_status" | source
97+
_old_fish_prompt
98+
end
99+
100+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
101+
end

flask/bin/activate.ps1

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# This file must be dot sourced from PoSh; you cannot run it directly. Do this: . ./activate.ps1
2+
3+
$script:THIS_PATH = $myinvocation.mycommand.path
4+
$script:BASE_DIR = split-path (resolve-path "$THIS_PATH/..") -Parent
5+
6+
function global:deactivate([switch] $NonDestructive)
7+
{
8+
if (test-path variable:_OLD_VIRTUAL_PATH)
9+
{
10+
$env:PATH = $variable:_OLD_VIRTUAL_PATH
11+
remove-variable "_OLD_VIRTUAL_PATH" -scope global
12+
}
13+
14+
if (test-path function:_old_virtual_prompt)
15+
{
16+
$function:prompt = $function:_old_virtual_prompt
17+
remove-item function:\_old_virtual_prompt
18+
}
19+
20+
if ($env:VIRTUAL_ENV)
21+
{
22+
$old_env = split-path $env:VIRTUAL_ENV -leaf
23+
remove-item env:VIRTUAL_ENV -erroraction silentlycontinue
24+
}
25+
26+
if (!$NonDestructive)
27+
{
28+
# Self destruct!
29+
remove-item function:deactivate
30+
remove-item function:pydoc
31+
}
32+
}
33+
34+
function global:pydoc
35+
{
36+
python -m pydoc $args
37+
}
38+
39+
# unset irrelevant variables
40+
deactivate -nondestructive
41+
42+
$VIRTUAL_ENV = $BASE_DIR
43+
$env:VIRTUAL_ENV = $VIRTUAL_ENV
44+
45+
$global:_OLD_VIRTUAL_PATH = $env:PATH
46+
$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
47+
if (!$env:VIRTUAL_ENV_DISABLE_PROMPT)
48+
{
49+
function global:_old_virtual_prompt
50+
{
51+
""
52+
}
53+
$function:_old_virtual_prompt = $function:prompt
54+
if ("" -ne "")
55+
{
56+
function global:prompt
57+
{
58+
# Add the custom prefix to the existing prompt
59+
write-host "" -nonewline
60+
& $function:_old_virtual_prompt
61+
}
62+
}
63+
else
64+
{
65+
function global:prompt
66+
{
67+
# Add a prefix to the current prompt, but don't discard it.
68+
write-host "($( split-path $env:VIRTUAL_ENV -leaf )) " -nonewline
69+
& $function:_old_virtual_prompt
70+
}
71+
}
72+
}

flask/bin/activate.xsh

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
"""Xonsh activate script for virtualenv"""
2+
from xonsh.tools import get_sep as _get_sep
3+
4+
def _deactivate(args):
5+
if "pydoc" in aliases:
6+
del aliases["pydoc"]
7+
8+
if ${...}.get("_OLD_VIRTUAL_PATH", ""):
9+
$PATH = $_OLD_VIRTUAL_PATH
10+
del $_OLD_VIRTUAL_PATH
11+
12+
if ${...}.get("_OLD_VIRTUAL_PYTHONHOME", ""):
13+
$PYTHONHOME = $_OLD_VIRTUAL_PYTHONHOME
14+
del $_OLD_VIRTUAL_PYTHONHOME
15+
16+
if "VIRTUAL_ENV" in ${...}:
17+
del $VIRTUAL_ENV
18+
19+
if "VIRTUAL_ENV_PROMPT" in ${...}:
20+
del $VIRTUAL_ENV_PROMPT
21+
22+
if "nondestructive" not in args:
23+
# Self destruct!
24+
del aliases["deactivate"]
25+
26+
27+
# unset irrelevant variables
28+
_deactivate(["nondestructive"])
29+
aliases["deactivate"] = _deactivate
30+
31+
$VIRTUAL_ENV = r"/Users/akshatvg/Downloads/magiCode-master/flask"
32+
33+
$_OLD_VIRTUAL_PATH = $PATH
34+
$PATH = $PATH[:]
35+
$PATH.add($VIRTUAL_ENV + _get_sep() + "bin", front=True, replace=True)
36+
37+
if ${...}.get("PYTHONHOME", ""):
38+
# unset PYTHONHOME if set
39+
$_OLD_VIRTUAL_PYTHONHOME = $PYTHONHOME
40+
del $PYTHONHOME
41+
42+
$VIRTUAL_ENV_PROMPT = ""
43+
if not $VIRTUAL_ENV_PROMPT:
44+
del $VIRTUAL_ENV_PROMPT
45+
46+
aliases["pydoc"] = ["python", "-m", "pydoc"]

0 commit comments

Comments
 (0)