![]() |
📚 Docs | 📓 ADR | 💡 Spike | 🪣 Epic | 🪲 Bug | 💻 Code | 💬 Discussion |
---|
- GitHub Staff
This file contains hidden or 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
import subprocess | |
subs = [ | |
'00000000-0000-0000-0000-000000000000', # Subscription 1 | |
'00000000-0000-0000-0000-000000000000', # Subscription 2 | |
] | |
providers = [ | |
'Microsoft.ContainerInstance', | |
'Microsoft.Web', |
- Introducing “agents” in Copilot Chat in VS Code (GitHub Blog)
- Pursuit of "wicked smartness" in VS Code (VS Code Blog)
- VS Code Extension release notes (October)
- VS Code Extension release notes (November)
- GitHub CoPilot Chat (VS Code Extension)
This file contains hidden or 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
#!/bin/sh | |
# This script will create an AAD app, service principal, and OIDC federated credentials for each | |
# environment type in a GitHub repository. It assigns each environment type's AAD app the Reader | |
# role to the DevCenter project and the Deployment Environments User role to the DevCenter project | |
# environment type. Finally it creates a repository environment corrisponding to each environment | |
# type and sets an environment variable AZURE_CLIENT_ID with the client id for AAD app. | |
repo_org=REPOSITORY_ORGANIZATION # e.g. "contoso" | |
repo_name=REPOSITORY_NAME # e.g. "eShop" |
This file contains hidden or 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
param location string = resourceGroup().location | |
@description('Object ID for the first-party Windows 365 enterprise application in your tenant. You find this ID in the Azure portal or via the Azure CLI: `az ad sp show --id 0af06dc6-e4b5-4f28-818e-e78e62d137a5 --query id`') | |
param windows365PrinicalId string | |
param version string = '1.0.0' | |
param replicationRegions array = [ 'eastus' ] | |
param tags object = {} |
This file contains hidden or 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
# docs: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/image-builder-troubleshoot#sysprep-timing | |
Write-Host '>>> Waiting for GA Service (RdAgent) to start ...' | |
while ((Get-Service RdAgent -ErrorAction SilentlyContinue) -and ((Get-Service RdAgent).Status -ne 'Running')) { Start-Sleep -s 5 } | |
Write-Host '>>> Waiting for GA Service (WindowsAzureTelemetryService) to start ...' | |
while ((Get-Service WindowsAzureTelemetryService -ErrorAction SilentlyContinue) -and ((Get-Service WindowsAzureTelemetryService).Status -ne 'Running')) { Start-Sleep -s 5 } | |
Write-Host '>>> Waiting for GA Service (WindowsAzureGuestAgent) to start ...' | |
while ((Get-Service WindowsAzureGuestAgent -ErrorAction SilentlyContinue) -and ((Get-Service WindowsAzureGuestAgent).Status -ne 'Running')) { Start-Sleep -s 5 } |
This file contains hidden or 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
public static void ConstrainToParentCenter(this UIView view, nfloat height = default(nfloat), nfloat width = default(nfloat)) | |
{ | |
if (view?.Superview == null) throw new InvalidOperationException("Must add view to a superview before calling this method"); | |
view.TranslatesAutoresizingMaskIntoConstraints = false; | |
var verticalFormat = string.Format("V:[super]-(<=1)-[view{0}]", height == default(nfloat) ? string.Empty : $"({height})"); | |
var horizontalFormat = string.Format("H:[super]-(<=1)-[view{0}]", width == default(nfloat) ? string.Empty : $"({width})"); |
This file contains hidden or 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
public class SightCallEventListener : Java.Lang.Object | |
{ | |
[Export] | |
[Subscribe] | |
public void OnEngineStatusEvent(Event evt) | |
{ | |
Console.WriteLine ("OnEngineStatusEvent: {0}", evt.ToString()); | |
} | |
} |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Foundation; | |
using UIKit; | |
using HockeyApp.iOS; | |
namespace AppToTrack.iOS |
NewerOlder