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
| import os | |
| #flag -I/usr/include | |
| #include <sys/socket.h> | |
| #include <sys/un.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| // Объявляем необходимые C функции и структуру | |
| fn C.socket(domain int, type_ int, protocol int) int |
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
| #!/usr/bin/env bash | |
| echo -e "\033[0;32mПароль в keepass под именем restic\033[0m" | |
| # Each element is the exclusion path | |
| excludes=( | |
| "$HOME/.local" # Local configuration and application files | |
| "$HOME/.cache" # Temporary cache files | |
| "$HOME/Downloads" # Downloads folder |
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
| document.addEventListener('alpine:init', () => { | |
| let isGlobalListenerAttached = false; | |
| const globalJClickHandler = (event) => { | |
| let target = event.target; | |
| const clickedElement = target.closest('[j-click]'); | |
| if (!clickedElement) { | |
| return; | |
| } |
OlderNewer