openpgp4fpr:d9cea54ba749bffdca088ec1f0dc0a607daf08d9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var start = new Date(); | |
start.setHours(0,0,0,0); | |
var end = new Date(); | |
end.setHours(23,59,59,999); | |
let d = new Draft(); | |
d.insert("## Events " + start.toLocaleDateString(), 0); | |
let cals = Calendar.getAllCalendars(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"crypto/tls" | |
"crypto/x509" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
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: