Skip to content

Instantly share code, notes, and snippets.

View dphiffer's full-sized avatar

Dan Phiffer dphiffer

View GitHub Profile
@dphiffer
dphiffer / post_2024_news_sources.md
Last active November 7, 2024 18:17 — forked from brianckeegan/post_2024_news_sources.md
Post-2024 news sources

Mainstream media failed to hold Trump to account over the course of the 2024 presidential campaign through "view from nowhere" centrism and false equivalencies between both campaigns.

Here is a list of news organizations, newsletters, and writers that are audience-funded and/or non-profits committed to independent and investigative journalism.

Rules

  • No centrist contrarians or right-wing authors
  • No reactionary-tolerant platforms (Substack, X, etc.)

Investigative journalism

@dphiffer
dphiffer / fastmail-1.md
Created June 28, 2024 15:35
Fastmail support ticket

Subject: Disappointed in the union busting

I would appreciate that this message gets passed to the appropriate Fastmail leadership.

I'm unhappy with the mass layoffs of Fastmail's US bargaining unit. Losing 60% of your colleagues is just a devastating blow. I'm especially unhappy that Fastmail management declined to recognize the union, forcing an election, delaying bargaining, then laid off the entire bargaining unit. This is union-busting, plain and simple.

I have been a customer since 2015, but I am considering cancelling my plan knowing how the company treats its workers. I understand that the union is not calling for a boycott, but I cannot support a company does not support its workers.

Fastmail is 25 years old—old enough to rent a car here in the USA—how could management have misjudged the finances to this degree? Who made this decision and what was the justification?

Hello, Troy dads!

Please join us for a dad circle March 11 around 8:30pm. Thanks Andrew for hosting in February, next time we'll go back to Christian's yard in Lansingburgh, (snip). Let us know if you can't make March 11th and we can figure out another night. Also, if you're interested in hosting the April edition, let me know!

Nothing too formal, but hoping to get together and talk about our woes and glories at our varied stages of parenting and maintaining the human relationships that go along with it.

If you can't make it, don't want to make it, or need to be late (after bedtime), that's totally fine. No pressure whatsoever, but each dad has their own perspective and we all have different age kiddos, so more perspectives the better.

We don't have a strict format, but we do some sharing and updating that is done without imbibing, and then breaking into a more casual hangout. While we would appreciate just hanging with y'all in any format, we are also hopeful to actually make this more of a DIY therapeut

@dphiffer
dphiffer / README.md
Last active October 31, 2022 19:41
Social Network contact data

Social Network contact data

I downloaded my account data archive from Twitter, Facebook, Instagram, LinkedIn, Mastodon, and Flickr. The files below should give you a sense for what kind of contact details get included in each export. Basically I'm wondering to what degree you can look at a list of contacts and use it to keep in touch outside of that service.

If you see a note that says "We can make this file beautiful and searchable ..." that is something that GitHub added because the CSV files are not technically valid.

@dphiffer
dphiffer / localities.csv
Last active May 5, 2022 21:56
Top 500 most popular locality names in the US (source SQL at the bottom)
209 Washington
185 Union
180 Jackson
138 Liberty
128 Franklin
126 Jefferson
122 Lincoln
93 Richland
93 Monroe
90 Harrison
@dphiffer
dphiffer / config.yml
Last active February 9, 2022 15:51
Revue export script
api_keys:
your_list: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
@dphiffer
dphiffer / email.md
Created January 25, 2022 14:35
Re: We’re Hiring at D— - The Next Frontier in Computing

Hi J—,

Thanks for taking an interest in me. I have a young daughter who's turning 3 in a couple weeks. Your project threatens her future on a warming planet. This is not abstract or theoretical to me, receiving this email is equivalent to getting recruited by a fossil fuel company.

If I thought there were some way I could talk you out of what you're doing I would try, but I have seen the discussions online and I know it's impossible to reason people out of a gold rush mentality. Please take me off your mailing list and please really take a minute to think about the impact of your work.

Dan

On Jan 24, 2022, at 1:07 PM, J— <[snip]> wrote:

@dphiffer
dphiffer / txt2pdf.js
Created July 28, 2021 18:21
Basic Text → PDF converter
const puppeteer = require('puppeteer');
const fs = require('fs');
if (process.argv.length < 3) {
console.log('Usage: node txt2pdf.js [file]');
process.exit(1);
}
const input = process.argv[2];
const output = `${input}.pdf`;
#!/bin/bash
# Checks for updates to https://am-i-eligible.covid19vaccine.health.ny.gov/
# If a change is found, it emails a list of addresses and tweets about the update.
#
# Adapted from: https://gist.github.com/dphiffer/678a5e06330f6f33dfc4ed9d0bfe9edb
# Twitter bot: https://twitter.com/nysvaccine
# Edit/print this flyer: https://twitter.com/nysvaccine
#
# This version expects `t` to be installed (gem install t), which adds Ruby as a
@dphiffer
dphiffer / vaccine-check.sh
Last active July 25, 2021 05:32
A script that monitors vaccine appointment availability at New York State-run providers.
#!/bin/bash
# see also: https://kvz.io/bash-best-practices.html
set -o errexit
set -o pipefail
set -o nounset
# A script to monitor updates to this web page:
# https://am-i-eligible.covid19vaccine.health.ny.gov/
#