This file contains 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 main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os/exec" | |
) | |
func main() { |
This file contains 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
/* | |
есть записи в таблице, ID основной автоинкрементный ключ | |
нужен запрос, который выберет все записи, после которых нет следующей записи | |
Например для | |
123568 | |
получить | |
368 | |
*** |
This file contains 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
upstream frontend { | |
server 127.0.0.1:8085; | |
} | |
upstream backend { | |
server 127.0.0.1:8086; | |
} | |
server { | |
listen 82; |
This file contains 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
# This .gitignore file should be placed at the root of your Unity project directory | |
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/[Ll]ogs/ | |
# Never ignore Asset meta data | |
!/[Aa]ssets/**/*.meta |
This file contains 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
[global] | |
workgroup = WORKGROUP | |
server string = Samba Server | |
log file = /var/log/samba/%m.log | |
max log size = 50 | |
security = user | |
map to guest = Bad User | |
dns proxy = no | |
# следовать по симлинкам |
This file contains 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/gksu sh | |
prinDotsting () | |
{ | |
DOTSTRING=".................................................." | |
echo "OK $DOTSTRING$DOTSTRING service $1" | |
} | |
printStartServer () | |
{ |