OAuth
We'd probably be living in a post-scarcity Star Trek / Culture style universe happily working on self-actualization if we didn't have to spend so much time fucking around with OAuth.
Related Posts
- Circles
- Fight Facebook with Email
- OpenAGI, or why we shouldn't trust Open AI to protect us from the Singularity
You Might Also Like
Google Inbox Account Switching
Google is generally pretty good about managing multiple accounts but sometimes you get completely stuck. One example is Google Inbox where your primary account is Google Apps for Work without Inbox enabled. You just get a screen saying that Inbox needs to be activated and no option to switch to another account.
There is a fix, and this sometimes works for other products as well. In the URL (https://inbox.google.com/u/0/) there is a user number. Change the 0 to 1 (or maybe 2, 3, etc depending on the number of accounts) and you can get Inbox up and running again.
One case I haven't found a clean workaround for is importing a segment or custom report in Google Analytics. You just get the default profile and if it's not what you're after then there is no way to switch. What does work here is launching an incognito window, signing in to the relevant account and then using the import link. A bit painful but gets the job done.
Related Posts
You Might Also Like
Correlation is not causation but...
I have crunched the numbers and calculated the average length of blog posts on I Thought He Came With You vs. how many children I had at the time the post was written.
Related Posts
You Might Also Like
25th Centuary
Video of hypothetical sea level rise through 2407 set to the theme tune from Buck Rogers.
Related Posts
You Might Also Like
- LEGO Management
- Control LIFX WiFi light bulbs from Google Apps Script
- Where did that app icon go, Android?
A vacation based proof of the many-worlds interpretation of quantum mechanics
It's a well known fact that whenever you go on holiday your home town experiences once-in-a-generation levels of good weather while you sit inside with increasingly insane children watching unseasonably torrential rain.
As this is a universal experience it has to be more than bad luck.
Every time anyone takes a vacation a parallel universe must be created where the traveler inflicts stormy weather on one branch and summer continues as normal on the other.
Tags: random, quantum, weather
Related Posts
- Fermi Suicide
- Can I move to a Better Simulation Please?
- Was there ever any doubt that I would eventually write this post?
You Might Also Like
News: Spacecraft data boosts Pluto's size
Spacecraft data boosts Pluto's size
I think that makes it a planet again...
Related Posts
You Might Also Like
News: Google, Microsoft, Mozilla And Others Team Up To Launch WebAssembly, A New Binary Format For The Web
Google, Microsoft, Mozilla And Others Team Up To Launch WebAssembly, A New Binary Format For The Web
Finally! Maybe, in a few years...
Related Posts
- CodePlex Shutdown: Shapefile, Orb, StackHash and Blogger2BlogML Migration
- Chiroopractoor
- Facebook Interoperability
You Might Also Like
News: Frozen sequel announced by Disney
Not to be anal but (any number of dogs...)
Google is going to start ranking pages based on facts. I'm game. This MUNI sign has always bothered me.
The highest capacity vehicle in the MUNI fleet has to be a two-car light rail vehicle. Capacity 436 people. The average weight of a person is 185 pounds. So we're looking at 80,660 pounds per rush hour train.
The lightest dog is a 1.4 pound Chihuahua named Ducky.
So at the absolute outside with no other passengers the limit is 57,614 dogs. I'm going to have to make some stickers...
Related Posts
You Might Also Like
- Bangalore and Back, a Time Lapse
- Bangalore Sunsets
- 3D Printing a Window Mount for a Google Nest Indoor Wired Gen 2 Camera
Capture DropCam (Nest Cam) frames to Google Drive
Updated June 17, 2019: This is now broken for Nest/DropCam devices. It will still work for anything that has a web accessible image URL. Clint points out in the comments below that you can fix up the URL for Nest cams but it looks like you need to be logged into nest.com so it doesn't work from Apps Script. Google is also retiring Works with Nest because they're "...reimagining how technology and services can deliver simple and helpful experiences in your home..." which apparently translates to only working with Google Assistant. I'll update this post if I figure out a work around.
Here's an easy way to capture frames from a DropCam to Google Drive. This only works if you have a public feed for your DropCam.
Go to the public page for your DropCam (Settings -> Public -> Short URL Link) and then view source for that page. Near the top you can find the still image URL for your DropCam:
<meta property="og:image" content="https://nexusapi.dropcam.com/get_image?uuid=12345&height=200" />
In Google Drive create a new Apps Script (If you don't already have Apps Script you can find it via Connect more apps...). Paste in the following code:
Replace the uuid parameter in the URL with the uuid from the still image URL for your DropCam. Note that the height parameter in the script has been changed to 1280 to get the largest possible image. A timestamp is being used to add a random cache busting parameter to the still image URL and is also used as the filename for the image.
The script will save the images to a folder called DCFrames - either create this folder in your drive or change this parameter to the desired folder.
Run the script and check that it's working. If everything looks good go to Resources -> Current project's triggers in the Apps Script editor. You can now set up a timer to save a frame as frequently as every minute (which I'm using to collect frames to make a daily time lapse movie). You can also ask Apps Script to send you an email when the script fails.
Updated 2015-07-01: DropCam is now Nest Cam - assuming that Nest keep the API going everything should keep working as above for both types of camera.
Related Posts
- Get an email when your security camera sees something new (Apps Script + Cloud Vision)
- How to backup Google Photos to Google Drive automatically after July 2019 with Apps Script
- West of West Portal