Skip to content

Instantly share code, notes, and snippets.

View 01101100's full-sized avatar

Trịnh Thiên Long 01101100

View GitHub Profile
@01101100
01101100 / SoChiTieu.gs
Created February 18, 2024 09:01 — forked from NoCtrlZ1110/SoChiTieu.gs
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',

Keybase proof

I hereby claim:

  • I am 01101100 on github.
  • I am ldrabyss (https://keybase.io/ldrabyss) on keybase.
  • I have a public key ASBj8WzaMEjgsTqWCS2sTu3wneXyDYqwznd6zqQxg_KAkwo

To claim this, I am signing this object:

@01101100
01101100 / passwordvalidation
Created July 26, 2017 01:57 — forked from Michael-Brooks/passwordValidation.php
Laravel Password validation Regex (Contain at least one uppercase/lowercase letters and one number)
/*
* Place this with the rest of your rules.
* Doesn't need to be in an array as there are no pipes.
*/
$rules = array(
'password' => 'required|min:6|regex:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).+$/'
);
/*
* Use this one if you also require at least one symbol.