Skip to content

Instantly share code, notes, and snippets.

View manzoorwanijk's full-sized avatar
🚫
Working from home

Manzoor Wani manzoorwanijk

🚫
Working from home
View GitHub Profile
@manzoorwanijk
manzoorwanijk / README.md
Last active September 15, 2022 19:21
Google Script to bypass the blockage of requests to t.me from by webhost

WPTelegram Widget Google Script

You can use this script to bypass the bans on requests to t.me by different hosts. Simply send the request to this script instead of the and pass the actual URL as url param after deploying it as a web app and allowing anonymous access.

Params

It accepts bot GET and POST requests with the following params

name type Description
@manzoorwanijk
manzoorwanijk / yup-with-final-form.js
Last active August 31, 2023 20:16
How to properly use yup validation schema with (React) Final Form?
import * as yup from 'yup';
import { setIn } from 'final-form';
const validationSchema = yup.object({
email: yup.string().email(),
shipping: yup.object({
name: yup.string(),
phone: yup.object({
code: yup.string().matches(/^\+\d+$/i),
number: yup.number().max(10),
@manzoorwanijk
manzoorwanijk / README.md
Last active December 23, 2023 01:42
Google Script to bypass the blockage of Telegram Bot API from by webhost

WPTelegram Google Script

You can use this script to bypass the bans on Telegram API by different hosts. Simply send the request to this script instead of the Telegram Bot API after deploying it as a web app and allowing anonymous access.

Params

It accepts bot GET and POST requests with the following params

name type Description