Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bearlike committed Aug 23, 2023
1 parent 4735b3c commit ad6e54b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion bash/fancy_motd.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#!/bin/bash
# * Sample Output: https://i.imgur.com/dkQzkp5.jpg

# Attempt to clear screen (may not work with MOTDs)
/usr/bin/clear

# Add padding
echo -e ""

# You need an image for this to work
# Generate the image representation using chafa
IMAGE_OUTPUT=$(chafa --size=50 /home/kk/KK.png)
# * sudo apt install -y chafa
IMAGE_OUTPUT=$(chafa --size=50 /home/user/logo.png)

# Split the image output into an array of lines
IFS=$'\n' read -rd '' -a IMAGE_LINES <<< "$IMAGE_OUTPUT"
Expand Down
1 change: 1 addition & 0 deletions docker-compose/homeassistant/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ script: !include scripts.yaml
scene: !include scenes.yaml

sensor:
# The below sensor is if you are using the qbittorrent+gluetun stack.
- platform: command_line
name: qBittorrent Public IP
command: 'docker exec qbittorrent curl -s ifconfig.me'
Expand Down
14 changes: 11 additions & 3 deletions docker-compose/qbitorrent+tor/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Torrent from qBittorrent through the Tor network
# Torrent from qBittorrent through the Tor network (not recommended)
# If you can, use qbittorrent+gluetun instead.
# Beware: It will be often dead slow

# Purely for educational purposes and not intended for illegal use
#
# Purely for educational purposes and not intended for illegal use.

# ! Why should we not use Tor for torrenting?
# * Torrenting via Tor strains limited bandwidth, degrading performance for others.
# * Torrent clients can leak your real IP, compromising anonymity.
# * Tor exit nodes face legal risks from torrent traffic.
# * Tor isn't optimized for high-bandwidth tasks like torrenting.
# * Some exit nodes block BitTorrent due to these issues.
# * Not to mention, they don't support UDP, which is required for DHT and PEX.

version: '3'
services:
Expand Down
Binary file modified docs/scripts.xls
Binary file not shown.

0 comments on commit ad6e54b

Please sign in to comment.