In linux, normally, it is impossible to "bind()" to the same TCP port twice. If you try to bind to the same port from second proces unix processes you'll see:
socket.error: [Errno 98] Address already in use
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
sudo apt-get install texlive-latex-base
| /* Use libcurl to retrieve Gmail folders and labels via IMAP over SSL (IMAPS). | |
| Usage: ShowGmailFolders <username> <password> | |
| curl-library mailing list thread: | |
| 'Re: DL curl 7.35 mingw32' | |
| http://curl.haxx.se/mail/lib-2015-05/0037.html | |
| Note: When you attempt to login to Gmail via IMAP they sometimes require a | |
| web login first for security reasons. In that case an error will be shown. Such |
| # Detect operating system in Makefile. | |
| # Author: He Tao | |
| # Date: 2015-05-30 | |
| OSFLAG := | |
| ifeq ($(OS),Windows_NT) | |
| OSFLAG += -D WIN32 | |
| ifeq ($(PROCESSOR_ARCHITECTURE),AMD64) | |
| OSFLAG += -D AMD64 | |
| endif |
| /* | |
| * fork.c | |
| * Experimental fork() on Windows. Requires NT 6 subsystem or | |
| * newer. | |
| * | |
| * Copyright (c) 2012 William Pitcock <[email protected]> | |
| * | |
| * Permission to use, copy, modify, and/or distribute this software for any | |
| * purpose with or without fee is hereby granted, provided that the above | |
| * copyright notice and this permission notice appear in all copies. |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| // app.manifest which declares this application Monitor DPI aware is required. | |
| using System; | |
| using System.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| using System.Windows.Forms; | |
| public partial class MainForm : Form | |
| { | |
| public MainForm() | |
| { |
| Assume IIS is installed. My machine already had IIs 8.5. | |
| Install Python | |
| ============== | |
| 1. Download web installer (Python 3.6.3). | |
| 2. Run as Administrator. | |
| 3. Select custom installation for all users. | |
| 4. Choose install directory such that there are no white spaces in the path. Not sure if it needs to be done. Just being cautious. | |
| 5. Check the box for "Add Python 3.6 to PATH". |
This cheatsheet helps to set up your Proxmox Virtual Environment (PVE) host after fresh installation. Designed and tested on PVE version 6.x.
I do not prepend sudo command to any of commands listed here, but keep in mind that nearly all commands requires su privileges, so use sudo if your account happen to not have root access.
The simplest way to edit config file is to use vim.tiny editor, for example to edit vzdump.conf file use this command: