Skip to content

Instantly share code, notes, and snippets.

View dingman's full-sized avatar

Jon Dingman dingman

View GitHub Profile
View Google Sheets App Script to Check the HTTP Status of a URL
function checkHttpStatus(url) {
if (!url) {
return 'No URL';
try {
var response = UrlFetchApp.fetch(url, {'muteHttpExceptions': true});
return response.getResponseCode();
} catch (e) {
return "Error";
View Inflate Plugin for Children Padding - Tailwind CSS
Authored by @crswll
// Config
const inflatePlugin = function ({ addComponents, theme, variants, e }) {
const spacing = theme('spacing', {})
Object.entries(spacing).forEach(([name, padding]) => {
[`.${e(`inflate-${name}`)} > *`]: { padding },
View Projects and Sites I Find Useful
This will be updated over time.
View WordPress Backup to Amazon S3
#!/usr/bin/env bash
# WP-CLI Back up Script to Amazon S3
# Source:
# Author: Jonathan Dingman
# Adapted from Mike at WP Bullet
#define local path for backups
#path to WordPress installations