How to retrieve connection information from memcached. printf "stats\nquit\n" | nc 127.0.0.1 $MEMCACHED_PORT | grep connection

makandra Operations
manned.org

If you want to use rsync to transfer files that don't belong to your user to another system you...

makandra Operations

jq is great when dealing with JSON data. Check out the official jq Manual. Content Select only specific keys

stackoverflow.com

For some reason you have to pass the password hash if you want to create a role in postgres. To...

If you want to check the configuration of a running JVM process you can use jcmd. List the running processes...

You can execute systemctl --user --failed to check for failed systemd user units. But let's face it: It's...

To measure the time of your HTTP request with curl, you can use the -w (--write-out) option:

When changing glibc versions, it's possible to end up with corrupt indexes in PostgreSQL. Are My Indexes Affected?

Here's a one-liner to view base64 encoded secrets in kubernetes. Make sure you have jq installed.

If you want to expand your Areca Raid by swapping out the disks for larger ones you will need to...

Before you continue, ensure that you've created your certificate in the region us-east-1 (N. Virginia). Otherwise...

When restoring a barman PITR backup you may encounter this error: Copying required WAL segments. EXCEPTION: {'ret': 2, 'err': '/bin/sh...

Create htpasswd entry and print to stdout: $ sudo apt install apache2-utils # Optional $ htpasswd -n $USERNAME New password:

Investigate why mails are frozen The exim documentation says: Freezing occurs when a bounce message encounters a permanent failure because...

Best results in other decks

ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...

When Ruby objects are inspected in any modern IRB, some objects (like ActiveRecord instances) are rendered with neat colors and...

Search in all decks