How can I fix the “zsh: command not found: python” error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7)

Anyone updating their macOS to Monterey 12.3 will find that they suddenly no longer have the system-provided Python 2. The reason for this is that Apple removed the system-provided Python 2 installation (details). So a workaround/solution for this is to use pyenv to install Python 2.7 (or any other specific version you need). Install pyenv with … Read more

Atom certificate has expired [closed]

As others have pointed out, GitHub has been ”sunsetting Atom”. However, there are other ways to install packages in your existing Atom installation. Example # Clone the repository git clone https://github.com/platformio/platformio-atom-ide-terminal ~/.atom/packages/platformio-ide-terminal # Change directory to the cloned package cd ~/.atom/packages/platformio-ide-terminal # Install dependencies apm install If you don’t use git, you can simply download … Read more

Using git with ssh-agent on Windows

posh-git and git for windows 2.7 should include everything you need to setup an ssh-agent. Once you have the module installed you can start the agent using something like: Import-Module ~\Documents\WindowsPowerShell\Modules\posh-git\posh-git Set-Alias ssh-agent “$env:ProgramFiles\git\usr\bin\ssh-agent.exe” Set-Alias ssh-add “$env:ProgramFiles\git\usr\bin\ssh-add.exe” Start-SshAgent -Quiet You then should see the SSH_AUTH_SOCK environmental variable is set: C:\Code\Go\src\bosun.org\cmd\scollector [master]> gci env:SSH_AUTH_SOCK Name Value … Read more

how to add a formatting menu bar to Atom-“cut”, “copy”, “paste”

You can extend Atom’s feature-set by installing third-party packages. There might be a toolbar package, that already supports those action. Another option is to install flex-tool-bar and create a config file that adds your desired features. Example: [ { type: “button” icon: “copy” iconset: “fa” callback: “core:copy” tooltip: “Copy” } { type: “button” icon: “cut” … Read more