Docker Desktop stores docker data in 2 distros
- docker-desktop
- docker-desktop-data
These distros are installed on the system drive by default.
To move them to another drive, these distros can be exported, deleted and imported from the new location.
Docker Desktop stores docker data in 2 distros
These distros are installed on the system drive by default.
To move them to another drive, these distros can be exported, deleted and imported from the new location.
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Hosting.Server.Features; | |
| using Microsoft.AspNetCore.Server.Kestrel; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using System; | |
| using System.IO; | |
| namespace ExampleApp | |
| { |
| using Newtonsoft.Json; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.IdentityModel.Tokens; |
| $(function () { | |
| // Get the template HTML and remove it from the doumenthe template HTML and remove it from the doument | |
| var previewNode = document.querySelector("#referenceTemplate"); | |
| previewNode.id = ""; | |
| var previewTemplate = previewNode.parentNode.innerHTML; | |
| previewNode.parentNode.removeChild(previewNode); | |
| Dropzone.autoDiscover = false; | |
| var myDropzone = new Dropzone(".uploadReference", {// Make the whole body a dropzone | |
| url: "ajax/upload-file.php", // Set the url |
| // Simple example of client. | |
| // Client prints received messages to stdout and sends from stdin. | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <signal.h> | |
| #include <unistd.h> | |
| #include <sys/select.h> | |
| #include <netinet/in.h> |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| #include <iostream> | |
| #include <cstdlib> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| using namespace std; | |
| int main(int argc, char *argv[]) |
| // https://forum.unity.com/threads/matching-c-structure-with-a-c-one.454072/#post-2943687 | |
| // c# | |
| [StructLayout(LayoutKind.Sequential)] | |
| public struct ChatChannelMessageEntry | |
| { | |
| public uint chatMessageIndex; | |
| public uint chatUserID; | |
| [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] |
| /* | |
| 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 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| #include <sys/socket.h> | |
| #include <sys/ioctl.h> | |
| #include <linux/if.h> | |
| #include <netdb.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| int main() | |
| { | |
| struct ifreq s; |