These are the standard commands:
gpgconf --list-dirs
gpgconf --kill gpg-agent
gpgconf --reload gpg-agent| # This is the sshd server system-wide configuration file. See | |
| # sshd_config(5) for more information. | |
| # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
| # The strategy used for options in the default sshd_config shipped with | |
| # OpenSSH is to specify options with their default value where | |
| # possible, but leave them commented. Uncommented options change a | |
| # default value. |
| Sometimes you try to open a remote desktop connection to a machine only to get an error message that "the password has expired". | |
| If the remote machine does not enforce NLA (Network Level Authentication), it is still possible to start a remote desktop session by disabling NLA on the client (currenlty not possible from the menu on my remote desktop client v.6.3.96000 that came with windows 8.1). | |
| Add the following setting to your .rdp file ("C:\Users\<User>\Documents\Default.rdp" if you aren't using a specific one). | |
| enablecredsspsupport:i:0 | |
| Optionally you might need to specify |
| #!/bin/sh | |
| # PATH TO YOUR HOSTS FILE | |
| ETC_HOSTS=/etc/hosts | |
| # DEFAULT IP FOR HOSTNAME | |
| IP="127.0.0.1" | |
| # Hostname to add/remove. | |
| HOSTNAME=$1 |
| apt-get update && apt-get install -y --no-install-recommends curl && \ | |
| curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add - && \ | |
| sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list' \ | |
| apt-get update && apt-get install -y --no-install-recommends \ | |
| libelf1 \ | |
| build-essential \ | |
| bzip2 \ | |
| ca-certificates \ |
| #!/bin/bash | |
| # Launches socat+npiperelay to relay the gpg-agent socket file for use in WSL | |
| # See https://justyn.io/blog/using-a-yubikey-for-gpg-in-windows-10-wsl-windows-subsystem-for-linux/ for details | |
| GPGDIR="${HOME}/.gnupg" | |
| USERNAME=Vincent | |
| # I use the same username for wsl and windows, but feel free to modify the paths below if that isn't the case | |
| WIN_GPGDIR="C:/Users/${USERNAME}/AppData/Roaming/gnupg" | |
| NPIPERELAY="${HOME}/npiperelay.exe" |
| <# | |
| .SYNOPSIS | |
| Create a GPU-P Guest driver package. | |
| .DESCRIPTION | |
| Gathers the necessary files for a GPU-P enabled Windows guest to run. | |
| .EXAMPLE | |
| New-GPUPDriverPackage -DestinationPath '.' | |
| .EXAMPLE | |
| New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.' | |
| .INPUTS |
| import json | |
| import os | |
| import certifi | |
| import requests | |
| from authlib.oauth2.rfc6749 import OAuth2Token | |
| from flask import Flask, url_for, session | |
| from flask import render_template, redirect | |
| from authlib.integrations.flask_client import OAuth, token_update |
Signing with GPG in Windows System for Linux (WSL2) does not work smoothly out of the box. Notably, when using a TTY-based pinentry, signing in Visual Studio Code does not work at all.
winget install -e GnuPG.Gpg4win or download and install manuallygpg.exe inside of WSL:Yes, there are several ways to do this, but none of them are as direct and simple as git v2.1.2; htop v1.2.3 and come with a lot of caveats.
aside
Specifying versions for programming language packages are possible too, but that topic seems to be even messier. The most promising standardization effort to date is [dream2nix][1].
That is, available at the time of this writing: