Summarizing the instructions of the pass
tool (as seen on its website).
Execute: $ sudo apt install pass
Summarizing the instructions of the pass
tool (as seen on its website).
Execute: $ sudo apt install pass
systemctl enable sshd ; systemctl start sshd | |
# select relevant servers in /etc/pacman.d/mirrorlist according to your location | |
# initialise keyring | |
pacman-key --init | |
# initial setup of keys | |
pacman-key --populate archlinux | |
# update everything (should be done regularly) | |
pacman -Sy archlinux-keyring && pacman -Su |
Pre-conditions | |
-------------- | |
- The following packages must be installed on both ends: gpg, xxd. | |
- Sender and Receiver must know the password to encrypt/decrypt the data. | |
Sender | |
------ | |
$ gpg --symmetric $FILE_TO_SEND |
#!/bin/bash | |
DISK_IMAGE=~/Downloads/my-image.img | |
DISK=/dev/sdK | |
pv $DISK_IMAGE | sudo dd bs=4M of=$DISK |
# This code is written at BigVision LLC. It is based on the OpenCV project. It is subject to the license terms in the LICENSE file found in this distribution and at http://opencv.org/license.html | |
# Usage example: python3 object_detection_yolo.py --video=run.mp4 | |
# python3 object_detection_yolo.py --image=bird.jpg | |
import cv2 as cv | |
import argparse | |
import sys | |
import numpy as np | |
from urllib.request import urlopen | |
import os |
[Unit] | |
Description="Establish a SSH tunnel to orion to map searx port to local 3337" | |
After=sshd.service | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=Always | |
RestartSec=1 | |
User=yfe |
for c in $(i3-msg -t get_bar_config | python -c \ | |
'import json,sys;print("\n".join(json.load(sys.stdin)))'); do \ | |
(i3bar --bar_id=$c >i3bar.$c.log 2>&1) & \ | |
done; | |
cat i3bar.bar-*.log |
i3-msg reload | |
i3-msg restart |