Skip to content

Instantly share code, notes, and snippets.

View random-ua's full-sized avatar

Alexander Kostyuchenko random-ua

View GitHub Profile
@random-ua
random-ua / info.txt
Created January 16, 2021 23:24
yum updateinfo list security all
This file has been truncated, but you can view the full file.
Loaded plugins: priorities, update-motd, upgrade-helper
1141 packages excluded due to repository priority protections
ALAS-2013-184 low/Sec. 389-ds-base-1.3.0.6-1.3.amzn1.x86_64
ALAS-2013-223 important/Sec. 389-ds-base-1.3.1.8-1.5.amzn1.x86_64
ALAS-2013-255 important/Sec. 389-ds-base-1.3.1.16-1.8.amzn1.x86_64
ALAS-2014-311 important/Sec. 389-ds-base-1.3.2.16-1.16.amzn1.x86_64
ALAS-2014-396 important/Sec. 389-ds-base-1.3.2.22-1.18.amzn1.x86_64
ALAS-2015-501 important/Sec. 389-ds-base-1.3.2.27-1.27.amzn1.x86_64
ALAS-2015-538 important/Sec. 389-ds-base-1.3.3.1-16.41.amzn1.x86_64
ALAS-2015-567 medium/Sec. 389-ds-base-1.3.3.1-16.42.amzn1.x86_64
@random-ua
random-ua / dynamo-stats.sh
Created September 9, 2020 01:10
DynamoDB stats
#!/bin/bash
PREFIX="arn:aws:dynamodb:us-east-1:$(aws sts get-caller-identity --query 'Arn' | awk -F: '{print $5}'):table"
tables() {
aws dynamodb list-tables --query 'TableNames' --output text | tr '[:space:]' "\n"
}
get_env() {
aws dynamodb list-tags-of-resource --resource-arn $PREFIX/$1 --query 'Tags[?Key==`env`].Value|[0]' --output text
@random-ua
random-ua / keybase.md
Created September 26, 2019 13:24
Keybase proof

Keybase proof

I hereby claim:

  • I am random-ua on github.
  • I am random_ua (https://keybase.io/random_ua) on keybase.
  • I have a public key ASDdGQsXD9RWk-oEPCbN9fhlUlqlOQvD7s-T30uwyDLpUgo

To claim this, I am signing this object: