Skip to content

Instantly share code, notes, and snippets.

View kookster's full-sized avatar
🏠
Working from home

Andrew Kuklewicz kookster

🏠
Working from home
View GitHub Profile
@kookster
kookster / scplaylist2rss.rb
Created October 13, 2016 19:56
Turn a SoundCloud playlist (set) into RSS
#!/usr/bin/env ruby
require 'soundcloud'
require 'builder'
require 'pp'
require 'csv'
# You'll need a sc api key
client_id = ENV['SC_CLIENT_ID']
client = SoundCloud.new(client_id: client_id)
@kookster
kookster / prosemirror.d.ts
Last active December 1, 2016 22:22
prosemirror.d.ts
declare module 'prosemirror/dist/collab' {
import { rebaseSteps } from 'prosemirror/dist/collab/rebase';
export { rebaseSteps };
const collabEditing: any;
export { collabEditing };
}
declare module 'prosemirror/dist/collab/rebase' {
import { Remapping, Transform } from 'prosemirror/dist/transform';
function rebaseSteps(doc: any, forward: any, steps: any, maps: any): {
@kookster
kookster / podcast-namespace_value_webmonetization.md
Last active October 10, 2022 17:15
Podcast Namespace, value tag, web monetization

Web Monetization

Use the value and valueRecipient tags to enable web monetization for podcasts.

This value tag would have the following proposed values:

<podcast:value 
    type="webmonetization" 
    method="ILP"
&gt;