Make a new directory and put the run.js script into it.
Run npm in that same directory to install the slack web-api module:
npm install @slack/web-api
| // Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki | |
| const colors = { | |
| base: { | |
| black: '#100F0F', | |
| 950: '#1C1B1A', | |
| 900: '#282726', | |
| 850: '#343331', | |
| 800: '#403E3C', | |
| 700: '#575653', |
| /** | |
| * Function to replace text in Google Slides with Google Sheet values | |
| * @reference https://hudsonatwell.co/2020/10/03/how-to-use-google-slides-to-autogenerate-featured-images/ | |
| */ | |
| function generate_featured_image() { | |
| /* get spreadsheet from public view link */ | |
| var dataSpreadsheetUrl = "https://docs.google.com/spreadsheets/d/1necmbNPUsGJ3fwNiFpgNLbtH6c2RmJDwIQCPuhAfA7s/edit"; //make sure this includes the '/edit at the end | |
| var ss = SpreadsheetApp.openByUrl(dataSpreadsheetUrl); | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"> | |
| <channel> | |
| <title>Podcast Title</title> | |
| <atom:link href="https://www.mypodcastfeed.com/feed/podcast/" rel="self" type="application/rss+xml" /> | |
| <link>https://www.podcasturl.com</link> | |
| <description>Podcast description</description> | |
| <lastBuildDate>Fri, 19 Jan 2018 01:45:39 +0000</lastBuildDate> | |
| <language>en-US</language> | |
| <copyright /> |
I have a bunch of folks I want to export from Apple Contacts on MacOS and turn into a spreadsheet for a holiday card mail merge.
This is my clumsy way of doing it.
short url: caseywatts.com/graphviz
Graphviz is like markdown, for diagrams.
It's a tool that can transform text input into a "directed graph" output, which is nodes pointing to other nodes. You can use it for architecture diagrams, DB diagrams, documentation for users, etc.
You'll want to use a tool with a two-pane layout - the left side is the source text, the right side is the image output.
| // Enter slack in the browser. https://{insert your team name here}.slack.com/messages/ | |
| // Click on the channel you want. | |
| // Click the information icon. | |
| // Expand the members dropdown. | |
| // Click "See All Members" | |
| // Paste the next line into the console, hit enter. | |
| var imageList = new Array() | |
| // If your channel has more than 19 members, the list won't display past that. It also unloads them from the state as you scroll. |
I like (love ?) Keynote because it
If I could remove that last argument, I would, but the fact is that, as a consultant, the final document is almost always expected to be a powerpoint document. Don't ask me why, it is just so. I am fighting against it but I did not win the battle so far ...