Skip to content

Instantly share code, notes, and snippets.

@Goudarz
Goudarz / Jalali.gs
Created September 13, 2023 20:29
Convert the Gregorian date to Jalali(Shamsi) in Google Sheets
/*
In Google Sheets, select the Apps Script option from the Extensions menu and replace the introduced function, Save and that's it!
You can use it in your cells with these formats:
=JALALI( "10/23/2023" )
=JALALI(TODAY())
*/
function JALALI(date) {
let jalaliFormat = new Date(date).toLocaleDateString('fa-IR').replace(/([۰-۹])/g, token => String.fromCharCode(token.charCodeAt(0) - 1728));
@Goudarz
Goudarz / Redirector.json
Last active March 18, 2021 18:57
Automatically load Adobe Connect to HTML5 client
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2021-03-18T10:03:38.660Z",
"redirects": [
{
"description": "Load Adobe Connect to HTML5 Client Automatically",
"exampleUrl": "https://vadavc31.iauec.ac.ir/system/get-player?urlPath=/pf4o7325t425/",
"exampleResult": "https://vadavc31.iauec.ac.ir/pf4o7325t425/?html-view=true&proto=true",
"error": null,
"includePattern": "https://vadavc31.iauec.ac.ir/system/get-player?urlPath=/*/",

Keybase proof

I hereby claim:

  • I am Goudarz on github.
  • I am jafari (https://keybase.io/jafari) on keybase.
  • I have a public key whose fingerprint is A298 A494 76EC B1E7 5E90 41A0 0142 95D9 E2EC 6B59

To claim this, I am signing this object: