Skip to content

Instantly share code, notes, and snippets.

View victorcolina22's full-sized avatar
๐Ÿš€
Focusing

Victor Colina victorcolina22

๐Ÿš€
Focusing
View GitHub Profile

Send a message to Telegram

  1. Create a public channel in Telegram

  2. Create a bot chatting with "BotFather"

  3. Take the token provided after bot creation

  4. Make a fetch to Telegram API

@victorcolina22
victorcolina22 / gist:4105b7f7d9a511ab5ae84fcfc5b658d5
Last active October 5, 2024 04:28
Astro files formatting with prettier for Nvim editor

Astro files formatting

Install the plugins

pnpm/npm add/install -D prettier prettier-plugin-astro

Paste this code into your file ".prettierrc.mjs"

// .prettierrc.mjs

Node + TypeScript

  1. Initial setup
mkdir typescript-starter
cd typescript-starter
  1. Setup Node.js package.json