Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Manzoor Wani manzoorwanijk

🏠
Working from home
View GitHub Profile
@manzoorwanijk
manzoorwanijk / yup-with-final-form.js
Last active Jul 22, 2020
How to properly use yup validation schema with (React) Final Form?
View yup-with-final-form.js
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 Jan 19, 2020
Google Script to bypass the blockage of requests to t.me from by webhost
View README.md

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 / README.md
Last active Jul 9, 2020
Google Script to bypass the blockage of Telegram Bot API from by webhost
View README.md

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
You can’t perform that action at this time.