Skip to content

Instantly share code, notes, and snippets.

View SergeiCherevko's full-sized avatar

Sergei Cherevko SergeiCherevko

  • Limassol
View GitHub Profile
@suadanwar
suadanwar / video_telegram.py
Created October 16, 2020 04:27
This sample code is for Send video to telegram bot using Raspberry Pi tutorial.
import telepot
from picamera import PiCamera
import RPi.GPIO as GPIO
import time
from time import sleep
import datetime
from telepot.loop import MessageLoop
from subprocess import call
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 18, 2025 02:26
Conventional Commits Cheatsheet
@KartikTalwar
KartikTalwar / Documentation.md
Last active October 31, 2025 06:59
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs