Insert Date on Mac

Automator script to insert dates on mac

Read more

Find Objects in Postgres owned by a specific role/user

Find Objects in Postgres owned by a specific role/user

Read more

Set Hostname on MacOS

How to set your MacOS Hostname via CLI

Read more

Docker Exit Codes

List of docker exit codes.

Read more

Active Redis Connections

Show active client connections to a redis server.

Read more

Run ECS one-time task from CLI

Once you have your task definition setup, (we assume this task will exit when the job completes), you can use

Read more

Mongo Active Connected Users

db.currentOp(true).inprog.reduce( (accumulator, connection) => { ipaddress = connection.client ? connection.client.split(":")[0] : "Internal"; accumulator[ipaddress] = (accumulator[ipaddress]

Read more

PostgreSQL: show active users

select pid as process_id, usename as username, datname as database_name, client_addr as client_address, application_name, backend_

Read more

Enable ECR Vulnerability Image scanning

AWS User Guide Image scanning Simple script to enable for all of our ECR repos for repo in `aws ecr

Read more

Mac startup key combinations

Referenced from: https://support.apple.com/en-us/HT201255 To use any of these key combinations, press and hold the keys

Read more