This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| public sealed class ProducerConsumerStream | |
| { | |
| public static Stream Create(Func<Stream, Task> producer, PipeOptions? options = null) | |
| { | |
| var pipe = new Pipe(options ?? PipeOptions.Default); | |
| var readStream = pipe.Reader.AsStream(); | |
| var writeStream = pipe.Writer.AsStream(); | |
| Run(); | |
| return readStream; |
| set DOTNET_ReadyToRun=0 | |
| set DOTNET_TieredPGO=1 | |
| set DOTNET_TC_QuickJitForLoops=1 |
This document now exists on the official ASP.NET core docs page.
| if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { | |
| // dark mode | |
| } | |
| // to watch for changes: | |
| window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) { | |
| console.log(`changed to ${e.matches ? "dark" : "light"} mode`) | |
| }); |
| /* | |
| * Derived from https://github.com/google/google-authenticator-android/blob/master/AuthenticatorApp/src/main/java/com/google/android/apps/authenticator/Base32String.java | |
| * | |
| * Copyright (C) 2016 BravoTango86 | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| *~ |
| install: | |
| - cmd: choco install resharper-clt | |
| after_build: | |
| - cmd: InspectCode.exe -o=resharper-clt-output.xml src\ProjectA.sln | |
| - ps: $result = [xml](Get-Content .\resharper-clt-output.xml) | |
| - ps: $result.Report.Issues.ChildNodes | ForEach-Object {$project = $_.Name; $_.ChildNodes | ForEach-Object {Add-AppveyorCompilationMessage -Message $_.Message -Line $_.Line -FileName $_.File -ProjectName $project}} |