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
| #!/bin/sh | |
| # Customizable | |
| SESSION_NAME='aws-mlpe' | |
| # Default filesystem setup | |
| cd ~/notebooks/mlpe-gfp-pilot/ | |
| # Create session and name first window git | |
| tmux new-session -s $SESSION_NAME -n git -d |
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
| function updateAssetPrices(sheetTab) { | |
| var currency = sheetTab.getRange('J1').getValue(); | |
| var response = UrlFetchApp.fetch( | |
| 'https://min-api.cryptocompare.com/data/price?fsym=' + currency + '&tsyms=USD') | |
| var jsonData = response.getContentText(); | |
| var data = JSON.parse(jsonData); | |
| sheetTab.getRange('J2').setValue(data.USD); | |
| sheetTab.getRange('J3').setValue( | |
| Utilities.formatDate(new Date(), "EST", "yyyy-MM-dd'T'HH:mm:ss'Z'")); | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| { | |
| "metadata": { | |
| "name": "" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |