This file contains hidden or 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
| docker-compose -f services/docker-compose.yml down | |
| docker-compose -f services/docker-compose.yml up --build -d | |
| if [ ! -d /tmp/venv ] | |
| then | |
| echo "Creating venv in /tmp/venv" | |
| python3 -m venv /tmp/venv | |
| fi | |
| source /tmp/venv/bin/activate | |
| pip install -r /src/requirements.txt |
This file contains hidden or 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
| docker exec -it website rm -rf /home/jekyll/src/main/content/_posts /home/jekyll/src/main/content/img/blog | |
| docker cp blogs/posts website:/home/jekyll/src/main/content/_posts | |
| docker cp blogs/img/blog website:/home/jekyll/src/main/content/img | |
| docker cp blogs/blog_tags.json website:/home/jekyll/src/main/content |
-10 dBi
One tenth or 10 % (loss)
-6 dBi
One quarter or 25 % (loss)
-3 dBi
One half or 50% (loss)
0 dBi
Same or 100% (no gain/loss)
+1 dBi
- 1xx (Informational): The request was received, continuing process
- 2xx (Successful): The request was successfully received, understood, and accepted
- 3xx (Redirection): Further action needs to be taken in order to complete the request
- 4xx (Client Error): The request contains bad syntax or cannot be fulfilled
- 5xx (Server Error): The server failed to fulfill an apparently valid request
find /usr -name sysexits.h
/*
* SYSEXITS.H -- Exit status codes for system programs.
*
* This include file attempts to categorize possible error
* exit statuses for system programs, notably delivermail$ lsblk
$ wipefs -a /dev/sdb
# quick wipe target device
$ pvcreate /dev/sdb
$ pvs
$ vgs
This file contains hidden or 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
| #!/bin/bash | |
| trap "sudo systemctl enable --now clamav-freshclam.service" EXIT | |
| sudo systemctl stop clamav-freshclam.service | |
| sudo freshclam |
This file contains hidden or 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
| #!/bin/bash | |
| function completego() | |
| # Bash completion for go | |
| { | |
| local wordlist; wordlist=$(go help | awk 'NR==9, NR==26{ printf "%s%s", $1, sp = NR==26? "\n": " "}') | |
| complete -W "${wordlist}" go | |
| } | |
| completego |