Skip to content

Instantly share code, notes, and snippets.

View rich7's full-sized avatar

Richard rich7

View GitHub Profile
@rich7
rich7 / post_to_google_sheet.gs
Created March 14, 2019 07:13 — forked from alkrauss48/post_to_google_sheet.gs
Use this if you want to read and post to a Google sheet using javascript
// 1. Enter sheet name where data is to be written below
var SHEET_NAME = "Sheet Name";
// 2. Run > setup
//
// 3. Publish > Deploy as web app
// - enter Project Version name and click 'Save New Version'
// - set security level and enable service (most likely execute as 'me' and access 'anyone, even anonymously)
//
// 4. Copy the 'Current web app URL' and post this in your form/script action
@rich7
rich7 / instructions.md
Last active August 17, 2018 19:28 — forked from zentralwerkstatt/instructions.md
Install Syncthing on Raspberry Pi
  • Install the necessary packages:
sudo apt-get install apt-transport-https ca-certificates
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
sudo apt-get install git
  • Start syncthing once:
/*
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software