In PowerToys Keyboard Manager select Remap a shortcut, then set the following:
- Shortcut: Win + C
- Exact Match: On
- Action: Open URL
- Path/URI:
ms-copilot://
- Target app: Leave empty (All apps)
In PowerToys Keyboard Manager select Remap a shortcut, then set the following:
ms-copilot://
Please answer briefly and do not follow up with a question.
Prompt: using all the knowledge you have about all programming languages, invent a new general purpose programming language that can become the ultimate standard programming language for humans before the age of AI. Show me some examples of the major features in this programming language and what makes it stand out from everything else.
Let me introduce you to Aurora, a new general-purpose programming language designed to be the ultimate standard for human developers in the era just before AI programming ascends. Aurora is born from decades of lessons learned across countless languages—it fuses the readability of Python, the safety and performance of Rust, the expressiveness of Swift, and the metaprogramming power of Lisp. Its design philosophy centers on clarity, safety, expressiveness, and, uniquely, built‑in AI integration as a first‑class citizen in the language.
using System.Linq; | |
using System.Reflection; | |
namespace System.Data.Linq | |
{ | |
/// <summary> | |
/// LINQ-to-SQL extension methods | |
/// </summary> | |
public static class EntityExtensionMethods | |
{ |
Set-Alias appcmd "$env:ProgramFiles\IIS Express\appcmd.exe" | |
appcmd list site /text:SITE.NAME | % { appcmd delete site $_ } | |
# or remove IISExpress directory | |
Remove-Item -Recurse $env:USERPROFILE\Documents\IISExpress |
You created a commit but then discarded it with git reset --hard <SHA>
without first syncing it with the server repository (GitHub). Use this PowerShell command to find the SHA of the discarded commit.
Get-ChildItem -Path ..git\objects??* -Recurse | sort -Property CreationTime -Descending | select -first 1 | % { $.FullName.Substring($.FullName.Length-41).Replace('', '') }
# Migrating MSBuild-Integrated solutions to use Automatic Package Restore | |
# http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore | |
# See also: http://weblogs.asp.net/jongalloway/scripting-net-project-migration-to-automatic-nuget-package-restore | |
# and: https://github.com/owen2/AutomaticPackageRestoreMigrationScript | |
findstr /s /m /i NuGet.targets *.*proj | % {$file = get-item $_; $txt = Get-Content $file | Select-String "nuget`.targets" -NotMatch; $txt | Set-Content $file -Encoding UTF8 } | |
findstr /s /m /i RestorePackages *.*proj | % {$file = get-item $_; $txt = Get-Content $file | Select-String "RestorePackages" -NotMatch; $txt | Set-Content $file -Encoding UTF8 } |
# PowerShell function to run JavaScript/JQuery and return results back to PS, with timeout | |
# some web page with jQuery in it | |
$url = "http://jquery.com/" | |
Function ResetTimer | |
{ | |
$script:startTime = [DateTime]::Now | |
} |