Skip to content

Instantly share code, notes, and snippets.

View dmathewwws's full-sized avatar
🤠

Daniel Mathews dmathewwws

🤠
View GitHub Profile
@dmathewwws
dmathewwws / webhook-endpoint.js
Last active December 12, 2025 22:34
Taddy Podcast API Webhook Endpoint Example Code
const express = require('express');
require('dotenv').config();
const app = express();
const PORT = process.env.PORT || 3000;
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
// POST /webhooks/taddy - receive Taddy webhook events
@dmathewwws
dmathewwws / gist:d3d56529313cb2959bc2a7ec62792a5a
Created March 29, 2025 06:53
Lambda function saving Webhook data your receive from Taddy API to a queue
import { SQSClient, SendMessageCommand } from '@aws-sdk/client-sqs';
// Environment variables
const QUEUE_URL = process.env.QUEUE_URL;
const WEBHOOK_SECRET = process.env.WEBHOOK_SECRET;
const AWS_REGION = process.env.AWS_REGION;
if (!QUEUE_URL || !WEBHOOK_SECRET || !AWS_REGION) {
throw new Error('Required environment variables are not set');
}
@dmathewwws
dmathewwws / google-autocomplete.ipynb
Created November 12, 2020 03:41 — forked from mariolambe/google-autocomplete.ipynb
Extract Google Autocomplete keywords with Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@implementation MediaPlayerIOSPodcastTitles
@synthesize bridge = _bridge;
// Export a native module
// https://facebook.github.io/react-native/docs/native-modules-ios.html
RCT_EXPORT_MODULE();
// Export constants
// https://facebook.github.io/react-native/releases/next/docs/native-modules-ios.html#exporting-constants
- (NSDictionary *)constantsToExport
//:> # Swift
//:
//: * Modern
//: * Objective-C Interoperability
//: * Open source
//: * Interactive Playgrounds
//:
//:> # Playgrounds
//:
//: * Live rendering of code you type
### Keybase proof
I hereby claim:
* I am dmathewwws on github.
* I am dmathewwws (https://keybase.io/dmathewwws) on keybase.
* I have a public key ASA6VopZCFaRU5Dj47XLIQrIoK3x5RNm61QxFDeQbStwiwo
To claim this, I am signing this object:
@dmathewwws
dmathewwws / gist:b5f8c021bf1bed391a54251a75a2cb4d
Created December 1, 2017 17:09
Info.plist for XML / OPML Document types
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Echo-Icon.png</string>
@dmathewwws
dmathewwws / gist:348d55d3d9cdcb61a1afc66ea3bafcad
Created December 1, 2017 17:09
Info.plist for XML / OPML Document types
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Echo-Icon.png</string>
@dmathewwws
dmathewwws / debounce-throttle.swift
Created September 23, 2017 21:24 — forked from simme/debounce-throttle.swift
Swift 3 debounce & throttle
//
// debounce-throttle.swift
//
// Created by Simon Ljungberg on 19/12/16.
// License: MIT
//
import Foundation
extension TimeInterval {