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
| # | |
| # >> добавить в /etc/rc.local (или что-то типа того): | |
| # | |
| # turn on verbose logging | |
| export AUTOSSH_DEBUG | |
| # Sets the connection monitoring port. | |
| export AUTOSSH_PORT=61000 | |
| # specifies the connection poll time in seconds; default is 600 seconds. | |
| export AUTOSSH_POLL=300 |
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
| cd /var/log; tail -f log.* samba/samba.{n,s}mbd samba/samba.winbindd | |
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
| startup_message off | |
| vbell off | |
| hardstatus alwayslastline "%{=b}%{G} %{b}%w %=%{kG}%C%A %D,%d/%m/%y" | |
| shelltitle "Shell" | |
| defscrollback 5024 |
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
| :: | |
| cd /d Z: | |
| cd Z:\SQL2014sp1entEn | |
| setup.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=SQL,AS,RS,IS,Tools | |
| setup.exe /UpdateEnabled=0 |
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
| # | |
| # http://wiki.bash-hackers.org/commands/builtin/read?s[]=read | |
| # | |
| > read -e -i "[txt_before]" -p "answer: " -t 10 myvariable ; echo $myvariable | |
| answer: [txt_before]fuck | |
| [txt_before]fuck |
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 Comments to iptables Rules: | |
| Depending on your distribution, you may need to load the 'ipt_comment' or 'xt_comment' modules into your running kernel first. | |
| like: 'modprobe ipt_comment' | |
| EXAMPLE: | |
| iptables -A INPUT -j DROP -p tcp --dport 22222 -m comment --comment "test iptables rule comment" | |
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
| ### | |
| # COLORS: | |
| # red=$(tput setaf 1) | |
| # grn=$(tput setaf 2) | |
| # ylw=$(tput setaf 3) | |
| # reset=$(tput sgr0) | |
| # EXPECT: | |
| Last login: |
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
| # Настройка DMARC | |
| [удобный визард](https://www.unlocktheinbox.com/dmarcwizard/) | |
| У меня получилось так: | |
| "v=DMARC1; p=none; sp=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; rf=afrf; pct=100; ri=86400" | |
| ### If you run Bind: |
This file has been truncated, but you can view the full file.
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
| Begin trace logging for SharePoint 2010 Products Configuration Wizard. Version 15.0.4569.1503 | |
| 01/29/2016 16:56:53 1 INF Entering function PsconfigUserInterfaceMain.Main | |
| 01/29/2016 16:56:53 1 INF Entering function Common.SetCurrentThreadCultureToInstalledCulture | |
| 01/29/2016 16:56:54 1 INF Entering function Common.SetThreadCultureToInstalledCulture | |
| 01/29/2016 16:56:55 1 INF Current thread culture is Russian (Russia), current thread ui culture is English (United States), installed culture is English (United States) | |
| 01/29/2016 16:56:55 1 INF Changing current thread culture to English (United States) | |
| 01/29/2016 16:56:55 1 INF Leaving function Common.SetThreadCultureToInstalledCulture | |
| 01/29/2016 16:56:55 1 INF The current ui culture English (United States) is NOT right to left | |
| 01/29/2016 16:56:55 1 INF Leaving function Common.SetCurrentThreadCultureToInstalledCulture | |
| 01/29/2016 16:56:55 1 INF Creating the psconfig application context |