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
| package xsync | |
| import ( | |
| "context" | |
| "fmt" | |
| "runtime/debug" | |
| ) | |
| // PanicGroup 并行执行多个协程并捕获所有 panic | |
| // 使用方法如下 |
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
| #Использование ssh over sctp в freebsd | |
| cd /usr/ports/security/openssh-portable | |
| make config | |
| # тут ставим галочку SCTP | |
| make install clean | |
| # заставляем работать портовый sshd только по протоколу sctp параллельно базовому sshd | |
| ee /usr/local/etc/ssh/sshd_config | |
| Port 22 |