Skip to content

Instantly share code, notes, and snippets.

Avatar

Richard Gavel richardgavel

View GitHub Profile
@richardgavel
richardgavel / install.sh
Created Apr 1, 2020
Install Ascendon server components
View install.sh
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
sudo service redis-server start
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install openjdk-8-jre
@richardgavel
richardgavel / install.ps1
Last active Aug 30, 2020
Install software (personal computer)
View install.ps1
# Elevate to Adminstrator
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
# Add "This PC" desktop icon
$thisPCIconRegPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
$thisPCRegValname = "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
$item = Get-ItemProperty -Path $thisPCIconRegPath -Name $thisPCRegValname -ErrorAction SilentlyContinue
if ($item) {
Set-ItemProperty -Path $thisPCIconRegPath -name $thisPCRegValname -Value 0
View gist:e4bbc0d9ceba6ce4c81c75578ababb39
choco source remove --name=chocolatey
choco source add --name=proget --source=http://artifacts.cddev.tv/nuget/ascendon.chocolatey/
choco feature enable --name=allowGlobalConfirmation
Write-Host "Installing Visual Studio 2017 & related add-ons"
choco install visualstudio2017professional
choco install visualstudio2017-workload-manageddesktop
choco install visualstudio2017-workload-netcoretools
choco install visualstudio2017-workload-netweb
choco install visualstudio2017-workload-visualstudioextension