Skip to content

Instantly share code, notes, and snippets.

View caseywatts's full-sized avatar
Hi, I’m Casey!

Casey Watts caseywatts

Hi, I’m Casey!
View GitHub Profile
@gomar
gomar / 00-intro.md
Last active January 30, 2024 04:58
Setting up a Keynote document for grid layout design

Setting up a Keynote document for grid layout design

I like (love ?) Keynote because it

  • is a simple to use presentation software,
  • is vector based (when zooming it just looks gorgeous)
  • exports to powerpoint

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 ...

@atwellpub
atwellpub / Google App Script - Replace Slide Content Using Google Sheet Data.js
Last active May 2, 2024 05:21
Google Apps Script function to replace text in Google Slides with Google Sheet values
/**
* 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);
@norganna
norganna / README.md
Last active May 2, 2024 05:22
A slack bot to invite users from one channel to another.

Using:

Installing the script

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
@martin-mael
martin-mael / flexoki-tailwind-colors.ts
Created October 8, 2023 02:07
Flexoki Tailwind colors
// 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',
@remylagerweij
remylagerweij / podcast-specs.xml
Created April 9, 2020 09:58
Podcast - RSS Specification
<?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 />
@protrolium
protrolium / QLAB-scripting.md
Last active May 2, 2024 05:24
QLab + Applescript to control Applications & Panasonic Projectors over LAN

QLab + Applescript commands for Projector & Application Boot-Up/Shut-Down Routine

Boot Up Sequence

Open Projector Manager app

tell application "Terminal"
   delay 0.5
   do script "open -a Projector Manager"
   delay 0.5
   tell application "Terminal to quit"
end tell
@purp
purp / README.md
Created December 15, 2018 21:46
Convert exported Apple contacts .vcf to CSV

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.

@Keboo
Keboo / Notes.md
Last active May 2, 2024 05:24
Presenting / Streaming notes

Personal notes on presenting and streaming.

Before starting

  • Turn off un-needed software. Especially things with notifications: Slack, Skype, Teams, etc.
  • Turn on Focus Assist
  • When sharing your desktop, consider sharing a secondary screen rather than the primary screen. Many apps will post notifications to the primary screen so this will help cut down on accidently sharing out notifications.
  • Hide desktop icons
  • Consider resolution/DPI. Remember that for streaming, people watching may be on lower resolutions; don't stream above 1080p.
  • Hide task bar. Either set auto hide, or simply crop the shared section of your screen to omit it.
  • Consider if desktop background is appropriate.
$('.submittable').live('change', function() {
$(this).parents('form:first').submit();
});
@caseywatts
caseywatts / randomgroupsofx.rb
Last active May 2, 2024 05:27
Random Groups of X
LISTOFNAMES = %{...}
GROUPSIZE = 5
names = LISTOFNAMES.split("\n")
shufflednames = names.shuffle
shufflednames.each_slice(GROUPSIZE).with_index do |group, i|
puts "\nGroup " + i.to_s
group.each {|name| puts name}
end