Skip to content

Instantly share code, notes, and snippets.

View rupertsworld's full-sized avatar

Rupert Manfredi rupertsworld

View GitHub Profile
@rupertsworld
rupertsworld / sheets-apps-script-api.md
Created April 21, 2021 12:48
Notes on the Google Sheets Apps Script API

Pretty much all queries start off as: SpreadsheetApp.getActiveSheet()

Class: Sheet

getRange(row, column, numRows, numColumns)

Class: Range

Google Documentation

const strings = [
'abcde',
'fghij',
'klmnop',
'klnmpo',
'axcde'
];
const strlen = strings[0].length;
@rupertsworld
rupertsworld / Simplified Docs (for Stylus)
Last active November 25, 2018 01:54
A simplified interface for Google Docs with lots of whitespace and a focus on content. For use with the Stylus Chrome plugin.
.docs-material #docs-toolbar-wrapper {
border: none;
box-shadow: none;
}
.docs-material .goog-toolbar-separator.goog-inline-block {
visibility: hidden;
}
.navigation-widget-hat {
@rupertsworld
rupertsworld / compress-toolbar.css
Created August 23, 2017 05:02
Compress top toolbar for CodeAnywhere (Stylish CSS)
.splitter-strech.region-north.layout-fit {
bottom: calc(100% - 29px) !important;
}
.splitter-strech.region-north.layout-fit > .vbox > div + div {
height: 26px !important;
top: -30px !important;
position: relative !important;
left: 40% !important;
}