Skip to content

Instantly share code, notes, and snippets.

View mbparvezme's full-sized avatar

M B Parvez (Ron) mbparvezme

View GitHub Profile
// Marge and overright two objects
export let data: DataType = {}
let D: DataType = {
name : "M B Parvez: Full-stack specialist - UI/UX developer",
title : ""
}
D = { ...D, ...data }
// Get current URL from browser
var e = window.location.href.split(/[?#]/)[0];
<?php
// LINK
// https://kvz.io/create-short-ids-with-php-like-youtube-or-tinyurl.html
echo alphaID(8503056, TRUE);
function alphaID($in, $to_num = false, $pad_up = false, $pass_key = null)
{
$out = '';
$index = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
@mbparvezme
mbparvezme / _jsonPuller.md
Created April 9, 2022 08:05 — forked from jalcantarab/_jsonPuller.md
A Google apps script to pull json from a spreadsheet

JSON Puller - Google Apps Script

Transforms the data of a given Spreadsheet Sheet to JSON.

  • The frozen rows are taken as keys for the JSON.
  • The data taken for the values is only that after the frozen rows

Set up:

exportJSON(Spreadsheet) - transforms the data in the given sheet to JSON.