I made a list of 20 things I might want out of a monorepo tool for a Design System to use as a basis for comparing some of the options including Lerna, Northbrook, and Rush.
This file contains 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
# Set file and folder path for SSMS installer .exe | |
$folderpath="c:\windows\temp" | |
$filepath="$folderpath\SSMS-Setup-ENU.exe" | |
#If SSMS not present, download | |
if (!(Test-Path $filepath)){ | |
write-host "Downloading SQL Server 2016 SSMS..." | |
$URL = "https://download.microsoft.com/download/3/1/D/31D734E0-BFE8-4C33-A9DE-2392808ADEE6/SSMS-Setup-ENU.exe" | |
$clnt = New-Object System.Net.WebClient | |
$clnt.DownloadFile($url,$filepath) |
This file contains 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
curl -L http://bit.ly/10hA8iC | bash |
This file contains 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
#!/bin/bash | |
echo "Finding and Purging Big Files From Git History" | |
echo "==============================================" | |
echo "" | |
echo "http://naleid.com/blog/2012/01/17/finding-and-purging-big-files-from-git-history/" | |
echo "" | |
pushd "$(git rev-parse --show-toplevel)" > /dev/null |
This file contains 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
Nines of Reliability: (Hours / Minutes / Seconds) | |
2 9's (99%) = up to 87.6h / 5256.0m / 315360.0 seconds of downtime per year. | |
3 9's (99.9%) = up to 8.76h / 525.6m / 31536.0 seconds of downtime per year. | |
4 9's (99.99%) = up to 0.876h / 52.559999999999995m / 3153.6 seconds of downtime per year. | |
5 9's (99.999%) = up to 0.0876h / 5.256m / 315.36 seconds of downtime per year. | |
6 9's (99.9999%) = up to 0.00876h / 0.5256000000000001m / 31.536 seconds of downtime per year. | |
7 9's (99.99999%) = up to 8.76E-4h / 0.05256m / 3.1536 seconds of downtime per year. |