This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
{ | |
"name": ".NET with Aspire", | |
"image": "mcr.microsoft.com/dotnet/sdk:8.0", | |
"features": { | |
"ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
"ghcr.io/devcontainers/features/github-cli:1": { | |
"version": "2" | |
}, | |
"ghcr.io/devcontainers/features/powershell:1": { | |
"version": "latest" |
This document now exists on the official ASP.NET core docs page.
This document now exists on the official ASP.NET core docs page.
:: USAGE: ./resize.bat [OPTION]... [DIR] | |
:: | |
:: Converts and scales the files in the directory DIR | |
:: If DIR is omitted it is asked to the user | |
:: Requires ImageMagick | |
:: | |
:: /q Runs quietly | |
:: /n No action, print file names only | |
:: | |
:: Parameters: |
# A BoxStarter script for use with http://boxstarter.org/WebLauncher | |
# Updates a Windows machine and installs a range of developer tools | |
# Show more info for files in Explorer | |
Set-WindowsExplorerOptions -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
# Enable remote desktop | |
Enable-RemoteDesktop | |
# Small taskbar |
$svgs = Get-ChildItem (".\*") -Filter *.svg | |
$scriptPath = $MyInvocation.MyCommand.Path | |
$scriptDirectory = Split-Path $scriptPath | |
$outputDirectory = $scriptDirectory + "\output" | |
# Replace specific path as needed | |
$magickExePath = "C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe" | |
ForEach($svg in $svgs) { | |
Write-Host $svg |
using System; | |
namespace StronglyTypedPipelines | |
{ | |
/// <summary> | |
/// Base type for individual pipeline steps. | |
/// Descendants of this type map an input value to an output value. | |
/// The input and output types can differ. | |
/// </summary> |
// The good part: | |
// String(javaString).valueOf() | |
// Follow the same pattern to convert other Java types to corresponding JavaScript primitives | |
var javaString = new java.lang.String("test"); | |
print('javaString:', javaString); | |
print('typeof javaString:', typeof javaString); // Object | |
print('javaString instanceof String:', (javaString instanceof String)); // true (really a java.lang.String object) | |
print('String(javaString).valueOf() === "test":', String(javaString).valueOf() === "test"); // true: Converted to JS primitive |
# 1. Install Chocolatey | |
<# | |
Set-ExecutionPolicy RemoteSigned -Force | |
# Create empty profile (so profile-integration scripts have something to append to) | |
if (-not (Test-Path $PROFILE)) { | |
$directory = [IO.Path]::GetDirectoryName($PROFILE) | |
if (-not (Test-Path $directory)) { | |
New-Item -ItemType Directory $directory | Out-Null | |
} |
/*! | |
* jQuery Fisheye Grid version 0.01 | |
* Copyright 2011, Adam Laughlin | |
* http://a-laughlin.com | |
* Licensed under MIT & GPL version 2 | |
* http://static.a-laughlin.com/mit_license.txt | |
* http://static.a-laughlin.com/gpl_license.txt | |
*/ | |
/* |