Skip to content

Instantly share code, notes, and snippets.

View wvankuipers's full-sized avatar
👋
Hi there!

W. van Kuipers wvankuipers

👋
Hi there!
View GitHub Profile
@wvankuipers
wvankuipers / SonarCube_DB_install.ps1
Last active October 21, 2016 14:31
Sonarcube MSSQL DB installer script (Powershell)
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo")
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.SqlWmiManagement")
cls
$loginName = "sonarcube"
$loginPassword = "*************"
$dbName = "sonarcube"
$roleName = "db_owner"
# Bash
# Add the following to your .bash_profile
function cd {
# actually change the directory with all args passed to the function
builtin cd "$@"
# if there's a regular file named "todo.txt"...
if [[ -f .nvmrc && -r .nvmrc ]]; then
nvm use
fi