Skip to content

Instantly share code, notes, and snippets.

View fess1100's full-sized avatar
🌏
Working from home

fess1100

🌏
Working from home
View GitHub Profile
@moayadhani
moayadhani / GetGmailEmails.gs
Last active March 7, 2024 21:05
Get Gmail Emails By Assigned Label
var ui = SpreadsheetApp.getUi();
function onOpen(e){
ui.createMenu("Gmail Manager").addItem("Get Emails by Label", "getGmailEmails").addToUi();
}
function getGmailEmails(){
var input = ui.prompt('Label Name', 'Enter the label name that is assigned to your emails:', Browser.Buttons.OK_CANCEL);
@moayadhani
moayadhani / ExtractSpecificTextFromEmail.txt
Last active March 7, 2024 07:02
Extract Email Text from Google Sheet using App Script
//Sample email that is received and whose details are extracted:
/*
*Someone* just submitted your form named Online Course Booking from your
website
https://www.abcd.com/
Message Details
Full Name: Mohamed Ali
Email Address: [email protected]
Phone Number: 009725991122334
@AlexxIT
AlexxIT / radio.yaml
Last active June 21, 2023 19:25
Список радиостанций для колонок Яндекса
input_select:
radio:
name: Радио
options: ['-']
icon: mdi:radio
python_script: # https://github.com/AlexxIT/PythonScriptsPro
automation:
trigger:
@al-codaio
al-codaio / loading_bar.js
Created April 13, 2021 18:19
Create a loading bar while you're retrieving results from an API with Google Apps Script
// Create a loading bar in your Google Sheet using Google Apps Script
// Author: Al Chen ([email protected])
// Last Updated: April 13th, 2021
// Notes: Assumes you are using the V8 runtime (https://developers.google.com/apps-script/guides/v8-runtime)
// Example Google Sheet: https://docs.google.com/spreadsheets/d/1ngvYKEMunqCVufR10rlK42iENAERp-uyiPN_aiq-MKo/edit?usp=sharing
SOURCE_SHEET_ID = 'YOUR_GOOGLE_SHEETS_ID'
SOURCE_WORKSHEET_NAME = 'YOUR_WORKSHEET_NAME'
function loop() {
@DivanX10
DivanX10 / aux_air_conditioner.yaml
Created September 11, 2021 02:58
ESPHome. Кондиционер Centek CT-65Z10
Конфигурационный код для управления кондиционером Centek CT-65Z10. Файл aux_ac_custom_component.h скачать здесь https://github.com/GrKoR/esphome_aux_ac_component
substitutions:
# Именование платы
dev_name: ac_centek_ct65z10
board_name: "AC Centek CT-65Z10"
mdns_name: "AC Centek CT-65Z10"
esphome:
name: ${dev_name}
@beastinman
beastinman / 1kg-price-vprok.js
Last active January 2, 2024 15:39
Скрипты для плагина Tampermonkey. Добавляют ценник за единицу (1кг, 1л, 1рулон) товара на некоторых сайтах.
// ==UserScript==
// @name 1кг-цена Впрок
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Показывает цену за 1кг на сайте Впрок
// @author You
// @match https://www.vprok.ru/*
// @match http://www.vprok.ru/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=vprok.ru
// @grant none