This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # dangerclaude | |
| # | |
| # USAGE: | |
| # dangerclaude | |
| # -> creates a brand new session "superclaude-<timestamp>-<pid>" and attaches | |
| # | |
| # dangerclaude label | |
| # -> creates (or reattaches to) session "superclaude-label" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function checkHttpStatus(url) { | |
| if (!url) { | |
| return 'No URL'; | |
| } | |
| try { | |
| var response = UrlFetchApp.fetch(url, {'muteHttpExceptions': true}); | |
| return response.getResponseCode(); | |
| } catch (e) { | |
| return "Error"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Authored by @crswll | |
| // Config | |
| const inflatePlugin = function ({ addComponents, theme, variants, e }) { | |
| const spacing = theme('spacing', {}) | |
| Object.entries(spacing).forEach(([name, padding]) => { | |
| addComponents( | |
| { | |
| [`.${e(`inflate-${name}`)} > *`]: { padding }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Design | |
| * https://www.colorbox.io/ | |
| This will be updated over time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # WP-CLI Back up Script to Amazon S3 | |
| # Source: https://www.jonathan.vc | |
| # Author: Jonathan Dingman | |
| # Adapted from Mike at WP Bullet | |
| #define local path for backups | |
| BACKUPPATH=/tmp/backups | |
| #path to WordPress installations |