This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // add your Google API Project OAuth client ID and client secret here | |
| var ClientID = ''; | |
| var ClientSecret = ''; | |
| function onOpen() { | |
| var ui = SpreadsheetApp.getUi(); | |
| ui.createMenu('Google Fit') | |
| .addItem('Authorize if needed (does nothing if already authorized)', 'showSidebar') | |
| .addItem('Get Metrics for Yesterday', 'getMetrics') | |
| .addItem('Get Metrics for past 60 days', 'getHistory') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $$x^2 + y$$ | |
| We write | |
| $$\begin{aligned} | |
| df &= (dx,dy) ⋅ \left( \frac{∂ f}{∂ x}, \frac{∂f}{∂y} \right) \\ | |
| &= d 𝐬 ⋅ ∇f\,. | |
| \end{aligned}$$ | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |