Skip to content

Instantly share code, notes, and snippets.

View kkamegawa's full-sized avatar

KAMEGAWA Kazushi kkamegawa

View GitHub Profile
@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 {
@kkamegawa
kkamegawa / callrestbypowershell.yaml
Created December 18, 2018 22:42
Azure Pipeline task to call Azure REST API
steps:
- powershell: |
$azuretoken=''
$subscriptionID = ''
$location = 'Japan%20East'
$method = "GET"
$apiurl = "https://management.azure.com/subscriptions/"+$subscriptionID+"/providers/Microsoft.Compute/locations/"+ $location +"/runCommands?api-version=2017-03-30"

Azure PipelinesとAzure Resource Manager(ARM)統合時の制限を増加しました - Sprint225

In this article

このスプリントでは、Azure Resource Manager(ARM)の最大制限である4MBに合わせて、Azure Pipelinesのサイズ制限を増やしました。また、新しいプロジェクトやOrganiztionのためのクラシックなビルドパイプラインに来る変更の事前アナウンスも含まれています。

@kkamegawa
kkamegawa / myubuntu.txt
Last active July 11, 2023 07:18
my ubuntu (wsl) setup configuration
#install volta
curl https://get.volta.sh | bash
source .bashrc
volta install node@18
#install github copilit cli
npm install -g @githubnext/github-copilot-cli
#install starship
sudo snap install starship --channel=edge

GitHub Advanced Security for Azure DevOps がパブリックプレビューになりました - Sprint222

この記事の説明

この度、GitHub Advanced Security for Azure DevOpsのパブリックプレビューを開始しました!GitHub Advanced Security for Azure DevOpsは、GitHub Advanced Securityのセキュリティ機能群をAzure Reposに追加します。シークレットスキャン、依存関係スキャン、コードスキャンの能力をAzure DevOpsにもたらすものです。

リリースノートで、パブリックプレビューに登録する方法を確認してください。