June 11, 2024June 11, 2024uncategorized fail2ban: audit sudo tail -F /var/log/fail2ban.log tail -F /var/log/apache2/msupply-access_log.log
May 31, 2024June 16, 2024uncategorized postgres grant commands login to postgres: sudo -i -u postgres psql CREATE DATABASE sales; GRANT ALL PRIVILEGES ON DATABASE sales […]
May 4, 2024May 4, 2024uncategorized troubleshoot high cpu from mysql on ubuntu High CPU usage on a MySQL database server can have various causes. To identify and diagnose the issue, you should […]
March 22, 2024uncategorized ubuntu: replace text inside file find . -type f -exec sed -i 's/conn_crm.close()/#conn_crm.close()/g' {} +
February 28, 2024uncategorized view wifi password on windows 11 To view your stored WiFi password on Windows 11, you can use the Command Prompt or the Windows Settings. Here are the […]
February 18, 2024uncategorized python: upgrade all python modules on windows 11 python -m pip list --outdated --format=columns | Select-String -Pattern '^\S+' -AllMatches | ForEach-Object {python -m pip install --upgrade ($_.Matches.Groups[0].Value)}
February 15, 2024February 15, 2024uncategorized office365: forward NDRs to shared mailbox what i've done so far (did not work) Set-TransportConfig -ExternalPostmasterAddress <EmailAddress> Would set it to a shared mailbox address […]
January 18, 2024uncategorized python: lists comprehension to search strings inside list myList = safeguarded_domains searchTerm = domain # Using list comprehension to find elements containing the searchTerm matchingItems = [item for […]
January 13, 2024January 13, 2024uncategorized strategic planning frameworks for small businesses For small businesses, strategic planning is crucial to navigate challenges, leverage strengths, and capitalize on market opportunities. The best strategic planning frameworks […]
January 9, 2024uncategorized jenkins: reboot job appears as failed while it is successfull When a Jenkins job is used to reboot a server, it's common for the job to be marked as "failed" because the […]