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
Microsoft.AAD | |
Microsoft.ADHybridHealthService | |
Microsoft.Advisor | |
Microsoft.AlertsManagement | |
Microsoft.AnalysisServices | |
Microsoft.ApiManagement | |
Microsoft.Authorization | |
Microsoft.Automation | |
Microsoft.AzureActiveDirectory | |
Microsoft.Compute |
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
apt-get update && apt-get -y upgrade | |
# useradd jenkins | |
add-apt-repository universe && sudo apt install openjdk-8-jre-headless -y | |
# https://www.microsoft.com/net/download/linux-package-manager/ubuntu18-04/sdk-current | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
dpkg -i packages-microsoft-prod.deb | |
apt-get install apt-transport-https -y | |
apt-get update && apt-get install dotnet-sdk-2.1 -y |
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 laststatus=2 | |
set number | |
set wrap | |
set linebreak | |
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set clipboard=unnamedplus | |
execute pathogen#infect() | |
filetype plugin indent on |
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
$hostfile = <<HOSTFILE | |
Add-Content $ENV:windir\\System32\\drivers\\etc\\hosts "192.168.56.20 `t `t mysql01.dev.datbedrijf.nl" | |
netsh advfirewall set allprofiles state off | |
HOSTFILE | |
Vagrant.configure(2) do |config| | |
config.vm.define "dc01" do |dc01_config| | |
dc01_config.vm.box = "windows_server_2016" | |
dc01_config.vm.hostname = "dc01" |
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
# Upgrade / Update outdated casks installed. | |
# -------------------------------------------------------------------------------- | |
# Looks for outdated casks and installs the the latest version. | |
# User data (like application preferences) is intact. | |
# -------------------------------------------------------------------------------- | |
brew cask reinstall `brew cask outdated` | |
# List installed outdated casks | |
# More info: https://github.com/caskroom/homebrew-cask/issues/29301 |
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 xdg-open | |
# copy to /usr/share/applications | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=false | |
Exec=/home/jacqueline/Applications/From-Scratch/FromScratch | |
Name=FromScratch | |
Comment=FromScratch |
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 | |
# Install Ubuntu 18.10 Desktop | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
sudo apt-get install -y wget curl git gitk vim-nox build-essential linux-headers-$(uname -r) dkms gdebi shutter gnome-tweak-tool | |
# install Powerline fonts | |
mkdir ~/gitrepos | |
cd gitrepos | |
git clone https://github.com/powerline/fonts.git |
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
Function New-Computer { | |
param( | |
[Parameter(Mandatory = $true)] | |
[ValidateSet('small','medium','large','x-large')] | |
[string]$installtype, | |
[Parameter(Mandatory = $true)] | |
[bool]$virtualmachine | |
) |
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
Import-Module FailoverClusters | |
$ClusterNetworkName = "Cluster Network 1" | |
$IPResourceName = "IP Address 10.2.1.10" | |
$ILBIP = "10.2.1.10" | |
[int]$ProbePort = 60005 | |
Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ILBIP";"ProbePort"=$ProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0} |