Skip to content

Instantly share code, notes, and snippets.

@paucoma
paucoma / Contract Killer 3.md
Created March 3, 2020 12:58
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@paucoma
paucoma / ICS Import.gs
Last active October 7, 2023 22:33 — forked from tomjaimz/ICS Import.gs
Google App Script code to import events from a Calendar (.ics) file into Google Sheets.
function onOpen() {
SpreadsheetApp.getUi()
.createAddonMenu()
.addItem('Upload', 'upload')
.addToUi();
}
function upload() {
const hs = HtmlService.createHtmlOutput(
'<form><input type="file" name="file" onchange="var reader = new FileReader(); reader.onloadend = (e) => google.script.run.withSuccessHandler(google.script.host.close).importICS(e.target.result); reader.readAsText(this.parentNode.file.files[0]);"></form>'