Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Maksim Syomochkin maksim77

:octocat:
View GitHub Profile
View Main.java
package ru.mak_sim.ydb_test;
import yandex.cloud.sdk.auth.provider.ApiKeyCredentialProvider;
import yandex.cloud.sdk.auth.provider.CredentialProvider;
import java.io.IOException;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws IOException {
View main.go
package main
import (
"context"
"crypto/tls"
"crypto/x509"
"fmt"
"io/ioutil"
"log"
"time"
View clean.py
from airflow.models import DAG, Variable
from airflow.operators import BashOperator
from airflow.configuration import conf
from datetime import datetime, timedelta
import os
"""
A maintenance workflow that you can deploy into Airflow to periodically clean out the task logs to avoid those getting too big.
airflow trigger_dag --conf '{"maxLogAgeInDays":30}' airflow-log-cleanup
--conf options:
View keybase.md

Keybase proof

I hereby claim:

  • I am maksim77 on github.
  • I am msemochkin (https://keybase.io/msemochkin) on keybase.
  • I have a public key whose fingerprint is 0A55 F7A0 B40B FD2C 89CE 6DAD 6EDD AFE5 8594 17E6

To claim this, I am signing this object: