OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
venv
/
bin
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/03/2025 08:32:10 AM
rwxr-xr-x
📄
activate
2.09 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
activate.csh
1.4 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
activate.fish
2.94 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
activate.nu
3.25 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
activate.ps1
1.71 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
activate_this.py
1.15 KB
03/03/2025 08:25:25 AM
rw-r--r--
📄
pip
235 bytes
03/03/2025 08:25:25 AM
rw-r--r--
📄
pip-3.6
235 bytes
03/03/2025 08:25:25 AM
rw-r--r--
📄
pip3
235 bytes
03/03/2025 08:25:25 AM
rw-r--r--
📄
pip3.6
235 bytes
03/03/2025 08:25:25 AM
rw-r--r--
📄
python
4.32 MB
03/03/2025 08:25:26 AM
rw-r--r--
📄
python3
4.32 MB
03/03/2025 08:25:28 AM
rw-r--r--
📄
python3.6
4.32 MB
03/03/2025 08:25:28 AM
rw-r--r--
📄
wheel
222 bytes
03/03/2025 08:25:28 AM
rw-r--r--
📄
wheel-3.6
222 bytes
03/03/2025 08:25:28 AM
rw-r--r--
📄
wheel3
222 bytes
03/03/2025 08:25:28 AM
rw-r--r--
📄
wheel3.6
222 bytes
03/03/2025 08:25:28 AM
rw-r--r--
Editing: activate.ps1
Close
$script:THIS_PATH = $myinvocation.mycommand.path $script:BASE_DIR = Split-Path (Resolve-Path "$THIS_PATH/..") -Parent function global:deactivate([switch] $NonDestructive) { if (Test-Path variable:_OLD_VIRTUAL_PATH) { $env:PATH = $variable:_OLD_VIRTUAL_PATH Remove-Variable "_OLD_VIRTUAL_PATH" -Scope global } if (Test-Path function:_old_virtual_prompt) { $function:prompt = $function:_old_virtual_prompt Remove-Item function:\_old_virtual_prompt } if ($env:VIRTUAL_ENV) { Remove-Item env:VIRTUAL_ENV -ErrorAction SilentlyContinue } if (!$NonDestructive) { # Self destruct! Remove-Item function:deactivate Remove-Item function:pydoc } } function global:pydoc { python -m pydoc $args } # unset irrelevant variables deactivate -nondestructive $VIRTUAL_ENV = $BASE_DIR $env:VIRTUAL_ENV = $VIRTUAL_ENV New-Variable -Scope global -Name _OLD_VIRTUAL_PATH -Value $env:PATH $env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH if (!$env:VIRTUAL_ENV_DISABLE_PROMPT) { function global:_old_virtual_prompt { "" } $function:_old_virtual_prompt = $function:prompt if ("" -ne "") { function global:prompt { # Add the custom prefix to the existing prompt $previous_prompt_value = & $function:_old_virtual_prompt ("() " + $previous_prompt_value) } } else { function global:prompt { # Add a prefix to the current prompt, but don't discard it. $previous_prompt_value = & $function:_old_virtual_prompt $new_prompt_value = "($( Split-Path $env:VIRTUAL_ENV -Leaf )) " ($new_prompt_value + $previous_prompt_value) } } }