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
# 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 |
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
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | |
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.SqlWmiManagement") | |
cls | |
$loginName = "sonarcube" | |
$loginPassword = "*************" | |
$dbName = "sonarcube" | |
$roleName = "db_owner" |