вторник, 22 июля 2014 г.

sed: я просто оставлю это здесь...

sed -e :a -e 's/\(^[A-Z]\)[a-z]*\t\([A-Z][a-z]*$\)/\1.\2/;ta' FNameSName.list | tr '[:upper:]' '[:lower:]' 
exmpl
Petr    Ivanov - > p.ivanov
Stepan  Petrov - > s.petrov
...

пятница, 20 июня 2014 г.

TeamViewer: Failed to load tvwine.dll.so

TeamViewer: Failed to load tvwine.dll.so

Solution

Ubuntu:
sudo apt-get install libxtst6:i386 wine
Arch Linux
pacman -S wine lib32-libxtst

вторник, 27 мая 2014 г.

xfreerdp: SSL problem

Problem:
xfreerdp 192.168.0.100
connected to 192.168.0.150:3389
Password: 
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.

Solution:
xfreerdp --no-nla 192.168.0.100
connected to 192.168.0.100 ....
...

понедельник, 14 апреля 2014 г.

Add & Del Windows firewall rules for zabbix (10050 port)

  • Add
    netsh advfirewall firewall add rule name="zabbix" dir=in action=allow profile=domain description="zabbix agent 10050" enable=yes localport=10050 protocol=tcp
  • Del
    netsh advfirewall firewall del rule name="zabbix"