Saturday, August 31, 2024

acuityscheduling

With seamless client scheduling, secure payments, and workflow automation, all you have to do is show up on time.

acuityscheduling

Thursday, August 15, 2024

๐Ÿ– ๐‹๐จ๐š๐ ๐๐š๐ฅ๐š๐ง๐œ๐ข๐ง๐  ๐€๐ฅ๐ ๐จ๐ซ๐ข๐ญ๐ก๐ฆ๐ฌ ๐˜๐จ๐ฎ ๐Œ๐ฎ๐ฌ๐ญ ๐Š๐ง๐จ๐ฐ

1. Round Robin
It assigns a request to the first server, then moves to the second, third, and so on, and after reaching the last server, it starts again at the first.

2. Least Connections
The Least Connections algorithm directs incoming requests to the server with the lowest number of active connections.

3. Weighted Round Robin
It assigns different weights to servers based on their capacities and distributes requests proportionally to these weights.

4. Weighted Least Connections
The Weighted Least Connections algorithm combines the Least Connections and Weighted Round Robin algorithms. It directs incoming requests to the server with the lowest ratio of active connections to assigned weight.

5. IP Hash
The IP Hash algorithm determines the server to which a request should be sent based on the source and/or destination IP address. This method maintains session persistence, ensuring that requests from a specific user are directed to the same server.

6. Least Response Time
It directs incoming requests to the server with the lowest response time and the fewest active connections.

7. Random
It directs incoming requests to a randomly selected server from the available pool.

8. Least Bandwidth
It directs incoming requests to the server currently utilizing the least amount of bandwidth. This approach helps to ensure that servers are not overwhelmed by network traffic.

Tuesday, November 28, 2023

xfce4-screenshooter keyboard shortcut

sh -c 'xfce4-screenshooter --fullscreen --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"'

sh -c 'xfce4-screenshooter --window --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"'

Monday, November 27, 2023

Parallel compression using Pigz

#no compression
tar --use-compress-program="pigz -k -0 " -cf dir.tar.gz dir

#best compression
tar --use-compress-program="pigz -k -11 " -cf dir.tar.gz dir

#uncompress
unpigz dir.tar.gz

Wednesday, October 18, 2023

Debian 12 - sudo vim /etc/apt/sources.list

deb     http://deb.debian.org/debian/ bookworm 				main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm 				main contrib non-free non-free-firmware

deb     http://deb.debian.org/debian/ bookworm-updates 			main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates 			main contrib non-free non-free-firmware

deb     http://security.debian.org/debian-security/ bookworm-security 	main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security 	main contrib non-free non-free-firmware

deb     http://deb.debian.org/debian/ bookworm-backports 		main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-backports 		main contrib non-free non-free-firmware

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd