I hereby claim:
- I am mvasilenko on github.
- I am mvasilenko (https://keybase.io/mvasilenko) on keybase.
- I have a public key ASASSXmI8z0EAqmbnrGYI04yWDdRLrffy8uXpNl6aXd55wo
To claim this, I am signing this object:
| ffmpeg -pattern_type glob -i '*.jpg' -filter_complex "[0:v]transpose=1,crop=1280:1280:0:0[v]" \ | |
| -map "[v]" -c:v libx264 -r 30 -crf 23 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72:ref=4 output.mp4 -y |
| # frozen_string_literal: true | |
| # This script is used during the deployment process. It runs 2 threads in parallel: | |
| # | |
| # 1) Calls run-task to execute a migration task within a cluster, and then waits for it to exit with 0 code. | |
| # Throws an exception in case of non-0 exit code; | |
| # | |
| # 2) Waits for all the service to become stable after the deployment. | |
| # | |
| # Both have actually 10 minutes timeout, but if any of them fails before with an exception - the whole process dies immediatelly. |
| apiVersion: v1 | |
| data: | |
| mapRoles: | | |
| - rolearn: arn:aws:iam::661556513509:role/eksctl-aws-eks-cluster-1-nodegrou-NodeInstanceRole-KSVSFUXWT7C2 | |
| username: system:node:{{EC2PrivateDNSName}} | |
| groups: | |
| - system:bootstrappers | |
| - system:nodes | |
| - eks-console-dashboard-full-access-group | |
| - rolearn: arn:aws:iam::661556513509:role/AWSReservedSSO_AdministratorAccess_fb8ce9637ede3a97 |
| aws ec2 describe-instances --query 'Reservations[].Instances[].[PrivateIpAddress,Tags[?Key==`Name`].Value[]]' --output text | sed '$!N;s/\n/ /' |
| """ Fetches all repos under a git organization | |
| and returns last committer to master, date of commit, count of open dependabot security issues with high and critical severity | |
| Results sorted by commit date | |
| Replace ORG_NAME, USERNAME, and GH_TOKEN variables | |
| GH_TOKEN required for authentication | |
| This will use Rate limit at a rate of 1 per repo """ | |
| import os | |
| import json |
| # Remove the submodule entry from .git/config | |
| git submodule deinit -f path/to/submodule | |
| # Remove the submodule directory from the superproject's .git/modules directory | |
| rm -rf .git/modules/path/to/submodule | |
| # Remove the entry in .gitmodules and remove the submodule directory located at path/to/submodule | |
| git rm -f path/to/submodule |
| import argparse | |
| import requests | |
| import os | |
| import sys | |
| import yaml | |
| headers = {"Authorization": "token {}".format( | |
| os.environ.get('GITHUB_ADMIN_ORG_READ_TOKEN', ''))} | |
| import csv | |
| import sys | |
| csv.field_size_limit(sys.maxsize) | |
| MULTILINE_DELIMITER = "2021-09-" | |
| FILENAME="test.csv" | |
| PROGRESS_EVERY_LINES=1000000 | |
| print("Reading RDS csvlog, removing multilines") |
I hereby claim:
To claim this, I am signing this object:
| # for importing cloudflare hosted dns zones into terraform | |
| # list zones | |
| curl -s -X GET "https://api.cloudflare.com/client/v4/zones/?per_page=100" -H "X-Auth-Email: $auth_email" -H "X-Auth-Key: $auth_key" -H "Content-Type: application/json"| jq -r '.result[] | "\(.id) \(.name)"' | |
| # list records at the zone 1234567890 | |
| curl -X GET "https://api.cloudflare.com/client/v4/zones/1234567890/dns_records?per_page=100" -H "X-Auth-Email: $auth_email" -H "X-Auth-Key: $auth_key" -H "Content-Type: application/json"| jq -r '.result[] | "\(.id) \(.name) |