Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

42 total results found

Brewing

X-Road

Command line tips and tricks

Info

Brewing

Bottling - 330ml5L = 158L = 2410L = 3015L = 4518L = 54- 750ml5L = 610L = 1315L = 2020L = 26 Dosage Dosage liqueur generally contains 500-750 grams of sugar per litre. The quantity added varies according to the style of Champagne:doux more than 50 grams of s...

ÕunaVein

Brewing

2024 Spiritferm ensüüm, toitained, käärimise peataja, selitaja (superklar 24h)Lalvin K1-V1116 pärm 25L mahla5L vettrm 3L vedelikkulisa 3.5kg suhkrut VIGADE PARANDUS JÄRGMISEKS AASTAKS22L mahla5L vett3.5kg suhkrut Manual1. ämbrisse 22L mahla2. lisa 5L vett3...

Apt / apt-get

Command line tips and tricks

Install error Unpacking xroad-signer (7.6.2-1.ubuntu22.04) over (7.5.1-1.ubuntu22.04) ... dpkg: error processing archive /var/cache/apt/archives/xroad-signer_7.6.2-1.ubuntu22.04_amd64.deb (--unpack): unable to open '/etc/xroad/conf.d/signer-console-logback....

Bash tools

Command line tips and tricks

Awk First and third column from file, seperated by spacesawk -F " " '{print $1,$3'} result.txt Print from line 156 to line 170awk 'NR >= 156 && NR <= 170' log.txt Cat Copy Data to Other Filecat file1 > file2 Combine Files And Sort Alphabeticallycat file1 ...

Docker

Command line tips and tricks

Read compose logs docker-compose logs -f --tail=100 Volume in dir - ./name:/name # For macOS - ${PWD}/name:/name Force restart service with compose docker-compose up -d --force-recreate <service> Port forwarding <host_port>:<container_port> Build ima...

Git

Command line tips and tricks

Push commits to another branch git push origin <branch with new changes>:<branch you are pushing to> List git config settings git config --listChange git user for single repository git config user.name "John Smith" Change git user email globally git con...

IPtables

Command line tips and tricks

# src(me) -> dest iptables -A OUTPUT -p tcp --match multiport --dports 80,443 -d 10.11.12.55 -j ACCEPT -m comment --comment 'X-tee turvaserver' # dst -> src(me) iptables -A INPUT -p tcp --match multiport --dports 80,443 -s 10.11.12.55 -j ACCEPT -m comme...

macOS / OS X

Command line tips and tricks

Mac install sshpass brew tap esolitos/ipa brew install sshpass Vagrant bash completion brew install vagrant-completion add to .bash_profile: if [ -f `brew --prefix`/etc/bash_completion.d/vagrant ]; then source `brew --prefix`/etc/bash_completion.d/v...

macOS software setup

Command line tips and tricks

Install first docker - https://docs.docker.com/docker-for-mac/install/ iterm2 - https://iterm2.com/ fork - https://git-fork.com/ homebrew - https://brew.sh/ postman - https://www.postman.com/ skype - https://www.skype.com/en/get-skype/ skype for bus...

Mounting

Command line tips and tricks

Get info of the disk(s) fdisk -l ls -l /dev/disk/by-uuid/ Manual USB mount mount /dev/sdb1 /mnt/usb-ssd -o uid=qrl,gid=qrl,iocharset=utf8,nofail Auto USB mount ( /etc/fstab ) UUID=6403-240D /mnt/usb-ssd exfat uid=qrl,gid=qrl,iocharset=utf8,nofail 0 0 Au...

Network

Command line tips and tricks

Newer Debian resolvectl status service systemd-resolved restart Older Debian systemd-resolve --status systemctl restart systemd-resolved.service

OpenSSL

Command line tips and tricks

Get sha256 fingerprint of cert openssl x509 -noout -sha256 -fingerprint -in <file> Utf8 output -nameopt utf8 Convert RSA DER public key to PEM openssl rsa -pubin -inform DER -in slot3_pub.key -outform PEM -out slot3_pub.pem Convert DER certificate to PEM...

Pkcs11-tool

Command line tips and tricks

Install pkcs11-tool apt install opensc Get hsm info pkcs11-tool --module /opt/nfast/toolkits/pkcs11/libcknfast.so --show-info List available slots pkcs11-tool --module /opt/nfast/toolkits/pkcs11/libcknfast.so --list-slots List...

PKI

Command line tips and tricks

PKI Signer- kasutades x hash algot, nt SHA luuakse data põhjal hash- kasutades priv võtit ja x krüto algot, nt RSA, loodud hash krüpteeritakse- kirja pannakse ka täpne aeg, millal hash loodi/krüpteeriti ehk ajatempel- kaasa pannakse sertifikaat, mis tõestab, ...

Resolve / DNS

Command line tips and tricks

Ubuntu 22 resolvectl status Ubuntu 18 systemd-resolve --status

Skype

Command line tips and tricks

List all members & roles in a chat /showmembers Make chat history visible to everyone /set options +HISTORY_DISCLOSED Change user roles in a chat /setrole johnsmith MASTER

SQL

Command line tips and tricks

PSQL get version psql -h <IP/DNS> -U <user> -d <database> -c 'SELECT VERSION()' PSQL test connection Install packages postgresql-client-common and postgresql-client-10 psql -h <host> -p <port> -U <username> -d <database> -c '\c' Database size SELECT pg_s...

ssh, bash, vim configs

Command line tips and tricks

SSH # disable host key check Host * StrictHostKeyChecking no ServerAliveInterval 30 Host test123 User usr Hostname qrl.ee Port 2222 IdentityFile ~/.ssh/my-priv-key.pem LocalForward 4000 localhost:4000 BASH alias ll='ls -lart...

Tips & Tricks

Command line tips and tricks

Create ssh key ssh-keygen -t ed25519 -C "comment" -f <keys-name> Last commands exit code echo $? Delete only directories rm -rf `ls -d */` find . -maxdepth 1 -mindepth 1 -type d -exec rm -rf '{}' \; Disable swap cat /proc/sys/vm/swappiness sysctl vm.s...

Vagrant

Command line tips and tricks

Basic commands vagrant up vagrant provision vagrant destroy vagrant ssh vagrant status Example Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.v...