Skip to content

Instantly share code, notes, and snippets.

@NoCtrlZ1110
NoCtrlZ1110 / SoChiTieu.gs
Last active May 25, 2025 18:34
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',
@mcnkbr
mcnkbr / GenericRepository.cs
Last active February 29, 2024 05:35
Generic Repository and AutoMapper for .NET Entity Framework
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using Common.Extensions;
using AutoMapper;
namespace Repository
{