All public logs
Combined display of all available logs of PedrosBrainDump. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 13:14, 28 October 2025 413vhcu1lq0463ob talk contribs created page File:C70d04dd-456a-4b6b-a266-96aa9907905e.png
- 13:14, 28 October 2025 413vhcu1lq0463ob talk contribs uploaded File:C70d04dd-456a-4b6b-a266-96aa9907905e.png
- 13:13, 28 October 2025 413vhcu1lq0463ob talk contribs created page File:D49751ac-9ff1-404d-a192-c0b816c096ef.png
- 13:13, 28 October 2025 413vhcu1lq0463ob talk contribs uploaded File:D49751ac-9ff1-404d-a192-c0b816c096ef.png
- 13:11, 28 October 2025 413vhcu1lq0463ob talk contribs created page File:E562700e-20ce-412f-9f87-5b90247f60ae.png
- 13:11, 28 October 2025 413vhcu1lq0463ob talk contribs uploaded File:E562700e-20ce-412f-9f87-5b90247f60ae.png
- 11:52, 18 October 2025 413vhcu1lq0463ob talk contribs created page Create DHCP server on Ubuntu (Created page with "== 1. Install the DHCP Server == <code>sudo apt update sudo apt install isc-dhcp-server -y</code> ---- == 2. Set the network interface == Edit the default configuration file: <code>sudo nano /etc/default/isc-dhcp-server</code> Find this line: <code>INTERFACESv4=""</code> And replace it with your actual network interface (for example <code>eth0</code>, <code>ens33</code>, or <code>enp0s3</code>): <code>INTERFACESv4="eth0"</code> == 3. Configure the DHCP scope == Ed...") Tag: Visual edit
- 16:30, 14 February 2025 User account LedOIkOcaln talk contribs was created by TsZUMKyTSNPklg talk contribs and password was sent by email (afDGSnQsO)
- 16:30, 14 February 2025 User account TsZUMKyTSNPklg talk contribs was created
- 20:22, 6 February 2025 413vhcu1lq0463ob talk contribs created page Wanna help? (Created page with "If you happened to like the things I write here and think that you would like to help in some way here is how you can for now : [https://buymeacoffee.com/pedromussato buymeacoffee]") Tag: Visual edit
- 11:17, 6 February 2025 413vhcu1lq0463ob talk contribs created page Convert date to timestamp and timestamp to date in Python (Created page with "Date to timestamp from datetime import datetime # Date date = datetime(2025, 2, 6) # Example date (Year, Month, Day) # Convert to timestamp timestamp = date.timestamp() print(timestamp) Timestamp to date from datetime import datetime # Timestamp timestamp = 1615931732 # Example timestamp # Convert to date date = datetime.utcfromtimestamp(timestamp).date() print(date)") Tag: Visual edit
- 14:41, 4 February 2025 413vhcu1lq0463ob talk contribs created page Use wireshark remotelly on another host and the UI locally (Created page with "to use wireshark remotelly and the UI locally first you need to have wireshark installed and then create a command (bin/rwireshark) with this content: <nowiki>#</nowiki>!/bin/bash HOST=$1 shift TCPDUMP_ARGS=$@ wireshark -i <(ssh "$HOST" sudo tcpdump -s 0 -U -n -w - $TCPDUMP_ARGS) to use basically you can do the following: rwireshark [hostname/ip] [other tcpdump parameters]") Tag: Visual edit
- 13:26, 4 February 2025 413vhcu1lq0463ob talk contribs created page Allow remote connections on PostgreSQL (Created page with " To configure PostgreSQL to accept connections from hosts other than <code>localhost</code>, you'll need to modify two files: # '''<code>postgresql.conf</code>''': This file controls various settings related to the PostgreSQL server. # '''<code>pg_hba.conf</code>''': This file controls client authentication and permissions (if not configured properly the PostgreSQL instance will accept unauthenticated connections). Here’s how you can configure both: === Edit <code>p...") Tag: Visual edit
- 12:45, 4 February 2025 413vhcu1lq0463ob talk contribs created page Create a user on PostgreSQL (Created page with "To create an user on a PostgreSQL database you can use: CREATE USER new_user WITH PASSWORD 'password'; To guarantee full access on a database you can: GRANT ALL PRIVILEGES ON DATABASE database_name TO new_user; Also to allow the user to connect on the database you need to: GRANT CONNECT ON DATABASE database_name TO new_user; If you want the user to have full access to all tables, sequences, and other objects in the database, you can use: \c database_name -- To con...") Tag: Visual edit
- 13:43, 3 February 2025 413vhcu1lq0463ob talk contribs created page Chef configuration manager : cookbook promotion (Created page with "promote cookbook knife spork promote ENVIRONMENT --remote REMOTE push changes git push origin main search for the nodes knife search node 'role:ROLE' -i run chef client on all nodes if you do not want to wait knife ssh 'role:NODE' 'sudo chef-client' -C how many commands at time knife ssh 'role:ROLE' -C1 'sudo chef-client'") Tag: Visual edit
- 13:13, 3 February 2025 413vhcu1lq0463ob talk contribs created page Chef configuration manager : role creation (Created page with "=== '''Navigate to the Roles Directory''' === Roles are stored in a roles/ directory, usually within your Chef repository. If the directory doesn't exist, you can create it. === '''Create the Role File''' === Now, create a new role file. You can name the role file anything, but it’s common to use a name that describes the purpose of the role. For example, let's create a role called rolename. touch roles/rolename.json === '''Edit the Role File''' === Open the rolenam...") Tag: Visual edit
- 13:07, 3 February 2025 413vhcu1lq0463ob talk contribs created page Chef configuration management (Created page with "* Chef configuration manager : role creation") Tag: Visual edit
- 10:31, 3 February 2025 413vhcu1lq0463ob talk contribs created page List tables on PostgreSQL schema (Created page with "=== Query === SELECT table_name FROM information_schema.tables WHERE table_schema = 'public';") Tag: Visual edit
- 10:28, 3 February 2025 413vhcu1lq0463ob talk contribs created page "Describe" a table in PostgreSQL (Created page with "=== Query === SELECT column_name, data_type, is_nullable FROM information_schema.columns WHERE table_name = 'TABLE NAME HERE'; === Example === SELECT column_name, data_type, is_nullable FROM information_schema.columns WHERE table_name = 'pg_database'; oid|oid|NO datname|name|NO datdba|oid|NO encoding|integer|NO datlocprovider|"char"|NO datistemplate|boolean|NO datallowconn|boolean|NO datconnlimit|integer|NO datfrozenxid|xid|NO datminmxid|xid|NO dattablespac...") Tag: Visual edit: Switched
- 10:25, 3 February 2025 413vhcu1lq0463ob talk contribs created page List databases on PostgreSQL instance (Created page with "=== Query === SELECT datname FROM pg_database; === "Describe" === SELECT column_name, data_type, is_nullable FROM information_schema.columns WHERE table_name = 'pg_database'; === column_name, data_type, is_nullable === oid|oid|NO datname|name|NO datdba|oid|NO encoding|integer|NO datlocprovider|"char"|NO datistemplate|boolean|NO datallowconn|boolean|NO datconnlimit|integer|NO datfrozenxid|xid|NO datminmxid|xid|NO dattablespace|oid|NO datcollate|text|NO da...") Tag: Visual edit
- 10:18, 3 February 2025 413vhcu1lq0463ob talk contribs created page PostgreSQL (Created page with "* List databases on PostgreSQL instance") Tag: Visual edit
- 10:17, 3 February 2025 413vhcu1lq0463ob talk contribs created page MySQL/MariaDB (Created page with "== Stuffs == === Creating and deleting databases on MariaDB === CREATE DATABASE database_name; === Creating and deleting users on MariaDB === CREATE USER 'username'@'%' IDENTIFIED BY 'password'; DROP USER 'username'@'%'; === Granting privileges on databases to users on MariaDB === GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'%'; === FLUSH PRIVILEGES === At the end, always flush privileges. FLUSH PRIVILEGES; === How to make backups of MariaDB === Almo...") Tag: Visual edit: Switched
- 07:53, 30 January 2025 User account VPtlXijsO talk contribs was created by VBaPGMUCJ talk contribs and password was sent by email (WmYgOdPI)
- 07:53, 30 January 2025 User account VBaPGMUCJ talk contribs was created
- 07:49, 29 January 2025 413vhcu1lq0463ob talk contribs created page Linux Save Terminal Output to a File While Working (Created page with "You can use the command script To save all your terminal output to a file until you type exit.") Tag: Visual edit
- 07:38, 29 January 2025 413vhcu1lq0463ob talk contribs created page Linux Checkup Script (Created page with "echo 'hostname' hostname echo '' echo 'date' date echo '' echo 'df -h' df -h echo '' echo 'df -i' df -i echo '' echo 'uptime' uptime echo '' echo 'apt list --installed' apt list --installed echo '' echo 'ps auxfww' ps auxfww echo '' echo 'iptables-save' iptables-save echo '' echo 'ip a' ip a echo '' echo 'ss -tuln' ss -tuln echo '' echo 'cat /proc/loadavg' cat /proc/loadavg echo '' echo 'free -h' free -h echo ''") Tag: Visual edit: Switched
- 13:12, 24 January 2025 413vhcu1lq0463ob talk contribs created page Internal Ranges For Use Internally (Created page with "For internal networks, the private IP address ranges specified by <nowiki>RFC 1918</nowiki> are typically used. These ranges are reserved for private use, meaning they are not routed on the public internet. The three main private IP address ranges you can use for internal networks are: # '''Class A''': #* Range: <code>10.0.0.0</code> to <code>10.255.255.255</code> #* Subnet mask: <code>255.0.0.0</code> (or <code>/8</code>) # '''Class B''': #* Range: <code>172.16.0.0</co...") Tag: Visual edit
- 13:12, 24 January 2025 413vhcu1lq0463ob talk contribs created page Networking (Created page with "* Internal Ranges For Use Internally") Tag: Visual edit
- 04:07, 20 January 2025 User account CuCVQlaS talk contribs was created by UhILvnzN talk contribs and password was sent by email (znBXKncMVFISNc)
- 04:07, 20 January 2025 User account UhILvnzN talk contribs was created
- 07:00, 19 January 2025 User account SXjTDSniMvb talk contribs was created by XzFFWhcLDbaKlv talk contribs and password was sent by email (ZjhOHVWxVRypw)
- 07:00, 19 January 2025 User account XzFFWhcLDbaKlv talk contribs was created
- 06:06, 17 January 2025 User account CzqHdfABf talk contribs was created by DkOQymFI talk contribs and password was sent by email (hHatzseuL)
- 06:06, 17 January 2025 User account DkOQymFI talk contribs was created
- 01:32, 16 January 2025 User account CuGlaxZfHjp talk contribs was created by SVyIKfMfdPjs talk contribs and password was sent by email (KNHOjOqAzjo)
- 01:32, 16 January 2025 User account SVyIKfMfdPjs talk contribs was created
- 09:40, 7 January 2025 413vhcu1lq0463ob talk contribs created page Redirect stdout and stderr (Created page with "To redirect a stderr and stdout to a file you can send the stderr to the stdin and write the stdin into a file.<blockquote>command > outputfile 2>&1</blockquote>") Tag: Visual edit
- 09:22, 4 January 2025 User account ZqBLEBGpVGBJXFf talk contribs was created by SPOJbTjjYLAM talk contribs and password was sent by email (UvoKYmKWTUZv)
- 09:22, 4 January 2025 User account SPOJbTjjYLAM talk contribs was created
- 20:43, 1 January 2025 413vhcu1lq0463ob talk contribs created page Python TTS (Text To Speech) with AWS Polly (Created page with " # importing libs import boto3 import logging # Initialize the Polly client polly_client = boto3.client('polly') def awsPollyTTS(input_text, output_file_name="output.mp3", voice_id='Joanna', output_format='mp3'): try: # Request speech synthesis from AWS Polly response = polly_client.synthesize_speech( Text=text, VoiceId=voice_id, OutputFormat=output_format, SampleRate='22050' )...") Tag: Visual edit: Switched
- 08:10, 31 December 2024 User account XnxeVCDytQqJFT talk contribs was created by UyXLRpShIvii talk contribs and password was sent by email (rgMWmdeiJRL)
- 08:10, 31 December 2024 User account UyXLRpShIvii talk contribs was created
- 16:54, 28 December 2024 User account PGZGpFpsHGtqC talk contribs was created by IstPMKDUCQwz talk contribs and password was sent by email (CEvXUMvUObAvG)
- 16:54, 28 December 2024 User account IstPMKDUCQwz talk contribs was created
- 11:35, 24 December 2024 413vhcu1lq0463ob talk contribs created page Crypto (Created page with "* CoinMarketCap API usage") Tag: Visual edit
- 09:40, 11 December 2024 413vhcu1lq0463ob talk contribs created page Docker file example (Created page with " # Use a python image FROM python:3.9-slim # Define the workdir inside the container WORKDIR /app # Copy the files from local workdir to conainter workdir COPY . . # Install dependencies requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Expose Flask application port EXPOSE 5000 # Command to run the application CMD ["python", "app.py"]") Tag: Visual edit
- 20:35, 25 November 2024 User account DIjcFVdhYYsHS talk contribs was created by GfGFiiRtFLg talk contribs and password was sent by email (SFZGoGBgwpf)
- 20:35, 25 November 2024 User account GfGFiiRtFLg talk contribs was created
- 05:08, 25 November 2024 User account Nfejdekofhofjwdoe jirekdwjfreohogjkerwkrj rekwlrkfekjgoperrkfoek ojeopkfwkferjgiejfwk okfepjfgrihgoiejfklegjroi jeiokferfekfrjgiorjofeko jeoighirhgioejfoekforjgijriogjeo foefojeigjrigklej jkrjfkrejgkrhglrlrk pedromussato.com talk contribs was created
- 22:56, 24 November 2024 User account VEuSyuYD talk contribs was created by ZVDpqidrzsfJkK talk contribs and password was sent by email (pHohHxqwDsgQ)