Replace author in docx files

Install python-docx and parallel: $ sudo apt install python-docx parallel Save this code as /usr/local/bin/docx_author: #!/usr/bin/env python ”’ Requirements: python-docx, parallel Usage: docx_author ‘Putin\ Huilo’ file.docx find /home/user/some_dir -type f -name “*\.docx” | parallel docx_author ‘Putin\ Huilo’ ”’ from docx Continue reading Replace author in docx files

Edit Java Security Exception list in Linux

Якщо ви користуєтеся IP-KVM / iLO / IPMI то мабуть Ви стикалися з помилкою “java application blocked by security settings”. Вирішується достатньо просто: echo “https://10.0.0.1” >> ~/.java/deployment/security/exception.sites Якщо хочеться додати всі можливі адреси в локальній мережі, то робимо скрипт і Continue reading Edit Java Security Exception list in Linux