Skip to content

Instantly share code, notes, and snippets.

View Maxibond's full-sized avatar
🤩

Maksim Mikheev Maxibond

🤩
View GitHub Profile
@harrisonturton
harrisonturton / queue.go
Last active June 14, 2023 14:58
RabbitMQ client that automatically reconnects when the connection fails, and has a confirmed push method (i.e. the server is guaranteed to recieve the message)
package main
import (
"errors"
"github.com/streadway/amqp"
"log"
"os"
"time"
)
@dvapelnik
dvapelnik / config.py
Last active April 27, 2018 12:25
Translate in command line using YandexTranslateAPI
YandexApiKey = 'Your.Yandex.Translate.API.Key.Should.Be.Here'