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
#!/usr/bin/env bash | |
set -euo pipefail | |
INSTALL_ZSH=${1:-"true"} | |
USERNAME=${2:-"automatic"} | |
USER_UID=${3:-"automatic"} | |
USER_GID=${4:-"automatic"} | |
UPGRADE_PACKAGES=${5:-"true"} | |
INSTALL_OH_MYS=${6:-"true"} | |
ADD_NON_FREE_PACKAGES=${7:-"false"} |
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-ExecutionPolicy -Force RemoteSigned -Scope CurrentUser | |
Install-WindowsUpdate | |
choco install Microsoft-Hyper-V-All -source windowsFeatures | |
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures | |
choco install VirtualMachinePlatform -source WindowsFeatures | |
choco feature enable -n allowGlobalConfirmation |
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
Install-WindowsUpdate | |
Set-ExecutionPolicy -Force RemoteSigned -Scope LocalMachine | |
choco install Microsoft-Hyper-V-All -source windowsFeatures | |
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures | |
choco feature enable -n allowGlobalConfirmation | |
choco install googlechrome | |
choco install vscode |
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
FROM microsoft/dotnet:2.2-aspnetcore-runtime-alpine | |
RUN apk update && apk upgrade --no-cache | |
WORKDIR /app | |
COPY ./dist . | |
ENTRYPOINT ["dotnet", "parrot.dll"] |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
ID=$(uuidgen) | |
LOCATION=westus | |
RG=terraformrg | |
# Create unique name for storage account | |
STORAGE_ACCOUNT=$(echo "terraform-${ID}" | tr '[:upper:]' '[:lower:]' | sed 's/-//g' | cut -c1-24) |
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
{ | |
"files.autoSave": "afterDelay", | |
"workbench.colorTheme": "Visual Studio Light", | |
"cSpell.userWords": [ | |
"Kubernetes", | |
"addin", | |
"kubectl", | |
"nuget" | |
], | |
"workbench.iconTheme": "material-icon-theme", |
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
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
url = "http://www.pythonchallenge.com/pc/def/%s.html" | |
print(url % 2**38) |
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
# http://boxstarter.org/package/url? | |
Disable-BingSearch | |
Disable-GameBarTips | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Enable-WindowsOptionalFeature -Online -FeatureName containers ?All | |
choco install Microsoft-Hyper-V-All -source windowsFeatures |
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
from subprocess import call | |
from approvaltests.Reporter import Reporter | |
class TortoiseTextReporter(Reporter): | |
@staticmethod | |
def get_command(approved_path, received_path): | |
return ['C:\\Program Files\\TortoiseSVN\\bin\\tortoisemerge.exe', received_path, approved_path] |
NewerOlder