Here is some random markdown stuff.
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
/********************************* Module Header **********************************\ | |
* Module Name: DataGridViewPaging | |
* Project: CSWinFormDataGridView | |
* Copyright (c) Microsoft Corporation. | |
* | |
* This sample demonstrates how to page data in the DataGridView control; | |
\**********************************************************************************/ | |
#region Using directives | |
using System; |
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
# Define the dev drive letter and resizing percentage | |
$devDriveLetter = "D" | |
$resizePercentage = 10 # Set the percentage increase (e.g., 10%) | |
# Find the VHDX file associated with the dev drive | |
$mountedVHDs = Get-VHD | Where-Object -Property FileType -EQ "VHDX" | Where-Object -Property Attached -EQ $true | |
$devDriveVHD = $mountedVHDs | Where-Object { | |
$disk = Get-DiskImage -Path $_.Path | Get-Disk | Where-Object IsOffline -EQ $false | |
$partition = Get-Partition -DiskNumber $disk.Number | Where-Object DriveLetter -EQ $devDriveLetter |
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
(function() { | |
// Manually set x and y values for text elements since calculation isn't reliable. Set to what works for your theme. | |
const textX = 0; | |
const textY = 17; | |
// Optional feature to insert a white rectangle below the diagram for dark mode visibility | |
const addBackgroundRect = false; | |
// Get the SVG element | |
const svg = document.querySelector('svg'); |
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 Microsoft.Extensions.Logging; | |
using Microsoft.SemanticKernel; | |
using Microsoft.SemanticKernel.AI.ChatCompletion; | |
using Microsoft.SemanticKernel.Memory; | |
using System.Text; | |
string aoaiEndpoint = Environment.GetEnvironmentVariable("AZUREOPENAI_ENDPOINT")!; | |
string aoaiApiKey = Environment.GetEnvironmentVariable("AZUREOPENAI_API_KEY")!; | |
string gptModelDeploymentName = Environment.GetEnvironmentVariable("AZUREOPENAI_GPT_NAME")!; | |
string adaTextDeploymentName = Environment.GetEnvironmentVariable("AZUREOPENAI_TEXT_EMBEDDING_NAME")!; |
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
var https = require('https'), | |
user = process.argv[2], | |
opts = parseOpts(process.argv.slice(3)) | |
request('/users/' + user, function (res) { | |
if (!res.public_repos) { | |
console.log(res.message) | |
return | |
} | |
var pages = Math.ceil(res.public_repos / 100), |
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
* hotdogs lol | |
* string cheese | |
microwave until al dente or whatever |
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 url(https://fonts.googleapis.com/css?family=Roboto:700); | |
* { | |
box-sizing: border-box; | |
} | |
html, body { | |
height: 100%; | |
overflow: hidden; | |
} |
Slides: (Uploaded to conference website)
Links:
NewerOlder