Skip to content

Instantly share code, notes, and snippets.

View RobinL's full-sized avatar

Robin Linacre RobinL

View GitHub Profile
@RobinL
RobinL / .block
Created July 31, 2016 18:18
force directed test
license: gpl-3.0
@RobinL
RobinL / .block
Last active July 31, 2016 11:18
new enter in groups
license: gpl-3.0
@RobinL
RobinL / .block
Last active July 31, 2016 18:18
force directed test
license: gpl-3.0
@RobinL
RobinL / gist:a73e90d242c110fe744a221222958ab1
Created July 28, 2016 09:30
Assign edit url to spreadsheet and email link
function email_and_assign_edit_urls(e) {
var form = FormApp.getActiveForm();
var ss = SpreadsheetApp.openById(form.getDestinationId());
var sheet = ss.getSheets()[0];
Logger.log(form.getDestinationId())
var data = sheet.getDataRange().getValues();
var urlCol = 9; // column number where URL's should be populated; A = 1, B = 2 etc
var responses = form.getResponses();
var timestamps = [], urls = [], resultUrls = [];
@RobinL
RobinL / _.md
Last active July 24, 2016 13:44
print_template - colour scale
@RobinL
RobinL / _.md
Last active June 24, 2016 16:18
Heatmap random points
@RobinL
RobinL / _.md
Last active June 24, 2016 16:05
Heatmap
@RobinL
RobinL / _.md
Created June 23, 2016 11:12
print_template
@RobinL
RobinL / _.md
Last active June 15, 2016 17:31
Enter append etc
@RobinL
RobinL / _.md
Created June 5, 2016 18:30
print_template