machineconfig 5.36__py3-none-any.whl → 5.38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of machineconfig might be problematic. Click here for more details.
- machineconfig/cluster/remote/script_execution.py +0 -1
- machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py +0 -2
- machineconfig/jobs/installer/custom_dev/nerfont_windows_helper.py +12 -12
- machineconfig/jobs/installer/installer_data.json +53 -2
- machineconfig/jobs/windows/archive/archive_pygraphviz.ps1 +1 -3
- machineconfig/scripts/linux/{share_cloud.sh → other/share_cloud.sh} +3 -0
- machineconfig/scripts/python/ai/solutions/generic.py +1 -0
- machineconfig/scripts/python/croshell.py +5 -2
- machineconfig/scripts/python/devops.py +4 -21
- machineconfig/scripts/python/devops_helpers/cli_nw.py +2 -1
- machineconfig/scripts/python/devops_helpers/cli_repos.py +1 -3
- machineconfig/scripts/python/devops_helpers/cli_self.py +6 -6
- machineconfig/scripts/python/devops_helpers/cli_share_server.py +109 -0
- machineconfig/scripts/python/devops_helpers/cli_terminal.py +35 -23
- machineconfig/scripts/python/devops_helpers/devops_add_ssh_key.py +0 -1
- machineconfig/scripts/python/devops_helpers/devops_update_repos.py +63 -44
- machineconfig/scripts/python/devops_helpers/themes/choose_pwsh_theme.ps1 +16 -15
- machineconfig/scripts/python/devops_navigator.py +183 -80
- machineconfig/scripts/python/helpers_fire/{fire_gemini.py → agentic_frameworks/fire_gemini.py} +12 -9
- machineconfig/scripts/python/helpers_fire/agentic_frameworks/fire_qwen.py +43 -0
- machineconfig/scripts/python/helpers_fire/fire_agents_help_launch.py +4 -4
- machineconfig/scripts/python/helpers_fire/template.ps1 +29 -0
- machineconfig/scripts/python/interactive.py +3 -2
- machineconfig/scripts/python/nw/mount_nw_drive +1 -2
- machineconfig/scripts/python/repos_helpers/update.py +1 -1
- machineconfig/scripts/windows/mounts/share_nfs.ps1 +0 -0
- machineconfig/settings/lf/linux/lfrc +0 -2
- machineconfig/settings/lf/windows/lfrc +0 -4
- machineconfig/settings/shells/bash/commands.sh +24 -0
- machineconfig/settings/shells/bash/init.sh +5 -0
- machineconfig/settings/shells/pwsh/commands.ps1 +33 -0
- machineconfig/settings/shells/pwsh/init.ps1 +4 -0
- machineconfig/setup_linux/web_shortcuts/interactive.sh +1 -2
- machineconfig/setup_windows/machineconfig.ps1 +2 -0
- machineconfig/setup_windows/web_shortcuts/interactive.ps1 +1 -1
- machineconfig/utils/files/dbms.py +4 -1
- machineconfig/utils/installer_utils/installer.py +12 -0
- machineconfig/utils/installer_utils/installer_abc.py +26 -9
- machineconfig/utils/installer_utils/installer_class.py +1 -1
- machineconfig/utils/io.py +0 -18
- machineconfig/utils/scheduler.py +3 -4
- {machineconfig-5.36.dist-info → machineconfig-5.38.dist-info}/METADATA +7 -4
- {machineconfig-5.36.dist-info → machineconfig-5.38.dist-info}/RECORD +63 -86
- machineconfig/jobs/windows/start_terminal.ps1 +0 -6
- machineconfig/jobs/windows/startup_file.cmd +0 -2
- machineconfig/scripts/cloud/init.sh +0 -105
- machineconfig/scripts/linux/agents +0 -2
- machineconfig/scripts/linux/cloud +0 -2
- machineconfig/scripts/linux/croshell +0 -3
- machineconfig/scripts/linux/devops +0 -2
- machineconfig/scripts/linux/fire +0 -2
- machineconfig/scripts/linux/ftpx +0 -2
- machineconfig/scripts/linux/kill_process +0 -2
- machineconfig/scripts/linux/sessions +0 -2
- machineconfig/scripts/linux/start_terminals +0 -3
- machineconfig/scripts/windows/agents.ps1 +0 -1
- machineconfig/scripts/windows/cloud.ps1 +0 -1
- machineconfig/scripts/windows/croshell.ps1 +0 -1
- machineconfig/scripts/windows/devops.ps1 +0 -1
- machineconfig/scripts/windows/fire.ps1 +0 -1
- machineconfig/scripts/windows/ftpx.ps1 +0 -1
- machineconfig/scripts/windows/gpt.ps1 +0 -1
- machineconfig/scripts/windows/grep.ps1 +0 -2
- machineconfig/scripts/windows/kill_process.ps1 +0 -1
- machineconfig/scripts/windows/nano.ps1 +0 -3
- machineconfig/scripts/windows/scheduler.ps1 +0 -1
- machineconfig/scripts/windows/sessions.ps1 +0 -1
- machineconfig/scripts/windows/snapshot.ps1 +0 -1
- machineconfig/scripts/windows/start_terminals.ps1 +0 -1
- machineconfig/scripts/windows/wsl_rdp_windows_port_forwarding.ps1 +0 -46
- machineconfig/scripts/windows/wsl_ssh_windows_port_forwarding.ps1 +0 -76
- /machineconfig/scripts/linux/{share_nfs → other/share_nfs} +0 -0
- /machineconfig/scripts/linux/{share_smb → other/share_smb} +0 -0
- /machineconfig/scripts/linux/{start_docker → other/start_docker} +0 -0
- /machineconfig/scripts/linux/{switch_ip → other/switch_ip} +0 -0
- /machineconfig/scripts/{windows/share_nfs.ps1 → python/helpers_fire/agentic_frameworks/__init__.py} +0 -0
- /machineconfig/scripts/python/helpers_fire/{fire_crush.json → agentic_frameworks/fire_crush.json} +0 -0
- /machineconfig/scripts/python/helpers_fire/{fire_crush.py → agentic_frameworks/fire_crush.py} +0 -0
- /machineconfig/scripts/python/helpers_fire/{fire_cursor_agents.py → agentic_frameworks/fire_cursor_agents.py} +0 -0
- /machineconfig/scripts/windows/{mount_nfs.ps1 → mounts/mount_nfs.ps1} +0 -0
- /machineconfig/scripts/windows/{mount_nw.ps1 → mounts/mount_nw.ps1} +0 -0
- /machineconfig/scripts/windows/{mount_smb.ps1 → mounts/mount_smb.ps1} +0 -0
- /machineconfig/scripts/windows/{mount_ssh.ps1 → mounts/mount_ssh.ps1} +0 -0
- /machineconfig/scripts/windows/{pomodoro.ps1 → mounts/pomodoro.ps1} +0 -0
- /machineconfig/scripts/windows/{reload_path.ps1 → mounts/reload_path.ps1} +0 -0
- /machineconfig/scripts/windows/{share_cloud.cmd → mounts/share_cloud.cmd} +0 -0
- /machineconfig/scripts/windows/{share_smb.ps1 → mounts/share_smb.ps1} +0 -0
- /machineconfig/scripts/windows/{unlock_bitlocker.ps1 → mounts/unlock_bitlocker.ps1} +0 -0
- {machineconfig-5.36.dist-info → machineconfig-5.38.dist-info}/WHEEL +0 -0
- {machineconfig-5.36.dist-info → machineconfig-5.38.dist-info}/entry_points.txt +0 -0
- {machineconfig-5.36.dist-info → machineconfig-5.38.dist-info}/top_level.txt +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# https://gist.github.com/daehahn/497fa04c0156b1a762c70ff3f9f7edae?WT.mc_id=-blog-scottha
|
|
3
|
-
# https://www.hanselman.com/blog/how-to-ssh-into-wsl2-on-windows-10-from-an-external-machine
|
|
4
|
-
# https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan
|
|
5
|
-
# https://www.youtube.com/watch?v=PFI0IQZ9Z2I
|
|
6
|
-
|
|
7
|
-
# WSL2 network port forwarding script v1
|
|
8
|
-
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell,
|
|
9
|
-
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter.
|
|
10
|
-
# written by Daehyuk Ahn, Aug-1-2020
|
|
11
|
-
|
|
12
|
-
Param($p = 2223)
|
|
13
|
-
$port_num = $p
|
|
14
|
-
|
|
15
|
-
#If ($Args[0] -eq $null) {
|
|
16
|
-
# $port_num = 2222;
|
|
17
|
-
# exit;
|
|
18
|
-
#}
|
|
19
|
-
#else {
|
|
20
|
-
# $port_num = $Args[0];
|
|
21
|
-
#}
|
|
22
|
-
# Display all portproxy information
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
If ($Args[0] -eq "list") {
|
|
26
|
-
netsh interface portproxy show v4tov4;
|
|
27
|
-
exit;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
wsl.exe -u root service ssh start # added by me, to ensure sshd is fired.
|
|
31
|
-
wsl.exe -u root service ssh status
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
# If elevation needed, start new process
|
|
35
|
-
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
|
|
36
|
-
{
|
|
37
|
-
# Relaunch as an elevated process:
|
|
38
|
-
Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path),"$Args runas" -Verb RunAs
|
|
39
|
-
exit
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
# You should modify '$Ports' for your applications
|
|
43
|
-
$Ports = ($port_num) # (22,80,443,8080)
|
|
44
|
-
|
|
45
|
-
# Check WSL ip address
|
|
46
|
-
wsl hostname -I | Set-Variable -Name "WSL"
|
|
47
|
-
$found = $WSL -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
|
|
48
|
-
if (-not $found) {
|
|
49
|
-
echo "WSL2 cannot be found. Terminate script.";
|
|
50
|
-
exit;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
# Remove and Create NetFireWallRule
|
|
54
|
-
Remove-NetFireWallRule -DisplayName 'WSL 2 Firewall Unlock';
|
|
55
|
-
if ($Args[0] -ne "delete") {
|
|
56
|
-
New-NetFirewallRule -DisplayName 'WSL 2 Firewall Unlock' -Direction Outbound -LocalPort $Ports -Action Allow -Protocol TCP;
|
|
57
|
-
New-NetFirewallRule -DisplayName 'WSL 2 Firewall Unlock' -Direction Inbound -LocalPort $Ports -Action Allow -Protocol TCP;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
# Add each port into portproxy
|
|
61
|
-
$Addr = "0.0.0.0"
|
|
62
|
-
Foreach ($Port in $Ports) {
|
|
63
|
-
iex "netsh interface portproxy delete v4tov4 listenaddress=$Addr listenport=$Port | Out-Null";
|
|
64
|
-
if ($Args[0] -ne "delete") {
|
|
65
|
-
iex "netsh interface portproxy add v4tov4 listenaddress=$Addr listenport=$Port connectaddress=$WSL connectport=$Port | Out-Null";
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
# Display all portproxy information
|
|
70
|
-
netsh interface portproxy show v4tov4;
|
|
71
|
-
|
|
72
|
-
# Give user to chance to see above list when relaunched start
|
|
73
|
-
If ($Args[0] -eq "runas" -Or $Args[1] -eq "runas") {
|
|
74
|
-
Write-Host -NoNewLine 'Press any key to close! ';
|
|
75
|
-
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');
|
|
76
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/machineconfig/scripts/{windows/share_nfs.ps1 → python/helpers_fire/agentic_frameworks/__init__.py}
RENAMED
|
File without changes
|
/machineconfig/scripts/python/helpers_fire/{fire_crush.json → agentic_frameworks/fire_crush.json}
RENAMED
|
File without changes
|
/machineconfig/scripts/python/helpers_fire/{fire_crush.py → agentic_frameworks/fire_crush.py}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|