local device_id: 6Q5DZNK-OUR81B9-7XVBNEW-G98K9LW-E7ZI313-MSF2DZJ-YU0POJ9-N4FGYV9
remote device_id: N098QOW-3F17I07-NJ7LT0T-PC5YC33-ULTQJZD-JTMVKP1-8A283AM-DD79XNL
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
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:11:22:33:44:55", NAME="ethint0" | |
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="66:77:88:99:aa:bb", NAME="ethusb0" |
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
установка openssh сервера | |
https://habr.com/ru/sandbox/141668/ |
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
Хоткеи | |
https://github.com/var-bin/terminalForCoder__WSD/blob/master/tmux/hotkey.md | |
https://habr.com/ru/articles/318376/ |
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
<Macro pub1C $dir> | |
Alias "/$dir" "/var/www/$dir/" | |
<Directory "/var/www/$dir"> | |
AllowOverride All | |
Options None | |
Require all granted | |
SetHandler 1c-application | |
ManagedApplicationDescriptor "/var/www/$dir/default.vrd" | |
</Directory> | |
</Macro> |
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
flags=$(cat /proc/cpuinfo | grep flags | head -n 1 | cut -d: -f2) | |
supports_v2='awk "/cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/ {found=1} END {exit !found}"' | |
supports_v3='awk "/avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/ {found=1} END {exit !found}"' | |
supports_v4='awk "/avx512f/&&/avx512bw/&&/avx512cd/&&/avx512dq/&&/avx512vl/ {found=1} END {exit !found}"' | |
echo "$flags" | eval $supports_v2 || exit 2 && echo "CPU supports x86-64-v2" | |
echo "$flags" | eval $supports_v3 || exit 3 && echo "CPU supports x86-64-v3" | |
echo "$flags" | eval $supports_v4 || exit 4 && echo "CPU supports x86-64-v4" |
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
Alias "/testcors" "${SRVROOT}/htdocs/testcors/" | |
<Directory "${SRVROOT}/htdocs/testcors/"> | |
AllowOverride All | |
Options None | |
Require all granted | |
SetHandler 1c-application | |
ManagedApplicationDescriptor "${SRVROOT}/htdocs/testcors/default.vrd" | |
Options +FollowSymLinks | |
Header always set Access-Control-Allow-Origin * |
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
# 1c publication using macro | |
<Macro pub1C $dir> | |
Alias "/$dir/" "C:/Program Files/Apache24/htdocs/$dir/" | |
<Directory "C:/Program Files/Apache24/htdocs/$dir"> | |
AllowOverride All | |
Options None | |
Require all granted | |
SetHandler 1c-application | |
ManagedApplicationDescriptor "C:/Program Files/Apache24/htdocs/$dir/default.vrd" | |
</Directory> |
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
wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhereclient.service | |
wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 | |
chmod +x ./vhclientx86_64 | |
mv ./vhclientx86_64 /usr/sbin | |
mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service | |
systemctl daemon-reload | |
systemctl enable virtualhereclient.service | |
systemctl start virtualhereclient.service |
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 & setlocal enableextensions | |
title Reset AnyDesk | |
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit) | |
chcp 437 | |
call :stop_any | |
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf" | |
del /f "%APPDATA%\AnyDesk\service.conf" | |
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\" | |
rd /s /q "%temp%\thumbnails" 2>NUL | |
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails" |
NewerOlder