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
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # Make sure you have a recent version: the code points that Powerline |
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
| { | |
| "workbench.iconTheme": "material-icon-theme", | |
| "editor.fontSize": 12, | |
| "window.zoomLevel": 1, | |
| "terminal.integrated.fontFamily": "Meslo LG M DZ for Powerline", | |
| "window.restoreWindows": "none", | |
| "terminal.integrated.fontSize": 12, | |
| "editor.minimap.enabled": false, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "workbench.colorTheme": "Monokai Dimmed", |
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
| 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} |
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
| Function New-Computer { | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [ValidateSet('small','medium','large','x-large')] | |
| [string]$installtype, | |
| [Parameter(Mandatory = $true)] | |
| [bool]$virtualmachine | |
| ) |
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
| #!/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 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
| #!/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 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
| # 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 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
| $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" |