Skip to content

Instantly share code, notes, and snippets.

View kkamegawa's full-sized avatar

KAMEGAWA Kazushi kkamegawa

View GitHub Profile
@kkamegawa
kkamegawa / codeql-install-selfhost.yml
Created March 4, 2024 12:06
Install codeql binary for Azure Pipelines selfhost agent
- task: CmdLine@2
condition: eq(variables['Agent.OS'], 'Linux')
displayName: 'prepare CodeQL binary Linux'
inputs:
script: |
curl https://raw.githubusercontent.com/microsoft/GHAzDO-Resources/main/src/agent-setup/codeql-install-ubuntu.sh -o $AGENT_TEMPDIRECTORY/codeql-install.sh
chmod 755 $AGENT_TEMPDIRECTORY/codeql-install.sh
sudo apt install jq -y
$AGENT_TEMPDIRECTORY/codeql-install.sh
- task: CmdLine@2

Azure DevOps organizationを作成する際に、地域を選択できるようになりました - sprint232

Article

今回のアップデートにより、新しい Azure DevOps organizationを作成する際に、リージョンではなく地域を選択できるようになりました。

Azure BoardsのコメントでHTMLとMarkdownエディターの切り替えを可能とするプライベートプレビューを開始します - Sprint 231

今回のアップデートにより、Azure BoardsのコメントでHTMLエディタとMarkdownエディタを切り替えることができるようになりました。

この機能のプライベートプレビューへの登録については、リリースノートをご覧ください。

@kkamegawa
kkamegawa / update-latestdotnettools.ps1
Last active September 28, 2023 06:24
update all installed dotnet cli tools. If version number includes "preview", update latest preview release
function Get-NugetApiEndpoint{
param(
[string]$nugetUri
)
$response = invoke-RestMethod -Uri $nugetUri -Method Get -ContentType "application/json"
$uri = $response.resources | Where-Object {$_.'@type' -eq 'SearchQueryService'} | Select-Object -ExpandProperty '@id' -First 1
return $uri
}
function get-latestdotnetpackage {