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
set autoread " reload on external file changes | |
set backspace=indent,eol,start " backspace behaviour | |
set clipboard=unnamed,unnamedplus " enable clipboard | |
set encoding=utf8 " enable utf8 support | |
set hidden " hide buffers, don't close | |
set mouse=a " enable mouse support | |
set nowrap " disable wrapping | |
set number " show line numbers | |
set term=xterm-256color " terminal type | |
set wildmenu wildmode=longest:full,full " wildmode settings |
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
if (-not (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))) { | |
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" `"$args`"" -Verb RunAs; exit | |
} | |
choco upgrade all -y; | |
Write-Host "`n`nPress any key to exit script..."; $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") > $null; |
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
version: '3.7' | |
services: | |
db: | |
image: mysql:5.7 | |
restart: "unless-stopped" | |
ports: | |
- 3306:3306 | |
# uncomment the volume mount to import .sql files | |
# during database initalization | |
# volumes: |
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
# 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 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 com.eviware.soapui.support.types.StringToStringsMap | |
def authSucceeded = false | |
// Add those custom properties to your mock server | |
def user = mockRunner.mockService.getPropertyValue("httpUsername") | |
def pass = mockRunner.mockService.getPropertyValue("httpPassword") | |
log.info "checking for credentials: $user:$pass" | |
// get the request headers | |
StringToStringsMap headers = mockRequest.getRequestHeaders() |