This will set up buildkitd
natively on Windows Server 2019 (ltsc2019) or Windows Server 2022 (ltsc2022).
This will reboot your server if the feature is not already installed.
Install-WindowsFeature -Name containers -Restart
/* | |
cc Redowan Delowar (rednafi.com) | |
+----------------------------------------+ | |
| Load Balancer (8080) | | |
| +----------------------------------+ | | |
| | | | | |
| | Request from Client | | | |
| | | | | |
| +-----------------|----------------+ | |
#!/usr/bin/env python3.11 | |
# MIT No Attribution | |
# | |
# Copyright 2023 Ben Kehoe | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
# software and associated documentation files (the "Software"), to deal in the Software | |
# without restriction, including without limitation the rights to use, copy, modify, | |
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to |
using Windows.Security.Credentials; | |
using WinRT; | |
namespace CredentialCsWinRtTest { | |
internal class Program { | |
static void Main(string[] args) { | |
Windows.Security.Credentials.WebAccount foo = null /* or somehow get it */; | |
Windows.Security.Credentials.IWebAccount2 webAccount2 = foo.As<IWebAccount2>(); | |
// if webaccount2 is not null . . . | |
webAccount2.SignOutAsync("clientId"); // do something with the async task actually |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello Page</title> | |
<script src="https://unpkg.com/[email protected]"></script> | |
</head> | |
<body> | |
<h1>Hello</h1> |
If someone asked me the question "what layout should I use for my Go code repository?", I'd start by asking back "what are you building: an executable, or a library?"
Create a directory named however you want your final executable to be called (e.g. "mycommand"), change into that directory, and create the following files: