Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
const { performance } = require("perf_hooks"); | |
const _ = require("lodash"); | |
const http = require("http"); | |
const jp = require("jsonpath"); | |
const hostname = "127.0.0.1"; | |
const port = 3000; | |
const server = http.createServer((req, res) => {}); |
# In the Phase definition make sure to check "Allow scripts to access the OAuth token" otherwise this will fail. | |
$VariableName = "ProjectBuildNumber" | |
$defId = $env:SYSTEM_DEFINITIONID | |
# Uses built in environment variables to create the token and api call for us | |
# If you want to hit a release instead just change "build/definitions/" to "release/definitions" | |
$url = "$env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$env:SYSTEM_TEAMPROJECTID/_apis/build/definitions/" + $defId + "?api-version=5.0" | |
Write-Host "URL: $url" | |
# Get the build definition | |
$pipeline = Invoke-RestMethod -Uri $url -Headers @{ |
code --list-extensions | xargs -L 1 echo code --install-extension |