Skip to content

Instantly share code, notes, and snippets.

View shaneapen's full-sized avatar

Shan Eapen Koshy shaneapen

View GitHub Profile
@shaneapen
shaneapen / index.html
Created June 27, 2022 16:30
Embed Latest YouTube Video From a Channel
<iframe class="latestVideoEmbed" vnum='0' cid="UCBJycsmduvYEL83R_U4JriQ" width="600" height="340" frameborder="0" allowfullscreen></iframe>
<iframe class="latestVideoEmbed" vnum='1' cid="UC0xXUfNSFQN3qOmf_G_nT5w" width="600" height="340" frameborder="0" allowfullscreen></iframe>
@shaneapen
shaneapen / copy-rows.gs
Created June 17, 2022 16:11
Google AppScript: Copy rows from one sheet to another based on cell value
const ss = SpreadsheetApp.getActive();
function onOpen() {
var ui = SpreadsheetApp.getUi();
// Or DocumentApp or FormApp.
ui.createMenu('Custom Functions')
.addItem('Filter by text', 'filterByText')
.addToUi();
}
const filterByText = () => {
@shaneapen
shaneapen / WAXP.js
Last active November 19, 2023 06:03
WhatsApp Group Contacts Exporter
WAXP = (function(){
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
var SCROLL_INTERVAL = 600,
SCROLL_INCREMENT = 450,
AUTO_SCROLL = true,
NAME_PREFIX = '',
UNKNOWN_CONTACTS_ONLY = false,
MEMBERS_QUEUE = {},