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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage] | |
"1250"="c_1251.nls" | |
"1251"="c_1251.nls" | |
"1252"="c_1251.nls" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper] | |
"DEFAULT"=dword:000000cc |
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
@echo off | |
REM В кавычках укажите имя внутреннего интерфейса, с учетом регистра | |
REM Лучше переименуйте интерфейсы по-английски | |
set int="int" | |
REM здесь укажите имя внешнего интерфейса | |
set ext="ext" | |
sc stop RemoteAccess > NUL | |
sc stop SharedAccess > NUL |
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
# grcat - apt-get install grc | |
# разделители строк для вертикального вывода результатов с помощью \G | |
regexp=[*]+.+[*]+ | |
count=stop | |
colours=white | |
- | |
# границы таблиц | |
regexp=[+\-|]+ | |
colours=red | |
- |
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
sh run | include ^[^! ] |
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
supersede domain-name-servers 127.0.0.1,8.8.8.8,8.8.4.4 |
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
#include conf.d/restrictions.conf; | |
# disable logging for favicon | |
location = /favicon.ico { | |
return 204; | |
log_not_found off; | |
access_log off; | |
} | |
# disable logging for robots.txt | |
location = /robots.txt { |
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/expect | |
eval spawn -noecho $argv | |
interact { | |
\177 {send "\010"} | |
"\033\[3~" {send "\177"} | |
} |
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
Host external.example.com | |
Hostname 198.51.100.32 | |
User external_login | |
Host internal.example.com | |
Hostname 192.168.2.18 | |
User internal_login | |
ProxyCommand ssh 198.51.100.32 nc %h %p |
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/sh | |
# http://christoph-polcin.com/ | |
TMP=/tmp | |
[ $# -lt 1 ] && \ | |
echo "usage: $(basename $0) input_file [output.pdf]" && \ | |
exit 1 | |
[ ! -f "$1" ] && \ |
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
listen-address=192.168.1.254 | |
interface=eth0 | |
dhcp-range=192.168.1.1,192.168.1.253,12h | |
dhcp-option=150,192.168.1.254 # TFTP Server Address Option for DHCPv4 (RFC 5859) | |
address=/example.com/192.168.1.254 |
OlderNewer