wget https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz
sudo tar -xzf apache-maven-3.8.8-bin.tar.gz -C /opt/
mv /opt/apache-maven-3.8.8 /opt/maven
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH
-
Within your package folder (folder containing
package.jsonfor your package), locate where the.npmrcfor the package is located. Usually it's right alongside thepackage.json. Creating an.npmrcwith the feed is covered in a step below.- For
openapi-alpsthis is located undercommon/config/rush/.npmrc
- For
-
Ensure your project
.npmrchas a reference to the feed containing your packages.- To get detailed instructions from devops, go to the feed and click
Connect to Feed(top right button), then clickNPM, and change fromWindowstab toOther. TheOthertab is excellent to use for linux/mac connections.
- To get detailed instructions from devops, go to the feed and click
-
Update your project
.npmrcwith 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!
- Install the
Windows subsystem for linux. To do this:Start->Turn Windows Features On or Offthen ensure that you have:-
Windows Subsystem for Linux -
Virtual Machine Platform
-
- Install the Linux Kernel Update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To run this script, no installation necessary, but python must be present on system. | |
| # install python, then simply run `python remove-nline-prefix.py` to see it work. | |
| # Replace sample_input as necessary. | |
| # this is reflected in regex 101: https://regex101.com/r/Z7z2sE/1 | |
| # and example regex usage in this repo at /scrapyard/notepad++_regex_replace.gif | |
| import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $inputFile = "azure-sdk-qr-smaller.PNG" | |
| $file = "re-rewritten.txt"; | |
| $test_out = "re-out.png" | |
| # to base64 | |
| [System.Convert]::ToBase64String((Get-Content $inputFile -AsByteStream)) | Set-Content $file | |
| # back to bytes | |
| [Convert]::FromBase64String((Get-Content $file)) | Set-Content $test_out -AsByteStream |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # requires beautifulsoup4 | |
| # requires requests | |
| from bs4 import BeautifulSoup | |
| import requests | |
| post_info = [ | |
| ("https://forums.spacebattles.com/threads/the-last-angel.244209/#post-9395180", "Chapter 1"), | |
| ("https://forums.spacebattles.com/threads/the-last-angel.244209/#post-9452290", "Chapter 2"), | |
| ("https://forums.spacebattles.com/threads/the-last-angel.244209/#post-9486254", "Chapter 3"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Destructively Update the nvchad configuration. | |
| .DESCRIPTION | |
| REQUIRES MINGW64 ON THE PATH! Reference <locker-root>/cache/c_cpp/windows-installation.md | |
| 1. Takes backup of ~/AppData/Local/nvim + ~/AppData/Local/nvim-data | |
| 2. Deletes ~/AppData/Local/nvim + ~/AppData/Local/nvim-data | |
| 3. Clone nvchad to ~/AppData/Local/nvim. |