April 15, 2021uncategorized python imaplib: search emails with specific subject result, numbers = mail.uid('search', None, '(SINCE "' + date_start + '" BEFORE "' + date_end + '") (SUBJECT "Failure")')
April 15, 2021April 15, 2021uncategorized postgresql: incorrect table sizes do a VACUUM FULL if you want to run this on python you need to set autocommit = True otherwise it […]
April 15, 2021uncategorized pgsql: clone database pg_dump -Fc -f olddb.pgdump -d db_name createdb cloned_db_name pg_restore -d cloned_db_name olddb.pgdump
April 12, 2021uncategorized aws lightsail: firewall dynamic ip aws lightsail offers a firewall which is a pretty good option as a first line of defense for your server, but what […]
April 12, 2021April 12, 2021uncategorized digital ocean vpc structure definition https://docs.digitalocean.com/products/networking/vpc/resources/droplet-as-gateway/
April 10, 2021April 10, 2021uncategorized wordpress: order posts by date modified add this snippet to your functions.php inside your theme folder. add_action( 'pre_get_posts', function( $query ) { if ( $query->is_main_query() && […]