Skip to content

Instantly share code, notes, and snippets.

View Adam--'s full-sized avatar

Adam Anderson Adam--

View GitHub Profile
@Adam--
Adam-- / Open-Solution.psd1
Last active May 10, 2024 12:37 — forked from refactorsaurusrex/Open-Solution.psd1
PowerShell function to open the first Visual Studio solution file found within the current directory.
@{
RootModule = 'Open-Solution.psm1'
ModuleVersion = '0.2.0'
GUID = '0d320efd-ae51-49bf-a0b2-3f20ae76d6d0'
Author = 'Original: Nick Spreitzer; Modified: Adam Anderson'
FunctionsToExport = @('Open-Solution', 'Open-AtmelSolution')
AliasesToExport = @('sln', 'atsln')
}
@Adam--
Adam-- / Integrating Pipenv and Azure Private Package Indexes.md
Last active March 23, 2023 19:12
Integrating Pipenv and Azure Private Package Indexes

Integrating Pipenv and Azure Private Package Indexes

Pipenv is a popular tool for automatically creating and managing Python virtual environments and installing and managing pip packages.

For more information on pipenv, the problems it solves and its benefits checkout the first page of the pipenv docs: Pipenv: Python Dev Workflow for Humans.

Unfortunately, using Azure private package indexes present some technical challenges regarding authentication. Specifically, Azure uses a web based authentication workflow that needs some addition configuration to work with pipenv.

It is assumed that you have a python and pip installed and added to your shell’s path. It's generally recommended to pip install to the user site using --user; however, I found that these user directories are typically not added to the path.