This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function CountEmail() { | |
var starredEmails = GmailApp.search('is:starred'); | |
var newunreadEmails = GmailApp.search('is:unread label:inbox'); | |
var urgentEmails = GmailApp.search('label:urgent'); | |
var waitingEmails = GmailApp.search('label:waiting-for'); | |
var chaseEmails = GmailApp.search('label:chase'); | |
var draftEmails = GmailApp.search('in:draft'); | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet1"); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A simple arduino app to send a keyboard combination (Command + F1) | |
* when a button is pushed. This key combination can, using an app like | |
* FastScripts (https://red-sweater.com/fastscripts/) or similar, | |
* trigger a script to perform a specific action, for example | |
* to mute the teleconferencing app of your choice. | |
* | |
* Useful scripts for running at the desktop side: | |
* - Google Meet: https://github.com/aezell/mutemeet | |
* - Zoom: https://gist.github.com/mgaruccio/15734cb2f1442c457f0fa25dd838cc6d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//inspired by https://twitter.com/paulpod/status/1330091111889690628 | |
#include <Arduino.h> | |
#include <TM1637Display.h> | |
#include <Bounce2.h> | |
#define CLK 2 | |
#define DIO 3 | |
#define pin_button A0 |
OlderNewer