Ripped from fnky
.
Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
Ripped from fnky
.
Standard escape codes are prefixed with Escape
:
^[
\033
\u001b
\x1B
Set-StrictMode -Version 4 | |
<# | |
.SYNOPSIS | |
Installs the test-proxy as a tool, globally, from a feed (which defaults to the public azure sdk feed) | |
.COMPONENT | |
locker | |
.PARAMETER Version | |
The version of the proxy to install. Defaults to latest. |
This writeup is NOT a reference on how to install or run the test-proxy
, it is a shortcut guide to helping a test-proxy dev debug each language's tests.
node
is available on PATHnpm install -g azurite
All of the details in this instruction are being run from the default user folder of your WSL. For me, that's /home/semick/
. ~
is also used to refer to this same /home/semick
directory.
So install Ubuntu 20.04 LTS
from Microsoft Store! (If you aren't using the new windows terminal I HIGHLY recommend it)
sudo apt update && sudo apt upgrade
FROM debian:bullseye-slim | |
ENV LANG C.UTF-8 | |
ENV BOOTSTRAP_HASKELL_NONINTERACTIVE 1 | |
# [Option] Install zsh | |
ARG INSTALL_ZSH="true" | |
# [Option] Upgrade OS packages to their latest versions | |
ARG UPGRADE_PACKAGES="false" |
import argparse | |
from ci_tools.functions import discover_targeted_packages | |
from ci_tools.parsing import ParsedSetup, update_build_config | |
from ci_tools.functions import omit_mgmt | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description="") | |
parser.add_argument( |
Within your package folder (folder containing package.json
for your package), locate where the .npmrc
for the package is located. Usually it's right alongside the package.json
. Creating an .npmrc
with the feed is covered in a step below.
openapi-alps
this is located under common/config/rush/.npmrc
Ensure your project .npmrc
has a reference to the feed containing your packages.
Connect to Feed
(top right button), then click NPM
, and change from Windows
tab to Other
. The Other
tab is excellent to use for linux/mac connections.Update your project .npmrc
with the following
# "registry" is a url, don't make it multiline!
This example was most recently worked through on Windows 11 on July 19th, 2023. It is significantly easier now than it used to be FOR CERTAIN!
Windows subsystem for linux
. To do this: Start
-> Turn Windows Features On or Off
then ensure that you have:
Windows Subsystem for Linux
Virtual Machine Platform