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
| 1.0.0.0/9 | |
| 1.192.0.0/10 | |
| 100.20.0.0/14 | |
| 100.24.0.0/13 | |
| 100.48.0.0/12 | |
| 100.64.0.0/10 | |
| 101.0.0.0/11 | |
| 101.32.0.0/12 | |
| 101.48.0.0/13 | |
| 101.64.0.0/10 |
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
| /var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla | |
| [Re-enable hibernate by default in upower] | |
| Identity=unix-user:* | |
| Action=org.freedesktop.upower.hibernate | |
| ResultActive=yes | |
| [Re-enable hibernate by default in logind] | |
| Identity=unix-user:* | |
| Action=org.freedesktop.login1.hibernate |
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 | |
| # Настройки клавиатуры для назначения комбинации SHIFT+CAPSLOCK для отображения символа $. Кнопка caps lock освобождается | |
| # Проверка на root | |
| if [ "$EUID" -ne 0 ]; then | |
| echo "error: run as sudo" | |
| exit 1 | |
| fi | |
| # Определяем реального пользователя (так как скрипт запущен через sudo) |
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
| lh5.googleusercontent.com | |
| www.googleapis.com | |
| ssl.gstatic.com | |
| fonts.googleapis.com | |
| play.google.com | |
| ogs.google.com | |
| www.google.com | |
| apis.google.com | |
| jnn-pa.googleapis.com | |
| waa-pa.clients6.google.com |
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
| if ('serviceWorker' in navigator) | |
| { | |
| navigator.serviceWorker.register('/service-worker.js') | |
| .then(function (registration) { | |
| console.log('Service worker registration succeeded'); | |
| }) | |
| .catch(function (error) { | |
| console.log('Service worker registration failed:', error); | |
| }); | |
| } |
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
| # зашифровать файл 1.txt | |
| echo my_password | gpg -c --no-use-agent --y --passphrase-fd 0 1.txt | |
| # расшифровать файл 1.txt | |
| echo my_password | gpg --no-use-agent --y --passphrase-fd 0 1.txt.gpg |
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
| version: '3.0' | |
| services: | |
| mtproxy: | |
| image: telegrammessenger/proxy:latest | |
| hostname: mtproxy | |
| container_name: mtproxy.local | |
| volumes: | |
| - proxy-config:/data | |
| network_mode: "host" |
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
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /usr/share/nginx/html; | |
| #charset koi8-r; | |
| #access_log /var/log/nginx/log/host.access.log main; | |
| location / { | |
| # root /usr/share/nginx/html; |
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
| # | |
| # Add this script into ~/.profile | |
| # This script loads all SSH keys located in $HOME/.ssh/env | |
| # These files with private keys must have ".key" extension | |
| # After adding please run a command: . ~/.profile | |
| SSH_ENV="$HOME/.ssh/env" | |
| function start_agent { | |
| echo "Initialising new SSH agent..." |
NewerOlder