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
import asyncio | |
import re | |
from dataclasses import dataclass | |
from os import PathLike | |
from typing import List | |
class StubAsyncProcess(asyncio.subprocess.Process): | |
predefined_returncode = 0 | |
predefined_communicate_return = (b"", b"") |
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
pacman -Rns $(pacman -Qtdq) |
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
openssl s_client -showcerts -connect example.com:443 </dev/null 2>/dev/null|openssl x509 >the_cert.crt |
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
syntax on | |
filetype plugin indent on | |
set expandtab | |
set nopaste | |
set autoindent | |
set clipboard+=unnamed | |
set colorcolumn=120 | |
set nocompatible | |
set path+=** |
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
apt-get install apt-transport-https software-properties-common | |
wget -O - https://erepo.saltstack.com/sse/4.2/ubuntu/SALTSTACK-GPG-KEY.pub | sudo apt-key add - | |
echo "deb https://erepo.saltstack.com/sse/4.2/ubuntu/ xenial main" >> /etc/apt/sources.list.d/saltstack.list |