Skip to content

Instantly share code, notes, and snippets.

View whatrocks's full-sized avatar
💾
Create wonderful things, be good, have fun

Charlie Harrington whatrocks

💾
Create wonderful things, be good, have fun
View GitHub Profile
@whatrocks
whatrocks / README.md
Created July 14, 2023 17:02
apple_podcast_plist

to get this file, on MAC OS terminal:

pbcopy < ~/Library/Containers/com.apple.podcasts/Data/Documents/PodcastsDB.plist
@whatrocks
whatrocks / podcast.opml
Created July 13, 2023 10:36
podcast opml
<?xml version="1.0"?>
<opml version="1.0">
<head>
<title>Overcast Podcast Subscriptions</title>
</head>
<body>
<outline type="rss" text="The Incomparable Mothership" title="The Incomparable Mothership"
xmlUrl="https://feeds.theincomparable.com/theincomparable"
htmlUrl="https://www.theincomparable.com/theincomparable/" />
<outline type="rss" text="The Talk Show With John Gruber"
@whatrocks
whatrocks / fling.md
Last active October 8, 2023 15:42
fling pattern on Farcaster

fling ⌆

The fling pattern is a constraint on the Farcaster protocol which allows you to keep a daily log of your work, while benefitting from all the great social features of Farcaster.

Inspiration

  • John Carmack's .plan files
  • OhLife.com (now defunct startup that emailed you 1x a day with "How did your day go?")

Constraints

@whatrocks
whatrocks / ish_setup.sh
Last active April 14, 2022 18:45
iSH dev env setup for iPadOS and iOS
apk update
apk upgrade
apk add man \
man-pages \
less \
less-doc
vim \
highlight \
highlight-doc
build-base \
@whatrocks
whatrocks / podcast-homepage.md
Created February 23, 2022 04:17
Syte EJS template for podcast homepage
title
In The Troll Pit

In The Troll Pit

A podcast about retro computers and the people who love them.

Episodes:

<% for (const page of pages.filter(p => p.title !== 'In The Troll Pit')) { _%>

@whatrocks
whatrocks / index.html
Created July 15, 2020 05:03
Print string array one char at a time
<html>
<body>
<div id="lines"></div>
<script type="text/javascript" src="./slow.js"></script>
</body>
</html>

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@whatrocks
whatrocks / latex-anki.md
Last active October 4, 2018 17:02
latex-anki

So, you want to use LaTeX with your Anki card app on Mac?

  1. Install Mactex with Brew
brew tap caskroom/cask
brew cask install mactex
  1. You're good to go! Go forth and make your LaTeX cards.
@whatrocks
whatrocks / how_to_make_a_script.md
Created October 15, 2015 20:02 — forked from joshwyatt/how_to_make_a_script.md
How to make scripts you can access globally from the terminal

How to make a globally available executable script in the scripting language of your choice

  • Locate the path to the interpreter for the language you are writing in with the which command.

      which node
      which python
      which bash
      which ruby
    
  • Add that path as an interpreter directive (using #!) on the first line of your script. For example if you want to write a node script and which node returned /usr/local/bin/node, the first line of your script should be:

@whatrocks
whatrocks / keybase.md
Created May 30, 2015 13:15
keybase.md

Keybase proof

I hereby claim:

  • I am whatrocks on github.
  • I am whatrocks (https://keybase.io/whatrocks) on keybase.
  • I have a public key whose fingerprint is E26E 0291 43E1 77A8 888B 3822 C7AE 0150 0666 7A45

To claim this, I am signing this object: