Skip to content

Instantly share code, notes, and snippets.

View afonsoalban's full-sized avatar

Afonso Alban afonsoalban

View GitHub Profile
@didoo
didoo / git-log-parser.js
Created January 25, 2019 16:52
Git Log Parser & Aggregator
/* eslint-env node */
/* eslint-disable no-console, dot-notation */
const fse = require('fs-extra');
const readline = require('readline');
// const platform = 'mw_less';
// const platform = 'mw_scss';
const platform = 'cosmos';
@gusmiguens
gusmiguens / script.js
Last active January 27, 2021 18:04
script
const cypress = require('cypress');
const program = require('commander');
const config = require('./__tests__/ui/support/devices');
const OSconfig = require('./__tests__/ui/support/os');
program
.version('0.1.0')
.option('-d, --device <device>', 'run tests on device: <device>')
.option('-osV, --osVersion <osVersion>', 'adds device OS version')
.option('-r, --record', 'records the run in the Cypress dashboard')
@AndrewSouthpaw
AndrewSouthpaw / calendarCopy.js
Created October 12, 2021 03:49
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar")
// to another calendar, e.g. work (the "primary calendar"), but obfuscate the details. Then your coworkers
// know when you're busy but don't get to see the personal details.
//
// Follow these steps:
// 1. Go to https://script.google.com/home and click [+ New project]
// 2. Make sure the two calendars you want to sync can be edited by the Google account you're currently under
// (or switch accounts)