Skip to content

Instantly share code, notes, and snippets.

View Webbrother's full-sized avatar
🌴
Train yourself to let go of everything you fear to lose.

Vitaliy Komarov Webbrother

🌴
Train yourself to let go of everything you fear to lose.
View GitHub Profile
@Webbrother
Webbrother / update-emails.gs
Last active October 3, 2018 07:33
Adds labels to gmail threads if members are in contacts group
// Add Gmail labels by contact group
// komarov.vitaliy@gmail.com, 2018
// Inspired by https://github.com/thirschbuechler/GmailContactGroupLabels
// BTW: see readme in mentioned github repo ^^^
function applyGroupLabels() {
var MY_GROUP_NAME = "My-contact-group-name"; // Change right side of this line to match your contact group
var MY_LABEL_NAME = "My-label-name"; // This as well, insert the Gmail label
var QUERY = 'in:all -in:trash -in:spam'; // This as well, insert the query
{
"basics": {
"name": "Vitaly Komarov",
"label": "Frontend developer",
"picture": "",
"email": "komarov.vitaliy@gmail.com",
"website": "http://webbrother.net",
"summary": "I'm frontend developer with over seven years of experience. I have wide experience of work in different projects (from unknown startups to worldwide famous projects). I have strong front-end development skills and related technologies awareness and JavaScript expert competencies.\nI tend to use design patterns and \"academic\" approaches (SOLID, DRY, GRASP, KISS), modern techniques (unit testing, packet managers, task runners etc.). I am especially interested in state of the art front-end trends and MVC frameworks. I like modern code quality control tools like Tslint, Prettifier.\n",
"location": {
"address": "Russia",