Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| #!/bin/bash | |
| # This is not an official Google product. | |
| # Copyright 2016 Google Inc. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | 
| // Port of Slides API demo by Wesley Chun to Google Apps Script | |
| // Source: http://wescpy.blogspot.co.uk/2016/11/using-google-slides-api-with-python.html | |
| function slides_template() { | |
| /* | |
| from apiclient import discovery | |
| from httplib2 import Http | |
| from oauth2client import file, client, tools | |
| */ | |
| --- | |
| title: "Host image files on Google Cloud storage" | |
| author: "Michael Whitaker" | |
| date: "January 12, 2017" | |
| output: | |
| html_document: | |
| self_contained: false | |
| --- | |
| ```{r setup, include=FALSE} | 
| library(tidyverse) | |
| library(broom) | |
| library(scales) | |
| theme_set(theme_minimal()) | |
| crossing(n = round(10 ^ seq(1, 7, .1)), | |
| delta = 10 ^ seq(-1, -3, -1), | |
| sig.level = .05, | |
| sd = .3) %>% | |
| invoke(power.t.test, ., type = "one.sample") %>% | 
| ## see also http://blog.revolutionanalytics.com/2017/06/doazureparallel-updated.html on how to run on Azure | |
| ## and cloudyr project for AWS https://github.com/cloudyr/aws.ec2 | |
| # now also in docs: https://cloudyr.github.io/googleComputeEngineR/articles/massive-parallel.html | |
| library(googleComputeEngineR) | |
| library(future) | |
| ## auto auth to GCE via environment file arguments | 
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| # Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands) | |
| gpg --gen-key | |
| # maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null` | |
| # check current keys: | |
| gpg --list-secret-keys --keyid-format LONG | |
| # See your gpg public key: | |
| gpg --armor --export YOUR_KEY_ID | |
| # YOUR_KEY_ID is the hash in front of `sec` in previous command. (for example sec 4096R/234FAA343232333 => key id is: 234FAA343232333) | 
I asked the Twittersphere for data science (& tangentially-related) podcasts recommendations, and got a much bigger response than I expected with some really superb recommendations, so I created a gist with the suggestions I received. They're arranged alphabetically by name below, along with relevant Twitter accounts, links, and names of the hosts (if I could find them).
Shoot me a tweet @bennyjtang if you have more suggestions to add to this list!
| /** | |
| * | |
| * Extended Devices, Locations and Audiences Bidding | |
| * | |
| * Automatically apply modifiers to your devices, locations, in-market and remarketing audiences based on performance. | |
| * It analyses search and display campaigns only. | |
| * | |
| * Version: 1.0 | |
| * Google Ads Script maintained on brainlabsdigital.com | |
| * | 
| const IncomingWebhook = require('@slack/webhook').IncomingWebhook; | |
| const url = "https://hooks.slack.com/services/XYZ"; | |
| const webhook = new IncomingWebhook(url); | |
| // Send the notification - Gets callled by Cloud Scheduler | |
| module.exports.sendToSlack = () => { | |
| (async () => { | |
| await webhook.send({ | |
| icon_emoji: ':male-police-officer:', |