Issues on topic:
- Images are not fitting (...) (added ImageStretch, stated Hyperlink doesn't support InlineUIContainers)
- v1.4 broke what works in v1.3.1 (discussion that local refs are not supported and also Hyperlink no-image limitation)
- commit fixing above where we observe the limitation on image links
- statement "we already support images and links (...)"
This file contains 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.Runtime.InteropServices; | |
public class Test | |
{ | |
public static void Main() | |
{ | |
Console.WriteLine($"false as byte: {new LolBoolUnion(false).ByteValue}"); | |
Console.WriteLine($"true as byte: {new LolBoolUnion(true).ByteValue}"); | |
Console.WriteLine($"0 as bool: {new LolBoolUnion(0).BoolValue}"); |
This file contains 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
// This dotnet-script script writes Uri Template expansion to output for GitHub Upload Release Asset template | |
#r "nuget: Earl, 0.1.2" | |
using Earl; | |
var template = new UriTemplate(Args[0]); | |
var result = template.Expand(new{ name = Args[1] }); | |
Console.WriteLine(result); |
Wiki with registry keys for Windows Update: https://github.com/vFense/vFenseAgent-win/wiki/Registry-keys-for-configuring-Automatic-Updates-&-WSUS
Registry key of note:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Entry name | Data type | Values |
---|---|---|
UseWUServer | Reg_DWORD | 1 = The computer gets its updates from a WSUS server. |
0 = The computer gets its updates from Microsoft Update. |
- Stack Overflow post (solution not working for all cases): https://stackoverflow.com/questions/13510465/the-mystery-of-stuck-inactive-msbuild-exe-processes-locked-stylecop-dll-nuget
- Process Monitor (to debug what locks files etc.): https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
- A solution copying task DLL to temp destination before running the task: https://mnaoumov.wordpress.com/2015/07/13/msbuild-custom-task-and-assembly-locks/
Code listing from blog post:
<PropertyGroup>
<TempFolder>$([System.IO.Path]::GetTempPath())$([System.Guid]::NewGuid())</TempFolder>
This file contains 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; | |
/* | |
* public data class LoginResource | |
* { | |
* public string Username { get; } | |
* public string Password { get; } | |
* public bool RememberMe { get; } = true; | |
* } |