Using tgt from tgt aur package_. Following this guide from fedora_.
Create a user
#!/usr/bin/env bash | |
usage () { | |
cat << EOH | |
git merge-pick [flags] <tree-ish> path/to/file | |
being <tree-ish> a commit-like object (a commit sha1, | |
a branch name or a tag). | |
[flags] |
#!/bin/bash | |
if [ -z "${TARGETDIR}" ]; then | |
TARGETDIR=$(realpath $PWD) | |
fi | |
NCORES=${1:-"1"} | |
echo "TARGETDIR=${TARGETDIR}" | |
echo "NCORES=${NCORES}" |
FROM debian:stretch | |
ARG UID=1000 | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV TARGETDIR="/home/builder/target" | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
build-essential \ | |
curl \ |
As far as I got from the internet, the async/await
stuff is a sort of paradigm enrichment of the python ecosystem.
One can now access a for of concurrent execution thanks to an event loop. Much like in the browser.
I'm ok with that, but I don't really get how to bridge what one knows from the classic synchronous execution workflow,
so I experimented a bit. The async_iter_over_tcp.py
is just a playground that can be invoked like this (ITER_TIMES
defaults to 5):
Mar 31 10:00:21 emmy sway[1514]: xkbcommon: ERROR: Couldn't read Compose file /usr/share/X11/locale/: No such device | |
Mar 31 10:00:21 emmy sway[1514]: [091 10:00:21.674037] [glfw error 65544]: Failed to create XKB compose table for locale | |
Mar 31 10:00:21 emmy sway[1514]: xkbcommon: ERROR: Couldn't read Compose file /usr/share/X11/locale/: No such device | |
Mar 31 10:00:21 emmy sway[1514]: [091 10:00:21.679748] [glfw error 65544]: Failed to create XKB compose table for locale | |
Mar 31 10:00:21 emmy sway[1514]: xkbcommon: ERROR: Couldn't read Compose file /usr/share/X11/locale/: No such device | |
Mar 31 10:00:21 emmy sway[1514]: [091 10:00:21.685593] [glfw error 65544]: Failed to create XKB compose table for locale | |
Mar 31 10:00:21 emmy sway[1514]: xkbcommon: ERROR: Couldn't read Compose file /usr/share/X11/locale/: No such device | |
Mar 31 10:00:21 emmy sway[1514]: [091 10:00:21.691244] [glfw error 65544]: Failed to create XKB compose table for locale | |
Mar 31 10:00:21 emmy sway[1514]: xkbcommon: ERROR: Couldn't read Compose |
[Aegis][0] is a nice android app to manage OTP tokens.
[pass][1] is the password manager for *
nix systems.
I know that the whole point of the two factor authentication
philosophy is to physically separate the bearers of authentication
information, but the lifetime of my physical devices is quite
random, so WHATEVER: I concoted this procedure to copy the
OTP passwords from aegis to pass.
#!/usr/bin/env bash | |
if ! which curl > /dev/null; then | |
echo "You need to install curl" | |
exit 1 | |
fi | |
if ! which jq > /dev/null; then | |
echo "You need to install jq" | |
exit 1 |
Download from here the appropriate image.