This file contains 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
set appName to "Stream Deck" | |
set usbDeviceName to "Stream Deck" | |
set usbData to do shell script "system_profiler SPUSBDataType -detailLevel basic" | |
if usbData contains usbDeviceName then | |
log "Stream Deck connected" | |
if application appName is running then | |
log "Stream Deck.app is already running" | |
else | |
log "Launching Stream Deck.app" |
This file contains 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
version: '3.3' | |
services: | |
SERVICE_NAME: | |
image: DOCKERHUB_IMAGE | |
restart: always | |
ports: | |
- 'HOST_PORT:CONTAINER_PORT' | |
volumes: | |
- 'VOLUME_NAME_OR_PATH:PATH_INSIDE_CONTAINER' | |
environment: |
This file contains 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
version: '3.3' | |
services: | |
app: | |
image: nextcloud | |
restart: always | |
ports: | |
- '8080:80' | |
volumes: | |
- 'nextcloud:/var/www/html' | |
volumes: |
This file contains 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 | |
# Config | |
GTMETRIX_API_KEY= | |
SLEEP_TIME=5 | |
# Functions | |
function submit_test { | |
curl -s -u $GTMETRIX_API_KEY: \ | |
-X POST -H Content-Type:application/vnd.api+json \ |
This file contains 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
<?php | |
/** | |
* Plugin Name: My neato plugin | |
* Plugin URI: https://github.com/TaylorJadin/tiny-wordpress-plugins | |
* Description: This plugin does things, probably. | |
* Version: 1.0 | |
* Author: Taylor Jadin | |
* Author URI: https://jadin.me/ | |
**/ |
This file contains 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
<div class="checkbox-list"> | |
<p> | |
<input type="checkbox" class="save-cb-state" name="unique-name-1" value="no"> | |
</p> | |
</div> | |
<script src="https://code.jquery.com/jquery.js"></script> | |
<script> | |
// Avoid scoping issues by encapsulating code inside anonymous function |
This file contains 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 | |
# | |
# Uses ffmpeg to stabilize video. Give the script one or more files and it will do its thing. | |
# | |
# Needs an ffmpeg binary compiled with support for vidstab, you can find that at the site if this script doesn't work: | |
# https://www.johnvansickle.com/ffmpeg/ | |
# | |
# More info / based on: | |
# https://www.imakewebsites.ca/posts/2018/02/17/stabilizing-gopro-video-with-ffmpeg-and-vid.stab/ | |
# https://rainnic.altervista.org/en/how-stabilize-video-using-ffmpeg-and-vidstab?language_content_entity=en |
This file contains 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
set appname to "OBS" | |
if application appName is running then | |
log appName & " is already running" | |
do shell script "killall OBS" | |
else | |
do shell script "open -a /Applications/OBS.app --args --startvirtualcam" | |
delay 3 | |
tell application "System Events" | |
repeat until visible of process appname is false | |
set visible of process appname to false |
This file contains 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
{ | |
"require": { | |
"pressbooks/pressbooks": "*", | |
"pressbooks/pressbooks-aldine": "*", | |
"pressbooks/pressbooks-book": "*", | |
"pressbooks/pressbooks-clarke": "*", | |
"pressbooks/pressbooks-donham": "*", | |
"pressbooks/pressbooks-jacobs": "*" | |
}, | |
"config": { |
This file contains 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 | |
# Colors | |
INVALID='\033[0;31m' | |
WP='\033[0;34m' | |
NOWP='\033[0;33m' | |
NC='\033[0m' | |
for URL in "$@" | |
do |