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 | |
# https://github.com/nijel/enca | |
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f | while read file; do enca -L russian -x UTF-8 "$file"; done; |
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
network: | |
ethernets: | |
eth0: | |
match: | |
driver: bcmgenet smsc95xx lan78xx | |
set-name: eth0 | |
dhcp4: false | |
dhcp6: false | |
wifis: |
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/sbin/nft -f | |
flush ruleset | |
table inet filter { | |
counter dns { | |
} | |
counter dot { | |
} | |
counter l2tp{ | |
} | |
counter l2tp_4500 { |
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/sbin/nft -f | |
flush ruleset | |
table ip filter { | |
chain output_log { | |
type filter hook output priority 0; | |
oifname eth0 tcp dport 80 ct state new log prefix "New outgoing http connection: " group 1 accept | |
oifname eth0 tcp dport 443 ct state new log prefix "New outgoing https connection: " group 1 accept |
OlderNewer