I hereby claim:
- I am wimsy on github.
- I am wimsy (https://keybase.io/wimsy) on keybase.
- I have a public key whose fingerprint is 1747 02F9 C04A 41F7 B272 2957 E769 8ACD EDC4 CD79
To claim this, I am signing this object:
| # aad_reporting_api_signins.R | |
| # Functions to authenticate with Azure AD by OAuth and query signing data from | |
| # Microsoft's Azure AD Reporting API: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-getting-started-azure-portal | |
| # To get a client_id and client_secret, you must register an AAD application | |
| # with appropriate permissions: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-prerequisites-azure-portal | |
| # | |
| # Example usage: | |
| # | |
| # signins <- query_days(ymd("2018-03-01"), ymd("2018-03-07"), save_as_RDS = T) | |
| # |
| # randomized_timer.py | |
| # | |
| # A simple app to conduct randomized time trials based on the Stopwatch.py | |
| # sample app in [Pythonista](http://omz-software.com). | |
| # | |
| # This script takes an array of choices (strings) and randomly selects one on | |
| # launch in Pythonista. You then tap the screen to start a stopwatch and tap it | |
| # again to stop it. When you tap it a third time, the choice presented to you | |
| # plus the elapsed time in seconds are added to a callback URL to call a | |
| # separate script in the iOS [Workflow](https://workflow.is/) app for further |
| if (!exists(".inflation")) { | |
| .inflation <- getSymbols('CPIAUCNS', src = 'FRED', | |
| auto.assign = FALSE) | |
| } | |
| # adjusts yahoo finance data with the monthly consumer price index | |
| # values provided by the Federal Reserve of St. Louis | |
| # historical prices are returned in present values | |
| adjust <- function(data) { |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/local/bin/python | |
| ''' | |
| This utility takes three arguments from the command line: file1, file2 | |
| and outfile. Assuming these are JSON files, it parses them, merges | |
| the two lists (removing duplicates), then writes the merged list to | |
| the outfile. | |
| ''' | |
| import json |
| import datetime | |
| import pytz | |
| import requests | |
| import time as time_mod | |
| FORECAST_TEMPLATE = 'https://api.forecast.io/forecast/{apikey}/{latitude},{longitude}{time}' | |
| class Forecast(object): |