Skip to content

Instantly share code, notes, and snippets.

I'm engineer. Trust me.

Alexander Ilyin alexanderilyin

I'm engineer. Trust me.
Block or report user

Report or block alexanderilyin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
alexanderilyin /
Created Nov 15, 2018
Auto-increment Minor Semantic Version using Docker Hub API v2

For example your latest image with semantic versioning looks like this:


Example provided above will do the folowing:

  1. Generate token using your github username and password.
  2. Get list of all tags from repository.
alexanderilyin /
Created Apr 19, 2018 — forked from mlafeldt/
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)




  • jennifer
  • martym
View -
filter {
if [type] == 'php-errors-json' {
json {
source => 'message'
remove_field => '[message]'
date {
match => [ "[timestamp]", "UNIX" ]
target => "@timestamp"
View -
filter {
if [type] == 'php-fpm-slow-log' {
# Drop empty lines
if [message] =~ /^\s*$/ {
drop { }
# Time prefix appears on each line
multiline {
pattern => "^(\[0x0|script_filename|$)"
You can’t perform that action at this time.