Skip to content

Instantly share code, notes, and snippets.

View TaylorJadin's full-sized avatar

Taylor Jadin TaylorJadin

View GitHub Profile
TaylorJadin / nginx.conf
Created December 18, 2023 05:06 nginx.conf
View nginx.conf
user nginx;
worker_processes auto;
worker_rlimit_nofile 2048;
load_module modules/;
#load_module modules/;
error_log /var/log/nginx/error_log info;
events {
worker_connections 2048;
View Demo

Demo document

This lets me write some text.

Side-by-side mode is the best!

Hedgedoc is a markdown editor

Hedgedoc is a self-hostable tool...

All about markdown

View Domains Camp - Building a site with

Domains Camp - Building a site with WordPress

Now that you've installed WordPress and logged in, we can get started building your site!

After logging in to WordPress, you will be greeted with your site's Dashboard. We'll be checking out the several parts of the Dashboard, but the first thing to pay attention to is the Home icon at the top left. Clicking on this will exit the Dashboard and bring you to the public home page of your site. To return to the Dashboard, click the Speedometer icon .


Posts in WordPress are the core of what make up a blog, they of course can let you write and put other content on a webpage, but they also display metadata about themselves, like when they were written, who the author was, and what category they belong to. We'll get started building our website by makin

TaylorJadin /
Last active October 4, 2023 19:15
# Colors
for URL in "$@"
TaylorJadin / composer.json
Created September 26, 2023 20:24
basic pressbooks composer.json
View composer.json
"require": {
"pressbooks/pressbooks": "*",
"pressbooks/pressbooks-aldine": "*",
"pressbooks/pressbooks-book": "*",
"pressbooks/pressbooks-clarke": "*",
"pressbooks/pressbooks-donham": "*",
"pressbooks/pressbooks-jacobs": "*"
"config": {
TaylorJadin / open-close-obs.applescript
Created July 12, 2023 16:27
Open (or Close) OBS and hide the window
View open-close-obs.applescript
set appname to "OBS"
if application appName is running then
log appName & " is already running"
do shell script "killall OBS"
do shell script "open -a /Applications/ --args --startvirtualcam"
delay 3
tell application "System Events"
repeat until visible of process appname is false
set visible of process appname to false
TaylorJadin / checkboxes.html
Last active January 10, 2023 16:20
checboxes with saved states
View checkboxes.html
<div class="checkbox-list">
<input type="checkbox" class="save-cb-state" name="unique-name-1" value="no">
<script src=""></script>
// Avoid scoping issues by encapsulating code inside anonymous function
TaylorJadin / plugin.php
Created October 21, 2022 16:48
WordPress Plugin starter
View plugin.php
* Plugin Name: My neato plugin
* Plugin URI:
* Description: This plugin does things, probably.
* Version: 1.0
* Author: Taylor Jadin
* Author URI:
TaylorJadin / gtmetrix
Last active August 30, 2022 18:16
Submit multiple URLS to gtmetrix using their API
View gtmetrix
# Config
# Functions
function submit_test {
curl -s -u $GTMETRIX_API_KEY: \
-X POST -H Content-Type:application/vnd.api+json \
TaylorJadin / docker-compose.yml
Last active July 12, 2022 05:42
docker compose for nextcloud
View docker-compose.yml
version: '3.3'
image: nextcloud
restart: always
- '8080:80'
- 'nextcloud:/var/www/html'