Skip to content

Instantly share code, notes, and snippets.

View Dostonlv's full-sized avatar
🧪
experimenting

Doston Dostonlv

🧪
experimenting
View GitHub Profile
@phortuin
phortuin / signing-git-commits.md
Last active July 3, 2024 21:15
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg
@mcpeblocker
mcpeblocker / bot.js
Created August 11, 2022 07:34
Telegraf frameworki yordamida foydalanuvchilar boshqalarga yuborgan havolalarni yoki xabarlarni sanab borish.
// @BotFather orqali inline mode va inline feedback featurelari yoqilishi shart.
const TOKEN = "";
const { Telegraf, Markup } = require('telegraf');
const bot = new Telegraf(TOKEN);
let links = [