Skip to content

Instantly share code, notes, and snippets.

View lc-thanh's full-sized avatar
🇻🇳
Learning Frontend Dev

Le Cong Thanh lc-thanh

🇻🇳
Learning Frontend Dev
View GitHub Profile
@NoCtrlZ1110
NoCtrlZ1110 / SoChiTieu.gs
Last active March 29, 2025 09:58
Telegram to Google Sheet || Subscribe to my channel: https://bit.ly/van-huy-dev-youtube
// Constants
const TOKEN = `<YourTokenHere>`;
const BASE_URL = `https://api.telegram.org/bot${TOKEN}`;
const CHAT_ID = '<ChatId>';
const DEPLOYED_URL = '<YourScriptDeployedURL>';
const SUM_CELL = 'G2';
const METHODS = {
SEND_MESSAGE: 'sendMessage',
SET_WEBHOOK: 'setWebhook',
@Da9el00
Da9el00 / docker-compose.yml
Created February 7, 2023 09:08
How to create a docker-compose setup with PostgreSQL and pgAdmin4
version: "3.8"
services:
db:
container_name: postgres_container
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: test_db