November 22, 2020January 7, 2021uncategorized unifi: configure dtim and beacon interval The DTIM can be changed through the controller, but the Beacon is not that easy. It can kind of be […]
November 18, 2020uncategorized imaplib: get amazonses dsn import email msg = email.message_from_string(emailstr) if (msg.is_multipart() and len(msg.get_payload()) > 1 and msg.get_payload(1).get_content_type() == 'message/delivery-status'): # email is DSN print(msg.get_payload(0).get_payload()) […]
November 8, 2020November 8, 2020uncategorized postgresql: find email domain from email SUBSTRING(email_clean_from, POSITION('@' in email_clean_from)+1),
November 5, 2020uncategorized unifi: powerbeam change network config through cli https://community.ui.com/questions/SSH-Command-for-changing-default-gateway/7577e1b9-74cc-4288-b8f4-5d2036f57350
November 5, 2020November 5, 2020uncategorized ubuntu: what process is eating my bandwidth? sudo nethogs
November 3, 2020uncategorized pgsql: restore on new server pg_restore -U user_name --create -d database_name --no-privileges --no-owner /home/XXXX/XXXX.sql
November 1, 2020uncategorized postgresql: users and roles On Ubuntu, pg uses the same users as the server.
November 1, 2020March 12, 2021uncategorized ubuntu 18.04: permanently change server host name If you're not happy with leaving an older version somewhere, then simply open the file at /var/lib/cloud/seed/nocloud-net/user-data, and change your hostname at the […]
October 23, 2020uncategorized windows update error Open Powershell SFC /scannow [RESOLVED] How to Fix Windows Update Error 0xc190012e
October 17, 2020uncategorized neo4j: the engine behind panama papers Nine essential tools from ICIJ’s data journalism and programming experts