I hereby claim:
- I am tsamb on github.
- I am nuvotsamb (https://keybase.io/nuvotsamb) on keybase.
- I have a public key ASDmxlDnuD_0nSxrAN1Xb0QMWiYiD6-hSqfk3CTHKoY5pQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function PRECIPITATION_YESTERDAY() { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var rainfallSheet = ss.getSheetByName("Brooklyn daily rainfall"); | |
| var hourlyWeatherSheet = ss.getSheetByName("Brooklyn hourly weather"); | |
| // DEPENDENCY: Assumes worksheets exist with the above to names. | |
| var endpoint = "https://api.openweathermap.org/data/2.5/onecall/timemachine"; | |
| var unixTimeYesterday = Math.floor((new Date((new Date).setDate(((new Date).getDate() - 1)))).valueOf() / 1000); | |
| // In Airtable, expand a record and make sure its activity panel is expanded. | |
| // Click "Show more" at the top of the activity panel until you get to the beginning of the record's history. | |
| // Press Ctrl+Shift+J (on PC) or Cmd+Opt+J (on Mac) in your Chrome browser to pull up the JavaScript console. | |
| // Paste the below script into the console to download the activity history as a CSV. | |
| function arrayToCSV(nestedArray, exportName) { | |
| const filename = exportName || "exported_js.csv"; | |
| const csvString = nestedArray.map((row) => row.map((field) => '\"' + field + '\"').join(',')).join('\r\n'); | |
| let a = document.createElement('a'); |
| // How do you create an prompt on the page then get an input of a search term | |
| // Then replace all of the images with images based on that search term? | |
| jQuery.getJSON( | |
| "https://api.giphy.com/v1/gifs/search", | |
| {q: "Ryan Gosling", api_key: "dc6zaTOxFJmzC"} | |
| ).done(function(response) { | |
| var images = response.data.map(function(imgObj) { | |
| return imgObj.images.original.url; | |
| }); |
| .glowing-gold { | |
| -webkit-animation: gold-glow 0.75s ease-in-out infinite alternate; | |
| -moz-animation: gold-glow 0.75s ease-in-out infinite alternate; | |
| animation: gold-glow 0.75s ease-in-out infinite alternate; | |
| } | |
| @-webkit-keyframes gold-glow { | |
| from { | |
| box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FFDD1B, 0 0 70px #FFDD1B, 0 0 80px #FFDD1B, 0 0 100px #FFDD1B, 0 0 150px #FFDD1B; | |
| } |
| <html> | |
| <head> | |
| <title>drag and drop demo</title> | |
| </head> | |
| <body> | |
| <div id="box" style="background-color:green;width:100px;height:100px; position:absolute; cursor:pointer"></div> | |
| <script type="text/javascript"> | |
| // get and name the element | |
| var box = document.getElementById("box"); | |
| // Shorthand for $(document).ready(); | |
| $(function(){ | |
| // Your code goes here... | |
| }); |
| //------------------------------------------------------------------------------------------------------------------ | |
| // YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here. | |
| //------------------------------------------------------------------------------------------------------------------ | |
| //------------------------------------------------------------------------------------------------------------------ | |
| // DRIVER CODE: Do **NOT** change anything below this point. Your task is to implement code above to make this work. | |
| //------------------------------------------------------------------------------------------------------------------ |