machineconfig 1.92__py3-none-any.whl ā 1.94__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/__init__.py +0 -8
- machineconfig/cluster/__init__.py +0 -0
- machineconfig/cluster/cloud_manager.py +359 -0
- machineconfig/cluster/data_transfer.py +56 -0
- machineconfig/cluster/distribute.py +280 -0
- machineconfig/cluster/file_manager.py +238 -0
- machineconfig/cluster/job_params.py +148 -0
- machineconfig/cluster/loader_runner.py +150 -0
- machineconfig/cluster/remote_machine.py +281 -0
- machineconfig/cluster/script_execution.py +209 -0
- machineconfig/cluster/script_notify_upon_completion.py +63 -0
- machineconfig/cluster/self_ssh.py +59 -0
- machineconfig/cluster/session_managers.py +183 -0
- machineconfig/cluster/templates/__init__.py +0 -0
- machineconfig/cluster/templates/cli_click.py +104 -0
- machineconfig/cluster/templates/cli_gooey.py +119 -0
- machineconfig/cluster/templates/cli_trogon.py +21 -0
- machineconfig/cluster/templates/f.py +4 -0
- machineconfig/cluster/templates/run_cloud.py +52 -0
- machineconfig/cluster/templates/run_cluster.py +69 -0
- machineconfig/cluster/templates/run_remote.py +67 -0
- machineconfig/cluster/templates/utils.py +37 -0
- machineconfig/jobs/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/linux/msc/lid.sh +26 -0
- machineconfig/jobs/linux/msc/network.sh +39 -0
- machineconfig/jobs/python/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python/__pycache__/check_installations.cpython-311.pyc +0 -0
- machineconfig/jobs/python/__pycache__/checkout_version.cpython-311.pyc +0 -0
- machineconfig/jobs/python/__pycache__/python_ve_symlink.cpython-311.pyc +0 -0
- machineconfig/jobs/python/archive/python_tools.txt +12 -0
- machineconfig/jobs/python/check_installations.py +26 -11
- machineconfig/jobs/python/checkout_version.py +24 -13
- machineconfig/jobs/python/create_zellij_template.py +4 -4
- machineconfig/jobs/python/python_cargo_build_share.py +13 -4
- machineconfig/jobs/python/python_ve_symlink.py +15 -4
- machineconfig/jobs/python/vscode/__pycache__/api.cpython-311.pyc +0 -0
- machineconfig/jobs/python/vscode/__pycache__/link_ve.cpython-311.pyc +0 -0
- machineconfig/jobs/python/vscode/api.py +48 -0
- machineconfig/jobs/python/vscode/link_ve.py +64 -0
- machineconfig/jobs/python/vscode/select_interpreter.py +84 -0
- machineconfig/jobs/python/vscode/sync_code.py +60 -0
- machineconfig/jobs/python_custom_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_custom_installers/__pycache__/hx.cpython-311.pyc +0 -0
- machineconfig/jobs/python_custom_installers/archive/ngrok.py +62 -0
- machineconfig/jobs/python_custom_installers/dev/aider.py +37 -0
- machineconfig/jobs/python_custom_installers/dev/alacritty.py +72 -0
- machineconfig/jobs/python_custom_installers/dev/brave.py +67 -0
- machineconfig/jobs/python_custom_installers/dev/bypass_paywall.py +50 -0
- machineconfig/jobs/python_custom_installers/dev/code.py +62 -0
- machineconfig/jobs/python_custom_installers/dev/cursor.py +67 -0
- machineconfig/jobs/python_custom_installers/dev/docker.py +70 -0
- machineconfig/jobs/python_custom_installers/dev/docker_desktop.py +77 -0
- machineconfig/jobs/python_custom_installers/dev/espanso.py +82 -0
- machineconfig/jobs/python_custom_installers/dev/goes.py +59 -0
- machineconfig/jobs/python_custom_installers/dev/lvim.py +76 -0
- machineconfig/jobs/python_custom_installers/dev/nerdfont.py +67 -0
- machineconfig/jobs/python_custom_installers/dev/redis.py +69 -0
- machineconfig/jobs/python_custom_installers/dev/reverse_proxy.md +31 -0
- machineconfig/jobs/python_custom_installers/dev/warp-cli.py +71 -0
- machineconfig/jobs/python_custom_installers/dev/wezterm.py +71 -0
- machineconfig/jobs/python_custom_installers/gh.py +46 -4
- machineconfig/jobs/python_custom_installers/hx.py +103 -18
- machineconfig/jobs/python_custom_installers/scripts/linux/brave.sh +52 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/docker.sh +140 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/docker_start.sh +48 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/edge.sh +47 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/nerdfont.sh +64 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/pgsql.sh +53 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/redis.sh +76 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/timescaledb.sh +91 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/vscode.sh +66 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/warp-cli.sh +77 -0
- machineconfig/jobs/python_custom_installers/scripts/linux/wezterm.sh +43 -0
- machineconfig/jobs/python_generic_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_generic_installers/config.json +267 -0
- machineconfig/jobs/python_generic_installers/dev/config.archive.json +18 -0
- machineconfig/jobs/python_generic_installers/dev/config.json +394 -0
- machineconfig/jobs/python_linux_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_linux_installers/archive/config.json +10 -0
- machineconfig/jobs/python_linux_installers/config.json +74 -0
- machineconfig/jobs/python_linux_installers/dev/config.json +138 -0
- machineconfig/jobs/python_windows_installers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/jobs/python_windows_installers/archive/file.json +11 -0
- machineconfig/jobs/python_windows_installers/config.json +50 -0
- machineconfig/jobs/python_windows_installers/dev/config.json +3 -0
- machineconfig/jobs/windows/archive/archive_pygraphviz.ps1 +14 -0
- machineconfig/jobs/windows/archive/openssh-server_add_key.ps1 +7 -0
- machineconfig/jobs/windows/archive/openssh-server_copy-ssh-id.ps1 +14 -0
- machineconfig/jobs/windows/start_terminal.ps1 +6 -0
- machineconfig/jobs/windows/startup_file.cmd +2 -0
- machineconfig/profile/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/profile/__pycache__/create.cpython-311.pyc +0 -0
- machineconfig/profile/__pycache__/shell.cpython-311.pyc +0 -0
- machineconfig/profile/create.py +47 -13
- machineconfig/profile/create_hardlinks.py +42 -12
- machineconfig/profile/records/generic/shares.toml +5 -0
- machineconfig/profile/records/linux/apps_summary_report.csv +48 -0
- machineconfig/profile/records/linux/apps_summary_report.md +49 -0
- machineconfig/profile/records/windows/apps_summary_report.csv +1 -0
- machineconfig/profile/records/windows/apps_summary_report.md +2 -0
- machineconfig/profile/shell.py +62 -11
- machineconfig/scripts/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/cloud/init.sh +128 -0
- machineconfig/scripts/linux/activate_ve +87 -0
- machineconfig/scripts/linux/archive/tmate_conn +12 -0
- machineconfig/scripts/linux/archive/tmate_start +12 -0
- machineconfig/scripts/linux/archive/transfer_wsl_win +5 -0
- machineconfig/scripts/linux/checkout_versions +8 -0
- machineconfig/scripts/linux/choose_wezterm_theme +9 -0
- machineconfig/scripts/linux/cloud_copy +9 -0
- machineconfig/scripts/linux/cloud_manager +8 -0
- machineconfig/scripts/linux/cloud_mount +24 -0
- machineconfig/scripts/linux/cloud_repo_sync +22 -0
- machineconfig/scripts/linux/cloud_sync +24 -0
- machineconfig/scripts/linux/croshell +24 -0
- machineconfig/scripts/linux/devops +24 -0
- machineconfig/scripts/linux/fire +46 -0
- machineconfig/scripts/linux/ftpx +8 -0
- machineconfig/scripts/linux/fzf2g +21 -0
- machineconfig/scripts/linux/fzfag +17 -0
- machineconfig/scripts/linux/fzffg +25 -0
- machineconfig/scripts/linux/fzfg +23 -0
- machineconfig/scripts/linux/fzfrga +21 -0
- machineconfig/scripts/linux/gh_models +11 -0
- machineconfig/scripts/linux/kill_process +10 -0
- machineconfig/scripts/linux/mount_drive +128 -0
- machineconfig/scripts/linux/mount_nfs +62 -0
- machineconfig/scripts/linux/mount_nw_drive +72 -0
- machineconfig/scripts/linux/mount_smb +3 -0
- machineconfig/scripts/linux/programs +21 -0
- machineconfig/scripts/linux/repos +24 -0
- machineconfig/scripts/linux/scheduler +8 -0
- machineconfig/scripts/linux/share_cloud.sh +81 -0
- machineconfig/scripts/linux/share_nfs +49 -0
- machineconfig/scripts/linux/share_smb +1 -0
- machineconfig/scripts/linux/skrg +4 -0
- machineconfig/scripts/linux/start_docker +23 -0
- machineconfig/scripts/linux/start_slidev +23 -0
- machineconfig/scripts/linux/start_terminals +12 -0
- machineconfig/scripts/linux/switch_ip +20 -0
- machineconfig/scripts/linux/url2md +10 -0
- machineconfig/scripts/linux/z_ls +104 -0
- machineconfig/scripts/python/.mypy_cache/.gitignore +2 -0
- machineconfig/scripts/python/.mypy_cache/3.11/@plugins_snapshot.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/__future__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/__future__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_ast.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_ast.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_bz2.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_bz2.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_codecs.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_codecs.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_collections_abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_collections_abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_compression.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_compression.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_decimal.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_decimal.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib_external.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_frozen_importlib_external.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_io.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_io.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_locale.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_locale.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_stat.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_stat.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_struct.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_struct.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_thread.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_thread.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/importlib.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_typeshed/importlib.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_warnings.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_warnings.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_weakref.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_weakref.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_weakrefset.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/_weakrefset.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/argparse.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/argparse.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/ast.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/ast.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/binascii.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/binascii.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/builtins.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/builtins.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/bz2.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/bz2.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/calendar.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/calendar.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/codecs.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/codecs.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/collections/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/collections/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/collections/abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/collections/abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/configparser.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/configparser.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/contextlib.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/contextlib.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/dataclasses.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/dataclasses.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/datetime.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/datetime.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/decimal.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/decimal.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/dis.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/dis.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/_policybase.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/_policybase.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/charset.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/charset.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/contentmanager.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/contentmanager.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/errors.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/errors.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/header.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/header.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/message.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/message.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/policy.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/email/policy.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/enum.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/enum.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/fnmatch.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/fnmatch.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/functools.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/functools.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/gc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/gc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/genericpath.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/genericpath.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/getpass.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/getpass.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/cmd.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/cmd.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/compat.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/compat.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/config.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/config.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/db.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/db.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/diff.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/diff.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/exc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/exc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/base.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/base.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/fun.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/fun.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/typ.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/typ.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/util.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/index/util.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/base.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/base.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/blob.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/blob.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/commit.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/commit.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/fun.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/fun.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/base.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/base.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/root.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/root.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/util.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/submodule/util.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tag.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tag.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tree.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/tree.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/util.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/objects/util.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/head.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/head.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/log.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/log.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/reference.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/reference.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/remote.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/remote.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/symbolic.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/symbolic.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/tag.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/refs/tag.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/remote.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/remote.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/base.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/base.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/fun.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/repo/fun.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/types.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/types.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/util.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/git/util.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/glob.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/glob.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/gzip.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/gzip.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap_external.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/_bootstrap_external.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/machinery.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/machinery.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/_meta.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/metadata/_meta.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/readers.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/readers.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/_common.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/_common.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/abc.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/importlib/resources/abc.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/inspect.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/inspect.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/io.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/io.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/itertools.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/itertools.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/locale.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/locale.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/logging/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/logging/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/mimetypes.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/mimetypes.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/mmap.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/mmap.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/numbers.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/numbers.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/opcode.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/opcode.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/os/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/os/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/os/path.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/os/path.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/pathlib.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/pathlib.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/platform.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/platform.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/posixpath.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/posixpath.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/re.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/re.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/resource.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/resource.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/shlex.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/shlex.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/shutil.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/shutil.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/signal.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/signal.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/python/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/src/machineconfig/scripts/python/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_compile.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_compile.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_constants.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_constants.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_parse.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sre_parse.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/stat.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/stat.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/string.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/string.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/struct.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/struct.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/subprocess.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/subprocess.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sys/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/sys/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/tarfile.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/tarfile.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/tempfile.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/tempfile.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/textwrap.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/textwrap.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/threading.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/threading.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/time.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/time.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/types.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/types.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/typing.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/typing.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/typing_extensions.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/typing_extensions.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/parse.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/urllib/parse.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/uuid.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/uuid.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/warnings.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/warnings.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/weakref.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/weakref.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/zipfile/__init__.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/zipfile/__init__.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/zlib.data.json +1 -0
- machineconfig/scripts/python/.mypy_cache/3.11/zlib.meta.json +1 -0
- machineconfig/scripts/python/.mypy_cache/CACHEDIR.TAG +3 -0
- machineconfig/scripts/python/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_copy.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_mount.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_repo_sync.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/cloud_sync.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/croshell.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_backup_retrieve.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_devapps_install.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/devops_update_repos.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/fire_jobs.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/gh_models.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/repos.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/url2md.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/viewer.cpython-311.pyc +0 -0
- machineconfig/scripts/python/__pycache__/vscode_api.cpython-311.pyc +0 -0
- machineconfig/scripts/python/archive/im2text.py +36 -0
- machineconfig/scripts/python/archive/tmate_conn.py +44 -0
- machineconfig/scripts/python/archive/tmate_start.py +48 -0
- machineconfig/scripts/python/choose_wezterm_theme.py +23 -4
- machineconfig/scripts/python/cloud_copy.py +131 -29
- machineconfig/scripts/python/cloud_manager.py +55 -2
- machineconfig/scripts/python/cloud_mount.py +43 -4
- machineconfig/scripts/python/cloud_repo_sync.py +114 -103
- machineconfig/scripts/python/cloud_sync.py +36 -220
- machineconfig/scripts/python/croshell.py +102 -32
- machineconfig/scripts/python/devops.py +143 -42
- machineconfig/scripts/python/devops_add_identity.py +112 -9
- machineconfig/scripts/python/devops_add_ssh_key.py +170 -15
- machineconfig/scripts/python/devops_backup_retrieve.py +132 -14
- machineconfig/scripts/python/devops_devapps_install.py +33 -11
- machineconfig/scripts/python/devops_update_repos.py +36 -29
- machineconfig/scripts/python/dotfile.py +8 -3
- machineconfig/scripts/python/fire_jobs.py +145 -289
- machineconfig/scripts/python/ftpx.py +76 -18
- machineconfig/scripts/python/get_zellij_cmd.py +14 -0
- machineconfig/scripts/python/gh_models.py +72 -25
- machineconfig/scripts/python/helpers/__init__.py +0 -0
- machineconfig/scripts/python/helpers/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/cloud_helpers.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/helpers2.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/__pycache__/helpers4.cpython-311.pyc +0 -0
- machineconfig/scripts/python/helpers/cloud_helpers.py +134 -0
- machineconfig/scripts/python/helpers/helpers2.py +149 -0
- machineconfig/scripts/python/helpers/helpers4.py +178 -0
- machineconfig/scripts/python/helpers/helpers5.py +50 -0
- machineconfig/scripts/python/helpers/repo_sync_helpers.py +126 -0
- machineconfig/scripts/python/mount_nfs.py +46 -15
- machineconfig/scripts/python/mount_nw_drive.py +22 -10
- machineconfig/scripts/python/mount_ssh.py +28 -12
- machineconfig/scripts/python/onetimeshare.py +23 -15
- machineconfig/scripts/python/pomodoro.py +38 -24
- machineconfig/scripts/python/repos.py +29 -32
- machineconfig/scripts/python/scheduler.py +19 -18
- machineconfig/scripts/python/snapshot.py +14 -6
- machineconfig/scripts/python/start_slidev.py +24 -32
- machineconfig/scripts/python/start_terminals.py +23 -10
- machineconfig/scripts/python/viewer.py +53 -0
- machineconfig/scripts/python/viewer_template.py +140 -0
- machineconfig/scripts/python/wifi_conn.py +20 -12
- machineconfig/scripts/python/wsl_windows_transfer.py +18 -10
- machineconfig/scripts/windows/activate_ve.ps1 +54 -0
- machineconfig/scripts/windows/archive/gource2vid.ps1 +14 -0
- machineconfig/scripts/windows/archive/im2text.ps1 +27 -0
- machineconfig/scripts/windows/archive/secure_pull.ps1 +46 -0
- machineconfig/scripts/windows/archive/secure_push.ps1 +85 -0
- machineconfig/scripts/windows/archive/tmate_conn.ps1 +7 -0
- machineconfig/scripts/windows/checkout_version.ps1 +6 -0
- machineconfig/scripts/windows/choose_wezterm_theme.ps1 +20 -0
- machineconfig/scripts/windows/cloud_copy.ps1 +17 -0
- machineconfig/scripts/windows/cloud_manager.ps1 +8 -0
- machineconfig/scripts/windows/cloud_mount.ps1 +25 -0
- machineconfig/scripts/windows/cloud_repo_sync.ps1 +8 -0
- machineconfig/scripts/windows/cloud_sync.ps1 +21 -0
- machineconfig/scripts/windows/croshell.ps1 +40 -0
- machineconfig/scripts/windows/devops.ps1 +32 -0
- machineconfig/scripts/windows/dotfile.ps1 +9 -0
- machineconfig/scripts/windows/fire.ps1 +33 -0
- machineconfig/scripts/windows/ftpx.ps1 +5 -0
- machineconfig/scripts/windows/fzfb.ps1 +3 -0
- machineconfig/scripts/windows/fzfg.ps1 +2 -0
- machineconfig/scripts/windows/fzfrga.bat +20 -0
- machineconfig/scripts/windows/gpt.ps1 +23 -0
- machineconfig/scripts/windows/grep.ps1 +2 -0
- machineconfig/scripts/windows/kill_process.ps1 +8 -0
- machineconfig/scripts/windows/mount_nfs.ps1 +44 -0
- machineconfig/scripts/windows/mount_nw.ps1 +9 -0
- machineconfig/scripts/windows/mount_smb.ps1 +2 -0
- machineconfig/scripts/windows/mount_ssh.ps1 +17 -0
- machineconfig/scripts/windows/nano.ps1 +3 -0
- machineconfig/scripts/windows/neofetch.ps1 +2 -0
- machineconfig/scripts/windows/pomodoro.ps1 +8 -0
- machineconfig/scripts/windows/py2exe.ps1 +12 -0
- machineconfig/scripts/windows/reload_path.ps1 +3 -0
- machineconfig/scripts/windows/repos.ps1 +27 -0
- machineconfig/scripts/windows/scheduler.ps1 +6 -0
- machineconfig/scripts/windows/share_cloud.cmd +34 -0
- machineconfig/scripts/windows/share_nfs.ps1 +0 -0
- machineconfig/scripts/windows/share_smb.ps1 +22 -0
- machineconfig/scripts/windows/snapshot.ps1 +5 -0
- machineconfig/scripts/windows/start_slidev.ps1 +21 -0
- machineconfig/scripts/windows/start_terminals.ps1 +22 -0
- machineconfig/scripts/windows/unlock_bitlocker.ps1 +10 -0
- machineconfig/scripts/windows/utils/op_script_delete.ps1 +7 -0
- machineconfig/scripts/windows/wifi_conn.ps1 +7 -0
- machineconfig/scripts/windows/wsl_rdp_windows_port_forwarding.ps1 +46 -0
- machineconfig/scripts/windows/wsl_ssh_windows_port_forwarding.ps1 +76 -0
- machineconfig/scripts/windows/wsl_windows_transfer.ps1 +7 -0
- machineconfig/settings/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/broot/br.sh +51 -0
- machineconfig/settings/broot/brootcd.ps1 +32 -0
- machineconfig/settings/broot/conf.toml +5 -0
- machineconfig/settings/glow/glow.yml +11 -0
- machineconfig/settings/gromit-mpx/gromit-mpx.cfg +34 -0
- machineconfig/settings/helix/config.toml +27 -0
- machineconfig/settings/helix/languages.toml +22 -0
- machineconfig/settings/keras/keras.json +6 -0
- machineconfig/settings/keyboard/espanso/config/default.yml +45 -0
- machineconfig/settings/keyboard/espanso/match/base.yml +57 -0
- machineconfig/settings/keyboard/kanata/kanata.kbd +0 -0
- machineconfig/settings/lf/linux/autocall/delete.sh +0 -0
- machineconfig/settings/lf/linux/autocall/on-cd.sh +0 -0
- machineconfig/settings/lf/linux/autocall/on-quit.sh +0 -0
- machineconfig/settings/lf/linux/autocall/open.sh +0 -0
- machineconfig/settings/lf/linux/autocall/paste.sh +0 -0
- machineconfig/settings/lf/linux/autocall/pre-cd.sh +0 -0
- machineconfig/settings/lf/linux/autocall/rename.sh +0 -0
- machineconfig/settings/lf/linux/colors +196 -0
- machineconfig/settings/lf/linux/exe/cleaner.sh +7 -0
- machineconfig/settings/lf/linux/exe/fzf_nano.sh +16 -0
- machineconfig/settings/lf/linux/exe/leftpane_previewer.sh +5 -0
- machineconfig/settings/lf/linux/exe/lfcd.sh +32 -0
- machineconfig/settings/lf/linux/exe/previewer.sh +37 -0
- machineconfig/settings/lf/linux/exe/previewer_archive.sh +155 -0
- machineconfig/settings/lf/linux/icons +357 -0
- machineconfig/settings/lf/linux/lfrc +226 -0
- machineconfig/settings/lf/windows/autocall/delete.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/on-cd.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/on-quit.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/open.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/paste.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/pre-cd.ps1 +0 -0
- machineconfig/settings/lf/windows/autocall/rename.ps1 +0 -0
- machineconfig/settings/lf/windows/cd_tere.ps1 +4 -0
- machineconfig/settings/lf/windows/cd_zoxide.ps1 +4 -0
- machineconfig/settings/lf/windows/cd_zoxide2.ps1 +4 -0
- machineconfig/settings/lf/windows/colors +159 -0
- machineconfig/settings/lf/windows/fzf_edit.ps1 +6 -0
- machineconfig/settings/lf/windows/icons +357 -0
- machineconfig/settings/lf/windows/leftpane_previewer.ps1 +3 -0
- machineconfig/settings/lf/windows/lfcd.ps1 +35 -0
- machineconfig/settings/lf/windows/lfrc +133 -0
- machineconfig/settings/lf/windows/mkdir.ps1 +3 -0
- machineconfig/settings/lf/windows/mkfile.ps1 +3 -0
- machineconfig/settings/lf/windows/previewer.ps1 +7 -0
- machineconfig/settings/lf/windows/tst.ps1 +1 -0
- machineconfig/settings/linters/.flake8 +24 -0
- machineconfig/settings/linters/.mypy.ini +29 -0
- machineconfig/settings/linters/.pylintrc +91 -0
- machineconfig/settings/linters/.ruff.toml +77 -0
- machineconfig/settings/linters/.ruff_cache/.gitignore +2 -0
- machineconfig/settings/linters/.ruff_cache/CACHEDIR.TAG +1 -0
- machineconfig/settings/lvim/linux/config.lua +0 -0
- machineconfig/settings/lvim/windows/archive/config_additional.lua +39 -0
- machineconfig/settings/lvim/windows/lua/user/custom_config.lua +13 -0
- machineconfig/settings/mprocs/windows/mprocs.yaml +55 -0
- machineconfig/settings/mprocs/windows/other +12 -0
- machineconfig/settings/pistol/pistol.conf +8 -0
- machineconfig/settings/presenterm/config.yaml +76 -0
- machineconfig/settings/procs/.procs.toml +142 -0
- machineconfig/settings/pudb/pudb.cfg +25 -0
- machineconfig/settings/rofi/config.rasi +4 -0
- machineconfig/settings/rofi/config_default.rasi +147 -0
- machineconfig/settings/shells/alacritty/alacritty.toml +40 -0
- machineconfig/settings/shells/alacritty/alacritty.yml +0 -0
- machineconfig/settings/shells/bash/.inputrc +3 -0
- machineconfig/settings/shells/bash/init.sh +66 -0
- machineconfig/settings/shells/hyper/.hyper.js +201 -0
- machineconfig/settings/shells/ipy/profiles/default/__init__.py +0 -0
- machineconfig/settings/shells/ipy/profiles/default/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/__init__.py +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/__init__.cpython-311.pyc +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/playext.cpython-311.pyc +0 -0
- machineconfig/settings/shells/ipy/profiles/default/startup/playext.py +83 -0
- machineconfig/settings/shells/kitty/kitty.conf +1476 -0
- machineconfig/settings/shells/nushell/config.nu +36 -0
- machineconfig/settings/shells/nushell/env.nu +13 -0
- machineconfig/settings/shells/pwsh/init.ps1 +88 -0
- machineconfig/settings/shells/pwsh/profile.ps1 +0 -0
- machineconfig/settings/shells/starship/starship.toml +58 -0
- machineconfig/settings/shells/vtm/settings.xml +297 -0
- machineconfig/settings/shells/wezterm/wezterm.lua +193 -0
- machineconfig/settings/shells/wt/settings.json +526 -0
- machineconfig/settings/streamlit/config.toml +22 -0
- machineconfig/settings/svim/linux/init.toml +48 -0
- machineconfig/settings/svim/windows/init.toml +48 -0
- machineconfig/settings/tere/terecd.ps1 +8 -0
- machineconfig/settings/tere/terecd.sh +8 -0
- machineconfig/settings/tmux/.tmate.conf +3 -0
- machineconfig/settings/tmux/.tmux.conf +6 -0
- machineconfig/settings/wsl/.wslconfig +35 -0
- machineconfig/settings/yazi/keymap.toml +0 -0
- machineconfig/settings/yazi/theme.toml +0 -0
- machineconfig/settings/yazi/yazi.toml +4 -0
- machineconfig/settings/zed/settings.json +35 -0
- machineconfig/settings/zellij/commands/monitor +9 -0
- machineconfig/settings/zellij/commands/standard_panes +33 -0
- machineconfig/settings/zellij/config.kdl +295 -0
- machineconfig/settings/zellij/config.orig.kdl +295 -0
- machineconfig/settings/zellij/layouts/hist +13 -0
- machineconfig/settings/zellij/layouts/panes.kdl +20 -0
- machineconfig/settings/zellij/layouts/st.kdl +21 -0
- machineconfig/settings/zellij/layouts/st2.kdl +59 -0
- machineconfig/settings/zellij/layouts/stacked_panes.kdl +11 -0
- machineconfig/setup_linux/nix/cli_installation.sh +166 -0
- machineconfig/setup_linux/others/mint_keyboard_shortcuts.sh +30 -0
- machineconfig/setup_linux/others/openssh-server_add_pub_key.sh +60 -0
- machineconfig/setup_linux/web_shortcuts/all.sh +53 -0
- machineconfig/setup_linux/web_shortcuts/ascii_art.sh +100 -0
- machineconfig/setup_linux/web_shortcuts/croshell.sh +66 -0
- machineconfig/setup_linux/web_shortcuts/interactive.sh +241 -0
- machineconfig/setup_linux/web_shortcuts/ssh.sh +64 -0
- machineconfig/setup_linux/web_shortcuts/update_system.sh +55 -0
- machineconfig/setup_windows/others/docker.ps1 +7 -0
- machineconfig/setup_windows/others/obs.ps1 +4 -0
- machineconfig/setup_windows/web_shortcuts/all.ps1 +18 -0
- machineconfig/setup_windows/web_shortcuts/ascii_art.ps1 +36 -0
- machineconfig/setup_windows/web_shortcuts/croshell.ps1 +16 -0
- machineconfig/setup_windows/web_shortcuts/interactive.ps1 +200 -0
- machineconfig/setup_windows/web_shortcuts/ssh.ps1 +11 -0
- machineconfig/setup_windows/wt_and_pwsh/install_fonts.ps1 +27 -0
- machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py +12 -2
- machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py +45 -9
- machineconfig/utils/ai/__init__.py +0 -0
- machineconfig/utils/ai/browser_user_wrapper.py +51 -0
- machineconfig/utils/ai/generate_file_checklist.py +74 -0
- machineconfig/utils/ai/url2md.py +75 -0
- machineconfig/utils/installer.py +101 -253
- machineconfig/utils/installer_utils/__init__.py +0 -0
- machineconfig/utils/installer_utils/installer_abc.py +100 -0
- machineconfig/utils/installer_utils/installer_class.py +253 -0
- machineconfig/utils/procs.py +69 -16
- machineconfig/utils/scheduling.py +47 -13
- machineconfig/utils/utils.py +39 -371
- machineconfig/utils/utils_code.py +82 -0
- machineconfig/utils/utils_links.py +88 -0
- machineconfig/utils/utils_options.py +163 -0
- machineconfig/utils/utils_path.py +151 -0
- machineconfig/utils/ve.py +37 -225
- machineconfig/utils/ve_utils/ve1.py +111 -0
- machineconfig/utils/ve_utils/ve2.py +142 -0
- {machineconfig-1.92.dist-info ā machineconfig-1.94.dist-info}/METADATA +25 -21
- machineconfig-1.94.dist-info/RECORD +710 -0
- {machineconfig-1.92.dist-info ā machineconfig-1.94.dist-info}/WHEEL +1 -1
- machineconfig-1.92.dist-info/LICENSE +0 -201
- machineconfig-1.92.dist-info/RECORD +0 -70
- {machineconfig-1.92.dist-info ā machineconfig-1.94.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
Write-Host "
|
|
2
|
+
š ===========================================
|
|
3
|
+
š¦ Machine Configuration Installation Script
|
|
4
|
+
============================================="
|
|
5
|
+
|
|
6
|
+
Write-Host "ā¹ļø If you have execution policy issues, run:
|
|
7
|
+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"
|
|
8
|
+
Write-Host "š” To accept all prompts automatically, run: `$yesAll = `$true`n"
|
|
9
|
+
|
|
10
|
+
# Set environment variable and execute scripts
|
|
11
|
+
$ve_name = "ve"
|
|
12
|
+
|
|
13
|
+
Write-Host "š Setting up Python environment..."
|
|
14
|
+
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/ve.ps1" -OutFile "ve.ps1"
|
|
15
|
+
.\ve.ps1
|
|
16
|
+
|
|
17
|
+
Write-Host "`nš Setting up repositories..."
|
|
18
|
+
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/repos.ps1" -OutFile "repos.ps1"
|
|
19
|
+
.\repos.ps1
|
|
20
|
+
|
|
21
|
+
Write-Host "`nš ============================================
|
|
22
|
+
š DOTFILES MIGRATION OPTIONS
|
|
23
|
+
============================================="
|
|
24
|
+
|
|
25
|
+
Write-Host "š±ļø Method 1: USING MOUSE WITHOUT KB OR BROWSER SHARE
|
|
26
|
+
On original machine, run:
|
|
27
|
+
cd ~/dotfiles/creds/msc
|
|
28
|
+
easy-sharing . --password rew
|
|
29
|
+
Then open browser on new machine to get MouseWithoutBorders password"
|
|
30
|
+
|
|
31
|
+
Write-Host "`nš Method 2: USING SSH
|
|
32
|
+
FROM REMOTE, RUN:
|
|
33
|
+
ftpx ~/dotfiles `$(hostname):^ -z"
|
|
34
|
+
|
|
35
|
+
Write-Host "`nš» For WSL:
|
|
36
|
+
wsl_server.ps1
|
|
37
|
+
ftpx ~/dotfiles `$env:USERNAME@localhost:2222 -z
|
|
38
|
+
# OR:
|
|
39
|
+
New-Item -ItemType SymbolicLink -Path `$env:USERPROFILE\dotfiles -Target \\wsl`$\Ubuntu\home\`$env:USERNAME\dotfiles"
|
|
40
|
+
|
|
41
|
+
Write-Host "`nāļø Method 3: USING INTERNET SECURE SHARE
|
|
42
|
+
cd ~
|
|
43
|
+
cloud_copy SHARE_URL . --config ss
|
|
44
|
+
(requires symlinks to be created first)"
|
|
45
|
+
|
|
46
|
+
Write-Host "`n----------------------------------------"
|
|
47
|
+
if (-not $yesAll) {
|
|
48
|
+
$choice = Read-Host "š Install SSH Server [y]/n"
|
|
49
|
+
} else {
|
|
50
|
+
$choice = "y"
|
|
51
|
+
}
|
|
52
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
53
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
54
|
+
Write-Host "`nš§ Installing and configuring SSH server..."
|
|
55
|
+
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
|
56
|
+
Start-Service sshd
|
|
57
|
+
Set-Service -Name sshd -StartupType 'Automatic'
|
|
58
|
+
Write-Host "ā
SSH Server installed and configured successfully!"
|
|
59
|
+
} else {
|
|
60
|
+
Write-Host "āļø Skipping SSH server installation"
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
Write-Host "`n⨠===========================================
|
|
64
|
+
š Installation Complete!
|
|
65
|
+
============================================="
|
|
66
|
+
|
|
67
|
+
# Confirm copying finished
|
|
68
|
+
if (-not $yesAll) {
|
|
69
|
+
$choice = Read-Host "Did you finish copying [y]/n ? "
|
|
70
|
+
} else {
|
|
71
|
+
$choice = "y"
|
|
72
|
+
}
|
|
73
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
74
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
75
|
+
Write-Host "Proceeding..."
|
|
76
|
+
} else {
|
|
77
|
+
Write-Host "Installation aborted."
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
# Create Symlinks
|
|
81
|
+
if (-not $yesAll) {
|
|
82
|
+
$createLinksChoice = Read-Host "Create (Sym/Hard)links (finish dotfiles transfer first) [y]/n ? "
|
|
83
|
+
} else {
|
|
84
|
+
$createLinksChoice = "y"
|
|
85
|
+
}
|
|
86
|
+
if ([string]::IsNullOrEmpty($createLinksChoice)) { $createLinksChoice = "y" }
|
|
87
|
+
|
|
88
|
+
if ($createLinksChoice -eq "y" -or $createLinksChoice -eq "Y") {
|
|
89
|
+
if (-not $yesAll) {
|
|
90
|
+
$linkTypeChoice = Read-Host "Create Symlinks (s) or Hardlinks (h) [s]/h ? "
|
|
91
|
+
} else {
|
|
92
|
+
$linkTypeChoice = "h"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
. ~\venvs\ve\Scripts\Activate.ps1
|
|
96
|
+
|
|
97
|
+
if ($linkTypeChoice -eq "s" -or $linkTypeChoice -eq "S") {
|
|
98
|
+
python -m fire machineconfig.profile.create main --choice=all
|
|
99
|
+
} elseif ($linkTypeChoice -eq "h" -or $linkTypeChoice -eq "H") {
|
|
100
|
+
python -m fire machineconfig.profile.create_hardlinks main --choice=all
|
|
101
|
+
} else {
|
|
102
|
+
Write-Host "Invalid choice for link type. Installation aborted."
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
# icacls "~\.ssh\*" /inheritance:r /grant:r "$($env:USERNAME):(F)"
|
|
106
|
+
# icacls "~\.ssh" /inheritance:r /grant:r "$($env:USERNAME):(F)"
|
|
107
|
+
} else {
|
|
108
|
+
Write-Host "Installation aborted."
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
# Install CLI Apps
|
|
112
|
+
if (-not $yesAll) {
|
|
113
|
+
$choice = Read-Host "Install CLI Apps [y]/n ? "
|
|
114
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
115
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
116
|
+
. ~\code\machineconfig\src\machineconfig\setup_windows\devapps.ps1
|
|
117
|
+
} else {
|
|
118
|
+
Write-Host "Installation aborted."
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
} else {
|
|
122
|
+
. $HOME\venvs\ve\Scripts\activate.ps1
|
|
123
|
+
python -m fire machineconfig.scripts.python.devops_devapps_install main --which=AllEssentials
|
|
124
|
+
deactivate
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
# Retrieve Repos
|
|
129
|
+
if (-not $yesAll) {
|
|
130
|
+
$choice = Read-Host "Retrieve Repos at ~/code [y]/n ? "
|
|
131
|
+
} else {
|
|
132
|
+
$choice = "y"
|
|
133
|
+
}
|
|
134
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
135
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
136
|
+
repos ~\code --clone --cloud odg1
|
|
137
|
+
} else {
|
|
138
|
+
Write-Host "Installation aborted."
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
# Retrieve Data
|
|
142
|
+
if (-not $yesAll) {
|
|
143
|
+
$choice = Read-Host "Retrieve data [y]/n ? "
|
|
144
|
+
} else {
|
|
145
|
+
$choice = "y"
|
|
146
|
+
}
|
|
147
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
148
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
149
|
+
. ~\venvs\ve\Scripts\Activate.ps1
|
|
150
|
+
python -m fire machineconfig.scripts.python.devops_backup_retrieve main --direction=RETRIEVE
|
|
151
|
+
} else {
|
|
152
|
+
Write-Host "Installation aborted."
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
# Install Brave, WezTerm, and VSCode
|
|
157
|
+
if (-not $yesAll) {
|
|
158
|
+
$choice = Read-Host "Install Brave+WindowsTerminal+WezTerm+VSCode [y]/n ? "
|
|
159
|
+
} else {
|
|
160
|
+
$choice = "y"
|
|
161
|
+
}
|
|
162
|
+
if ([string]::IsNullOrEmpty($choice)) { $choice = "y" }
|
|
163
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
164
|
+
# python -m fire machineconfig.scripts.python.devops_devapps_install main --which=wezterm
|
|
165
|
+
# python -m fire machineconfig.scripts.python.devops_devapps_install main --which=brave
|
|
166
|
+
# python -m fire machineconfig.scripts.python.devops_devapps_install main --which=code
|
|
167
|
+
winget install --no-upgrade --name "Windows Terminal" --Id "Microsoft.WindowsTerminal" --source winget --scope user --accept-package-agreements --accept-source-agreements # Terminal is is installed by default on W 11
|
|
168
|
+
winget install --no-upgrade --name "Powershell" --Id "Microsoft.PowerShell" --source winget --scope user --accept-package-agreements --accept-source-agreements # powershell require admin
|
|
169
|
+
python -m fire machineconfig.setup_windows.wt_and_pwsh.set_pwsh_theme install_nerd_fonts
|
|
170
|
+
python -m fire machineconfig.setup_windows.wt_and_pwsh.set_wt_settings main
|
|
171
|
+
winget install --no-upgrade --name "Brave" --Id "Brave.Brave" --source winget --scope user --accept-package-agreements --accept-source-agreements
|
|
172
|
+
winget install --no-upgrade --name "Microsoft Visual Studio Code" --Id "Microsoft.VisualStudioCode" --source winget --scope user --accept-package-agreements --accept-source-agreements
|
|
173
|
+
. $HOME\venvs\ve\Scripts\Activate.ps1
|
|
174
|
+
python -m fire machineconfig.setup_windows.wt_and_pwsh.set_pwsh_theme install_nerd_fonts
|
|
175
|
+
python -m fire machineconfig.setup_windows.wt_and_pwsh.set_wt_settings main
|
|
176
|
+
|
|
177
|
+
} else {
|
|
178
|
+
Write-Host "Installation aborted."
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
# Install Apps
|
|
183
|
+
if (-not $yesAll) {
|
|
184
|
+
$choice = Read-Host "Install Apps [y]/n ? "
|
|
185
|
+
} else {
|
|
186
|
+
$choice = "y"
|
|
187
|
+
}
|
|
188
|
+
if ($choice -eq "y" -or $choice -eq "Y") {
|
|
189
|
+
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/apps.ps1" -OutFile "apps.ps1"
|
|
190
|
+
.\apps.ps1
|
|
191
|
+
} else {
|
|
192
|
+
Write-Host "Installation aborted."
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
# Instructions for Thunderbird profile restoration
|
|
196
|
+
# Run this after installing Thunderbird and starting it and shutting it down but before downloading backup
|
|
197
|
+
# cd ~/AppData/Roaming/ThunderBird/Profiles
|
|
198
|
+
# $res = Get-ChildItem
|
|
199
|
+
# $name = $res[0].Name
|
|
200
|
+
# Move-Item $backup_folder $name
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
# NOT INTENDED FOR PUBLIC USE.
|
|
3
|
+
|
|
4
|
+
if (!$pubkey_string) {
|
|
5
|
+
$pubkey_url = 'https://github.com/thisismygitrepo.keys' # (CHANGE APPROPRIATELY)
|
|
6
|
+
$pubkey_string = (Invoke-WebRequest $pubkey_url).Content
|
|
7
|
+
} else {
|
|
8
|
+
Write-Output "pubkey_string is already defined."
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Invoke-WebRequest https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/openssh_all.ps1 | Invoke-Expression
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# to run: powershell.exe -executionpolicy Bypass -nologo -noninteractive -file .\Install_Fonts.ps1
|
|
2
|
+
|
|
3
|
+
$FONTS = 0x14
|
|
4
|
+
$Path = ".\fonts-to-be-installed"
|
|
5
|
+
$objShell = New-Object -ComObject Shell.Application
|
|
6
|
+
$objFolder = $objShell.Namespace($FONTS)
|
|
7
|
+
$Fontdir = dir $Path
|
|
8
|
+
|
|
9
|
+
foreach ($File in $Fontdir) {
|
|
10
|
+
if (!($file.name -match "pfb$")) {
|
|
11
|
+
$try = $true
|
|
12
|
+
$installedFonts = @(Get-ChildItem c:\windows\fonts | Where-Object {$_.PSIsContainer -eq $false} | Select-Object basename)
|
|
13
|
+
$name = $File.baseName
|
|
14
|
+
|
|
15
|
+
foreach ($font in $installedFonts) {
|
|
16
|
+
$font = $font -replace "_", ""
|
|
17
|
+
$name = $name -replace "_", ""
|
|
18
|
+
if ($font -match $name) {
|
|
19
|
+
$try = $false
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if ($try) {
|
|
24
|
+
$objFolder.CopyHere($File.fullname)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
"""
|
|
3
2
|
setup file for each shell can be found in $profile. The settings.json is the config file for Terminal.
|
|
4
3
|
https://glitchbone.github.io/vscode-base16-term/#/3024
|
|
@@ -10,7 +9,7 @@ https://glitchbone.github.io/vscode-base16-term/#/3024
|
|
|
10
9
|
from crocodile.file_management import P
|
|
11
10
|
# from crocodile.meta import Terminal
|
|
12
11
|
from machineconfig.utils.utils import LIBRARY_ROOT
|
|
13
|
-
from machineconfig.utils.
|
|
12
|
+
from machineconfig.utils.installer_utils.installer_class import Installer
|
|
14
13
|
# import os
|
|
15
14
|
import subprocess
|
|
16
15
|
|
|
@@ -26,18 +25,29 @@ nerd_fonts = {
|
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
def install_nerd_fonts():
|
|
28
|
+
print(f"\n{'='*80}\nš¦ INSTALLING NERD FONTS š¦\n{'='*80}")
|
|
29
29
|
# Step 1: download the required fonts that has all the glyphs and install them.
|
|
30
|
+
print("š Downloading Nerd Fonts package...")
|
|
30
31
|
folder, _version_to_be_installed = Installer.from_dict(d=nerd_fonts, name="nerd_fonts").download(version=None)
|
|
32
|
+
|
|
33
|
+
print("š§¹ Cleaning up unnecessary files...")
|
|
31
34
|
folder.search("*Windows*").apply(lambda p: p.delete(sure=True))
|
|
32
35
|
folder.search("*readme*").apply(lambda p: p.delete(sure=True))
|
|
33
36
|
folder.search("*LICENSE*").apply(lambda p: p.delete(sure=True))
|
|
37
|
+
|
|
38
|
+
print("āļø Installing fonts via PowerShell...")
|
|
34
39
|
file = P.tmpfile(suffix=".ps1").write_text(LIBRARY_ROOT.joinpath("setup_windows/wt_and_pwsh/install_fonts.ps1").read_text().replace(r".\fonts-to-be-installed", str(folder)))
|
|
35
40
|
subprocess.run(rf"powershell.exe -executionpolicy Bypass -nologo -noninteractive -File {file.to_str()}", check=True)
|
|
41
|
+
|
|
42
|
+
print("šļø Cleaning up temporary files...")
|
|
36
43
|
folder.delete(sure=True)
|
|
44
|
+
print(f"\nā
Nerd Fonts installation complete! ā
\n{'='*80}")
|
|
37
45
|
|
|
38
46
|
|
|
39
47
|
def main():
|
|
48
|
+
print(f"\n{'='*80}\nšØ POWERSHELL THEME SETUP šØ\n{'='*80}")
|
|
40
49
|
install_nerd_fonts()
|
|
50
|
+
print(f"\nā
All PowerShell theme components installed successfully! ā
\n{'='*80}")
|
|
41
51
|
|
|
42
52
|
|
|
43
53
|
if __name__ == '__main__':
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
"""Set Windows Terminal Settings
|
|
3
2
|
"""
|
|
4
3
|
|
|
@@ -27,20 +26,29 @@ assert env.system == 'Windows', 'This script is only for Windows.'
|
|
|
27
26
|
class TerminalSettings(object):
|
|
28
27
|
def __init__(self):
|
|
29
28
|
# Grabbing Terminal Settings file:
|
|
29
|
+
print(f"\n{'='*80}\nš INITIALIZING TERMINAL SETTINGS š\n{'='*80}")
|
|
30
30
|
tmp = os.getenv("LOCALAPPDATA")
|
|
31
31
|
if not isinstance(tmp, str):
|
|
32
|
+
print("ā ERROR: Could not find LOCALAPPDATA environment variable!")
|
|
32
33
|
raise ValueError("Could not find LOCALAPPDATA environment variable.")
|
|
33
34
|
self.path = P(tmp).joinpath(r"Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json")
|
|
34
|
-
|
|
35
|
+
backup_name = f".orig_{randstr()}"
|
|
36
|
+
print(f"š Creating backup of original settings as {backup_name}...")
|
|
37
|
+
self.path.copy(append=backup_name)
|
|
38
|
+
print(f"š Loading Windows Terminal settings from: {self.path}")
|
|
35
39
|
self.dat: dict[str, Any] = Read.json(self.path)
|
|
36
40
|
self.profs = L(self.dat["profiles"]["list"])
|
|
41
|
+
print(f"ā
Successfully loaded {len(self.profs)} profiles\n{'-'*80}")
|
|
37
42
|
|
|
38
43
|
def save_terminal_settings(self):
|
|
44
|
+
print(f"\nš¾ Saving terminal settings to: {self.path}")
|
|
39
45
|
self.dat["profiles"]["list"] = list(self.profs)
|
|
40
46
|
Save.json(obj=self.dat, path=self.path, indent=5)
|
|
47
|
+
print(f"ā
Settings saved successfully!\n{'-'*80}")
|
|
41
48
|
|
|
42
49
|
# ========================= Terminal Settings =========================================
|
|
43
50
|
def update_default_settings(self):
|
|
51
|
+
print("\nāļø Updating default terminal settings...")
|
|
44
52
|
# Changing start up settings:
|
|
45
53
|
self.dat["startOnUserLogin"] = True
|
|
46
54
|
self.dat["launchMode"] = "fullscreen"
|
|
@@ -49,10 +57,12 @@ class TerminalSettings(object):
|
|
|
49
57
|
self.dat["copyOnSelect"] = True
|
|
50
58
|
self.dat["profiles"]["defaults"]["padding"] = "0"
|
|
51
59
|
self.dat["profiles"]["defaults"]["useAcrylic"] = False
|
|
60
|
+
print(f"ā
Default settings updated\n{'-'*80}")
|
|
52
61
|
|
|
53
62
|
# 1- Customizing Powershell========================================================
|
|
54
63
|
# as opposed to Windows Powershell
|
|
55
64
|
def customize_powershell(self, nerd_font: bool=True):
|
|
65
|
+
print("\nš ļø Customizing PowerShell profile...")
|
|
56
66
|
pwsh: dict[str, Any] = dict(name="PowerShell",
|
|
57
67
|
commandline="pwsh",
|
|
58
68
|
hidden=False,
|
|
@@ -60,23 +70,30 @@ class TerminalSettings(object):
|
|
|
60
70
|
# guid="{" + str(uuid4()) + "}", # WT doesn't accept any GUID to identify pwsh
|
|
61
71
|
startingDirectory="%USERPROFILE%", # "%USERPROFILE%", # None: inherent from parent process.
|
|
62
72
|
)
|
|
63
|
-
if nerd_font:
|
|
73
|
+
if nerd_font:
|
|
74
|
+
print("š¤ Setting PowerShell font to CaskaydiaCove Nerd Font...")
|
|
75
|
+
pwsh["font"] = dict(face="CaskaydiaCove Nerd Font") # because oh-my-posh uses glyphs from this font.
|
|
76
|
+
|
|
64
77
|
for idx, item in enumerate(self.profs):
|
|
65
78
|
if item["name"] == "PowerShell":
|
|
66
79
|
self.profs.list[idx].update(pwsh)
|
|
80
|
+
print(f"ā
PowerShell profile customized successfully\n{'-'*80}")
|
|
67
81
|
break
|
|
68
82
|
else:
|
|
69
|
-
print("Couldn't customize
|
|
83
|
+
print(f"ā Couldn't customize PowerShell because profile not found, try to install it first.\n{'-'*80}")
|
|
70
84
|
|
|
71
85
|
def make_powershell_default_profile(self):
|
|
86
|
+
print("\nš Setting PowerShell as the default profile...")
|
|
72
87
|
for profile in self.profs:
|
|
73
88
|
if profile["name"] == "PowerShell":
|
|
74
89
|
self.dat["defaultProfile"] = profile["guid"]
|
|
75
|
-
print("
|
|
90
|
+
print(f"ā
PowerShell is now the default profile!\n{'-'*80}")
|
|
76
91
|
break
|
|
77
|
-
else:
|
|
92
|
+
else:
|
|
93
|
+
print(f"ā PowerShell profile was not found in the list of profiles and therefore was not made the default.\n{'-'*80}")
|
|
78
94
|
|
|
79
95
|
def add_croshell(self):
|
|
96
|
+
print("\nš Adding croshell profile...")
|
|
80
97
|
croshell = dict(name="croshell",
|
|
81
98
|
guid="{" + str(uuid4()) + "}",
|
|
82
99
|
# commandline=f"powershell.exe -Command \"{activate} ipython -i -c 'from crocodile.toolbox import *'\"",
|
|
@@ -88,10 +105,14 @@ class TerminalSettings(object):
|
|
|
88
105
|
for profile in self.profs:
|
|
89
106
|
if profile["name"] == "croshell":
|
|
90
107
|
profile.update(croshell)
|
|
108
|
+
print(f"ā
Updated existing croshell profile\n{'-'*80}")
|
|
91
109
|
break
|
|
92
|
-
else:
|
|
110
|
+
else:
|
|
111
|
+
self.profs.append(croshell)
|
|
112
|
+
print(f"ā
Added new croshell profile\n{'-'*80}")
|
|
93
113
|
|
|
94
114
|
def add_ubuntu(self):
|
|
115
|
+
print("\nš§ Adding Ubuntu WSL profile...")
|
|
95
116
|
# Add Ubunto if it is not there.
|
|
96
117
|
ubuntu = dict(name="Ubuntu",
|
|
97
118
|
commandline="wsl -d Ubuntu -- cd ~",
|
|
@@ -99,9 +120,14 @@ class TerminalSettings(object):
|
|
|
99
120
|
guid="{" + str(uuid4()) + "}",
|
|
100
121
|
startingDirectory="%USERPROFILE%", # "%USERPROFILE%", # None: inherent from parent process.
|
|
101
122
|
)
|
|
102
|
-
if self.profs.filter(lambda x: x["name"] == "Ubuntu").__len__() < 1:
|
|
123
|
+
if self.profs.filter(lambda x: x["name"] == "Ubuntu").__len__() < 1:
|
|
124
|
+
self.profs.append(ubuntu)
|
|
125
|
+
print(f"ā
Added Ubuntu WSL profile\n{'-'*80}")
|
|
126
|
+
else:
|
|
127
|
+
print(f"ā¹ļø Ubuntu profile already exists\n{'-'*80}")
|
|
103
128
|
|
|
104
129
|
def standardize_profiles_order(self):
|
|
130
|
+
print("\nš Standardizing profile order...")
|
|
105
131
|
# Changing order of profiles:
|
|
106
132
|
others = []
|
|
107
133
|
pwsh = croshell = ubuntu = wpwsh = cmd = azure = None
|
|
@@ -115,11 +141,14 @@ class TerminalSettings(object):
|
|
|
115
141
|
elif name == "Azure Cloud Shell": azure = profile
|
|
116
142
|
else: others.append(profile)
|
|
117
143
|
self.profs = L([item for item in [pwsh, croshell, ubuntu, wpwsh, cmd, azure] + others if item is not None])
|
|
144
|
+
print(f"ā
Profile order standardized\n{'-'*80}")
|
|
118
145
|
|
|
119
146
|
|
|
120
147
|
def main():
|
|
148
|
+
print(f"\n{'='*80}\nš„ļø WINDOWS TERMINAL SETUP š„ļø\n{'='*80}")
|
|
121
149
|
shell = {"powershell": "pwsh.exe", "Windows Powershell": "powershell.exe"}["powershell"].split(".exe", maxsplit=1)[0]
|
|
122
150
|
if shell == "pwsh":
|
|
151
|
+
print("š Starting Windows Terminal configuration with PowerShell...")
|
|
123
152
|
ts = TerminalSettings()
|
|
124
153
|
ts.update_default_settings()
|
|
125
154
|
ts.customize_powershell(nerd_font=True)
|
|
@@ -128,9 +157,16 @@ def main():
|
|
|
128
157
|
ts.add_croshell()
|
|
129
158
|
ts.add_ubuntu()
|
|
130
159
|
ts.standardize_profiles_order()
|
|
160
|
+
|
|
161
|
+
print("āØļø Adding keyboard shortcut for pane zoom (ctrl+shift+z)...")
|
|
131
162
|
ts.dat['actions'].append({'command': 'togglePaneZoom', 'keys': 'ctrl+shift+z'})
|
|
163
|
+
|
|
132
164
|
ts.save_terminal_settings()
|
|
133
|
-
|
|
165
|
+
print(f"\n{'='*80}\n⨠WINDOWS TERMINAL SETUP COMPLETE āØ\n{'='*80}")
|
|
166
|
+
else:
|
|
167
|
+
error_msg = "ā ERROR: Only PowerShell is supported, not Windows PowerShell!"
|
|
168
|
+
print(error_msg)
|
|
169
|
+
raise NotImplementedError(error_msg)
|
|
134
170
|
|
|
135
171
|
|
|
136
172
|
if __name__ == '__main__':
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"""
|
|
2
|
+
playwright install
|
|
3
|
+
sudo nala install libavif13
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import os
|
|
7
|
+
os.environ["ANONYMIZED_TELEMETRY"] = "false"
|
|
8
|
+
|
|
9
|
+
from langchain_ollama import ChatOllama
|
|
10
|
+
from browser_use import Agent
|
|
11
|
+
import asyncio
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# Create agent with the model
|
|
15
|
+
async def main():
|
|
16
|
+
print(f"""
|
|
17
|
+
ā{'ā' * 70}ā
|
|
18
|
+
ā š Browser Automation Agent
|
|
19
|
+
ā{'ā' * 70}ā
|
|
20
|
+
""")
|
|
21
|
+
|
|
22
|
+
print("š Initializing LLM model (llama3.1:8b)...")
|
|
23
|
+
llm = ChatOllama(model="llama3.1:8b")
|
|
24
|
+
print("ā
LLM model initialized")
|
|
25
|
+
|
|
26
|
+
print(f"""
|
|
27
|
+
ā{'ā' * 70}ā®
|
|
28
|
+
ā š¤ Task: Open https://chat.openai.com/ and ask how many r's in ā
|
|
29
|
+
ā rrraaararewey, use Thinking Button and type the answer ā
|
|
30
|
+
ā°{'ā' * 70}āÆ
|
|
31
|
+
""")
|
|
32
|
+
|
|
33
|
+
print("š Creating and launching browser agent...")
|
|
34
|
+
agent = Agent(
|
|
35
|
+
task="open https://chat.openai.com/ and ask how many r's in rrraaararewey, use Thinking Button and type the answer",
|
|
36
|
+
llm=llm
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
print("šāāļø Running agent task...")
|
|
40
|
+
await agent.run()
|
|
41
|
+
|
|
42
|
+
print(f"""
|
|
43
|
+
ā{'ā' * 70}ā
|
|
44
|
+
ā ā
Browser automation task completed
|
|
45
|
+
ā{'ā' * 70}ā
|
|
46
|
+
""")
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
if __name__ == "__main__":
|
|
50
|
+
asyncio.run(main())
|
|
51
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from typing import List, Optional, Union
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def generate_file_checklist(repo_root: Union[str, Path], exclude_dirs: Optional[List[str]] = None) -> Path:
|
|
8
|
+
|
|
9
|
+
actual_exclude_dirs: List[str] = ['.venv', '.git', '__pycache__', 'build', 'dist', '*.egg-info']
|
|
10
|
+
if exclude_dirs is not None:
|
|
11
|
+
actual_exclude_dirs = exclude_dirs
|
|
12
|
+
|
|
13
|
+
repo_root = Path(repo_root).expanduser().absolute()
|
|
14
|
+
output_path: Path = repo_root / ".ai" / "repo_task" / "file_checklist.md"
|
|
15
|
+
py_files: List[Path] = []
|
|
16
|
+
for filepath in repo_root.glob('**/*.py'):
|
|
17
|
+
if any(excl in filepath.parts for excl in actual_exclude_dirs) or any(filepath.match(f"**/{excl}/**") for excl in actual_exclude_dirs) or filepath.name == "__init__.py":
|
|
18
|
+
continue
|
|
19
|
+
py_files.append(filepath.relative_to(repo_root))
|
|
20
|
+
|
|
21
|
+
sh_files: List[Path] = []
|
|
22
|
+
for filepath in repo_root.glob('**/*.sh'):
|
|
23
|
+
if any(excl in filepath.parts for excl in actual_exclude_dirs) or any(filepath.match(f"**/{excl}/**") for excl in actual_exclude_dirs):
|
|
24
|
+
continue
|
|
25
|
+
sh_files.append(filepath.relative_to(repo_root))
|
|
26
|
+
|
|
27
|
+
py_files.sort()
|
|
28
|
+
sh_files.sort()
|
|
29
|
+
|
|
30
|
+
markdown_content: str = "# File Checklist\n\n"
|
|
31
|
+
|
|
32
|
+
markdown_content += "## Python Files\n\n"
|
|
33
|
+
for py_file in py_files:
|
|
34
|
+
markdown_content += f"- [ ] {py_file}\n"
|
|
35
|
+
|
|
36
|
+
markdown_content += "\n## Shell Script Files\n\n"
|
|
37
|
+
for sh_file in sh_files:
|
|
38
|
+
markdown_content += f"- [ ] {sh_file}\n"
|
|
39
|
+
Path(output_path).parent.mkdir(parents=True, exist_ok=True)
|
|
40
|
+
with open(output_path, 'w', encoding='utf-8') as f:
|
|
41
|
+
f.write(markdown_content)
|
|
42
|
+
|
|
43
|
+
print(f"š Checklist generated at: {output_path}")
|
|
44
|
+
return output_path
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def main() -> None:
|
|
48
|
+
import argparse
|
|
49
|
+
|
|
50
|
+
parser = argparse.ArgumentParser(description='Generate a markdown file with checkboxes for all .py and .sh files.')
|
|
51
|
+
parser.add_argument('--repo', '-r', type=str, default=str(Path.cwd()), help='Repository root path. Defaults to current working directory.')
|
|
52
|
+
parser.add_argument('--exclude', '-e', nargs='+', type=str,
|
|
53
|
+
help='Additional directories to exclude (by default excludes .venv, .git, __pycache__, build, dist, *.egg-info)')
|
|
54
|
+
|
|
55
|
+
args = parser.parse_args()
|
|
56
|
+
|
|
57
|
+
exclude_dirs: List[str] = ['.venv', '.git', '__pycache__', 'build', 'dist', '*.egg-info']
|
|
58
|
+
if args.exclude:
|
|
59
|
+
exclude_dirs.extend(args.exclude)
|
|
60
|
+
if args.repo == '':
|
|
61
|
+
print("Error: Repository path cannot be empty.")
|
|
62
|
+
return
|
|
63
|
+
|
|
64
|
+
output_path = generate_file_checklist(args.repo, exclude_dirs)
|
|
65
|
+
print(f"""
|
|
66
|
+
{'=' * 60}
|
|
67
|
+
ā
SUCCESS | Markdown checklist generated successfully!
|
|
68
|
+
š File Location: {output_path}
|
|
69
|
+
{'=' * 60}
|
|
70
|
+
""")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
if __name__ == "__main__":
|
|
74
|
+
main()
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
from crocodile.core import randstr
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
import subprocess
|
|
4
|
+
import multiprocessing
|
|
5
|
+
import time
|
|
6
|
+
|
|
7
|
+
cwd = Path.cwd()
|
|
8
|
+
|
|
9
|
+
print("\n" + "=" * 50)
|
|
10
|
+
print("š Welcome to the URL to Markdown Converter")
|
|
11
|
+
print("=" * 50 + "\n")
|
|
12
|
+
|
|
13
|
+
tools_needed = ["xcrawl3r", "html2markdown"]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
url = input("š Enter the URL: ")
|
|
17
|
+
depth = input("š Enter the crawl depth (default: 4): ") or "4"
|
|
18
|
+
|
|
19
|
+
website_name_as_valid_filename = url.split("//")[-1].split("/")[0].replace(".", "_").replace(":", "_")
|
|
20
|
+
domain = url.split("//")[-1].split("/")[0]
|
|
21
|
+
op_dir = cwd.joinpath(".website", website_name_as_valid_filename)
|
|
22
|
+
op_dir.mkdir(exist_ok=True, parents=True)
|
|
23
|
+
urls_file = op_dir.joinpath("urls", "urls.txt")
|
|
24
|
+
urls_file.parent.mkdir(exist_ok=True, parents=True)
|
|
25
|
+
if urls_file.exists():
|
|
26
|
+
urls_file.unlink()
|
|
27
|
+
|
|
28
|
+
print("š Crawling the website to extract URLs...")
|
|
29
|
+
command = f"""xcrawl3r --url {url} --domain {domain} --depth {depth} --concurrency 20 --parallelism 4 --output {urls_file} """
|
|
30
|
+
print(f"Running command: {command}")
|
|
31
|
+
subprocess.run(command, shell=True, check=True)
|
|
32
|
+
|
|
33
|
+
all_urls = urls_file.read_text().splitlines()
|
|
34
|
+
relevant_urls = list(set(all_urls)) # remove duplicates
|
|
35
|
+
relevant_urls = [a_url for a_url in relevant_urls if not a_url.endswith(".css") and not a_url.endswith(".js") and not a_url.endswith(".png") and not a_url.endswith(".jpg") and not a_url.endswith(".jpeg") and not a_url.endswith(".gif")]
|
|
36
|
+
|
|
37
|
+
print(f"ā
Found {len(relevant_urls)} relevant URLs. Preparing to convert to Markdown...\n")
|
|
38
|
+
|
|
39
|
+
commands: list[str] = []
|
|
40
|
+
for a_url in relevant_urls:
|
|
41
|
+
commands.append(f"""curl {a_url} | html2markdown --output {op_dir.joinpath(a_url.split('/')[-1] + "_" + randstr(5) + ".md")} """)
|
|
42
|
+
|
|
43
|
+
def run_command(cmd):
|
|
44
|
+
try:
|
|
45
|
+
_result = subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True)
|
|
46
|
+
print(f"ā
Completed: {cmd[:60]} ...")
|
|
47
|
+
return True
|
|
48
|
+
except subprocess.SubprocessError as e:
|
|
49
|
+
print(f"ā Error with command: {cmd[:60]}...\n{str(e)}")
|
|
50
|
+
return False
|
|
51
|
+
|
|
52
|
+
def main():
|
|
53
|
+
cpu_count = multiprocessing.cpu_count()
|
|
54
|
+
max_processes = min(20, cpu_count)
|
|
55
|
+
print(f"š Running commands with {max_processes} parallel processes...\n")
|
|
56
|
+
|
|
57
|
+
start_time = time.time()
|
|
58
|
+
|
|
59
|
+
with multiprocessing.Pool(processes=max_processes) as pool:
|
|
60
|
+
results = pool.map(run_command, commands)
|
|
61
|
+
|
|
62
|
+
successful = results.count(True)
|
|
63
|
+
failed = results.count(False)
|
|
64
|
+
elapsed_time = time.time() - start_time
|
|
65
|
+
|
|
66
|
+
print(f"\nā±ļø Completed in {elapsed_time:.2f} seconds")
|
|
67
|
+
print(f"ā
Successfully processed: {successful} files")
|
|
68
|
+
if failed > 0:
|
|
69
|
+
print(f"ā Failed to process: {failed} files")
|
|
70
|
+
|
|
71
|
+
print(f"š Output saved to: {op_dir}\n")
|
|
72
|
+
|
|
73
|
+
if __name__ == "__main__":
|
|
74
|
+
main()
|
|
75
|
+
|