Use .gitattributes to control the line endings for files that are in the repository. The above settings are useful when working with others who use other Operating Systems, because each OS has its...
Steps: Add a Personal Access Token (PAT) to your GitHub Repository with permissions repo, workflow, read:packages Add that token as repository secret named GHA_MVN_PKGS_READ: Repository ->...
Python comes with many tools that help manage versions and dependencies. pyenv - manage Python versions virtual environments (like venv) that help isolate dependencies on a per project basis ...
Why use make in the first place? In our team, some use Windows while others use Mac and steps to run are in a Makefile. The CI/CD environment supports both Windows and Linux-based steps. I’...
I spent most of this week on dealing with these 2 exceptions: Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request." Exception calling "Dow...
Open PowerShell as Administrator, then run New-Item -ItemType SymbolicLink ` -Path "C:\Program Files\WindowsPowerShell\Modules\CustomHelperUtils" ` -Target "C:\path\to\gitrepos\utils\powershell\C...
I was working on creating EC2 images using Packer. For that, there’s the amazon-ebs Packer Builder to use. After checking that there’s nothing wrong with the syntax, thanks to packer validate --sy...
How do I quickly test github workflows on my local dev machine even for self-hosted runners? Write-up also at https://juliusgamanyi.com/2022/04/27/run-github-actions-workflows-locally-using-act I...
I wanted to know what Operating System I’m using in order to use OS-specific utilities like Linux - Add user to sudoers Execute: $> cat /etc/os-release Output: -------OS Information-------...
Create user with the command sudo useradd --create-home usery. What default values do they get? Execute: useradd -D Output HOME=/home/usery INACTIVE=-1 EXPIRE= SHELL=/bin/bash Docs: https://l...
A new version of content is available.